| author | Yuhong Yin | 2012-01-10 10:14:50 (EST) |
|---|---|---|
| committer | Michael Fiedler | 2012-01-10 15:31:23 (EST) |
| commit | 74aa0b215c784df1817bf075980705b291862fc8 (patch) (side-by-side diff) | |
| tree | af4ae5ef4a59344946d8fcc3b759ad8d14432aa6 | |
| parent | b8a3b4cb416d3cd64b41e2749388298c98c3782e (diff) | |
| download | org.eclipse.lyo.testsuite-74aa0b215c784df1817bf075980705b291862fc8.zip org.eclipse.lyo.testsuite-74aa0b215c784df1817bf075980705b291862fc8.tar.gz org.eclipse.lyo.testsuite-74aa0b215c784df1817bf075980705b291862fc8.tar.bz2 | |
Bug 367036 - Add JSON to testsuite
| -rw-r--r-- | org.eclipse.lyo.testsuite.server/src/main/java/org/eclipse/lyo/testsuite/server/oslcv2tests/ChangeRequestJsonTests.java | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/org.eclipse.lyo.testsuite.server/src/main/java/org/eclipse/lyo/testsuite/server/oslcv2tests/ChangeRequestJsonTests.java b/org.eclipse.lyo.testsuite.server/src/main/java/org/eclipse/lyo/testsuite/server/oslcv2tests/ChangeRequestJsonTests.java index 350b126..389f363 100644 --- a/org.eclipse.lyo.testsuite.server/src/main/java/org/eclipse/lyo/testsuite/server/oslcv2tests/ChangeRequestJsonTests.java +++ b/org.eclipse.lyo.testsuite.server/src/main/java/org/eclipse/lyo/testsuite/server/oslcv2tests/ChangeRequestJsonTests.java @@ -17,7 +17,6 @@ package org.eclipse.lyo.testsuite.server.oslcv2tests; import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
-import static org.junit.Assert.fail;
import static org.junit.Assume.assumeNotNull;
import static org.junit.Assume.assumeTrue;
@@ -26,13 +25,10 @@ import java.net.URLEncoder; import java.util.ArrayList;
import java.util.Collection;
-import javax.xml.bind.DatatypeConverter;
import javax.xml.parsers.ParserConfigurationException;
-import javax.xml.xpath.XPathConstants;
import javax.xml.xpath.XPathException;
import javax.xml.xpath.XPathExpressionException;
-
import org.apache.commons.httpclient.HttpStatus;
import org.apache.http.HttpResponse;
import org.apache.http.util.EntityUtils;
@@ -48,21 +44,8 @@ import org.junit.Test; import org.junit.runner.RunWith;
import org.junit.runners.Parameterized;
import org.junit.runners.Parameterized.Parameters;
-import org.w3c.dom.Document;
-import org.w3c.dom.Node;
-import org.w3c.dom.NodeList;
import org.xml.sax.SAXException;
-import com.hp.hpl.jena.rdf.model.Model;
-import com.hp.hpl.jena.rdf.model.ModelFactory;
-import com.hp.hpl.jena.rdf.model.Property;
-import com.hp.hpl.jena.rdf.model.RDFNode;
-import com.hp.hpl.jena.rdf.model.Resource;
-import com.hp.hpl.jena.rdf.model.Selector;
-import com.hp.hpl.jena.rdf.model.SimpleSelector;
-import com.hp.hpl.jena.rdf.model.StmtIterator;
-
-
/**
* This class provides JUnit tests for the validation of a change request returned by accessing the change
* request's URL directly. It runs the equality query from the properties file and grabs the first result
|

