forked from upstream-mirrors/OpenTracks
Fix an error in SensorTest.
This commit is contained in:
@@ -130,6 +130,9 @@ public class SensorTest extends ActivityInstrumentationTestCase2<TrackListActivi
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void tearDown() throws Exception {
|
protected void tearDown() throws Exception {
|
||||||
|
if (!testSensor) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
EndToEndTestUtils.SOLO.finishOpenedActivities();
|
EndToEndTestUtils.SOLO.finishOpenedActivities();
|
||||||
super.tearDown();
|
super.tearDown();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user