|
@@ -279,7 +279,7 @@ public class StackControllerTest extends BaseTest {
|
279
|
279
|
|
280
|
280
|
child1.options.topBar.visible = new Bool(false);
|
281
|
281
|
child1.options.topBar.animate = new Bool(false);
|
282
|
|
- child1.options.animations.push.enabled = new Bool(false);
|
|
282
|
+ child1.options.animations.push.enable = new Bool(false);
|
283
|
283
|
|
284
|
284
|
uut.push(child1, new CommandListenerAdapter());
|
285
|
285
|
uut.push(child2, new CommandListenerAdapter() {
|
|
@@ -384,8 +384,8 @@ public class StackControllerTest extends BaseTest {
|
384
|
384
|
|
385
|
385
|
@Test
|
386
|
386
|
public void popToRoot_PopsEverythingAboveFirstController() {
|
387
|
|
- child1.options.animations.push.enabled = new Bool(false);
|
388
|
|
- child2.options.animations.push.enabled = new Bool(false);
|
|
387
|
+ child1.options.animations.push.enable = new Bool(false);
|
|
388
|
+ child2.options.animations.push.enable = new Bool(false);
|
389
|
389
|
|
390
|
390
|
uut.push(child1, new CommandListenerAdapter());
|
391
|
391
|
uut.push(child2, new CommandListenerAdapter());
|
|
@@ -408,8 +408,8 @@ public class StackControllerTest extends BaseTest {
|
408
|
408
|
|
409
|
409
|
@Test
|
410
|
410
|
public void popToRoot_onlyTopChildIsAnimated() {
|
411
|
|
- child1.options.animations.push.enabled = new Bool(false);
|
412
|
|
- child2.options.animations.push.enabled = new Bool(false);
|
|
411
|
+ child1.options.animations.push.enable = new Bool(false);
|
|
412
|
+ child2.options.animations.push.enable = new Bool(false);
|
413
|
413
|
|
414
|
414
|
uut.push(child1, new CommandListenerAdapter());
|
415
|
415
|
uut.push(child2, new CommandListenerAdapter());
|
|
@@ -428,9 +428,9 @@ public class StackControllerTest extends BaseTest {
|
428
|
428
|
|
429
|
429
|
@Test
|
430
|
430
|
public void popToRoot_topChildrenAreDestroyed() {
|
431
|
|
- child1.options.animations.push.enabled = new Bool(false);
|
432
|
|
- child2.options.animations.push.enabled = new Bool(false);
|
433
|
|
- child3.options.animations.push.enabled = new Bool(false);
|
|
431
|
+ child1.options.animations.push.enable = new Bool(false);
|
|
432
|
+ child2.options.animations.push.enable = new Bool(false);
|
|
433
|
+ child3.options.animations.push.enable = new Bool(false);
|
434
|
434
|
|
435
|
435
|
uut.push(child1, new CommandListenerAdapter());
|
436
|
436
|
uut.push(child2, new CommandListenerAdapter());
|
|
@@ -490,8 +490,8 @@ public class StackControllerTest extends BaseTest {
|
490
|
490
|
|
491
|
491
|
@Test
|
492
|
492
|
public void pop_callWillAppearWillDisappear() {
|
493
|
|
- child1.options.animations.push.enabled = new Bool(false);
|
494
|
|
- child2.options.animations.push.enabled = new Bool(false);
|
|
493
|
+ child1.options.animations.push.enable = new Bool(false);
|
|
494
|
+ child2.options.animations.push.enable = new Bool(false);
|
495
|
495
|
child1 = spy(child1);
|
496
|
496
|
child2 = spy(child2);
|
497
|
497
|
uut.push(child1, new CommandListenerAdapter());
|
|
@@ -506,8 +506,8 @@ public class StackControllerTest extends BaseTest {
|
506
|
506
|
uut.ensureViewIsCreated();
|
507
|
507
|
|
508
|
508
|
child1.options.topBar.visible = new Bool(false);
|
509
|
|
- child1.options.animations.push.enabled = new Bool(false);
|
510
|
|
- child2.options.animations.push.enabled = new Bool(true);
|
|
509
|
+ child1.options.animations.push.enable = new Bool(false);
|
|
510
|
+ child2.options.animations.push.enable = new Bool(true);
|
511
|
511
|
uut.push(child1, new CommandListenerAdapter() {
|
512
|
512
|
@Override
|
513
|
513
|
public void onSuccess(String childId) {
|
|
@@ -534,7 +534,7 @@ public class StackControllerTest extends BaseTest {
|
534
|
534
|
|
535
|
535
|
child1.options.topBar.visible = new Bool(false);
|
536
|
536
|
child1.options.topBar.animate = new Bool(false);
|
537
|
|
- child2.options.animations.push.enabled = new Bool(false);
|
|
537
|
+ child2.options.animations.push.enable = new Bool(false);
|
538
|
538
|
child2.options.topBar.animate = new Bool(false);
|
539
|
539
|
|
540
|
540
|
child1.ensureViewIsCreated();
|