|
|
@@ -402,7 +402,7 @@ public class StackControllerTest extends BaseTest {
|
|
402
|
402
|
|
|
403
|
403
|
child1.options.topBar.visible = new Bool(false);
|
|
404
|
404
|
child1.options.topBar.animate = new Bool(false);
|
|
405
|
|
- child1.options.animations.push.enable = new Bool(false);
|
|
|
405
|
+ child1.options.animations.push.enabled = new Bool(false);
|
|
406
|
406
|
|
|
407
|
407
|
uut.push(child1, new CommandListenerAdapter());
|
|
408
|
408
|
uut.push(child2, new CommandListenerAdapter() {
|
|
|
@@ -433,7 +433,7 @@ public class StackControllerTest extends BaseTest {
|
|
433
|
433
|
|
|
434
|
434
|
@Test
|
|
435
|
435
|
public void pop_appearingChildHasCorrectLayoutParams() {
|
|
436
|
|
- child2.options.animations.pop.enable = new Bool(false);
|
|
|
436
|
+ child2.options.animations.pop.enabled = new Bool(false);
|
|
437
|
437
|
child1.options.topBar.drawBehind = new Bool(false);
|
|
438
|
438
|
|
|
439
|
439
|
StackController uut = createStack(Arrays.asList(child1, child2));
|
|
|
@@ -514,8 +514,8 @@ public class StackControllerTest extends BaseTest {
|
|
514
|
514
|
|
|
515
|
515
|
@Test
|
|
516
|
516
|
public void popToRoot_PopsEverythingAboveFirstController() {
|
|
517
|
|
- child1.options.animations.push.enable = new Bool(false);
|
|
518
|
|
- child2.options.animations.push.enable = new Bool(false);
|
|
|
517
|
+ child1.options.animations.push.enabled = new Bool(false);
|
|
|
518
|
+ child2.options.animations.push.enabled = new Bool(false);
|
|
519
|
519
|
|
|
520
|
520
|
uut.push(child1, new CommandListenerAdapter());
|
|
521
|
521
|
uut.push(child2, new CommandListenerAdapter());
|
|
|
@@ -538,8 +538,8 @@ public class StackControllerTest extends BaseTest {
|
|
538
|
538
|
|
|
539
|
539
|
@Test
|
|
540
|
540
|
public void popToRoot_onlyTopChildIsAnimated() {
|
|
541
|
|
- child1.options.animations.push.enable = new Bool(false);
|
|
542
|
|
- child2.options.animations.push.enable = new Bool(false);
|
|
|
541
|
+ child1.options.animations.push.enabled = new Bool(false);
|
|
|
542
|
+ child2.options.animations.push.enabled = new Bool(false);
|
|
543
|
543
|
|
|
544
|
544
|
uut.push(child1, new CommandListenerAdapter());
|
|
545
|
545
|
uut.push(child2, new CommandListenerAdapter());
|
|
|
@@ -558,9 +558,9 @@ public class StackControllerTest extends BaseTest {
|
|
558
|
558
|
|
|
559
|
559
|
@Test
|
|
560
|
560
|
public void popToRoot_topChildrenAreDestroyed() {
|
|
561
|
|
- child1.options.animations.push.enable = new Bool(false);
|
|
562
|
|
- child2.options.animations.push.enable = new Bool(false);
|
|
563
|
|
- child3.options.animations.push.enable = new Bool(false);
|
|
|
561
|
+ child1.options.animations.push.enabled = new Bool(false);
|
|
|
562
|
+ child2.options.animations.push.enabled = new Bool(false);
|
|
|
563
|
+ child3.options.animations.push.enabled = new Bool(false);
|
|
564
|
564
|
|
|
565
|
565
|
uut.push(child1, new CommandListenerAdapter());
|
|
566
|
566
|
uut.push(child2, new CommandListenerAdapter());
|
|
|
@@ -633,8 +633,8 @@ public class StackControllerTest extends BaseTest {
|
|
633
|
633
|
|
|
634
|
634
|
@Test
|
|
635
|
635
|
public void pop_callWillAppearWillDisappear() {
|
|
636
|
|
- child1.options.animations.push.enable = new Bool(false);
|
|
637
|
|
- child2.options.animations.push.enable = new Bool(false);
|
|
|
636
|
+ child1.options.animations.push.enabled = new Bool(false);
|
|
|
637
|
+ child2.options.animations.push.enabled = new Bool(false);
|
|
638
|
638
|
child1 = spy(child1);
|
|
639
|
639
|
child2 = spy(child2);
|
|
640
|
640
|
uut.push(child1, new CommandListenerAdapter());
|
|
|
@@ -649,8 +649,8 @@ public class StackControllerTest extends BaseTest {
|
|
649
|
649
|
uut.ensureViewIsCreated();
|
|
650
|
650
|
|
|
651
|
651
|
child1.options.topBar.visible = new Bool(false);
|
|
652
|
|
- child1.options.animations.push.enable = new Bool(false);
|
|
653
|
|
- child2.options.animations.push.enable = new Bool(true);
|
|
|
652
|
+ child1.options.animations.push.enabled = new Bool(false);
|
|
|
653
|
+ child2.options.animations.push.enabled = new Bool(true);
|
|
654
|
654
|
uut.push(child1, new CommandListenerAdapter() {
|
|
655
|
655
|
@Override
|
|
656
|
656
|
public void onSuccess(String childId) {
|
|
|
@@ -678,7 +678,7 @@ public class StackControllerTest extends BaseTest {
|
|
678
|
678
|
|
|
679
|
679
|
child1.options.topBar.visible = new Bool(false);
|
|
680
|
680
|
child1.options.topBar.animate = new Bool(false);
|
|
681
|
|
- child2.options.animations.push.enable = new Bool(false);
|
|
|
681
|
+ child2.options.animations.push.enabled = new Bool(false);
|
|
682
|
682
|
child2.options.topBar.animate = new Bool(false);
|
|
683
|
683
|
|
|
684
|
684
|
child1.ensureViewIsCreated();
|