This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public void testGiven15Alarms_WhenAddNewAlarm_ThenShowToastWithErrorMessage() throws Exception { | |
populateAlarms(15); | |
mSolo.clickOnButton(0); // try to add new alarm | |
// check Toast message | |
assertTrue(mSolo.searchText(mActivity.getString(R.string.max_alarm_error))); | |
assertEquals(15, mActivity.getAlarmCount()); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public void testOnButtonClick_StartSettings() throws Exception { | |
AlarmActivity activity = getActivity(); | |
activity.onAddAlarm(); | |
Intent intent = getStartedActivityIntent(); | |
assertEquals(SettingsActivity.class.getCanonicalName(), | |
intent.getComponent().getClassName()); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
extensible.libs.classpath=../gol/jar |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<target name="-pre-compile"> | |
<subant target="jar"> | |
<fileset dir="../gol" includes="build.xml" /> | |
</subant> | |
</target> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jar.libs.dir=../gol/jar |
NewerOlder