diff --git a/webapp/lib/hamcrest-all-1.3.jar b/webapp/lib/hamcrest-all-1.3.jar new file mode 100644 index 000000000..6f62ba00c Binary files /dev/null and b/webapp/lib/hamcrest-all-1.3.jar differ diff --git a/webapp/lib/junit-4.11.jar b/webapp/lib/junit-4.11.jar new file mode 100644 index 000000000..aaf744484 Binary files /dev/null and b/webapp/lib/junit-4.11.jar differ diff --git a/webapp/lib/junit-4.9.jar b/webapp/lib/junit-4.9.jar deleted file mode 100644 index 142081561..000000000 Binary files a/webapp/lib/junit-4.9.jar and /dev/null differ diff --git a/webapp/test/edu/cornell/mannlib/vitro/testing/AbstractTestClass.java b/webapp/test/edu/cornell/mannlib/vitro/testing/AbstractTestClass.java index 423feb8e7..9c9a2adb6 100644 --- a/webapp/test/edu/cornell/mannlib/vitro/testing/AbstractTestClass.java +++ b/webapp/test/edu/cornell/mannlib/vitro/testing/AbstractTestClass.java @@ -4,6 +4,7 @@ package edu.cornell.mannlib.vitro.testing; import static junit.framework.Assert.assertEquals; import static junit.framework.Assert.fail; +import static org.hamcrest.Matchers.containsString; import java.io.BufferedReader; import java.io.ByteArrayOutputStream; @@ -41,8 +42,12 @@ import org.apache.log4j.Level; import org.apache.log4j.LogManager; import org.apache.log4j.Logger; import org.apache.log4j.PatternLayout; +import org.hamcrest.Matcher; +import org.hamcrest.Matchers; import org.junit.After; import org.junit.Before; +import org.junit.Rule; +import org.junit.rules.ExpectedException; import org.w3c.dom.Document; import org.xml.sax.InputSource; import org.xml.sax.SAXException; @@ -52,8 +57,6 @@ import com.hp.hpl.jena.ontology.OntModelSpec; import com.hp.hpl.jena.rdf.model.Model; import com.hp.hpl.jena.rdf.model.ModelFactory; -import edu.cornell.mannlib.vitro.webapp.controller.accounts.manageproxies.ProxyRelationshipSelectorTest; - /** * A collection of useful routines to help when testing. *