diff options
author | Ajay Nadathur <ajayns@google.com> | 2017-10-16 16:02:33 -0700 |
---|---|---|
committer | Ajay Nadathur <ajayns@google.com> | 2017-10-16 16:23:33 -0700 |
commit | beea4d67b53a2ee83eb85df452fdac5add971754 (patch) | |
tree | bffc8a3c7fe6fb06775b4e9079bb610d40f19af6 /library/test/robotest/src/com | |
parent | b2a38dd86b4065e376f37aeda2083df712eed16c (diff) | |
download | setupwizard-beea4d67b53a2ee83eb85df452fdac5add971754.tar.gz |
Add "isPreDeferredSetupWizard" to WizardManagerHelper
bug: 67782334
Test: Manually tested
Change-Id: Ic75eac6fd743a526e2cf61a12eecf66da7fa02b1
Diffstat (limited to 'library/test/robotest/src/com')
-rw-r--r-- | library/test/robotest/src/com/android/setupwizardlib/util/WizardManagerHelperTest.java | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/library/test/robotest/src/com/android/setupwizardlib/util/WizardManagerHelperTest.java b/library/test/robotest/src/com/android/setupwizardlib/util/WizardManagerHelperTest.java index 4c460c8..6477b51 100644 --- a/library/test/robotest/src/com/android/setupwizardlib/util/WizardManagerHelperTest.java +++ b/library/test/robotest/src/com/android/setupwizardlib/util/WizardManagerHelperTest.java @@ -88,6 +88,14 @@ public class WizardManagerHelperTest { } @Test + public void testIsPreDeferredSetupTrue() { + final Intent intent = new Intent(); + intent.putExtra("preDeferredSetup", true); + assertTrue("Is pre-deferred setup wizard should be true", + WizardManagerHelper.isPreDeferredSetupWizard(intent)); + } + + @Test public void testIsSetupWizardFalse() { final Intent intent = new Intent(); intent.putExtra("firstRun", false); |