Unignore some Android Instrumentation Tests (#3274)

This commit is contained in:
Bart Louwers
2025-04-11 13:21:22 +02:00
committed by GitHub
parent 2ee04c397c
commit b862d6f149
8 changed files with 3 additions and 8 deletions

1
.gitignore vendored
View File

@@ -35,6 +35,7 @@ compile_commands.json
/platform/android/site
node_modules
.cxx
.env
# Node binaries.
/lib

1
platform/android/.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
MapLibreAndroid/src/vulkanDebug

View File

@@ -20,7 +20,6 @@ class FragmentBackStackTest : BaseIntegrationTest() {
var activityRule: ActivityTestRule<FragmentBackStackActivity> = ActivityTestRule(FragmentBackStackActivity::class.java)
@Test
@Ignore("https://github.com/maplibre/maplibre-native/issues/2469")
@LargeTest
fun backPressedOnBackStackResumed() {
device.waitForIdle()

View File

@@ -13,7 +13,6 @@ import org.junit.runner.RunWith
/**
* Regression test that validates MapFragment integration with a ViewPager
*/
@Ignore("https://github.com/maplibre/maplibre-native/issues/2316")
@RunWith(AndroidJUnit4ClassRunner::class)
class ViewPagerScrollTest : BaseIntegrationTest() {

View File

@@ -13,7 +13,6 @@ import org.junit.Assert.assertTrue
import org.junit.Ignore
import org.junit.Test
@Ignore("https://github.com/maplibre/maplibre-native/issues/2468")
class VisibleRegionTest : BaseTest() {
override fun getActivityClass(): Class<*> {

View File

@@ -17,7 +17,6 @@ import java.util.concurrent.TimeoutException
/**
* Integration test that validates downloading an offline region from a point geometry at zoomlevel 17
*/
@Ignore("https://github.com/maplibre/maplibre-native/issues/2318")
@RunWith(AndroidJUnit4ClassRunner::class)
class OfflineDownloadTest : OfflineRegion.OfflineRegionObserver {

View File

@@ -22,7 +22,6 @@ import java.util.concurrent.TimeoutException
/**
* Integration test that validates if a snapshotter creation
*/
@Ignore("https://github.com/maplibre/maplibre-native/issues/2317")
@RunWith(AndroidJUnit4ClassRunner::class)
class MapSnapshotterTest {
@@ -41,7 +40,7 @@ class MapSnapshotterTest {
val options = MapSnapshotter.Options(512, 512)
.withPixelRatio(1.0f)
.withStyleBuilder(
Style.Builder().fromUri(TestStyles.getPredefinedStyleWithFallback("Satellite Hybrid"))
Style.Builder().fromUri(TestStyles.OPENFREEMAP_BRIGHT)
.withLayerAbove(bg, "country-label")
)
.withCameraPosition(

View File

@@ -2,7 +2,6 @@ package org.maplibre.android.testapp.geometry;
import static org.junit.Assert.assertEquals;
import org.junit.Ignore;
import org.maplibre.android.camera.CameraUpdateFactory;
import org.maplibre.android.geometry.LatLng;
import org.maplibre.android.geometry.LatLngBounds;
@@ -16,7 +15,6 @@ import org.junit.Test;
/**
* Instrumentation test to validate integration of LatLngBounds
*/
@Ignore("https://github.com/maplibre/maplibre-native/issues/2319")
public class LatLngBoundsTest extends BaseTest {
private static final double MAP_BEARING = 50;