refac
This commit is contained in:
coderfengyun 2014-09-19 14:33:18 +08:00
parent 39ea7f7b10
commit 33d937b1e1
1 changed files with 5 additions and 5 deletions

View File

@ -84,10 +84,10 @@ public class Test_Behavior {
@Test
public void testCompileIfBehavior2Instruction() {
List<BehaviorModel> elseBehaviors = new ArrayList<BehaviorModel>(), thenBehaviors = new ArrayList<BehaviorModel>();
Behavior behavior = Behavior.buildWith(BehaviorModel
.IfBehaviorBuilder(BehaviorModel.testBehaviorBuilder(1,
"isDefined", "context", Arrays.asList(ParameterModel
.createParameter("name", "a")))),
thenBehaviors, elseBehaviors);
// Behavior behavior =
// Behavior.buildWith(BehaviorModel.IfBehaviorBuilder(
// BehaviorModel.testBehaviorBuilder(1, "isDefined", "context",
// Arrays.asList(ParameterModel.createParameter("name",
// "a"))), thenBehaviors, elseBehaviors));
}
}