Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

upgrade testng jar to latest version

  • Loading branch information...
commit 9a85eff01e6fdc0b1efcbba1b776320e67cc777f 1 parent 643d299
@scarytom scarytom authored
View
3  .classpath
@@ -10,7 +10,8 @@
<classpathentry kind="src" path="build/temp/hamcrest-library/generated-code"/>
<classpathentry kind="lib" path="lib/integration/easymock-2.2.jar"/>
<classpathentry kind="lib" path="lib/integration/jmock-1.10RC1.jar"/>
- <classpathentry kind="lib" path="lib/integration/testng-4.6-jdk15.jar" sourcepath="lib/sources/qdox-1.12-sources.jar"/>
+ <classpathentry kind="lib" path="lib/generator/qdox-1.12.jar" sourcepath="lib/sources/qdox-1.12-sources.jar"/>
+ <classpathentry kind="lib" path="lib/integration/testng-6.5.2.jar" sourcepath="lib/sources/testng-6.5.2-sources.jar"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="lib" path="lib/integration/junit-dep-4.10.jar"/>
<classpathentry kind="output" path="classes"/>
View
2  .idea/libraries/integration.xml
@@ -1,7 +1,7 @@
<component name="libraryTable">
<library name="integration">
<CLASSES>
- <root url="jar://$PROJECT_DIR$/lib/integration/testng-4.6-jdk15.jar!/" />
+ <root url="jar://$PROJECT_DIR$/lib/integration/testng-6.5.2.jar!/" />
<root url="jar://$PROJECT_DIR$/lib/integration/easymock-2.2.jar!/" />
<root url="jar://$PROJECT_DIR$/lib/integration/jmock-1.10RC1.jar!/" />
<root url="jar://$PROJECT_DIR$/lib/integration/junit-3.8.1.jar!/" />
View
4 hamcrest-examples/src/main/java/org/hamcrest/examples/testng/ExampleWithEasyMock2.java
@@ -6,7 +6,7 @@
import static org.easymock.EasyMock.verify;
import static org.hamcrest.EasyMock2Matchers.equalTo;
-import org.testng.annotations.Configuration;
+import org.testng.annotations.BeforeMethod;
import org.testng.annotations.Test;
/**
@@ -45,7 +45,7 @@
private AnInterface mock;
- @Configuration(beforeTestMethod = true)
+ @BeforeMethod
public void setUpMock() {
mock = createMock(AnInterface.class);
}
View
BIN  lib/integration/testng-4.6-jdk15.jar
Binary file not shown
View
BIN  lib/integration/testng-6.5.2.jar
Binary file not shown
View
BIN  lib/sources/testng-6.5.2-sources.jar
Binary file not shown
Please sign in to comment.
Something went wrong with that request. Please try again.