junitour
Class TourTestRunner

java.lang.Object
  extended by junit.runner.BaseTestRunner
      extended by junitour.TourTestRunner
All Implemented Interfaces:
junit.framework.TestListener, UnitTestIncompleteListener

public abstract class TourTestRunner
extends junit.runner.BaseTestRunner
implements UnitTestIncompleteListener

Specialized TestRunner which handles the case of incomplete testcases: Implementing UnitTestIncompleteListener it 'marks' incomplete test cases as INCOMPLETE when calling the Resultlistener.

 $Log$
package junitour;

import junit.runner.BaseTestRunner;
import junit.framework.Test;

/**
 Specialized TestRunner which handles the case of incomplete testcases:
 Implementing UnitTestIncompleteListener it 'marks' incomplete test cases
 as INCOMPLETE when calling the Resultlistener.
 
 Revision 1.5  2005/08/21 21:35:00  hostlows
package junitour;

import junit.runner.BaseTestRunner;
import junit.framework.Test;

/**
 Specialized TestRunner which handles the case of incomplete testcases:
 Implementing UnitTestIncompleteListener it 'marks' incomplete test cases
 as INCOMPLETE when calling the Resultlistener.
 
 javadoc
package junitour;

import junit.runner.BaseTestRunner;
import junit.framework.Test;

/**
 Specialized TestRunner which handles the case of incomplete testcases:
 Implementing UnitTestIncompleteListener it 'marks' incomplete test cases
 as INCOMPLETE when calling the Resultlistener.
 

 

Version:
$Revision: 63 $, $Date: 2005-08-21 23:35:00 +0200 (So, 21 Aug 2005) $
Author:
$Author: hostlows $ created by Robert Hostlowsky

Field Summary
 
Fields inherited from class junit.runner.BaseTestRunner
SUITE_METHODNAME
 
Constructor Summary
TourTestRunner()
           
 
Method Summary
 void addIncompleteTest(junit.framework.Test test, java.lang.Throwable t)
          calls BaseTestRunner.testFailed(int, junit.framework.Test, Throwable) with state STATUS_INCOMPLETE.
 
Methods inherited from class junit.runner.BaseTestRunner
addError, addFailure, clearStatus, elapsedTimeAsString, endTest, extractClassName, getFilteredTrace, getFilteredTrace, getLoader, getPreference, getPreference, getPreferences, getTest, inVAJava, loadSuiteClass, processArguments, runFailed, savePreferences, setLoading, setPreference, setPreferences, showStackRaw, startTest, testEnded, testFailed, testStarted, truncate, useReloadingTestSuiteLoader
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface junitour.UnitTestIncompleteListener
addUnitTestIncompleteListener
 
Methods inherited from interface junit.framework.TestListener
addError, addFailure, endTest, startTest
 

Constructor Detail

TourTestRunner

public TourTestRunner()
Method Detail

addIncompleteTest

public void addIncompleteTest(junit.framework.Test test,
                              java.lang.Throwable t)
calls BaseTestRunner.testFailed(int, junit.framework.Test, Throwable) with state STATUS_INCOMPLETE.

Parameters:
test - the test case which failed with an 'incomplete' failure
t - any Throwable (seems to be an AssertionException)


Copyright © 2005-2007. All Rights Reserved.