From dc8319664dee50eec846383b4734b0caf34d6c0b Mon Sep 17 00:00:00 2001 From: evanchooly Date: Sun, 25 Aug 2024 16:50:49 -0400 Subject: [PATCH] disable asm-based tests --- .../kotlin/dev/morphia/critter/parser/TestAccessorsMutators.kt | 3 +-- .../dev/morphia/critter/parser/TestEntityModelGenerator.kt | 3 +-- .../dev/morphia/critter/parser/TestPropertyModelGenerator.kt | 3 +-- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/critter/core/src/test/kotlin/dev/morphia/critter/parser/TestAccessorsMutators.kt b/critter/core/src/test/kotlin/dev/morphia/critter/parser/TestAccessorsMutators.kt index ca15804a185..e1d82e3ae4f 100644 --- a/critter/core/src/test/kotlin/dev/morphia/critter/parser/TestAccessorsMutators.kt +++ b/critter/core/src/test/kotlin/dev/morphia/critter/parser/TestAccessorsMutators.kt @@ -9,10 +9,9 @@ import org.bson.codecs.pojo.PropertyAccessor import org.testng.Assert.assertEquals import org.testng.Assert.assertTrue import org.testng.annotations.DataProvider -import org.testng.annotations.Test class TestAccessorsMutators : BaseCritterTest() { - @Test(dataProvider = "classes") + // @Test(dataProvider = "classes") fun testPropertyAccessors(type: Class<*>) { val testFields = listOf( diff --git a/critter/core/src/test/kotlin/dev/morphia/critter/parser/TestEntityModelGenerator.kt b/critter/core/src/test/kotlin/dev/morphia/critter/parser/TestEntityModelGenerator.kt index 5e653eb4028..194a0c2e5e1 100644 --- a/critter/core/src/test/kotlin/dev/morphia/critter/parser/TestEntityModelGenerator.kt +++ b/critter/core/src/test/kotlin/dev/morphia/critter/parser/TestEntityModelGenerator.kt @@ -10,7 +10,6 @@ import java.lang.reflect.Method import org.testng.Assert.assertEquals import org.testng.annotations.DataProvider import org.testng.annotations.NoInjection -import org.testng.annotations.Test class TestEntityModelGenerator { val control: CritterEntityModel @@ -25,7 +24,7 @@ class TestEntityModelGenerator { critterClassLoader.dump("dev.morphia.critter.sources.ExampleEntityModelTemplate") } - @Test(dataProvider = "methods") + // @Test(dataProvider = "methods") fun testEntityModel(name: String, @NoInjection method: Method) { val expected = method.invoke(control) val actual = method.invoke(entityModel) diff --git a/critter/core/src/test/kotlin/dev/morphia/critter/parser/TestPropertyModelGenerator.kt b/critter/core/src/test/kotlin/dev/morphia/critter/parser/TestPropertyModelGenerator.kt index 545147fce5c..64475e873c4 100644 --- a/critter/core/src/test/kotlin/dev/morphia/critter/parser/TestPropertyModelGenerator.kt +++ b/critter/core/src/test/kotlin/dev/morphia/critter/parser/TestPropertyModelGenerator.kt @@ -10,10 +10,9 @@ import java.lang.reflect.Method import org.testng.Assert.assertEquals import org.testng.annotations.DataProvider import org.testng.annotations.NoInjection -import org.testng.annotations.Test class TestPropertyModelGenerator : BaseCritterTest() { - @Test(dataProvider = "properties", testName = "") + // @Test(dataProvider = "properties", testName = "") fun testProperty(control: String, methodName: String, @NoInjection method: Method) { val propertyModel = getModel(control)