3939import com .google .common .base .Stopwatch ;
4040import com .google .common .util .concurrent .MoreExecutors ;
4141import com .google .protobuf .ListValue ;
42- import com .google .spanner .v1 .DeleteSessionRequest ;
4342import com .google .spanner .v1 .ResultSetMetadata ;
4443import com .google .spanner .v1 .StructType ;
4544import com .google .spanner .v1 .StructType .Field ;
6362import org .junit .BeforeClass ;
6463import org .junit .Rule ;
6564import org .junit .Test ;
66- import org .junit .rules .TestRule ;
6765import org .junit .rules .TestWatcher ;
6866import org .junit .runner .Description ;
6967import org .junit .runner .RunWith ;
@@ -81,22 +79,23 @@ public Long apply(StructReader input) {
8179 }
8280
8381 @ Rule
84- public TestWatcher testWatcher = new TestWatcher () {
85- @ Override
86- protected void succeeded (Description description ) {
87- System .out .println ("Succeeded test: " + description .getMethodName ());
88- }
82+ public TestWatcher testWatcher =
83+ new TestWatcher () {
84+ @ Override
85+ protected void succeeded (Description description ) {
86+ System .out .println ("Succeeded test: " + description .getMethodName ());
87+ }
8988
90- @ Override
91- protected void failed (Throwable e , Description description ) {
92- System .out .println ("Failed test: " + description .getMethodName ());
93- }
89+ @ Override
90+ protected void failed (Throwable e , Description description ) {
91+ System .out .println ("Failed test: " + description .getMethodName ());
92+ }
9493
95- @ Override
96- protected void starting (Description description ) {
97- System .out .println ("Starting test: " + description .getMethodName ());
98- }
99- };
94+ @ Override
95+ protected void starting (Description description ) {
96+ System .out .println ("Starting test: " + description .getMethodName ());
97+ }
98+ };
10099
101100 private static final ToLongTransformer TO_LONG = new ToLongTransformer ();
102101
0 commit comments