Skip to content

Commit

Permalink
disable asm-based tests
Browse files Browse the repository at this point in the history
  • Loading branch information
evanchooly committed Aug 25, 2024
1 parent a2e9be8 commit dc83196
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit dc83196

Please sign in to comment.