mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-13 09:19:13 +07:00
ensure logged EA-68436 - NPE: TestFailedEvent.<init>
This commit is contained in:
+1
-1
@@ -428,7 +428,7 @@ public class OutputToGeneralTestEventsConverter implements ProcessOutputConsumer
|
||||
|
||||
public void visitTestFailed(@NotNull final TestFailed testFailed) {
|
||||
final Map<String, String> attributes = testFailed.getAttributes();
|
||||
assert testFailed.getFailureMessage() != null : "No failure message for: " + myTestFrameworkName;
|
||||
LOG.assertTrue(testFailed.getFailureMessage() != null, "No failure message for: " + myTestFrameworkName);
|
||||
final boolean testError = attributes.get(ATTR_KEY_TEST_ERROR) != null;
|
||||
TestFailedEvent testFailedEvent = new TestFailedEvent(testFailed, testError,
|
||||
attributes.get(ATTR_KEY_EXPECTED_FILE_PATH),
|
||||
|
||||
Reference in New Issue
Block a user