commit | a97e713dfd55ed497e8d86c28f9f4d6c4c633e7d | [log] [tgz] |
---|---|---|
author | kwaky <kwaky@google.com> | Mon May 20 13:46:38 2019 -0700 |
committer | kwaky <kwaky@google.com> | Mon May 20 14:08:50 2019 -0700 |
tree | 250f5ad4f89099145c5d03234e7b74f237b6ad92 | |
parent | 8245f1d3f6b4b70dab3c67c644001b1ccf9f4a36 [diff] |
Fix test environment setup to run setup Activity explicitly. Test: Robolectric Bug: 133158832 Change-Id: Ib28ea63f213a1320cc72b0be1c0352d5cea0521f
diff --git a/tests/robotests/src/com/android/car/settings/common/BaseCarSettingsActivityTest.java b/tests/robotests/src/com/android/car/settings/common/BaseCarSettingsActivityTest.java index a763b80..8bae4a1 100644 --- a/tests/robotests/src/com/android/car/settings/common/BaseCarSettingsActivityTest.java +++ b/tests/robotests/src/com/android/car/settings/common/BaseCarSettingsActivityTest.java
@@ -69,7 +69,7 @@ mContext = RuntimeEnvironment.application; mActivityController = ActivityController.of(new TestBaseCarSettingsActivity()); mActivity = mActivityController.get(); - mActivityController.create(); + mActivityController.setup(); } @Test