Skip to content

Commit

Permalink
Fixed: TestNG#setTestClasses was not resetting m_suites
Browse files Browse the repository at this point in the history
  • Loading branch information
cbeust committed May 20, 2010
1 parent 55e7a2a commit 52fd78d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ Current:

Added: ITestNGListenerFactory
Added: Passing command line properties via the ant task (Todd Wells)
Fixed: TestNG#setTestClasses was not resetting m_suites
Fixed: Exceptions thrown by IInvokedMethodListeners were not caught (Nalin Makar)
Fixed: @Listeners now works on base classes as well
Fixed: Test priorities were not working properly in non-parallel mode
Expand Down
2 changes: 1 addition & 1 deletion build.properties
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ guice.jar=guice-2.0.jar
# Names of distributions
#
testng.basename=testng
testng.version=5.12.1
testng.version=5.13beta
testng.jar=${testng.basename}-${testng.version}.jar
sources.testng.jar=${testng.basename}-${testng.version}-sources.jar
other.jars.dir=other-jars
Expand Down
1 change: 1 addition & 0 deletions src/org/testng/TestNG.java
Original file line number Diff line number Diff line change
Expand Up @@ -464,6 +464,7 @@ public void setCommandLineSuite(XmlSuite suite) {
* @param classes An array of classes that contain TestNG annotations.
*/
public void setTestClasses(Class[] classes) {
m_suites.clear();
m_commandLineTestClasses = classes;
}

Expand Down

0 comments on commit 52fd78d

Please sign in to comment.