Skip to content

Commit 95b46fd

Browse files
committed
Renaming test names to keep up with method name consistency
1 parent 72502a6 commit 95b46fd

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

android-sensors/src/androidTest/java/com/ubikgs/androidsensors/gatherers/SensorGathererIntegrationTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public void setUp() throws Exception {
4747
}
4848

4949
@Test(timeout = 20000)
50-
public void dataStream_emitsAtLeastOneRecord_whenSensorIsAvailable() throws Exception {
50+
public void recordStream_emitsAtLeastOneRecord_whenSensorIsAvailable() throws Exception {
5151
SensorRecord sensorRecord = sensorGatherer.recordStream()
5252
.subscribeOn(Schedulers.newThread())
5353
.take(1)
@@ -60,7 +60,7 @@ public void dataStream_emitsAtLeastOneRecord_whenSensorIsAvailable() throws Exce
6060
}
6161

6262
@Test
63-
public void dataStream_emitsAtLeastXRecords_duringPeriod_whenSensorIsAvailable() throws Exception {
63+
public void recordStream_emitsAtLeastXRecords_duringPeriod_whenSensorIsAvailable() throws Exception {
6464
List<SensorRecord> sensorRecords = sensorGatherer.recordStream()
6565
.subscribeOn(Schedulers.newThread())
6666
.take(gatheringPeriod, TimeUnit.SECONDS)

android-sensors/src/androidTest/java/com/ubikgs/androidsensors/gatherers/gps/RawGPSGathererIntegrationTest.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,16 +34,16 @@ public void setUp() throws Exception {
3434
}
3535

3636
@Override
37-
public void dataStream_emitsAtLeastOneRecord_whenSensorIsAvailable() throws Exception {
37+
public void recordStream_emitsAtLeastOneRecord_whenSensorIsAvailable() throws Exception {
3838
Disposable subscribe = createLocationGathererSubscription();
39-
super.dataStream_emitsAtLeastOneRecord_whenSensorIsAvailable();
39+
super.recordStream_emitsAtLeastOneRecord_whenSensorIsAvailable();
4040
subscribe.dispose();
4141
}
4242

4343
@Override
44-
public void dataStream_emitsAtLeastXRecords_duringPeriod_whenSensorIsAvailable() throws Exception {
44+
public void recordStream_emitsAtLeastXRecords_duringPeriod_whenSensorIsAvailable() throws Exception {
4545
Disposable subscribe = createLocationGathererSubscription();
46-
super.dataStream_emitsAtLeastXRecords_duringPeriod_whenSensorIsAvailable();
46+
super.recordStream_emitsAtLeastXRecords_duringPeriod_whenSensorIsAvailable();
4747
subscribe.dispose();
4848
}
4949

0 commit comments

Comments
 (0)