generate to text even if assertion error
This commit is contained in:
@@ -315,9 +315,9 @@ public abstract class CodegenTestCase extends UsefulTestCase {
|
|||||||
DxChecker.check(generationState.getFactory());
|
DxChecker.check(generationState.getFactory());
|
||||||
}
|
}
|
||||||
|
|
||||||
} catch (RuntimeException e) {
|
} catch (Throwable e) {
|
||||||
System.out.println(generateToText());
|
System.out.println(generateToText());
|
||||||
throw e;
|
throw ExceptionUtils.rethrow(e);
|
||||||
}
|
}
|
||||||
return generationState;
|
return generationState;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user