Add render tests to Gradle project root at platform/android (#2162)

This commit is contained in:
Bart Louwers
2024-03-04 21:44:44 +01:00
committed by GitHub
parent 0c2cb3d23f
commit 1de098e66f
10 changed files with 75 additions and 193 deletions

View File

@@ -187,7 +187,7 @@ class MapGestureDetectorTest : BaseTest() {
onView(withId(R.id.mapView)).perform(quickScale(-300f, withVelocity = false, duration = 750L))
rule.runOnUiThread {
Assert.assertEquals(3.0, maplibreMap.cameraPosition.zoom, 0.0001)
Assert.assertEquals(3.0, maplibreMap.cameraPosition.zoom, 0.001)
}
}
}

View File

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_name">MapLibre Android SDK TestApp</string>
<string name="app_name">MapLibre Native Android TestApp</string>
<string name="fps30">fps30</string>
<string name="fps60">fps60</string>
<string name="this_is_an_empty_fragment">This is an empty Fragment</string>