File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed
google-cloud-spanner/src/test/java/com/google/cloud/spanner Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change 6060import org .junit .AfterClass ;
6161import org .junit .Before ;
6262import org .junit .BeforeClass ;
63+ import org .junit .Rule ;
6364import org .junit .Test ;
65+ import org .junit .rules .TestRule ;
66+ import org .junit .rules .TestWatcher ;
67+ import org .junit .runner .Description ;
6468import org .junit .runner .RunWith ;
6569import org .junit .runners .Parameterized ;
6670import org .junit .runners .Parameterized .Parameter ;
@@ -80,6 +84,13 @@ public Long apply(StructReader input) {
8084 @ Parameter (0 )
8185 public boolean failOnInvalidatedSession ;
8286
87+ @ Rule
88+ public TestRule watcher = new TestWatcher () {
89+ protected void starting (Description description ) {
90+ System .out .println ("Starting test: " + description .getMethodName ());
91+ }
92+ };
93+
8394 @ Parameters (name = "fail on invalidated session = {0}" )
8495 public static Collection <Object []> data () {
8596 List <Object []> params = new ArrayList <>();
You can’t perform that action at this time.
0 commit comments