CVS: junit/src/org/junit/tests TestMethodTest.java, 1.3, 1.4 InaccessibleBaseClassTest.java, 1.1, 1.2

David Saff <[email protected]>
Newsgroups gmane.comp.java.junit.devel
Message-ID <[email protected]>
Update of /cvsroot/junit/junit/src/org/junit/tests
In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv12633/src/org/junit/tests

Modified Files:
	TestMethodTest.java InaccessibleBaseClassTest.java 
Log Message:
Rename validateAllMethods to validateMethodsForDefaultRunner, which is clearer

Index: TestMethodTest.java
===================================================================
RCS file: /cvsroot/junit/junit/src/org/junit/tests/TestMethodTest.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- TestMethodTest.java	8 Feb 2007 22:45:20 -0000	1.3
+++ TestMethodTest.java	21 Feb 2007 14:46:51 -0000	1.4
@@ -121,7 +121,7 @@
 	
 	@Test public void overloaded() {
 		MethodValidator validator= new MethodValidator(Confused.class);
-		List<Throwable> errors= validator.validateAllMethods();
+		List<Throwable> errors= validator.validateMethodsForDefaultRunner();
 		assertEquals(1, errors.size());
 	}
 	

Index: InaccessibleBaseClassTest.java
===================================================================
RCS file: /cvsroot/junit/junit/src/org/junit/tests/InaccessibleBaseClassTest.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- InaccessibleBaseClassTest.java	21 Nov 2006 18:53:34 -0000	1.1
+++ InaccessibleBaseClassTest.java	21 Feb 2007 14:46:51 -0000	1.2
@@ -9,7 +9,7 @@
 	@Test(expected=InitializationError.class)
 	public void inaccessibleBaseClassIsCaughtAtValidation() throws InitializationError {
 		MethodValidator methodValidator= new MethodValidator(Sub.class);
-		methodValidator.validateAllMethods();
+		methodValidator.validateMethodsForDefaultRunner();
 		methodValidator.assertValid();
 	}
 }


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.