Lines Matching defs:warning
56 return warning("Class "+theClass.getName()+" has no public constructor TestCase(String name) or TestCase()");
68 return(warning("Cannot instantiate test case: "+name+" ("+exceptionToString(e)+")"));
70 return(warning("Exception in constructor: "+name+" ("+exceptionToString(e.getTargetException())+")"));
72 return(warning("Cannot access test case: "+name+" ("+exceptionToString(e)+")"));
91 * Returns a test which will fail and log a warning message.
93 public static Test warning(final String message) {
94 return new TestCase("warning") {
137 addTest(warning("Class "+theClass.getName()+" has no public constructor TestCase(String name) or TestCase()"));
142 addTest(warning("Class "+theClass.getName()+" is not public"));
154 addTest(warning("No tests found in "+theClass.getName()));
186 return warning(each.getCanonicalName() + " does not extend TestCase");
290 addTest(warning("Test method isn't public: "+ m.getName() + "(" + theClass.getCanonicalName() + ")"));