-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix crash caused by #290, discovered by pre-launch report
- Loading branch information
1 parent
7e6acfc
commit 12124d6
Showing
6 changed files
with
73 additions
and
5 deletions.
There are no files selected for viewing
This file contains 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
21 changes: 21 additions & 0 deletions
21
.../androidTest/java/net/twisterrob/inventory/android/test/actors/CategoryActivityActor.java
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
package net.twisterrob.inventory.android.test.actors; | ||
|
||
import net.twisterrob.inventory.android.R; | ||
import net.twisterrob.inventory.android.activity.data.CategoryActivity; | ||
|
||
public class CategoryActivityActor extends ItemContainingViewActivityActor { | ||
public CategoryActivityActor() { | ||
super(CategoryActivity.class); | ||
} | ||
|
||
@Override public void assertShowing(String itemName) { | ||
assertActionTitle(itemName); | ||
} | ||
|
||
public CategoryActivityActor flatten() { | ||
clickActionBar(R.id.action_category_viewAllItems); | ||
CategoryActivityActor activity = new CategoryActivityActor(); | ||
activity.assertIsInFront(); | ||
return activity; | ||
} | ||
} |
This file contains 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
This file contains 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
This file contains 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
This file contains 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