コード例 #1
0
 public void run(final TestResult result) {
   Protectable p =
       new Protectable() {
         public void protect() throws Exception {
           setUp();
           basicRun(result);
           tearDown();
         }
       };
   result.runProtected(this, p);
 }