Ejemplo n.º 1
0
 protected void doRun(TestCase testCase) throws Exception {
   if (testCase.isIgnored()) {
     logWarning(Text.valueOf("Ignore ").plus(testCase.getName()));
     return;
   }
   logMessage("test", Text.valueOf(testCase.getName()));
   super.doRun(testCase);
 }
Ejemplo n.º 2
0
 /**
  * Writes a portion of a string.
  *
  * @param str a String.
  * @param off the offset from which to start writing characters.
  * @param len the number of characters to write.
  * @throws IOException if an I/O error occurs
  */
 public void write(String str, int off, int len) throws IOException {
   if (_output == null) throw new IOException("Writer closed");
   Object obj = str;
   if (obj instanceof CharSequence) {
     _output.append((CharSequence) obj);
   } else {
     _output.append(Text.valueOf(str));
   }
 }
Ejemplo n.º 3
0
 protected void doRun(TestSuite testSuite) throws Exception {
   logMessage("test", Text.valueOf("---------------------------------------------------"));
   logMessage("test", Text.valueOf("Executes Test Suite: ").plus(testSuite.getName()));
   logMessage("test", Text.valueOf(""));
   super.doRun(testSuite);
 }