forked from upstream-mirrors/OpenTracks
Fix unit tests.
This commit is contained in:
@@ -51,7 +51,7 @@ public class SingleColorTrackPathPainter implements TrackPathPainter {
|
|||||||
@Override
|
@Override
|
||||||
public void updatePath(Projection projection, Rect viewRect, int startLocationIdx,
|
public void updatePath(Projection projection, Rect viewRect, int startLocationIdx,
|
||||||
Boolean alwaysVisible, List<CachedLocation> points) {
|
Boolean alwaysVisible, List<CachedLocation> points) {
|
||||||
path = new Path();
|
path = newPath();
|
||||||
updatePath(projection, viewRect, startLocationIdx, alwaysVisible, points, path);
|
updatePath(projection, viewRect, startLocationIdx, alwaysVisible, points, path);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
@@ -40,7 +40,7 @@ public class DescriptionGeneratorImplTest extends AndroidTestCase {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Tests {@link DescriptionGeneratorImpl#generateTrackDescription(Track,
|
* Tests {@link DescriptionGeneratorImpl#generateTrackDescription(Track,
|
||||||
* java.util.Vector, java.util.Vector)}.
|
* java.util.Vector, java.util.Vector, boolean)}.
|
||||||
*/
|
*/
|
||||||
public void testGenerateTrackDescription() {
|
public void testGenerateTrackDescription() {
|
||||||
Track track = new Track();
|
Track track = new Track();
|
||||||
|
|||||||
-4
@@ -186,10 +186,6 @@ public class UploadServiceChooserActivityTest extends
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Initials a activity to be tested.
|
* Initials a activity to be tested.
|
||||||
*
|
|
||||||
* @param showMaps
|
|
||||||
* @param showFusionTables
|
|
||||||
* @param showDocs
|
|
||||||
*/
|
*/
|
||||||
private void initialActivity() {
|
private void initialActivity() {
|
||||||
Intent intent = new Intent();
|
Intent intent = new Intent();
|
||||||
|
|||||||
Reference in New Issue
Block a user