wrapping up test case debugging

This commit is contained in:
Katharine
2021-11-02 08:43:14 +08:00
parent 4536453fdf
commit f475844bd0
2 changed files with 0 additions and 18 deletions

View File

@@ -263,15 +263,6 @@ public class LoyaltyCardViewActivityTest
assertNotNull(intent);
assertEquals(intent.getComponent().getClassName(), ScanActivity.class.getCanonicalName());
// this confuses the test suit, a activity result with request type 2 gets sent to the activity being tested
/*
Activity newActivity = Robolectric.buildActivity(ScanActivity.class, intent).create().get();
final Button manualButton = newActivity.findViewById(R.id.add_manually);
manualButton.performClick();
*/
intentForResult = shadowOf(activity).peekNextStartedActivityForResult();
assertNotNull(intentForResult);