Commit 54c9b36 1 parent c58c8e8 commit 54c9b36 Copy full SHA for 54c9b36
File tree 1 file changed +8
-1
lines changed
ojdbc-provider-common/src/test/java/oracle/jdbc/provider
1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change 39
39
package oracle .jdbc .provider ;
40
40
41
41
import org .junit .jupiter .api .Assumptions ;
42
+ import org .junit .jupiter .api .extension .ExtensionContext ;
43
+ import org .junit .jupiter .api .extension .TestWatcher ;
42
44
43
45
import java .io .IOException ;
44
46
import java .io .InputStream ;
62
64
* -Doracle.jdbc.provider.TestProperties=/path/to/file.properties
63
65
* </pre>
64
66
*/
65
- public final class TestProperties {
67
+ public final class TestProperties implements TestWatcher {
68
+ @ Override
69
+ public void testAborted (ExtensionContext context , Throwable cause ) {
70
+ System .out .println ("Test Aborted: " + context .getDisplayName ());
71
+ System .out .println ("Cause: " + cause .getMessage ());
72
+ }
66
73
67
74
private static final Logger LOGGER =
68
75
Logger .getLogger (TestProperties .class .getName ());
You can’t perform that action at this time.
0 commit comments