File tree Expand file tree Collapse file tree 1 file changed +15
-15
lines changed
google-cloud-spanner/src/test/java/com/google/cloud/spanner Expand file tree Collapse file tree 1 file changed +15
-15
lines changed Original file line number Diff line number Diff line change 6262import org .junit .BeforeClass ;
6363import org .junit .Rule ;
6464import org .junit .Test ;
65- import org .junit .rules .TestRule ;
6665import org .junit .rules .TestWatcher ;
6766import org .junit .runner .Description ;
6867import org .junit .runner .RunWith ;
@@ -80,22 +79,23 @@ public Long apply(StructReader input) {
8079 }
8180
8281 @ Rule
83- public TestWatcher testWatcher = new TestWatcher () {
84- @ Override
85- protected void succeeded (Description description ) {
86- System .out .println ("Succeeded test: " + description .getMethodName ());
87- }
82+ public TestWatcher testWatcher =
83+ new TestWatcher () {
84+ @ Override
85+ protected void succeeded (Description description ) {
86+ System .out .println ("Succeeded test: " + description .getMethodName ());
87+ }
8888
89- @ Override
90- protected void failed (Throwable e , Description description ) {
91- System .out .println ("Failed test: " + description .getMethodName ());
92- }
89+ @ Override
90+ protected void failed (Throwable e , Description description ) {
91+ System .out .println ("Failed test: " + description .getMethodName ());
92+ }
9393
94- @ Override
95- protected void starting (Description description ) {
96- System .out .println ("Starting test: " + description .getMethodName ());
97- }
98- };
94+ @ Override
95+ protected void starting (Description description ) {
96+ System .out .println ("Starting test: " + description .getMethodName ());
97+ }
98+ };
9999
100100 private static final ToLongTransformer TO_LONG = new ToLongTransformer ();
101101
You can’t perform that action at this time.
0 commit comments