Wizard improved

This commit is contained in:
Sergey Solovyev
2013-06-25 00:46:37 +04:00
parent 097840688c
commit 723fd1a461
10 changed files with 179 additions and 156 deletions

View File

@@ -119,4 +119,10 @@ public class CalculatorWizardActivityTest {
startWizard(Wizard.DEFAULT_WIZARD_FLOW, shadowActivity.getApplicationContext());
assertNotNull(shadowActivity.getNextStartedActivity());
}
@Test
public void testTitleShouldBeSet() throws Exception {
activity.setStep(choose_mode);
assertEquals(activity.getString(choose_mode.getTitleResId()), activity.getTitle().toString());
}
}