Skip to content

Commit 1c41b27

Browse files
committed
functional-tests: do not trigger compilation error in Java/Kotlin interop test
Because we generate 'JvmSynthetic' for exception fields, the compilation error was trigerred. ``` /functional/android/src/test/java/com/here/android/test/VisibilityAttributeTest.java:76: error: cannot find symbol assertEquals(exception.error, SomeInternalEnum.ONE); ^ symbol: variable error location: variable exception of type SomethingBadHappenedException ``` Signed-off-by: Patryk Wrobel <183546751+pwrobeldev@users.noreply.github.com>
1 parent 2ccaaf9 commit 1c41b27

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

functional-tests/functional/android/src/test/java/com/here/android/test/VisibilityAttributeTest.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,5 @@ public void internalExceptionCanBeThrown() {
7272
SomethingBadHappenedException exception = assertThrows(SomethingBadHappenedException.class, () -> {
7373
throw new SomethingBadHappenedException(SomeInternalEnum.ONE);
7474
});
75-
76-
assertEquals(exception.error, SomeInternalEnum.ONE);
7775
}
7876
}

0 commit comments

Comments
 (0)