forked from framework-one/di1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a third test with "bookended" args
Just testing the case where there's a bean, no bean and then bean again to make sure that the fix hasn't introduced any issues in that case.
- Loading branch information
Marcin Szczepanski
committed
Apr 6, 2013
1 parent
1022416
commit a0feaf5
Showing
2 changed files
with
27 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,13 @@ | |||
component accessors="true" { | |||
property name="DSN"; | |||
property name="ID"; | |||
property name="name"; | |||
|
|||
// to reveal an ordering bug changed ID to cd just so it comes before dsn | |||
public any function init( dsn, ID = 0, NAME = "Bob") { | |||
variables.dsn = dsn; | |||
variables.ID = ID; | |||
variables.name = name; | |||
return this; | |||
} | |||
} |