Minor: Remove obsolete JAVA_FILE_PARSING_ERROR constant, fix corresponding test
This commit is contained in:
@@ -20,7 +20,6 @@ class KaptError : RuntimeException {
|
||||
val kind: Kind
|
||||
|
||||
enum class Kind(val message: String) {
|
||||
JAVA_FILE_PARSING_ERROR("Java file parsing error"),
|
||||
ERROR_WHILE_ANALYSIS("Java file analysis error"),
|
||||
EXCEPTION("Exception while annotation processing"),
|
||||
ERROR_RAISED("Error while annotation processing"),
|
||||
|
||||
@@ -132,7 +132,7 @@ class JavaKaptContextTest {
|
||||
try {
|
||||
doAnnotationProcessing(File(TEST_DATA_DIR, "ParseError.java"), simpleProcessor(), TEST_DATA_DIR)
|
||||
} catch (e: KaptError) {
|
||||
assertEquals(KaptError.Kind.JAVA_FILE_PARSING_ERROR, e.kind)
|
||||
assertEquals(KaptError.Kind.ERROR_RAISED, e.kind)
|
||||
throw e
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user