diff options
Diffstat (limited to 'plugins/base/src/test/kotlin/transformers/isExceptionTest.kt')
-rw-r--r-- | plugins/base/src/test/kotlin/transformers/isExceptionTest.kt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/base/src/test/kotlin/transformers/isExceptionTest.kt b/plugins/base/src/test/kotlin/transformers/isExceptionTest.kt index 131c7b77..ba00cf15 100644 --- a/plugins/base/src/test/kotlin/transformers/isExceptionTest.kt +++ b/plugins/base/src/test/kotlin/transformers/isExceptionTest.kt @@ -105,7 +105,7 @@ class IsExceptionJavaTest: AbstractModelTest("/src/main/kotlin/java/Test.java", fun `isException should work for java exceptions`(){ inlineModelTest( """ - |class ExampleException extends java.lang.Exception { }""" + |public class ExampleException extends java.lang.Exception { }""" ) { with((this / "java" / "ExampleException").cast<DClass>()) { name equals "ExampleException" @@ -118,7 +118,7 @@ class IsExceptionJavaTest: AbstractModelTest("/src/main/kotlin/java/Test.java", fun `isException should work for RuntimeException`(){ inlineModelTest( """ - |class ExampleException extends java.lang.RuntimeException""" + |public class ExampleException extends java.lang.RuntimeException""" ) { with((this / "java" / "ExampleException").cast<DClass>()) { name equals "ExampleException" @@ -131,7 +131,7 @@ class IsExceptionJavaTest: AbstractModelTest("/src/main/kotlin/java/Test.java", fun `isException should return false for a basic class`(){ inlineModelTest( """ - |class NotAnException extends Serializable""" + |public class NotAnException extends Serializable""" ) { with((this / "java" / "NotAnException").cast<DClass>()) { name equals "NotAnException" |