From 2a313266acd189690c1e0e0865d76dcd23827d02 Mon Sep 17 00:00:00 2001 From: Sitron Te Date: Mon, 7 Apr 2014 14:15:02 +0200 Subject: [PATCH] All tests in Base should now run Also, removed generated target files and moved Base test resources to test folder --- .gitignore | 1 + Base/Base.iml | 26 - .../wsnu/base/net/ApplicationServerTest.java | 11 +- .../wsnu/base/net/XMLParserTest.java | 27 +- .../topics/FullEvaluatorSingleTopicTest.java | 3 +- .../wsnu/base/topics/TopicUtilsTest.java | 4 +- .../wsnu/base/topics/TopicValidatorTest.java | 90 +- Base/src/test/java/resources/parser_n2xml.xml | 1 - ..._topic_gcm_xpath_boolean_multiple_test.xml | 2 +- ...ut_topic_gcm_xpath_boolean_single_test.xml | 2 +- .../out_topic_utils_qnames_topic_set.xml | 0 .../resources/parse_test_notify.xml | 0 Base/src/test/resources/parser_n2xml.xml | 1 + .../{java => }/resources/parser_s2xml.xml | 2 +- .../{java => }/resources/parser_sub2xml.xml | 12 +- .../resources/server_test_html_content.html | 0 .../{java => }/resources/server_test_soap.xml | 0 .../resources/server_test_subscribe.xml | 0 .../{java => }/resources/server_test_xml.xml | 0 Base/src/test/resources/test_fault.xml | 1 + .../topic_gcm_concrete_illegal_test.xml | 0 .../topic_gcm_concrete_legal_test.xml | 0 .../resources/topic_gcm_full_illegal_test.xml | 0 .../topic_gcm_full_legal_multiple_test.xml | 0 .../topic_gcm_full_legal_single_test.xml | 0 .../topic_gcm_illegal_dialect_test.xml | 0 .../topic_gcm_simple_illegal_test.xml | 0 .../resources/topic_gcm_simple_legal_test.xml | 0 .../topic_gcm_xpath_boolean_multiple_test.xml | 0 .../topic_gcm_xpath_boolean_single_test.xml | 0 .../resources/topic_gcm_xpath_false.xml | 0 .../resources/topic_namespace_test.xml | 0 .../{java => }/resources/topic_set_test.xml | 0 Base/target/classes/defaultconfig.xml | 40 - ...snu.base.internal.MappingConnectorTest.xml | 65 -- ...if.wsnu.base.net.ApplicationServerTest.xml | 212 ----- ...otif.wsnu.base.net.InternalMessageTest.xml | 65 -- ....ntnunotif.wsnu.base.net.XMLParserTest.xml | 515 ------------ ...se.topics.FullEvaluatorSingleTopicTest.xml | 66 -- ...unotif.wsnu.base.topics.TopicUtilsTest.xml | 103 --- ...if.wsnu.base.topics.TopicValidatorTest.xml | 794 ------------------ ....topics.XPathEvaluatorIntersectionTest.xml | 68 -- ...ntnunotif.wsnu.base.util.UtilitiesTest.xml | 66 -- ...snu.base.internal.MappingConnectorTest.txt | 4 - ...if.wsnu.base.net.ApplicationServerTest.txt | 132 --- ...otif.wsnu.base.net.InternalMessageTest.txt | 4 - ....ntnunotif.wsnu.base.net.XMLParserTest.txt | 150 ---- ...se.topics.FullEvaluatorSingleTopicTest.txt | 4 - ...unotif.wsnu.base.topics.TopicUtilsTest.txt | 41 - ...if.wsnu.base.topics.TopicValidatorTest.txt | 687 --------------- ....topics.XPathEvaluatorIntersectionTest.txt | 4 - ...ntnunotif.wsnu.base.util.UtilitiesTest.txt | 4 - .../test-classes/server_test_notify.xml | 20 - .../target/test-classes/server_test_soap.xml | 14 - .../test-classes/server_test_unsubscribe.xml | 16 - .../target/test-classes/TestNotifyOne.xml | 1 - .../target/test-classes/TestNotifyTwo.xml | 1 - .../filter_test_filter_collection.xml | 79 -- .../test-classes/filter_test_large_notify.xml | 90 -- .../test-classes/server_test_notify.xml | 13 - .../target/test-classes/server_test_renew.xml | 18 - .../test-classes/server_test_subscribe.xml | 34 - .../test-classes/server_test_unsubscribe.xml | 16 - 63 files changed, 74 insertions(+), 3435 deletions(-) delete mode 100644 Base/Base.iml delete mode 100644 Base/src/test/java/resources/parser_n2xml.xml rename Base/src/test/{java => }/resources/out_topic_gcm_xpath_boolean_multiple_test.xml (79%) rename Base/src/test/{java => }/resources/out_topic_gcm_xpath_boolean_single_test.xml (62%) rename Base/src/test/{java => }/resources/out_topic_utils_qnames_topic_set.xml (100%) rename Base/src/test/{java => }/resources/parse_test_notify.xml (100%) create mode 100644 Base/src/test/resources/parser_n2xml.xml rename Base/src/test/{java => }/resources/parser_s2xml.xml (73%) rename Base/src/test/{java => }/resources/parser_sub2xml.xml (58%) rename Base/src/test/{java => }/resources/server_test_html_content.html (100%) rename Base/src/test/{java => }/resources/server_test_soap.xml (100%) rename Base/src/test/{java => }/resources/server_test_subscribe.xml (100%) rename Base/src/test/{java => }/resources/server_test_xml.xml (100%) create mode 100644 Base/src/test/resources/test_fault.xml rename Base/src/test/{java => }/resources/topic_gcm_concrete_illegal_test.xml (100%) rename Base/src/test/{java => }/resources/topic_gcm_concrete_legal_test.xml (100%) rename Base/src/test/{java => }/resources/topic_gcm_full_illegal_test.xml (100%) rename Base/src/test/{java => }/resources/topic_gcm_full_legal_multiple_test.xml (100%) rename Base/src/test/{java => }/resources/topic_gcm_full_legal_single_test.xml (100%) rename Base/src/test/{java => }/resources/topic_gcm_illegal_dialect_test.xml (100%) rename Base/src/test/{java => }/resources/topic_gcm_simple_illegal_test.xml (100%) rename Base/src/test/{java => }/resources/topic_gcm_simple_legal_test.xml (100%) rename Base/src/test/{java => }/resources/topic_gcm_xpath_boolean_multiple_test.xml (100%) rename Base/src/test/{java => }/resources/topic_gcm_xpath_boolean_single_test.xml (100%) rename Base/src/test/{java => }/resources/topic_gcm_xpath_false.xml (100%) rename Base/src/test/{java => }/resources/topic_namespace_test.xml (100%) rename Base/src/test/{java => }/resources/topic_set_test.xml (100%) delete mode 100644 Base/target/classes/defaultconfig.xml delete mode 100644 Base/target/surefire-reports/TEST-org.ntnunotif.wsnu.base.internal.MappingConnectorTest.xml delete mode 100644 Base/target/surefire-reports/TEST-org.ntnunotif.wsnu.base.net.ApplicationServerTest.xml delete mode 100644 Base/target/surefire-reports/TEST-org.ntnunotif.wsnu.base.net.InternalMessageTest.xml delete mode 100644 Base/target/surefire-reports/TEST-org.ntnunotif.wsnu.base.net.XMLParserTest.xml delete mode 100644 Base/target/surefire-reports/TEST-org.ntnunotif.wsnu.base.topics.FullEvaluatorSingleTopicTest.xml delete mode 100644 Base/target/surefire-reports/TEST-org.ntnunotif.wsnu.base.topics.TopicUtilsTest.xml delete mode 100644 Base/target/surefire-reports/TEST-org.ntnunotif.wsnu.base.topics.TopicValidatorTest.xml delete mode 100644 Base/target/surefire-reports/TEST-org.ntnunotif.wsnu.base.topics.XPathEvaluatorIntersectionTest.xml delete mode 100644 Base/target/surefire-reports/TEST-org.ntnunotif.wsnu.base.util.UtilitiesTest.xml delete mode 100644 Base/target/surefire-reports/org.ntnunotif.wsnu.base.internal.MappingConnectorTest.txt delete mode 100644 Base/target/surefire-reports/org.ntnunotif.wsnu.base.net.ApplicationServerTest.txt delete mode 100644 Base/target/surefire-reports/org.ntnunotif.wsnu.base.net.InternalMessageTest.txt delete mode 100644 Base/target/surefire-reports/org.ntnunotif.wsnu.base.net.XMLParserTest.txt delete mode 100644 Base/target/surefire-reports/org.ntnunotif.wsnu.base.topics.FullEvaluatorSingleTopicTest.txt delete mode 100644 Base/target/surefire-reports/org.ntnunotif.wsnu.base.topics.TopicUtilsTest.txt delete mode 100644 Base/target/surefire-reports/org.ntnunotif.wsnu.base.topics.TopicValidatorTest.txt delete mode 100644 Base/target/surefire-reports/org.ntnunotif.wsnu.base.topics.XPathEvaluatorIntersectionTest.txt delete mode 100644 Base/target/surefire-reports/org.ntnunotif.wsnu.base.util.UtilitiesTest.txt delete mode 100644 IntegrationTesting/target/test-classes/server_test_notify.xml delete mode 100644 IntegrationTesting/target/test-classes/server_test_soap.xml delete mode 100644 IntegrationTesting/target/test-classes/server_test_unsubscribe.xml delete mode 100644 Services/target/test-classes/TestNotifyOne.xml delete mode 100644 Services/target/test-classes/TestNotifyTwo.xml delete mode 100644 Services/target/test-classes/filter_test_filter_collection.xml delete mode 100644 Services/target/test-classes/filter_test_large_notify.xml delete mode 100644 Services/target/test-classes/server_test_notify.xml delete mode 100644 Services/target/test-classes/server_test_renew.xml delete mode 100644 Services/target/test-classes/server_test_subscribe.xml delete mode 100644 Services/target/test-classes/server_test_unsubscribe.xml diff --git a/.gitignore b/.gitignore index 58a5394..28d6e07 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ out/ *.sublime* .idea/ *META-INF/ +*/target/ diff --git a/Base/Base.iml b/Base/Base.iml deleted file mode 100644 index debd997..0000000 --- a/Base/Base.iml +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Base/src/test/java/org/ntnunotif/wsnu/base/net/ApplicationServerTest.java b/Base/src/test/java/org/ntnunotif/wsnu/base/net/ApplicationServerTest.java index 2720a84..9a8de52 100644 --- a/Base/src/test/java/org/ntnunotif/wsnu/base/net/ApplicationServerTest.java +++ b/Base/src/test/java/org/ntnunotif/wsnu/base/net/ApplicationServerTest.java @@ -19,6 +19,7 @@ import javax.xml.bind.JAXBElement; import java.io.FileInputStream; +import java.io.InputStream; /** * Created by tormod on 3/6/14. @@ -47,7 +48,7 @@ public void testSimpleServer() throws Exception { request.method(HttpMethod.POST); request.header(HttpHeader.CONTENT_TYPE, "application"); request.header(HttpHeader.CONTENT_LENGTH, "200"); - request.content(new InputStreamContentProvider(new FileInputStream("Base/testres/server_test_html_content.html")), + request.content(new InputStreamContentProvider(getClass().getResourceAsStream("/server_test_html_content.html")), "text/html;charset/utf-8"); ContentResponse response = request.send(); assertEquals(500, response.getStatus()); @@ -68,7 +69,7 @@ public void testSendingXML() throws Exception { request.method(HttpMethod.POST); request.header(HttpHeader.CONTENT_TYPE, "application"); request.header(HttpHeader.CONTENT_LENGTH, "200"); - request.content(new InputStreamContentProvider(new FileInputStream("Base/testres/server_test_xml.xml")), + request.content(new InputStreamContentProvider(getClass().getResourceAsStream("/server_test_xml.xml")), "application/soap+xml;charset/utf-8"); ContentResponse response = request.send(); @@ -87,7 +88,7 @@ public void testSendingSoap() throws Exception { client.setFollowRedirects(true); client.start(); - Object object = XMLParser.parse(new FileInputStream("Base/testres/server_test_soap.xml")); + Object object = XMLParser.parse(getClass().getResourceAsStream("/server_test_soap.xml")); Envelope env = (Envelope)((JAXBElement)((InternalMessage) object).getMessage()).getValue(); Header head = env.getHeader(); Body body = env.getBody(); @@ -95,7 +96,7 @@ public void testSendingSoap() throws Exception { // Send response Request request = client.newRequest("http://localhost:8080/"); request.method(HttpMethod.POST); - request.content(new InputStreamContentProvider(new FileInputStream("Base/testres/server_test_soap.xml")), + request.content(new InputStreamContentProvider(getClass().getResourceAsStream("/server_test_soap.xml")), "application/soap+xml;charset/utf-8"); ContentResponse response = request.send(); @@ -116,7 +117,7 @@ public void testSubscribe() throws Exception { client.start(); // Send response - FileInputStream file = new FileInputStream("Base/testres/server_test_subscribe.xml"); + InputStream file = getClass().getResourceAsStream("/server_test_subscribe.xml"); Request request = client.newRequest("http://localhost:8080/"); request.method(HttpMethod.POST); diff --git a/Base/src/test/java/org/ntnunotif/wsnu/base/net/XMLParserTest.java b/Base/src/test/java/org/ntnunotif/wsnu/base/net/XMLParserTest.java index 96d14fa..1faae14 100644 --- a/Base/src/test/java/org/ntnunotif/wsnu/base/net/XMLParserTest.java +++ b/Base/src/test/java/org/ntnunotif/wsnu/base/net/XMLParserTest.java @@ -4,7 +4,6 @@ import org.junit.Assert; import org.junit.Before; import org.junit.Test; -import org.ntnunotif.wsnu.base.net.XMLParser; import org.ntnunotif.wsnu.base.util.InternalMessage; import org.ntnunotif.wsnu.base.util.Log; import org.oasis_open.docs.wsn.b_2.FilterType; @@ -13,19 +12,16 @@ import org.w3._2001._12.soap_envelope.*; import javax.xml.bind.JAXBElement; -import java.io.FileInputStream; -import java.io.FileOutputStream; -import java.io.IOException; -import java.io.InputStream; +import java.io.*; /** * Created by Inge on 07.03.14. */ public class XMLParserTest { - private static final String notifyFilePlace = "Base/testres/parse_test_notify.xml"; - private static final String soapFilePlace = "Base/testres/server_test_soap.xml"; - private static final String subscribeFilePlace = "Base/testres/server_test_subscribe.xml"; + private static final String notifyResourcePlace = "/parse_test_notify.xml"; + private static final String soapResourcePlace = "/server_test_soap.xml"; + private static final String subscribeResourcePlace = "/server_test_subscribe.xml"; private InputStream notifyTestStream = null; private InputStream soapTestStream = null; @@ -34,9 +30,9 @@ public class XMLParserTest { @Before public void setup() { try { - notifyTestStream = new FileInputStream(notifyFilePlace); - soapTestStream = new FileInputStream(soapFilePlace); - subscribeTestStream = new FileInputStream(subscribeFilePlace); + notifyTestStream = getClass().getResourceAsStream(notifyResourcePlace); + soapTestStream = getClass().getResourceAsStream(soapResourcePlace); + subscribeTestStream = getClass().getResourceAsStream(subscribeResourcePlace); } catch (Exception e) { Log.e("XMLParser", "Could not read test files"); e.printStackTrace(); @@ -100,13 +96,13 @@ public void testToXmlParse() throws Exception { } // TODO write to real tests: // Writing the three parsed objects to file for manual inspection: - FileOutputStream fileOutputStream = new FileOutputStream("Base/testres/parser_n2xml.xml"); + FileOutputStream fileOutputStream = new FileOutputStream(getClass().getResource("/parser_n2xml.xml").getFile()); XMLParser.writeObjectToStream(parsedObject1, fileOutputStream); fileOutputStream.close(); - fileOutputStream = new FileOutputStream("Base/testres/parser_s2xml.xml"); + fileOutputStream = new FileOutputStream(getClass().getResource("/parser_s2xml.xml").getFile()); XMLParser.writeObjectToStream(parsedObject2, fileOutputStream); fileOutputStream.close(); - fileOutputStream = new FileOutputStream("Base/testres/parser_sub2xml.xml"); + fileOutputStream = new FileOutputStream(getClass().getResource("/parser_sub2xml.xml").getFile()); XMLParser.writeObjectToStream(parsedObject3, fileOutputStream); fileOutputStream.close(); } @@ -122,8 +118,7 @@ public void testMarshallingFaultInEnvelope() throws Exception { Fault fault = new Fault(); body.getAny().add(new ObjectFactory().createFault(fault)); - - FileOutputStream fileOut = new FileOutputStream("Base/testres/test_fault.xml"); + FileOutputStream fileOut = new FileOutputStream(getClass().getResource("/test_fault.xml").getFile()); XMLParser.writeObjectToStream(new ObjectFactory().createEnvelope(envelope), fileOut); } diff --git a/Base/src/test/java/org/ntnunotif/wsnu/base/topics/FullEvaluatorSingleTopicTest.java b/Base/src/test/java/org/ntnunotif/wsnu/base/topics/FullEvaluatorSingleTopicTest.java index 40fa2bd..703dd9a 100644 --- a/Base/src/test/java/org/ntnunotif/wsnu/base/topics/FullEvaluatorSingleTopicTest.java +++ b/Base/src/test/java/org/ntnunotif/wsnu/base/topics/FullEvaluatorSingleTopicTest.java @@ -1,10 +1,9 @@ package org.ntnunotif.wsnu.base.topics; -import junit.framework.Assert; +import org.junit.Assert; import org.junit.Before; import org.junit.Test; import org.ntnunotif.wsnu.base.net.NuNamespaceContext; -import org.ntnunotif.wsnu.base.topics.FullEvaluator; import javax.xml.namespace.NamespaceContext; import javax.xml.namespace.QName; diff --git a/Base/src/test/java/org/ntnunotif/wsnu/base/topics/TopicUtilsTest.java b/Base/src/test/java/org/ntnunotif/wsnu/base/topics/TopicUtilsTest.java index 1601135..b16b1d7 100644 --- a/Base/src/test/java/org/ntnunotif/wsnu/base/topics/TopicUtilsTest.java +++ b/Base/src/test/java/org/ntnunotif/wsnu/base/topics/TopicUtilsTest.java @@ -24,7 +24,7 @@ public class TopicUtilsTest { private static final String[] rootNSs = {"http://root_test1.com", "http://root_test2.com", "http://root_test3.com" }; private static final String[] rootLocalNames = {"roo1", "root2" }; - private static final String OUTQNameToTopicSet = "Base/testres/out_topic_utils_qnames_topic_set.xml"; + private static final String OUTQNameToTopicSetRes = "/out_topic_utils_qnames_topic_set.xml"; @BeforeClass public static void setup() { @@ -111,6 +111,6 @@ public void testOutputOfQNameToTopicSet() throws Exception{ // Write to file, so it is possible to see actual content of returned set JAXBElement e = new JAXBElement<>(new QName("http://docs.oasis-open.org/wsn/t-1", "TopicSet"), TopicSetType.class, topicSetType); - XMLParser.writeObjectToStream(e, new FileOutputStream(OUTQNameToTopicSet)); + XMLParser.writeObjectToStream(e, new FileOutputStream(getClass().getResource(OUTQNameToTopicSetRes).getFile())); } } diff --git a/Base/src/test/java/org/ntnunotif/wsnu/base/topics/TopicValidatorTest.java b/Base/src/test/java/org/ntnunotif/wsnu/base/topics/TopicValidatorTest.java index 5efe192..d854425 100644 --- a/Base/src/test/java/org/ntnunotif/wsnu/base/topics/TopicValidatorTest.java +++ b/Base/src/test/java/org/ntnunotif/wsnu/base/topics/TopicValidatorTest.java @@ -1,13 +1,11 @@ package org.ntnunotif.wsnu.base.topics; import com.sun.org.apache.xerces.internal.dom.ElementNSImpl; -import junit.framework.Assert; +import org.junit.Assert; import org.junit.BeforeClass; import org.junit.Test; import org.ntnunotif.wsnu.base.util.InternalMessage; import org.ntnunotif.wsnu.base.net.XMLParser; -import org.ntnunotif.wsnu.base.topics.TopicUtils; -import org.ntnunotif.wsnu.base.topics.TopicValidator; import org.oasis_open.docs.wsn.b_2.GetCurrentMessage; import org.oasis_open.docs.wsn.b_2.TopicExpressionType; import org.oasis_open.docs.wsn.bw_2.InvalidTopicExpressionFault; @@ -22,9 +20,9 @@ import javax.xml.bind.JAXBElement; import javax.xml.namespace.NamespaceContext; import javax.xml.namespace.QName; -import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; +import java.io.InputStream; import java.util.ArrayList; import java.util.List; @@ -33,25 +31,25 @@ * Created by Inge on 06.03.14. */ public class TopicValidatorTest { - private static final String gcmXPathMulPath = "Base/testres/topic_gcm_xpath_boolean_multiple_test.xml"; - private static final String gcmXPathSinPath = "Base/testres/topic_gcm_xpath_boolean_single_test.xml"; - private static final String gcmXPathFalsePath = "Base/testres/topic_gcm_xpath_false.xml"; - private static final String gcmIllegalDialectPath = "Base/testres/topic_gcm_illegal_dialect_test.xml"; - private static final String topicNamespacePath = "Base/testres/topic_namespace_test.xml"; - private static final String topicSetPath = "Base/testres/topic_set_test.xml"; - private static final String OUTGcmXPathMulPath = "Base/testres/out_topic_gcm_xpath_boolean_multiple_test.xml"; - private static final String OUTGcmXPathSinPath = "Base/testres/out_topic_gcm_xpath_boolean_single_test.xml"; + private static final String gcmXPathMulPathRes = "/topic_gcm_xpath_boolean_multiple_test.xml"; + private static final String gcmXPathSinPathRes = "/topic_gcm_xpath_boolean_single_test.xml"; + private static final String gcmXPathFalsePathRes = "/topic_gcm_xpath_false.xml"; + private static final String gcmIllegalDialectPathRes = "/topic_gcm_illegal_dialect_test.xml"; + private static final String topicNamespacePathRes = "/topic_namespace_test.xml"; + private static final String topicSetPathRes = "/topic_set_test.xml"; + private static final String OUTGcmXPathMulPathRes = "/out_topic_gcm_xpath_boolean_multiple_test.xml"; + private static final String OUTGcmXPathSinPathRes = "/out_topic_gcm_xpath_boolean_single_test.xml"; // locations of simple, concrete and full expressions - private static final String simpleLegalLocation = "Base/testres/topic_gcm_simple_legal_test.xml"; - private static final String simpleIllegalLocation = "Base/testres/topic_gcm_simple_illegal_test.xml"; + private static final String simpleLegalLocationRes = "/topic_gcm_simple_legal_test.xml"; + private static final String simpleIllegalLocationRes = "/topic_gcm_simple_illegal_test.xml"; - private static final String concreteLegalLocation = "Base/testres/topic_gcm_concrete_legal_test.xml"; - private static final String concreteIllegalLocation = "Base/testres/topic_gcm_concrete_illegal_test.xml"; + private static final String concreteLegalLocationRes = "/topic_gcm_concrete_legal_test.xml"; + private static final String concreteIllegalLocationRes = "/topic_gcm_concrete_illegal_test.xml"; - private static final String fullLegalSingleLocation = "Base/testres/topic_gcm_full_legal_single_test.xml"; - private static final String fullLegalMultipleLocation = "Base/testres/topic_gcm_full_legal_multiple_test.xml"; - private static final String fullIllegalLocation = "Base/testres/topic_gcm_full_illegal_test.xml"; + private static final String fullLegalSingleLocationRes = "/topic_gcm_full_legal_single_test.xml"; + private static final String fullLegalMultipleLocationRes = "/topic_gcm_full_legal_multiple_test.xml"; + private static final String fullIllegalLocationRes = "/topic_gcm_full_illegal_test.xml"; private static TopicExpressionType xPathMultipleHits; private static TopicExpressionType xPathSingleHit; @@ -86,65 +84,61 @@ public class TopicValidatorTest { @BeforeClass public static void setup() { - FileInputStream fis = null; + InputStream fis = null; try { - fis = new FileInputStream(gcmXPathFalsePath); + fis = TopicValidatorTest.class.getResourceAsStream(gcmXPathFalsePathRes); xPathFalMsg = XMLParser.parse(fis); GetCurrentMessage msg = (GetCurrentMessage)xPathFalMsg.getMessage(); xPathFalse = msg.getTopic(); - fis.close(); - fis = new FileInputStream(gcmXPathMulPath); + + fis = TopicValidatorTest.class.getResourceAsStream(gcmXPathMulPathRes); xPathMulMsg = XMLParser.parse(fis); msg = (GetCurrentMessage)xPathMulMsg.getMessage(); xPathMultipleHits = msg.getTopic(); - fis.close(); - fis = new FileInputStream(gcmXPathSinPath); + + fis = TopicValidatorTest.class.getResourceAsStream(gcmXPathSinPathRes); xPathSinMsg = XMLParser.parse(fis); msg = (GetCurrentMessage)xPathSinMsg.getMessage(); xPathSingleHit = msg.getTopic(); - fis.close(); - fis = new FileInputStream(gcmIllegalDialectPath); + + fis = TopicValidatorTest.class.getResourceAsStream(gcmIllegalDialectPathRes); illExprDiaMsg = XMLParser.parse(fis); msg = (GetCurrentMessage)illExprDiaMsg.getMessage(); illegalExpressionDialect = msg.getTopic(); - fis.close(); - fis = new FileInputStream(topicNamespacePath); + + fis = TopicValidatorTest.class.getResourceAsStream(topicNamespacePathRes); topNSMsg = XMLParser.parse(fis); JAXBElement ns = (JAXBElement)topNSMsg.getMessage(); topicNamespace = ns.getValue(); - fis.close(); - fis = new FileInputStream(topicSetPath); + + fis = TopicValidatorTest.class.getResourceAsStream(topicSetPathRes); topSetMsg = XMLParser.parse(fis); JAXBElement ts = (JAXBElement)topSetMsg.getMessage(); topicSet = ts.getValue(); - fis.close(); // Simple load - fis = new FileInputStream(simpleLegalLocation); + fis = TopicValidatorTest.class.getResourceAsStream(simpleLegalLocationRes); simpleLegalMsg = XMLParser.parse(fis); - fis.close(); - fis = new FileInputStream(simpleIllegalLocation); + + fis = TopicValidatorTest.class.getResourceAsStream(simpleIllegalLocationRes); simpleIllegalMsg = XMLParser.parse(fis); - fis.close(); // concrete load - fis = new FileInputStream(concreteLegalLocation); + fis = TopicValidatorTest.class.getResourceAsStream(concreteLegalLocationRes); concreteLegalMsg = XMLParser.parse(fis); - fis.close(); - fis = new FileInputStream(concreteIllegalLocation); + + fis = TopicValidatorTest.class.getResourceAsStream(concreteIllegalLocationRes); concreteIllegalMsg = XMLParser.parse(fis); - fis.close(); // full load - fis = new FileInputStream(fullLegalSingleLocation); + fis = TopicValidatorTest.class.getResourceAsStream(fullLegalSingleLocationRes); fullLegalSingleMsg = XMLParser.parse(fis); - fis.close(); - fis = new FileInputStream(fullLegalMultipleLocation); + + fis = TopicValidatorTest.class.getResourceAsStream(fullLegalMultipleLocationRes); fullLegalMultipleMsg = XMLParser.parse(fis); - fis.close(); - fis = new FileInputStream(fullIllegalLocation); + + fis = TopicValidatorTest.class.getResourceAsStream(fullIllegalLocationRes); fullIllegalMsg = XMLParser.parse(fis); - fis.close(); } catch (Exception e) { e.printStackTrace(); @@ -317,7 +311,7 @@ public void testGetIntersectionOne() throws Exception{ // Write to file, so it is possible to see actual content of returned set JAXBElement e = new JAXBElement<>(new QName("http://docs.oasis-open.org/wsn/t-1", "TopicSet"), TopicSetType.class, ret); - XMLParser.writeObjectToStream(e, new FileOutputStream(OUTGcmXPathSinPath)); + XMLParser.writeObjectToStream(e, new FileOutputStream(getClass().getResource(OUTGcmXPathSinPathRes).getFile())); } @Test @@ -343,7 +337,7 @@ public void testGetIntersectionTwo() throws Exception{ Assert.assertTrue("Returned list did not contain child_topic!", retAsQNameList.contains(child)); JAXBElement e = new JAXBElement<>(new QName("http://docs.oasis-open.org/wsn/t-1", "TopicSet"), TopicSetType.class, ret); - XMLParser.writeObjectToStream(e, new FileOutputStream(OUTGcmXPathMulPath)); + XMLParser.writeObjectToStream(e, new FileOutputStream(getClass().getResource(OUTGcmXPathMulPathRes).getFile())); } @Test(expected = TopicExpressionDialectUnknownFault.class) diff --git a/Base/src/test/java/resources/parser_n2xml.xml b/Base/src/test/java/resources/parser_n2xml.xml deleted file mode 100644 index 9ae3ebb..0000000 --- a/Base/src/test/java/resources/parser_n2xml.xml +++ /dev/null @@ -1 +0,0 @@ -http://tempuri.org \ No newline at end of file diff --git a/Base/src/test/java/resources/out_topic_gcm_xpath_boolean_multiple_test.xml b/Base/src/test/resources/out_topic_gcm_xpath_boolean_multiple_test.xml similarity index 79% rename from Base/src/test/java/resources/out_topic_gcm_xpath_boolean_multiple_test.xml rename to Base/src/test/resources/out_topic_gcm_xpath_boolean_multiple_test.xml index 6fbd73b..443576b 100644 --- a/Base/src/test/java/resources/out_topic_gcm_xpath_boolean_multiple_test.xml +++ b/Base/src/test/resources/out_topic_gcm_xpath_boolean_multiple_test.xml @@ -1,2 +1,2 @@ - + \ No newline at end of file diff --git a/Base/src/test/java/resources/out_topic_gcm_xpath_boolean_single_test.xml b/Base/src/test/resources/out_topic_gcm_xpath_boolean_single_test.xml similarity index 62% rename from Base/src/test/java/resources/out_topic_gcm_xpath_boolean_single_test.xml rename to Base/src/test/resources/out_topic_gcm_xpath_boolean_single_test.xml index 56d13c1..3882865 100644 --- a/Base/src/test/java/resources/out_topic_gcm_xpath_boolean_single_test.xml +++ b/Base/src/test/resources/out_topic_gcm_xpath_boolean_single_test.xml @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/Base/src/test/java/resources/out_topic_utils_qnames_topic_set.xml b/Base/src/test/resources/out_topic_utils_qnames_topic_set.xml similarity index 100% rename from Base/src/test/java/resources/out_topic_utils_qnames_topic_set.xml rename to Base/src/test/resources/out_topic_utils_qnames_topic_set.xml diff --git a/Base/src/test/java/resources/parse_test_notify.xml b/Base/src/test/resources/parse_test_notify.xml similarity index 100% rename from Base/src/test/java/resources/parse_test_notify.xml rename to Base/src/test/resources/parse_test_notify.xml diff --git a/Base/src/test/resources/parser_n2xml.xml b/Base/src/test/resources/parser_n2xml.xml new file mode 100644 index 0000000..90a8dab --- /dev/null +++ b/Base/src/test/resources/parser_n2xml.xml @@ -0,0 +1 @@ +http://tempuri.org \ No newline at end of file diff --git a/Base/src/test/java/resources/parser_s2xml.xml b/Base/src/test/resources/parser_s2xml.xml similarity index 73% rename from Base/src/test/java/resources/parser_s2xml.xml rename to Base/src/test/resources/parser_s2xml.xml index cddf4a6..84c7ec6 100644 --- a/Base/src/test/java/resources/parser_s2xml.xml +++ b/Base/src/test/resources/parser_s2xml.xml @@ -1,2 +1,2 @@ -IBM +IBM \ No newline at end of file diff --git a/Base/src/test/java/resources/parser_sub2xml.xml b/Base/src/test/resources/parser_sub2xml.xml similarity index 58% rename from Base/src/test/java/resources/parser_sub2xml.xml rename to Base/src/test/resources/parser_sub2xml.xml index b2d88e6..183c1ab 100644 --- a/Base/src/test/java/resources/parser_sub2xml.xml +++ b/Base/src/test/resources/parser_sub2xml.xml @@ -1,11 +1,11 @@ - + http://docs-oasis-open.org/wsn/bw-2/NotificationProducer/SubscribeRequest - + http://www.example.org/SimpleConsumer - + npex:SomeTopic - + boolean(ncex:Producer="15") - + 2005-12-25T00:00:00.00000Z - \ No newline at end of file + \ No newline at end of file diff --git a/Base/src/test/java/resources/server_test_html_content.html b/Base/src/test/resources/server_test_html_content.html similarity index 100% rename from Base/src/test/java/resources/server_test_html_content.html rename to Base/src/test/resources/server_test_html_content.html diff --git a/Base/src/test/java/resources/server_test_soap.xml b/Base/src/test/resources/server_test_soap.xml similarity index 100% rename from Base/src/test/java/resources/server_test_soap.xml rename to Base/src/test/resources/server_test_soap.xml diff --git a/Base/src/test/java/resources/server_test_subscribe.xml b/Base/src/test/resources/server_test_subscribe.xml similarity index 100% rename from Base/src/test/java/resources/server_test_subscribe.xml rename to Base/src/test/resources/server_test_subscribe.xml diff --git a/Base/src/test/java/resources/server_test_xml.xml b/Base/src/test/resources/server_test_xml.xml similarity index 100% rename from Base/src/test/java/resources/server_test_xml.xml rename to Base/src/test/resources/server_test_xml.xml diff --git a/Base/src/test/resources/test_fault.xml b/Base/src/test/resources/test_fault.xml new file mode 100644 index 0000000..2fa3c9c --- /dev/null +++ b/Base/src/test/resources/test_fault.xml @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Base/src/test/java/resources/topic_gcm_concrete_illegal_test.xml b/Base/src/test/resources/topic_gcm_concrete_illegal_test.xml similarity index 100% rename from Base/src/test/java/resources/topic_gcm_concrete_illegal_test.xml rename to Base/src/test/resources/topic_gcm_concrete_illegal_test.xml diff --git a/Base/src/test/java/resources/topic_gcm_concrete_legal_test.xml b/Base/src/test/resources/topic_gcm_concrete_legal_test.xml similarity index 100% rename from Base/src/test/java/resources/topic_gcm_concrete_legal_test.xml rename to Base/src/test/resources/topic_gcm_concrete_legal_test.xml diff --git a/Base/src/test/java/resources/topic_gcm_full_illegal_test.xml b/Base/src/test/resources/topic_gcm_full_illegal_test.xml similarity index 100% rename from Base/src/test/java/resources/topic_gcm_full_illegal_test.xml rename to Base/src/test/resources/topic_gcm_full_illegal_test.xml diff --git a/Base/src/test/java/resources/topic_gcm_full_legal_multiple_test.xml b/Base/src/test/resources/topic_gcm_full_legal_multiple_test.xml similarity index 100% rename from Base/src/test/java/resources/topic_gcm_full_legal_multiple_test.xml rename to Base/src/test/resources/topic_gcm_full_legal_multiple_test.xml diff --git a/Base/src/test/java/resources/topic_gcm_full_legal_single_test.xml b/Base/src/test/resources/topic_gcm_full_legal_single_test.xml similarity index 100% rename from Base/src/test/java/resources/topic_gcm_full_legal_single_test.xml rename to Base/src/test/resources/topic_gcm_full_legal_single_test.xml diff --git a/Base/src/test/java/resources/topic_gcm_illegal_dialect_test.xml b/Base/src/test/resources/topic_gcm_illegal_dialect_test.xml similarity index 100% rename from Base/src/test/java/resources/topic_gcm_illegal_dialect_test.xml rename to Base/src/test/resources/topic_gcm_illegal_dialect_test.xml diff --git a/Base/src/test/java/resources/topic_gcm_simple_illegal_test.xml b/Base/src/test/resources/topic_gcm_simple_illegal_test.xml similarity index 100% rename from Base/src/test/java/resources/topic_gcm_simple_illegal_test.xml rename to Base/src/test/resources/topic_gcm_simple_illegal_test.xml diff --git a/Base/src/test/java/resources/topic_gcm_simple_legal_test.xml b/Base/src/test/resources/topic_gcm_simple_legal_test.xml similarity index 100% rename from Base/src/test/java/resources/topic_gcm_simple_legal_test.xml rename to Base/src/test/resources/topic_gcm_simple_legal_test.xml diff --git a/Base/src/test/java/resources/topic_gcm_xpath_boolean_multiple_test.xml b/Base/src/test/resources/topic_gcm_xpath_boolean_multiple_test.xml similarity index 100% rename from Base/src/test/java/resources/topic_gcm_xpath_boolean_multiple_test.xml rename to Base/src/test/resources/topic_gcm_xpath_boolean_multiple_test.xml diff --git a/Base/src/test/java/resources/topic_gcm_xpath_boolean_single_test.xml b/Base/src/test/resources/topic_gcm_xpath_boolean_single_test.xml similarity index 100% rename from Base/src/test/java/resources/topic_gcm_xpath_boolean_single_test.xml rename to Base/src/test/resources/topic_gcm_xpath_boolean_single_test.xml diff --git a/Base/src/test/java/resources/topic_gcm_xpath_false.xml b/Base/src/test/resources/topic_gcm_xpath_false.xml similarity index 100% rename from Base/src/test/java/resources/topic_gcm_xpath_false.xml rename to Base/src/test/resources/topic_gcm_xpath_false.xml diff --git a/Base/src/test/java/resources/topic_namespace_test.xml b/Base/src/test/resources/topic_namespace_test.xml similarity index 100% rename from Base/src/test/java/resources/topic_namespace_test.xml rename to Base/src/test/resources/topic_namespace_test.xml diff --git a/Base/src/test/java/resources/topic_set_test.xml b/Base/src/test/resources/topic_set_test.xml similarity index 100% rename from Base/src/test/java/resources/topic_set_test.xml rename to Base/src/test/resources/topic_set_test.xml diff --git a/Base/target/classes/defaultconfig.xml b/Base/target/classes/defaultconfig.xml deleted file mode 100644 index 3eac821..0000000 --- a/Base/target/classes/defaultconfig.xml +++ /dev/null @@ -1,40 +0,0 @@ - - - - - - https - - 32768 - 8192 - 8192 - - - - - - - - - - - - - - - - - - - - - - - - - - - 10 - 200 - - \ No newline at end of file diff --git a/Base/target/surefire-reports/TEST-org.ntnunotif.wsnu.base.internal.MappingConnectorTest.xml b/Base/target/surefire-reports/TEST-org.ntnunotif.wsnu.base.internal.MappingConnectorTest.xml deleted file mode 100644 index 75b6613..0000000 --- a/Base/target/surefire-reports/TEST-org.ntnunotif.wsnu.base.internal.MappingConnectorTest.xml +++ /dev/null @@ -1,65 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/Base/target/surefire-reports/TEST-org.ntnunotif.wsnu.base.net.ApplicationServerTest.xml b/Base/target/surefire-reports/TEST-org.ntnunotif.wsnu.base.net.ApplicationServerTest.xml deleted file mode 100644 index f932e92..0000000 --- a/Base/target/surefire-reports/TEST-org.ntnunotif.wsnu.base.net.ApplicationServerTest.xml +++ /dev/null @@ -1,212 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - java.io.FileNotFoundException: Base\testres\server_test_soap.xml (Systemet finner ikke angitt bane) - at java.io.FileInputStream.open(Native Method) - at java.io.FileInputStream.<init>(FileInputStream.java:146) - at java.io.FileInputStream.<init>(FileInputStream.java:101) - at org.ntnunotif.wsnu.base.net.ApplicationServerTest.testSendingSoap(ApplicationServerTest.java:90) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:606) - at junit.framework.TestCase.runTest(TestCase.java:176) - at junit.framework.TestCase.runBare(TestCase.java:141) - at junit.framework.TestResult$1.protect(TestResult.java:122) - at junit.framework.TestResult.runProtected(TestResult.java:142) - at junit.framework.TestResult.run(TestResult.java:125) - at junit.framework.TestCase.run(TestCase.java:129) - at junit.framework.TestSuite.runTest(TestSuite.java:255) - at junit.framework.TestSuite.run(TestSuite.java:250) - at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:84) - at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252) - at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141) - at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:606) - at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189) - at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165) - at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85) - at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115) - at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75) - - 2014-04-07 13:12:29.400:INFO:oejs.Server:Thread-8: jetty-9.1.2.v20140210 -2014-04-07 13:12:29.418:INFO:oejs.ServerConnector:Thread-8: Started ServerConnector@46157e43{HTTP/1.1}{0.0.0.0:8080} -2014-04-07 13:12:29.693:INFO:oejs.ServerConnector:main: Stopped ServerConnector@46157e43{HTTP/1.1}{0.0.0.0:8080} - - - - java.io.FileNotFoundException: Base\testres\server_test_html_content.html (Systemet finner ikke angitt bane) - at java.io.FileInputStream.open(Native Method) - at java.io.FileInputStream.<init>(FileInputStream.java:146) - at java.io.FileInputStream.<init>(FileInputStream.java:101) - at org.ntnunotif.wsnu.base.net.ApplicationServerTest.testSimpleServer(ApplicationServerTest.java:50) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:606) - at junit.framework.TestCase.runTest(TestCase.java:176) - at junit.framework.TestCase.runBare(TestCase.java:141) - at junit.framework.TestResult$1.protect(TestResult.java:122) - at junit.framework.TestResult.runProtected(TestResult.java:142) - at junit.framework.TestResult.run(TestResult.java:125) - at junit.framework.TestCase.run(TestCase.java:129) - at junit.framework.TestSuite.runTest(TestSuite.java:255) - at junit.framework.TestSuite.run(TestSuite.java:250) - at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:84) - at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252) - at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141) - at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:606) - at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189) - at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165) - at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85) - at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115) - at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75) - - 2014-04-07 13:12:29.703:INFO:oejs.Server:Thread-37: jetty-9.1.2.v20140210 -2014-04-07 13:12:29.710:INFO:oejs.ServerConnector:Thread-37: Started ServerConnector@46157e43{HTTP/1.1}{0.0.0.0:8080} -2014-04-07 13:12:29.722:INFO:oejs.ServerConnector:main: Stopped ServerConnector@46157e43{HTTP/1.1}{0.0.0.0:8080} - - - - java.io.FileNotFoundException: Base\testres\server_test_xml.xml (Systemet finner ikke angitt bane) - at java.io.FileInputStream.open(Native Method) - at java.io.FileInputStream.<init>(FileInputStream.java:146) - at java.io.FileInputStream.<init>(FileInputStream.java:101) - at org.ntnunotif.wsnu.base.net.ApplicationServerTest.testSendingXML(ApplicationServerTest.java:71) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:606) - at junit.framework.TestCase.runTest(TestCase.java:176) - at junit.framework.TestCase.runBare(TestCase.java:141) - at junit.framework.TestResult$1.protect(TestResult.java:122) - at junit.framework.TestResult.runProtected(TestResult.java:142) - at junit.framework.TestResult.run(TestResult.java:125) - at junit.framework.TestCase.run(TestCase.java:129) - at junit.framework.TestSuite.runTest(TestSuite.java:255) - at junit.framework.TestSuite.run(TestSuite.java:250) - at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:84) - at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252) - at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141) - at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:606) - at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189) - at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165) - at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85) - at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115) - at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75) - - 2014-04-07 13:12:29.728:INFO:oejs.Server:Thread-72: jetty-9.1.2.v20140210 -2014-04-07 13:12:29.736:INFO:oejs.ServerConnector:Thread-72: Started ServerConnector@46157e43{HTTP/1.1}{0.0.0.0:8080} -2014-04-07 13:12:29.743:INFO:oejs.ServerConnector:main: Stopped ServerConnector@46157e43{HTTP/1.1}{0.0.0.0:8080} - - - - java.io.FileNotFoundException: Base\testres\server_test_subscribe.xml (Systemet finner ikke angitt bane) - at java.io.FileInputStream.open(Native Method) - at java.io.FileInputStream.<init>(FileInputStream.java:146) - at java.io.FileInputStream.<init>(FileInputStream.java:101) - at org.ntnunotif.wsnu.base.net.ApplicationServerTest.testSubscribe(ApplicationServerTest.java:119) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:606) - at junit.framework.TestCase.runTest(TestCase.java:176) - at junit.framework.TestCase.runBare(TestCase.java:141) - at junit.framework.TestResult$1.protect(TestResult.java:122) - at junit.framework.TestResult.runProtected(TestResult.java:142) - at junit.framework.TestResult.run(TestResult.java:125) - at junit.framework.TestCase.run(TestCase.java:129) - at junit.framework.TestSuite.runTest(TestSuite.java:255) - at junit.framework.TestSuite.run(TestSuite.java:250) - at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:84) - at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252) - at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141) - at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:606) - at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189) - at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165) - at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85) - at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115) - at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75) - - 2014-04-07 13:12:29.747:INFO:oejs.Server:Thread-101: jetty-9.1.2.v20140210 -2014-04-07 13:12:29.753:INFO:oejs.ServerConnector:Thread-101: Started ServerConnector@46157e43{HTTP/1.1}{0.0.0.0:8080} -2014-04-07 13:12:29.762:INFO:oejs.ServerConnector:main: Stopped ServerConnector@46157e43{HTTP/1.1}{0.0.0.0:8080} - - - \ No newline at end of file diff --git a/Base/target/surefire-reports/TEST-org.ntnunotif.wsnu.base.net.InternalMessageTest.xml b/Base/target/surefire-reports/TEST-org.ntnunotif.wsnu.base.net.InternalMessageTest.xml deleted file mode 100644 index f670723..0000000 --- a/Base/target/surefire-reports/TEST-org.ntnunotif.wsnu.base.net.InternalMessageTest.xml +++ /dev/null @@ -1,65 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/Base/target/surefire-reports/TEST-org.ntnunotif.wsnu.base.net.XMLParserTest.xml b/Base/target/surefire-reports/TEST-org.ntnunotif.wsnu.base.net.XMLParserTest.xml deleted file mode 100644 index 88e34d2..0000000 --- a/Base/target/surefire-reports/TEST-org.ntnunotif.wsnu.base.net.XMLParserTest.xml +++ /dev/null @@ -1,515 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - javax.xml.bind.JAXBException: Could not create XMLStream to read from - at org.ntnunotif.wsnu.base.net.XMLParser.parse(XMLParser.java:140) - at org.ntnunotif.wsnu.base.net.XMLParserTest.testNotificationParsing(XMLParserTest.java:56) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:606) - at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) - at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) - at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44) - at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) - at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) - at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) - at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) - at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) - at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) - at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) - at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) - at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) - at org.junit.runners.ParentRunner.run(ParentRunner.java:309) - at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252) - at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141) - at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:606) - at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189) - at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165) - at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85) - at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115) - at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75) - - [Error XMLParser]: Could not read test files -java.io.FileNotFoundException: Base\testres\parse_test_notify.xml (Systemet finner ikke angitt bane) - at java.io.FileInputStream.open(Native Method) - at java.io.FileInputStream.<init>(FileInputStream.java:146) - at java.io.FileInputStream.<init>(FileInputStream.java:101) - at org.ntnunotif.wsnu.base.net.XMLParserTest.setup(XMLParserTest.java:37) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:606) - at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) - at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) - at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44) - at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24) - at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) - at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) - at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) - at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) - at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) - at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) - at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) - at org.junit.runners.ParentRunner.run(ParentRunner.java:309) - at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252) - at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141) - at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:606) - at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189) - at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165) - at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85) - at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115) - at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75) -javax.xml.stream.XMLStreamException: java.net.MalformedURLException - at com.sun.org.apache.xerces.internal.impl.XMLStreamReaderImpl.setInputSource(XMLStreamReaderImpl.java:217) - at com.sun.org.apache.xerces.internal.impl.XMLStreamReaderImpl.<init>(XMLStreamReaderImpl.java:189) - at com.sun.xml.internal.stream.XMLInputFactoryImpl.getXMLStreamReaderImpl(XMLInputFactoryImpl.java:262) - at com.sun.xml.internal.stream.XMLInputFactoryImpl.createXMLStreamReader(XMLInputFactoryImpl.java:129) - at org.ntnunotif.wsnu.base.net.XMLParser.parse(XMLParser.java:135) - at org.ntnunotif.wsnu.base.net.XMLParserTest.testNotificationParsing(XMLParserTest.java:56) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:606) - at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) - at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) - at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44) - at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) - at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) - at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) - at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) - at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) - at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) - at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) - at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) - at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) - at org.junit.runners.ParentRunner.run(ParentRunner.java:309) - at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252) - at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141) - at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:606) - at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189) - at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165) - at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85) - at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115) - at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75) -Caused by: java.net.MalformedURLException - at java.net.URL.<init>(URL.java:619) - at java.net.URL.<init>(URL.java:482) - at java.net.URL.<init>(URL.java:431) - at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(XMLEntityManager.java:610) - at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startEntity(XMLEntityManager.java:1290) - at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startDocumentEntity(XMLEntityManager.java:1242) - at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.setInputSource(XMLDocumentScannerImpl.java:257) - at com.sun.org.apache.xerces.internal.impl.XMLStreamReaderImpl.setInputSource(XMLStreamReaderImpl.java:204) - ... 36 more -Caused by: java.lang.NullPointerException - at java.net.URL.<init>(URL.java:524) - ... 43 more - - - - java.io.FileNotFoundException: Base\testres\test_fault.xml (Systemet finner ikke angitt bane) - at java.io.FileOutputStream.open(Native Method) - at java.io.FileOutputStream.<init>(FileOutputStream.java:221) - at java.io.FileOutputStream.<init>(FileOutputStream.java:110) - at org.ntnunotif.wsnu.base.net.XMLParserTest.testMarshallingFaultInEnvelope(XMLParserTest.java:126) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:606) - at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) - at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) - at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44) - at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) - at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) - at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) - at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) - at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) - at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) - at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) - at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) - at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) - at org.junit.runners.ParentRunner.run(ParentRunner.java:309) - at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252) - at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141) - at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:606) - at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189) - at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165) - at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85) - at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115) - at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75) - - [Error XMLParser]: Could not read test files -java.io.FileNotFoundException: Base\testres\parse_test_notify.xml (Systemet finner ikke angitt bane) - at java.io.FileInputStream.open(Native Method) - at java.io.FileInputStream.<init>(FileInputStream.java:146) - at java.io.FileInputStream.<init>(FileInputStream.java:101) - at org.ntnunotif.wsnu.base.net.XMLParserTest.setup(XMLParserTest.java:37) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:606) - at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) - at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) - at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44) - at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24) - at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) - at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) - at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) - at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) - at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) - at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) - at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) - at org.junit.runners.ParentRunner.run(ParentRunner.java:309) - at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252) - at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141) - at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:606) - at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189) - at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165) - at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85) - at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115) - at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75) - - - - javax.xml.bind.JAXBException: Could not create XMLStream to read from - at org.ntnunotif.wsnu.base.net.XMLParser.parse(XMLParser.java:140) - at org.ntnunotif.wsnu.base.net.XMLParserTest.testToXmlParse(XMLParserTest.java:78) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:606) - at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) - at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) - at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44) - at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) - at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) - at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) - at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) - at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) - at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) - at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) - at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) - at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) - at org.junit.runners.ParentRunner.run(ParentRunner.java:309) - at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252) - at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141) - at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:606) - at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189) - at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165) - at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85) - at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115) - at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75) - - [Error XMLParser]: Could not read test files -java.io.FileNotFoundException: Base\testres\parse_test_notify.xml (Systemet finner ikke angitt bane) - at java.io.FileInputStream.open(Native Method) - at java.io.FileInputStream.<init>(FileInputStream.java:146) - at java.io.FileInputStream.<init>(FileInputStream.java:101) - at org.ntnunotif.wsnu.base.net.XMLParserTest.setup(XMLParserTest.java:37) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:606) - at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) - at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) - at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44) - at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24) - at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) - at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) - at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) - at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) - at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) - at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) - at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) - at org.junit.runners.ParentRunner.run(ParentRunner.java:309) - at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252) - at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141) - at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:606) - at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189) - at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165) - at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85) - at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115) - at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75) -javax.xml.stream.XMLStreamException: java.net.MalformedURLException - at com.sun.org.apache.xerces.internal.impl.XMLStreamReaderImpl.setInputSource(XMLStreamReaderImpl.java:217) - at com.sun.org.apache.xerces.internal.impl.XMLStreamReaderImpl.<init>(XMLStreamReaderImpl.java:189) - at com.sun.xml.internal.stream.XMLInputFactoryImpl.getXMLStreamReaderImpl(XMLInputFactoryImpl.java:262) - at com.sun.xml.internal.stream.XMLInputFactoryImpl.createXMLStreamReader(XMLInputFactoryImpl.java:129) - at org.ntnunotif.wsnu.base.net.XMLParser.parse(XMLParser.java:135) - at org.ntnunotif.wsnu.base.net.XMLParserTest.testToXmlParse(XMLParserTest.java:78) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:606) - at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) - at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) - at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44) - at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) - at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) - at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) - at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) - at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) - at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) - at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) - at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) - at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) - at org.junit.runners.ParentRunner.run(ParentRunner.java:309) - at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252) - at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141) - at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:606) - at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189) - at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165) - at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85) - at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115) - at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75) -Caused by: java.net.MalformedURLException - at java.net.URL.<init>(URL.java:619) - at java.net.URL.<init>(URL.java:482) - at java.net.URL.<init>(URL.java:431) - at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(XMLEntityManager.java:610) - at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startEntity(XMLEntityManager.java:1290) - at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startDocumentEntity(XMLEntityManager.java:1242) - at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.setInputSource(XMLDocumentScannerImpl.java:257) - at com.sun.org.apache.xerces.internal.impl.XMLStreamReaderImpl.setInputSource(XMLStreamReaderImpl.java:204) - ... 36 more -Caused by: java.lang.NullPointerException - at java.net.URL.<init>(URL.java:524) - ... 43 more - - - - javax.xml.bind.JAXBException: Could not create XMLStream to read from - at org.ntnunotif.wsnu.base.net.XMLParser.parse(XMLParser.java:140) - at org.ntnunotif.wsnu.base.net.XMLParserTest.testSoapParsing(XMLParserTest.java:67) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:606) - at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) - at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) - at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44) - at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) - at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) - at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) - at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) - at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) - at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) - at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) - at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) - at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) - at org.junit.runners.ParentRunner.run(ParentRunner.java:309) - at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252) - at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141) - at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:606) - at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189) - at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165) - at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85) - at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115) - at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75) - - [Error XMLParser]: Could not read test files -java.io.FileNotFoundException: Base\testres\parse_test_notify.xml (Systemet finner ikke angitt bane) - at java.io.FileInputStream.open(Native Method) - at java.io.FileInputStream.<init>(FileInputStream.java:146) - at java.io.FileInputStream.<init>(FileInputStream.java:101) - at org.ntnunotif.wsnu.base.net.XMLParserTest.setup(XMLParserTest.java:37) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:606) - at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) - at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) - at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44) - at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24) - at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) - at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) - at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) - at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) - at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) - at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) - at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) - at org.junit.runners.ParentRunner.run(ParentRunner.java:309) - at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252) - at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141) - at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:606) - at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189) - at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165) - at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85) - at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115) - at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75) -javax.xml.stream.XMLStreamException: java.net.MalformedURLException - at com.sun.org.apache.xerces.internal.impl.XMLStreamReaderImpl.setInputSource(XMLStreamReaderImpl.java:217) - at com.sun.org.apache.xerces.internal.impl.XMLStreamReaderImpl.<init>(XMLStreamReaderImpl.java:189) - at com.sun.xml.internal.stream.XMLInputFactoryImpl.getXMLStreamReaderImpl(XMLInputFactoryImpl.java:262) - at com.sun.xml.internal.stream.XMLInputFactoryImpl.createXMLStreamReader(XMLInputFactoryImpl.java:129) - at org.ntnunotif.wsnu.base.net.XMLParser.parse(XMLParser.java:135) - at org.ntnunotif.wsnu.base.net.XMLParserTest.testSoapParsing(XMLParserTest.java:67) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:606) - at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) - at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) - at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44) - at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) - at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) - at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) - at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) - at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) - at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) - at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) - at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) - at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) - at org.junit.runners.ParentRunner.run(ParentRunner.java:309) - at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252) - at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141) - at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:606) - at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189) - at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165) - at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85) - at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115) - at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75) -Caused by: java.net.MalformedURLException - at java.net.URL.<init>(URL.java:619) - at java.net.URL.<init>(URL.java:482) - at java.net.URL.<init>(URL.java:431) - at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(XMLEntityManager.java:610) - at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startEntity(XMLEntityManager.java:1290) - at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startDocumentEntity(XMLEntityManager.java:1242) - at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.setInputSource(XMLDocumentScannerImpl.java:257) - at com.sun.org.apache.xerces.internal.impl.XMLStreamReaderImpl.setInputSource(XMLStreamReaderImpl.java:204) - ... 36 more -Caused by: java.lang.NullPointerException - at java.net.URL.<init>(URL.java:524) - ... 43 more - - - \ No newline at end of file diff --git a/Base/target/surefire-reports/TEST-org.ntnunotif.wsnu.base.topics.FullEvaluatorSingleTopicTest.xml b/Base/target/surefire-reports/TEST-org.ntnunotif.wsnu.base.topics.FullEvaluatorSingleTopicTest.xml deleted file mode 100644 index 9497b97..0000000 --- a/Base/target/surefire-reports/TEST-org.ntnunotif.wsnu.base.topics.FullEvaluatorSingleTopicTest.xml +++ /dev/null @@ -1,66 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/Base/target/surefire-reports/TEST-org.ntnunotif.wsnu.base.topics.TopicUtilsTest.xml b/Base/target/surefire-reports/TEST-org.ntnunotif.wsnu.base.topics.TopicUtilsTest.xml deleted file mode 100644 index 5f91bc3..0000000 --- a/Base/target/surefire-reports/TEST-org.ntnunotif.wsnu.base.topics.TopicUtilsTest.xml +++ /dev/null @@ -1,103 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - java.io.FileNotFoundException: Base\testres\out_topic_utils_qnames_topic_set.xml (Systemet finner ikke angitt bane) - at java.io.FileOutputStream.open(Native Method) - at java.io.FileOutputStream.<init>(FileOutputStream.java:221) - at java.io.FileOutputStream.<init>(FileOutputStream.java:110) - at org.ntnunotif.wsnu.base.topics.TopicUtilsTest.testOutputOfQNameToTopicSet(TopicUtilsTest.java:114) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:606) - at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) - at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) - at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44) - at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) - at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) - at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) - at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) - at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) - at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) - at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) - at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) - at org.junit.runners.ParentRunner.run(ParentRunner.java:309) - at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252) - at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141) - at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:606) - at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189) - at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165) - at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85) - at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115) - at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75) - - - \ No newline at end of file diff --git a/Base/target/surefire-reports/TEST-org.ntnunotif.wsnu.base.topics.TopicValidatorTest.xml b/Base/target/surefire-reports/TEST-org.ntnunotif.wsnu.base.topics.TopicValidatorTest.xml deleted file mode 100644 index f781108..0000000 --- a/Base/target/surefire-reports/TEST-org.ntnunotif.wsnu.base.topics.TopicValidatorTest.xml +++ /dev/null @@ -1,794 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - java.lang.Exception: Unexpected exception, expected<org.oasis_open.docs.wsn.bw_2.InvalidTopicExpressionFault> but was<java.lang.NullPointerException> - at org.junit.internal.runners.statements.ExpectException.evaluate(ExpectException.java:28) - at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) - at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) - at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) - at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) - at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) - at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) - at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) - at org.junit.runners.ParentRunner.run(ParentRunner.java:309) - at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252) - at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141) - at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:606) - at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189) - at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165) - at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85) - at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115) - at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75) -Caused by: java.lang.NullPointerException - at org.ntnunotif.wsnu.base.topics.TopicValidatorTest.testConcreteIllegalCase(TopicValidatorTest.java:188) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:606) - at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) - at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) - at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44) - at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) - at org.junit.internal.runners.statements.ExpectException.evaluate(ExpectException.java:19) - ... 22 more - - java.io.FileNotFoundException: Base\testres\topic_gcm_xpath_false.xml (Systemet finner ikke angitt bane) - at java.io.FileInputStream.open(Native Method) - at java.io.FileInputStream.<init>(FileInputStream.java:146) - at java.io.FileInputStream.<init>(FileInputStream.java:101) - at org.ntnunotif.wsnu.base.topics.TopicValidatorTest.setup(TopicValidatorTest.java:91) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:606) - at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) - at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) - at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44) - at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24) - at org.junit.runners.ParentRunner.run(ParentRunner.java:309) - at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252) - at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141) - at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:606) - at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189) - at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165) - at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85) - at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115) - at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75) - - - - java.lang.Exception: Unexpected exception, expected<org.oasis_open.docs.wsn.bw_2.TopicExpressionDialectUnknownFault> but was<java.lang.NullPointerException> - at org.junit.internal.runners.statements.ExpectException.evaluate(ExpectException.java:28) - at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) - at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) - at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) - at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) - at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) - at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) - at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) - at org.junit.runners.ParentRunner.run(ParentRunner.java:309) - at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252) - at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141) - at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:606) - at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189) - at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165) - at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85) - at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115) - at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75) -Caused by: java.lang.NullPointerException - at org.ntnunotif.wsnu.base.topics.TopicValidatorTest.testIllegalExpressionDialectTopicExpression(TopicValidatorTest.java:361) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:606) - at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) - at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) - at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44) - at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) - at org.junit.internal.runners.statements.ExpectException.evaluate(ExpectException.java:19) - ... 22 more - - - - java.lang.NullPointerException - at org.ntnunotif.wsnu.base.topics.TopicValidatorTest.testFullLegalSingleCase(TopicValidatorTest.java:196) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:606) - at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) - at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) - at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44) - at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) - at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) - at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) - at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) - at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) - at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) - at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) - at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) - at org.junit.runners.ParentRunner.run(ParentRunner.java:309) - at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252) - at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141) - at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:606) - at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189) - at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165) - at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85) - at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115) - at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75) - - - - java.lang.NullPointerException - at org.ntnunotif.wsnu.base.topics.TopicValidatorTest.disassembleTopicSetToOutput(TopicValidatorTest.java:265) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:606) - at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) - at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) - at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44) - at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) - at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) - at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) - at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) - at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) - at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) - at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) - at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) - at org.junit.runners.ParentRunner.run(ParentRunner.java:309) - at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252) - at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141) - at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:606) - at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189) - at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165) - at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85) - at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115) - at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75) - - - - java.lang.Exception: Unexpected exception, expected<org.oasis_open.docs.wsn.bw_2.InvalidTopicExpressionFault> but was<java.lang.NullPointerException> - at org.junit.internal.runners.statements.ExpectException.evaluate(ExpectException.java:28) - at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) - at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) - at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) - at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) - at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) - at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) - at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) - at org.junit.runners.ParentRunner.run(ParentRunner.java:309) - at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252) - at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141) - at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:606) - at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189) - at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165) - at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85) - at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115) - at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75) -Caused by: java.lang.NullPointerException - at org.ntnunotif.wsnu.base.topics.TopicValidatorTest.testFullIllegalCase(TopicValidatorTest.java:212) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:606) - at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) - at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) - at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44) - at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) - at org.junit.internal.runners.statements.ExpectException.evaluate(ExpectException.java:19) - ... 22 more - - - - java.lang.NullPointerException - at org.ntnunotif.wsnu.base.topics.TopicValidatorTest.testExpressionsToQNameList(TopicValidatorTest.java:222) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:606) - at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) - at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) - at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44) - at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) - at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) - at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) - at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) - at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) - at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) - at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) - at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) - at org.junit.runners.ParentRunner.run(ParentRunner.java:309) - at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252) - at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141) - at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:606) - at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189) - at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165) - at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85) - at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115) - at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75) - - - - java.lang.NullPointerException - at org.ntnunotif.wsnu.base.topics.TopicValidatorTest.testGetIntersectionOne(TopicValidatorTest.java:306) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:606) - at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) - at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) - at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44) - at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) - at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) - at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) - at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) - at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) - at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) - at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) - at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) - at org.junit.runners.ParentRunner.run(ParentRunner.java:309) - at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252) - at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141) - at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:606) - at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189) - at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165) - at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85) - at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115) - at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75) - - - - java.lang.NullPointerException - at org.ntnunotif.wsnu.base.topics.TopicValidatorTest.testGetIntersectionTwo(TopicValidatorTest.java:326) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:606) - at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) - at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) - at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44) - at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) - at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) - at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) - at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) - at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) - at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) - at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) - at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) - at org.junit.runners.ParentRunner.run(ParentRunner.java:309) - at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252) - at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141) - at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:606) - at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189) - at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165) - at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85) - at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115) - at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75) - - - - java.lang.Exception: Unexpected exception, expected<java.lang.UnsupportedOperationException> but was<java.lang.NullPointerException> - at org.junit.internal.runners.statements.ExpectException.evaluate(ExpectException.java:28) - at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) - at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) - at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) - at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) - at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) - at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) - at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) - at org.junit.runners.ParentRunner.run(ParentRunner.java:309) - at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252) - at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141) - at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:606) - at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189) - at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165) - at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85) - at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115) - at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75) -Caused by: java.lang.NullPointerException - at org.ntnunotif.wsnu.base.topics.TopicValidatorTest.testEvaluateTopicWithExpressionLegal(TopicValidatorTest.java:367) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:606) - at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) - at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) - at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44) - at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) - at org.junit.internal.runners.statements.ExpectException.evaluate(ExpectException.java:19) - ... 22 more - - - - java.lang.Exception: Unexpected exception, expected<org.oasis_open.docs.wsn.bw_2.InvalidTopicExpressionFault> but was<java.lang.NullPointerException> - at org.junit.internal.runners.statements.ExpectException.evaluate(ExpectException.java:28) - at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) - at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) - at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) - at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) - at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) - at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) - at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) - at org.junit.runners.ParentRunner.run(ParentRunner.java:309) - at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252) - at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141) - at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:606) - at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189) - at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165) - at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85) - at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115) - at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75) -Caused by: java.lang.NullPointerException - at org.ntnunotif.wsnu.base.topics.TopicValidatorTest.testSimpleIllegalCase(TopicValidatorTest.java:172) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:606) - at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) - at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) - at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44) - at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) - at org.junit.internal.runners.statements.ExpectException.evaluate(ExpectException.java:19) - ... 22 more - - - - java.lang.Exception: Unexpected exception, expected<org.oasis_open.docs.wsn.bw_2.TopicExpressionDialectUnknownFault> but was<java.lang.NullPointerException> - at org.junit.internal.runners.statements.ExpectException.evaluate(ExpectException.java:28) - at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) - at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) - at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) - at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) - at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) - at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) - at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) - at org.junit.runners.ParentRunner.run(ParentRunner.java:309) - at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252) - at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141) - at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:606) - at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189) - at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165) - at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85) - at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115) - at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75) -Caused by: java.lang.NullPointerException - at org.ntnunotif.wsnu.base.topics.TopicValidator.isExpressionPermittedInNamespace(TopicValidator.java:63) - at org.ntnunotif.wsnu.base.topics.TopicValidatorTest.testIllegalExpressionDialectNamespace(TopicValidatorTest.java:351) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:606) - at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) - at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) - at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44) - at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) - at org.junit.internal.runners.statements.ExpectException.evaluate(ExpectException.java:19) - ... 22 more - - - - java.lang.NullPointerException - at org.ntnunotif.wsnu.base.topics.TopicValidatorTest.disassembleNamespaceContext(TopicValidatorTest.java:259) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:606) - at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) - at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) - at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44) - at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) - at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) - at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) - at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) - at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) - at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) - at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) - at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) - at org.junit.runners.ParentRunner.run(ParentRunner.java:309) - at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252) - at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141) - at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:606) - at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189) - at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165) - at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85) - at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115) - at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75) - - - - java.lang.Exception: Unexpected exception, expected<java.lang.UnsupportedOperationException> but was<java.lang.NullPointerException> - at org.junit.internal.runners.statements.ExpectException.evaluate(ExpectException.java:28) - at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) - at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) - at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) - at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) - at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) - at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) - at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) - at org.junit.runners.ParentRunner.run(ParentRunner.java:309) - at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252) - at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141) - at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:606) - at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189) - at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165) - at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85) - at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115) - at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75) -Caused by: java.lang.NullPointerException - at org.ntnunotif.wsnu.base.topics.TopicValidatorTest.testEvaluateTopicWithExpressionIllegal(TopicValidatorTest.java:373) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:606) - at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) - at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) - at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44) - at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) - at org.junit.internal.runners.statements.ExpectException.evaluate(ExpectException.java:19) - ... 22 more - - - - java.lang.NullPointerException - at org.ntnunotif.wsnu.base.topics.TopicValidatorTest.testFullLegalMultipleCase(TopicValidatorTest.java:204) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:606) - at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) - at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) - at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44) - at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) - at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) - at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) - at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) - at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) - at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) - at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) - at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) - at org.junit.runners.ParentRunner.run(ParentRunner.java:309) - at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252) - at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141) - at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:606) - at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189) - at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165) - at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85) - at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115) - at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75) - - - - - java.lang.NullPointerException - at org.ntnunotif.wsnu.base.topics.TopicValidatorTest.testSimpleLegalCase(TopicValidatorTest.java:164) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:606) - at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) - at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) - at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44) - at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) - at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) - at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) - at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) - at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) - at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) - at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) - at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) - at org.junit.runners.ParentRunner.run(ParentRunner.java:309) - at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252) - at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141) - at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:606) - at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189) - at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165) - at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85) - at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115) - at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75) - - - - java.lang.Exception: Unexpected exception, expected<org.oasis_open.docs.wsn.bw_2.TopicExpressionDialectUnknownFault> but was<java.lang.NullPointerException> - at org.junit.internal.runners.statements.ExpectException.evaluate(ExpectException.java:28) - at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) - at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) - at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) - at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) - at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) - at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) - at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) - at org.junit.runners.ParentRunner.run(ParentRunner.java:309) - at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252) - at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141) - at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:606) - at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189) - at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165) - at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85) - at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115) - at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75) -Caused by: java.lang.NullPointerException - at org.ntnunotif.wsnu.base.topics.TopicValidatorTest.testIllegalExpressionDialectIntersection(TopicValidatorTest.java:356) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:606) - at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) - at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) - at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44) - at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) - at org.junit.internal.runners.statements.ExpectException.evaluate(ExpectException.java:19) - ... 22 more - - - - java.lang.NullPointerException - at org.ntnunotif.wsnu.base.topics.TopicValidatorTest.testGetIntersectionNull(TopicValidatorTest.java:300) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:606) - at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) - at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) - at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44) - at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) - at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) - at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) - at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) - at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) - at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) - at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) - at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) - at org.junit.runners.ParentRunner.run(ParentRunner.java:309) - at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252) - at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141) - at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:606) - at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189) - at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165) - at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85) - at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115) - at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75) - - - - java.lang.Exception: Unexpected exception, expected<org.oasis_open.docs.wsn.bw_2.MultipleTopicsSpecifiedFault> but was<java.lang.NullPointerException> - at org.junit.internal.runners.statements.ExpectException.evaluate(ExpectException.java:28) - at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) - at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) - at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) - at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) - at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) - at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) - at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) - at org.junit.runners.ParentRunner.run(ParentRunner.java:309) - at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252) - at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141) - at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:606) - at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189) - at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165) - at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85) - at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115) - at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75) -Caused by: java.lang.NullPointerException - at org.ntnunotif.wsnu.base.topics.TopicValidatorTest.testExpressionsMultipleFull(TopicValidatorTest.java:251) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:606) - at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) - at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) - at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44) - at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) - at org.junit.internal.runners.statements.ExpectException.evaluate(ExpectException.java:19) - ... 22 more - - - - java.lang.NullPointerException - at org.ntnunotif.wsnu.base.topics.TopicValidatorTest.testConcreteLegalCase(TopicValidatorTest.java:180) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:606) - at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) - at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) - at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44) - at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) - at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) - at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) - at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) - at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) - at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) - at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) - at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) - at org.junit.runners.ParentRunner.run(ParentRunner.java:309) - at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252) - at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141) - at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:606) - at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189) - at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165) - at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85) - at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115) - at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75) - - - \ No newline at end of file diff --git a/Base/target/surefire-reports/TEST-org.ntnunotif.wsnu.base.topics.XPathEvaluatorIntersectionTest.xml b/Base/target/surefire-reports/TEST-org.ntnunotif.wsnu.base.topics.XPathEvaluatorIntersectionTest.xml deleted file mode 100644 index 2eb8bb4..0000000 --- a/Base/target/surefire-reports/TEST-org.ntnunotif.wsnu.base.topics.XPathEvaluatorIntersectionTest.xml +++ /dev/null @@ -1,68 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/Base/target/surefire-reports/TEST-org.ntnunotif.wsnu.base.util.UtilitiesTest.xml b/Base/target/surefire-reports/TEST-org.ntnunotif.wsnu.base.util.UtilitiesTest.xml deleted file mode 100644 index 77bdd93..0000000 --- a/Base/target/surefire-reports/TEST-org.ntnunotif.wsnu.base.util.UtilitiesTest.xml +++ /dev/null @@ -1,66 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/Base/target/surefire-reports/org.ntnunotif.wsnu.base.internal.MappingConnectorTest.txt b/Base/target/surefire-reports/org.ntnunotif.wsnu.base.internal.MappingConnectorTest.txt deleted file mode 100644 index 9b6fb3b..0000000 --- a/Base/target/surefire-reports/org.ntnunotif.wsnu.base.internal.MappingConnectorTest.txt +++ /dev/null @@ -1,4 +0,0 @@ -------------------------------------------------------------------------------- -Test set: org.ntnunotif.wsnu.base.internal.MappingConnectorTest -------------------------------------------------------------------------------- -Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.066 sec diff --git a/Base/target/surefire-reports/org.ntnunotif.wsnu.base.net.ApplicationServerTest.txt b/Base/target/surefire-reports/org.ntnunotif.wsnu.base.net.ApplicationServerTest.txt deleted file mode 100644 index 8e2cbe4..0000000 --- a/Base/target/surefire-reports/org.ntnunotif.wsnu.base.net.ApplicationServerTest.txt +++ /dev/null @@ -1,132 +0,0 @@ -------------------------------------------------------------------------------- -Test set: org.ntnunotif.wsnu.base.net.ApplicationServerTest -------------------------------------------------------------------------------- -Tests run: 4, Failures: 0, Errors: 4, Skipped: 0, Time elapsed: 0.528 sec <<< FAILURE! -testSendingSoap(org.ntnunotif.wsnu.base.net.ApplicationServerTest) Time elapsed: 0.464 sec <<< ERROR! -java.io.FileNotFoundException: Base\testres\server_test_soap.xml (Systemet finner ikke angitt bane) - at java.io.FileInputStream.open(Native Method) - at java.io.FileInputStream.(FileInputStream.java:146) - at java.io.FileInputStream.(FileInputStream.java:101) - at org.ntnunotif.wsnu.base.net.ApplicationServerTest.testSendingSoap(ApplicationServerTest.java:90) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:606) - at junit.framework.TestCase.runTest(TestCase.java:176) - at junit.framework.TestCase.runBare(TestCase.java:141) - at junit.framework.TestResult$1.protect(TestResult.java:122) - at junit.framework.TestResult.runProtected(TestResult.java:142) - at junit.framework.TestResult.run(TestResult.java:125) - at junit.framework.TestCase.run(TestCase.java:129) - at junit.framework.TestSuite.runTest(TestSuite.java:255) - at junit.framework.TestSuite.run(TestSuite.java:250) - at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:84) - at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252) - at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141) - at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:606) - at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189) - at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165) - at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85) - at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115) - at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75) - -testSimpleServer(org.ntnunotif.wsnu.base.net.ApplicationServerTest) Time elapsed: 0.024 sec <<< ERROR! -java.io.FileNotFoundException: Base\testres\server_test_html_content.html (Systemet finner ikke angitt bane) - at java.io.FileInputStream.open(Native Method) - at java.io.FileInputStream.(FileInputStream.java:146) - at java.io.FileInputStream.(FileInputStream.java:101) - at org.ntnunotif.wsnu.base.net.ApplicationServerTest.testSimpleServer(ApplicationServerTest.java:50) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:606) - at junit.framework.TestCase.runTest(TestCase.java:176) - at junit.framework.TestCase.runBare(TestCase.java:141) - at junit.framework.TestResult$1.protect(TestResult.java:122) - at junit.framework.TestResult.runProtected(TestResult.java:142) - at junit.framework.TestResult.run(TestResult.java:125) - at junit.framework.TestCase.run(TestCase.java:129) - at junit.framework.TestSuite.runTest(TestSuite.java:255) - at junit.framework.TestSuite.run(TestSuite.java:250) - at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:84) - at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252) - at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141) - at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:606) - at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189) - at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165) - at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85) - at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115) - at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75) - -testSendingXML(org.ntnunotif.wsnu.base.net.ApplicationServerTest) Time elapsed: 0.02 sec <<< ERROR! -java.io.FileNotFoundException: Base\testres\server_test_xml.xml (Systemet finner ikke angitt bane) - at java.io.FileInputStream.open(Native Method) - at java.io.FileInputStream.(FileInputStream.java:146) - at java.io.FileInputStream.(FileInputStream.java:101) - at org.ntnunotif.wsnu.base.net.ApplicationServerTest.testSendingXML(ApplicationServerTest.java:71) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:606) - at junit.framework.TestCase.runTest(TestCase.java:176) - at junit.framework.TestCase.runBare(TestCase.java:141) - at junit.framework.TestResult$1.protect(TestResult.java:122) - at junit.framework.TestResult.runProtected(TestResult.java:142) - at junit.framework.TestResult.run(TestResult.java:125) - at junit.framework.TestCase.run(TestCase.java:129) - at junit.framework.TestSuite.runTest(TestSuite.java:255) - at junit.framework.TestSuite.run(TestSuite.java:250) - at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:84) - at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252) - at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141) - at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:606) - at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189) - at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165) - at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85) - at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115) - at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75) - -testSubscribe(org.ntnunotif.wsnu.base.net.ApplicationServerTest) Time elapsed: 0.02 sec <<< ERROR! -java.io.FileNotFoundException: Base\testres\server_test_subscribe.xml (Systemet finner ikke angitt bane) - at java.io.FileInputStream.open(Native Method) - at java.io.FileInputStream.(FileInputStream.java:146) - at java.io.FileInputStream.(FileInputStream.java:101) - at org.ntnunotif.wsnu.base.net.ApplicationServerTest.testSubscribe(ApplicationServerTest.java:119) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:606) - at junit.framework.TestCase.runTest(TestCase.java:176) - at junit.framework.TestCase.runBare(TestCase.java:141) - at junit.framework.TestResult$1.protect(TestResult.java:122) - at junit.framework.TestResult.runProtected(TestResult.java:142) - at junit.framework.TestResult.run(TestResult.java:125) - at junit.framework.TestCase.run(TestCase.java:129) - at junit.framework.TestSuite.runTest(TestSuite.java:255) - at junit.framework.TestSuite.run(TestSuite.java:250) - at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:84) - at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252) - at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141) - at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:606) - at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189) - at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165) - at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85) - at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115) - at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75) - diff --git a/Base/target/surefire-reports/org.ntnunotif.wsnu.base.net.InternalMessageTest.txt b/Base/target/surefire-reports/org.ntnunotif.wsnu.base.net.InternalMessageTest.txt deleted file mode 100644 index c502546..0000000 --- a/Base/target/surefire-reports/org.ntnunotif.wsnu.base.net.InternalMessageTest.txt +++ /dev/null @@ -1,4 +0,0 @@ -------------------------------------------------------------------------------- -Test set: org.ntnunotif.wsnu.base.net.InternalMessageTest -------------------------------------------------------------------------------- -Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec diff --git a/Base/target/surefire-reports/org.ntnunotif.wsnu.base.net.XMLParserTest.txt b/Base/target/surefire-reports/org.ntnunotif.wsnu.base.net.XMLParserTest.txt deleted file mode 100644 index 7cae421..0000000 --- a/Base/target/surefire-reports/org.ntnunotif.wsnu.base.net.XMLParserTest.txt +++ /dev/null @@ -1,150 +0,0 @@ -------------------------------------------------------------------------------- -Test set: org.ntnunotif.wsnu.base.net.XMLParserTest -------------------------------------------------------------------------------- -Tests run: 4, Failures: 0, Errors: 4, Skipped: 0, Time elapsed: 0.167 sec <<< FAILURE! -testNotificationParsing(org.ntnunotif.wsnu.base.net.XMLParserTest) Time elapsed: 0.124 sec <<< ERROR! -javax.xml.bind.JAXBException: Could not create XMLStream to read from - at org.ntnunotif.wsnu.base.net.XMLParser.parse(XMLParser.java:140) - at org.ntnunotif.wsnu.base.net.XMLParserTest.testNotificationParsing(XMLParserTest.java:56) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:606) - at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) - at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) - at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44) - at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) - at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) - at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) - at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) - at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) - at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) - at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) - at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) - at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) - at org.junit.runners.ParentRunner.run(ParentRunner.java:309) - at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252) - at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141) - at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:606) - at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189) - at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165) - at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85) - at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115) - at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75) - -testMarshallingFaultInEnvelope(org.ntnunotif.wsnu.base.net.XMLParserTest) Time elapsed: 0.012 sec <<< ERROR! -java.io.FileNotFoundException: Base\testres\test_fault.xml (Systemet finner ikke angitt bane) - at java.io.FileOutputStream.open(Native Method) - at java.io.FileOutputStream.(FileOutputStream.java:221) - at java.io.FileOutputStream.(FileOutputStream.java:110) - at org.ntnunotif.wsnu.base.net.XMLParserTest.testMarshallingFaultInEnvelope(XMLParserTest.java:126) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:606) - at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) - at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) - at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44) - at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) - at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) - at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) - at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) - at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) - at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) - at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) - at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) - at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) - at org.junit.runners.ParentRunner.run(ParentRunner.java:309) - at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252) - at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141) - at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:606) - at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189) - at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165) - at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85) - at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115) - at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75) - -testToXmlParse(org.ntnunotif.wsnu.base.net.XMLParserTest) Time elapsed: 0.017 sec <<< ERROR! -javax.xml.bind.JAXBException: Could not create XMLStream to read from - at org.ntnunotif.wsnu.base.net.XMLParser.parse(XMLParser.java:140) - at org.ntnunotif.wsnu.base.net.XMLParserTest.testToXmlParse(XMLParserTest.java:78) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:606) - at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) - at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) - at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44) - at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) - at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) - at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) - at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) - at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) - at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) - at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) - at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) - at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) - at org.junit.runners.ParentRunner.run(ParentRunner.java:309) - at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252) - at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141) - at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:606) - at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189) - at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165) - at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85) - at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115) - at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75) - -testSoapParsing(org.ntnunotif.wsnu.base.net.XMLParserTest) Time elapsed: 0.011 sec <<< ERROR! -javax.xml.bind.JAXBException: Could not create XMLStream to read from - at org.ntnunotif.wsnu.base.net.XMLParser.parse(XMLParser.java:140) - at org.ntnunotif.wsnu.base.net.XMLParserTest.testSoapParsing(XMLParserTest.java:67) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:606) - at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) - at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) - at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44) - at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) - at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) - at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) - at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) - at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) - at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) - at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) - at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) - at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) - at org.junit.runners.ParentRunner.run(ParentRunner.java:309) - at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252) - at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141) - at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:606) - at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189) - at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165) - at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85) - at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115) - at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75) - diff --git a/Base/target/surefire-reports/org.ntnunotif.wsnu.base.topics.FullEvaluatorSingleTopicTest.txt b/Base/target/surefire-reports/org.ntnunotif.wsnu.base.topics.FullEvaluatorSingleTopicTest.txt deleted file mode 100644 index e3c766c..0000000 --- a/Base/target/surefire-reports/org.ntnunotif.wsnu.base.topics.FullEvaluatorSingleTopicTest.txt +++ /dev/null @@ -1,4 +0,0 @@ -------------------------------------------------------------------------------- -Test set: org.ntnunotif.wsnu.base.topics.FullEvaluatorSingleTopicTest -------------------------------------------------------------------------------- -Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec diff --git a/Base/target/surefire-reports/org.ntnunotif.wsnu.base.topics.TopicUtilsTest.txt b/Base/target/surefire-reports/org.ntnunotif.wsnu.base.topics.TopicUtilsTest.txt deleted file mode 100644 index 77136db..0000000 --- a/Base/target/surefire-reports/org.ntnunotif.wsnu.base.topics.TopicUtilsTest.txt +++ /dev/null @@ -1,41 +0,0 @@ -------------------------------------------------------------------------------- -Test set: org.ntnunotif.wsnu.base.topics.TopicUtilsTest -------------------------------------------------------------------------------- -Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.001 sec <<< FAILURE! -testOutputOfQNameToTopicSet(org.ntnunotif.wsnu.base.topics.TopicUtilsTest) Time elapsed: 0 sec <<< ERROR! -java.io.FileNotFoundException: Base\testres\out_topic_utils_qnames_topic_set.xml (Systemet finner ikke angitt bane) - at java.io.FileOutputStream.open(Native Method) - at java.io.FileOutputStream.(FileOutputStream.java:221) - at java.io.FileOutputStream.(FileOutputStream.java:110) - at org.ntnunotif.wsnu.base.topics.TopicUtilsTest.testOutputOfQNameToTopicSet(TopicUtilsTest.java:114) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:606) - at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) - at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) - at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44) - at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) - at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) - at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) - at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) - at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) - at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) - at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) - at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) - at org.junit.runners.ParentRunner.run(ParentRunner.java:309) - at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252) - at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141) - at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:606) - at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189) - at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165) - at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85) - at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115) - at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75) - diff --git a/Base/target/surefire-reports/org.ntnunotif.wsnu.base.topics.TopicValidatorTest.txt b/Base/target/surefire-reports/org.ntnunotif.wsnu.base.topics.TopicValidatorTest.txt deleted file mode 100644 index ce058c9..0000000 --- a/Base/target/surefire-reports/org.ntnunotif.wsnu.base.topics.TopicValidatorTest.txt +++ /dev/null @@ -1,687 +0,0 @@ -------------------------------------------------------------------------------- -Test set: org.ntnunotif.wsnu.base.topics.TopicValidatorTest -------------------------------------------------------------------------------- -Tests run: 20, Failures: 0, Errors: 19, Skipped: 0, Time elapsed: 0.011 sec <<< FAILURE! -testConcreteIllegalCase(org.ntnunotif.wsnu.base.topics.TopicValidatorTest) Time elapsed: 0 sec <<< ERROR! -java.lang.Exception: Unexpected exception, expected but was - at org.junit.internal.runners.statements.ExpectException.evaluate(ExpectException.java:28) - at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) - at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) - at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) - at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) - at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) - at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) - at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) - at org.junit.runners.ParentRunner.run(ParentRunner.java:309) - at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252) - at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141) - at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:606) - at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189) - at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165) - at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85) - at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115) - at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75) -Caused by: java.lang.NullPointerException - at org.ntnunotif.wsnu.base.topics.TopicValidatorTest.testConcreteIllegalCase(TopicValidatorTest.java:188) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:606) - at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) - at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) - at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44) - at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) - at org.junit.internal.runners.statements.ExpectException.evaluate(ExpectException.java:19) - ... 22 more - -testIllegalExpressionDialectTopicExpression(org.ntnunotif.wsnu.base.topics.TopicValidatorTest) Time elapsed: 0 sec <<< ERROR! -java.lang.Exception: Unexpected exception, expected but was - at org.junit.internal.runners.statements.ExpectException.evaluate(ExpectException.java:28) - at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) - at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) - at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) - at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) - at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) - at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) - at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) - at org.junit.runners.ParentRunner.run(ParentRunner.java:309) - at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252) - at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141) - at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:606) - at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189) - at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165) - at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85) - at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115) - at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75) -Caused by: java.lang.NullPointerException - at org.ntnunotif.wsnu.base.topics.TopicValidatorTest.testIllegalExpressionDialectTopicExpression(TopicValidatorTest.java:361) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:606) - at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) - at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) - at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44) - at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) - at org.junit.internal.runners.statements.ExpectException.evaluate(ExpectException.java:19) - ... 22 more - -testFullLegalSingleCase(org.ntnunotif.wsnu.base.topics.TopicValidatorTest) Time elapsed: 0.001 sec <<< ERROR! -java.lang.NullPointerException - at org.ntnunotif.wsnu.base.topics.TopicValidatorTest.testFullLegalSingleCase(TopicValidatorTest.java:196) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:606) - at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) - at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) - at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44) - at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) - at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) - at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) - at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) - at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) - at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) - at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) - at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) - at org.junit.runners.ParentRunner.run(ParentRunner.java:309) - at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252) - at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141) - at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:606) - at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189) - at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165) - at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85) - at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115) - at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75) - -disassembleTopicSetToOutput(org.ntnunotif.wsnu.base.topics.TopicValidatorTest) Time elapsed: 0 sec <<< ERROR! -java.lang.NullPointerException - at org.ntnunotif.wsnu.base.topics.TopicValidatorTest.disassembleTopicSetToOutput(TopicValidatorTest.java:265) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:606) - at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) - at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) - at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44) - at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) - at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) - at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) - at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) - at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) - at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) - at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) - at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) - at org.junit.runners.ParentRunner.run(ParentRunner.java:309) - at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252) - at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141) - at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:606) - at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189) - at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165) - at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85) - at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115) - at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75) - -testFullIllegalCase(org.ntnunotif.wsnu.base.topics.TopicValidatorTest) Time elapsed: 0 sec <<< ERROR! -java.lang.Exception: Unexpected exception, expected but was - at org.junit.internal.runners.statements.ExpectException.evaluate(ExpectException.java:28) - at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) - at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) - at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) - at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) - at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) - at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) - at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) - at org.junit.runners.ParentRunner.run(ParentRunner.java:309) - at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252) - at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141) - at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:606) - at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189) - at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165) - at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85) - at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115) - at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75) -Caused by: java.lang.NullPointerException - at org.ntnunotif.wsnu.base.topics.TopicValidatorTest.testFullIllegalCase(TopicValidatorTest.java:212) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:606) - at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) - at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) - at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44) - at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) - at org.junit.internal.runners.statements.ExpectException.evaluate(ExpectException.java:19) - ... 22 more - -testExpressionsToQNameList(org.ntnunotif.wsnu.base.topics.TopicValidatorTest) Time elapsed: 0.001 sec <<< ERROR! -java.lang.NullPointerException - at org.ntnunotif.wsnu.base.topics.TopicValidatorTest.testExpressionsToQNameList(TopicValidatorTest.java:222) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:606) - at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) - at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) - at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44) - at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) - at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) - at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) - at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) - at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) - at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) - at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) - at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) - at org.junit.runners.ParentRunner.run(ParentRunner.java:309) - at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252) - at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141) - at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:606) - at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189) - at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165) - at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85) - at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115) - at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75) - -testGetIntersectionOne(org.ntnunotif.wsnu.base.topics.TopicValidatorTest) Time elapsed: 0 sec <<< ERROR! -java.lang.NullPointerException - at org.ntnunotif.wsnu.base.topics.TopicValidatorTest.testGetIntersectionOne(TopicValidatorTest.java:306) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:606) - at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) - at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) - at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44) - at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) - at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) - at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) - at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) - at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) - at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) - at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) - at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) - at org.junit.runners.ParentRunner.run(ParentRunner.java:309) - at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252) - at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141) - at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:606) - at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189) - at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165) - at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85) - at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115) - at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75) - -testGetIntersectionTwo(org.ntnunotif.wsnu.base.topics.TopicValidatorTest) Time elapsed: 0 sec <<< ERROR! -java.lang.NullPointerException - at org.ntnunotif.wsnu.base.topics.TopicValidatorTest.testGetIntersectionTwo(TopicValidatorTest.java:326) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:606) - at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) - at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) - at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44) - at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) - at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) - at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) - at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) - at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) - at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) - at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) - at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) - at org.junit.runners.ParentRunner.run(ParentRunner.java:309) - at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252) - at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141) - at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:606) - at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189) - at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165) - at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85) - at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115) - at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75) - -testEvaluateTopicWithExpressionLegal(org.ntnunotif.wsnu.base.topics.TopicValidatorTest) Time elapsed: 0.001 sec <<< ERROR! -java.lang.Exception: Unexpected exception, expected but was - at org.junit.internal.runners.statements.ExpectException.evaluate(ExpectException.java:28) - at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) - at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) - at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) - at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) - at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) - at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) - at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) - at org.junit.runners.ParentRunner.run(ParentRunner.java:309) - at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252) - at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141) - at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:606) - at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189) - at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165) - at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85) - at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115) - at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75) -Caused by: java.lang.NullPointerException - at org.ntnunotif.wsnu.base.topics.TopicValidatorTest.testEvaluateTopicWithExpressionLegal(TopicValidatorTest.java:367) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:606) - at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) - at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) - at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44) - at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) - at org.junit.internal.runners.statements.ExpectException.evaluate(ExpectException.java:19) - ... 22 more - -testSimpleIllegalCase(org.ntnunotif.wsnu.base.topics.TopicValidatorTest) Time elapsed: 0 sec <<< ERROR! -java.lang.Exception: Unexpected exception, expected but was - at org.junit.internal.runners.statements.ExpectException.evaluate(ExpectException.java:28) - at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) - at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) - at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) - at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) - at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) - at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) - at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) - at org.junit.runners.ParentRunner.run(ParentRunner.java:309) - at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252) - at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141) - at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:606) - at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189) - at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165) - at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85) - at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115) - at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75) -Caused by: java.lang.NullPointerException - at org.ntnunotif.wsnu.base.topics.TopicValidatorTest.testSimpleIllegalCase(TopicValidatorTest.java:172) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:606) - at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) - at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) - at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44) - at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) - at org.junit.internal.runners.statements.ExpectException.evaluate(ExpectException.java:19) - ... 22 more - -testIllegalExpressionDialectNamespace(org.ntnunotif.wsnu.base.topics.TopicValidatorTest) Time elapsed: 0 sec <<< ERROR! -java.lang.Exception: Unexpected exception, expected but was - at org.junit.internal.runners.statements.ExpectException.evaluate(ExpectException.java:28) - at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) - at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) - at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) - at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) - at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) - at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) - at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) - at org.junit.runners.ParentRunner.run(ParentRunner.java:309) - at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252) - at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141) - at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:606) - at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189) - at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165) - at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85) - at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115) - at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75) -Caused by: java.lang.NullPointerException - at org.ntnunotif.wsnu.base.topics.TopicValidator.isExpressionPermittedInNamespace(TopicValidator.java:63) - at org.ntnunotif.wsnu.base.topics.TopicValidatorTest.testIllegalExpressionDialectNamespace(TopicValidatorTest.java:351) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:606) - at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) - at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) - at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44) - at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) - at org.junit.internal.runners.statements.ExpectException.evaluate(ExpectException.java:19) - ... 22 more - -disassembleNamespaceContext(org.ntnunotif.wsnu.base.topics.TopicValidatorTest) Time elapsed: 0.001 sec <<< ERROR! -java.lang.NullPointerException - at org.ntnunotif.wsnu.base.topics.TopicValidatorTest.disassembleNamespaceContext(TopicValidatorTest.java:259) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:606) - at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) - at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) - at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44) - at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) - at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) - at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) - at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) - at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) - at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) - at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) - at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) - at org.junit.runners.ParentRunner.run(ParentRunner.java:309) - at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252) - at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141) - at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:606) - at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189) - at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165) - at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85) - at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115) - at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75) - -testEvaluateTopicWithExpressionIllegal(org.ntnunotif.wsnu.base.topics.TopicValidatorTest) Time elapsed: 0 sec <<< ERROR! -java.lang.Exception: Unexpected exception, expected but was - at org.junit.internal.runners.statements.ExpectException.evaluate(ExpectException.java:28) - at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) - at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) - at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) - at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) - at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) - at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) - at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) - at org.junit.runners.ParentRunner.run(ParentRunner.java:309) - at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252) - at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141) - at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:606) - at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189) - at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165) - at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85) - at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115) - at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75) -Caused by: java.lang.NullPointerException - at org.ntnunotif.wsnu.base.topics.TopicValidatorTest.testEvaluateTopicWithExpressionIllegal(TopicValidatorTest.java:373) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:606) - at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) - at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) - at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44) - at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) - at org.junit.internal.runners.statements.ExpectException.evaluate(ExpectException.java:19) - ... 22 more - -testFullLegalMultipleCase(org.ntnunotif.wsnu.base.topics.TopicValidatorTest) Time elapsed: 0 sec <<< ERROR! -java.lang.NullPointerException - at org.ntnunotif.wsnu.base.topics.TopicValidatorTest.testFullLegalMultipleCase(TopicValidatorTest.java:204) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:606) - at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) - at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) - at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44) - at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) - at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) - at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) - at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) - at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) - at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) - at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) - at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) - at org.junit.runners.ParentRunner.run(ParentRunner.java:309) - at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252) - at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141) - at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:606) - at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189) - at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165) - at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85) - at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115) - at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75) - -testSimpleLegalCase(org.ntnunotif.wsnu.base.topics.TopicValidatorTest) Time elapsed: 0 sec <<< ERROR! -java.lang.NullPointerException - at org.ntnunotif.wsnu.base.topics.TopicValidatorTest.testSimpleLegalCase(TopicValidatorTest.java:164) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:606) - at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) - at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) - at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44) - at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) - at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) - at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) - at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) - at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) - at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) - at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) - at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) - at org.junit.runners.ParentRunner.run(ParentRunner.java:309) - at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252) - at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141) - at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:606) - at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189) - at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165) - at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85) - at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115) - at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75) - -testIllegalExpressionDialectIntersection(org.ntnunotif.wsnu.base.topics.TopicValidatorTest) Time elapsed: 0 sec <<< ERROR! -java.lang.Exception: Unexpected exception, expected but was - at org.junit.internal.runners.statements.ExpectException.evaluate(ExpectException.java:28) - at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) - at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) - at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) - at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) - at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) - at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) - at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) - at org.junit.runners.ParentRunner.run(ParentRunner.java:309) - at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252) - at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141) - at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:606) - at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189) - at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165) - at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85) - at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115) - at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75) -Caused by: java.lang.NullPointerException - at org.ntnunotif.wsnu.base.topics.TopicValidatorTest.testIllegalExpressionDialectIntersection(TopicValidatorTest.java:356) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:606) - at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) - at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) - at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44) - at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) - at org.junit.internal.runners.statements.ExpectException.evaluate(ExpectException.java:19) - ... 22 more - -testGetIntersectionNull(org.ntnunotif.wsnu.base.topics.TopicValidatorTest) Time elapsed: 0 sec <<< ERROR! -java.lang.NullPointerException - at org.ntnunotif.wsnu.base.topics.TopicValidatorTest.testGetIntersectionNull(TopicValidatorTest.java:300) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:606) - at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) - at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) - at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44) - at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) - at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) - at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) - at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) - at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) - at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) - at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) - at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) - at org.junit.runners.ParentRunner.run(ParentRunner.java:309) - at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252) - at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141) - at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:606) - at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189) - at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165) - at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85) - at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115) - at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75) - -testExpressionsMultipleFull(org.ntnunotif.wsnu.base.topics.TopicValidatorTest) Time elapsed: 0 sec <<< ERROR! -java.lang.Exception: Unexpected exception, expected but was - at org.junit.internal.runners.statements.ExpectException.evaluate(ExpectException.java:28) - at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) - at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) - at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) - at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) - at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) - at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) - at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) - at org.junit.runners.ParentRunner.run(ParentRunner.java:309) - at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252) - at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141) - at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:606) - at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189) - at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165) - at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85) - at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115) - at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75) -Caused by: java.lang.NullPointerException - at org.ntnunotif.wsnu.base.topics.TopicValidatorTest.testExpressionsMultipleFull(TopicValidatorTest.java:251) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:606) - at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) - at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) - at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44) - at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) - at org.junit.internal.runners.statements.ExpectException.evaluate(ExpectException.java:19) - ... 22 more - -testConcreteLegalCase(org.ntnunotif.wsnu.base.topics.TopicValidatorTest) Time elapsed: 0.001 sec <<< ERROR! -java.lang.NullPointerException - at org.ntnunotif.wsnu.base.topics.TopicValidatorTest.testConcreteLegalCase(TopicValidatorTest.java:180) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:606) - at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) - at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) - at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44) - at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) - at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70) - at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) - at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) - at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) - at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) - at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) - at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) - at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) - at org.junit.runners.ParentRunner.run(ParentRunner.java:309) - at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252) - at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141) - at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:606) - at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189) - at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165) - at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85) - at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115) - at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75) - diff --git a/Base/target/surefire-reports/org.ntnunotif.wsnu.base.topics.XPathEvaluatorIntersectionTest.txt b/Base/target/surefire-reports/org.ntnunotif.wsnu.base.topics.XPathEvaluatorIntersectionTest.txt deleted file mode 100644 index f7bca36..0000000 --- a/Base/target/surefire-reports/org.ntnunotif.wsnu.base.topics.XPathEvaluatorIntersectionTest.txt +++ /dev/null @@ -1,4 +0,0 @@ -------------------------------------------------------------------------------- -Test set: org.ntnunotif.wsnu.base.topics.XPathEvaluatorIntersectionTest -------------------------------------------------------------------------------- -Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec diff --git a/Base/target/surefire-reports/org.ntnunotif.wsnu.base.util.UtilitiesTest.txt b/Base/target/surefire-reports/org.ntnunotif.wsnu.base.util.UtilitiesTest.txt deleted file mode 100644 index ef22e34..0000000 --- a/Base/target/surefire-reports/org.ntnunotif.wsnu.base.util.UtilitiesTest.txt +++ /dev/null @@ -1,4 +0,0 @@ -------------------------------------------------------------------------------- -Test set: org.ntnunotif.wsnu.base.util.UtilitiesTest -------------------------------------------------------------------------------- -Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec diff --git a/IntegrationTesting/target/test-classes/server_test_notify.xml b/IntegrationTesting/target/test-classes/server_test_notify.xml deleted file mode 100644 index 012a3c4..0000000 --- a/IntegrationTesting/target/test-classes/server_test_notify.xml +++ /dev/null @@ -1,20 +0,0 @@ - - - - - - - - Hello - - - - - diff --git a/IntegrationTesting/target/test-classes/server_test_soap.xml b/IntegrationTesting/target/test-classes/server_test_soap.xml deleted file mode 100644 index d06d29c..0000000 --- a/IntegrationTesting/target/test-classes/server_test_soap.xml +++ /dev/null @@ -1,14 +0,0 @@ - - - - - - IBM - - - - diff --git a/IntegrationTesting/target/test-classes/server_test_unsubscribe.xml b/IntegrationTesting/target/test-classes/server_test_unsubscribe.xml deleted file mode 100644 index 05e9db0..0000000 --- a/IntegrationTesting/target/test-classes/server_test_unsubscribe.xml +++ /dev/null @@ -1,16 +0,0 @@ - - - - http://docs.oasis-open.org/wsn/bw-2/SubscriptionManager/UnsubscribeRequest - - - - - - \ No newline at end of file diff --git a/Services/target/test-classes/TestNotifyOne.xml b/Services/target/test-classes/TestNotifyOne.xml deleted file mode 100644 index 54b23da..0000000 --- a/Services/target/test-classes/TestNotifyOne.xml +++ /dev/null @@ -1 +0,0 @@ -TormodHaugland.com \ No newline at end of file diff --git a/Services/target/test-classes/TestNotifyTwo.xml b/Services/target/test-classes/TestNotifyTwo.xml deleted file mode 100644 index 4c8d3b6..0000000 --- a/Services/target/test-classes/TestNotifyTwo.xml +++ /dev/null @@ -1 +0,0 @@ -TormodHaugland.comTormodHaugland.com \ No newline at end of file diff --git a/Services/target/test-classes/filter_test_filter_collection.xml b/Services/target/test-classes/filter_test_filter_collection.xml deleted file mode 100644 index a09f749..0000000 --- a/Services/target/test-classes/filter_test_filter_collection.xml +++ /dev/null @@ -1,79 +0,0 @@ - - - - - - test:root1 - - - test:root2 - - - test:root3 - - - - - test:root1/ask - - - test:root2/test:reply - - - test:root3 - - - - - //* - - - //ask//. - - - //non-existent//* - - - - - //*[@wstop:topic="true"] - - - //test:root2//*[@wstop:topic="true"] - - - //*[@wstop:topic="false"] - - - - - - - "a"="a" - - - "b"="a" - - - (count(//test3:*)>0) - - - (count(//test2:hello)!=0) - - - - fn:true() - gibberish - - test:root1/ask - - gibberish - - gibberish - - \ No newline at end of file diff --git a/Services/target/test-classes/filter_test_large_notify.xml b/Services/target/test-classes/filter_test_large_notify.xml deleted file mode 100644 index 922a91e..0000000 --- a/Services/target/test-classes/filter_test_large_notify.xml +++ /dev/null @@ -1,90 +0,0 @@ - - - - - - World - - - - - - test:root1 - - WorldHow are you? - - - - test:root2 - - Worldfine - - - - - - test:root1/ask - - WorldHow are you? - - - - test:root2/test:reply - - Worldfine - - - - - - test:root1/ask - - WorldHow are you? - - - - test:root2/test:reply - - Worldfine - - - - - - test:root1/ask - - WorldHow are you? - - - - test:root2/test:reply - - Worldfine - - - - - - - World - - - - - - World - test:World - - - - - - World - - - - diff --git a/Services/target/test-classes/server_test_notify.xml b/Services/target/test-classes/server_test_notify.xml deleted file mode 100644 index db8fb85..0000000 --- a/Services/target/test-classes/server_test_notify.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - Dette er en melding - - - - \ No newline at end of file diff --git a/Services/target/test-classes/server_test_renew.xml b/Services/target/test-classes/server_test_renew.xml deleted file mode 100644 index c33ad71..0000000 --- a/Services/target/test-classes/server_test_renew.xml +++ /dev/null @@ -1,18 +0,0 @@ - - - - http://docs.oasis-open.org/wsn/bw-2/SubscriptionManager/RenewRequest - - - - - P1D - - - \ No newline at end of file diff --git a/Services/target/test-classes/server_test_subscribe.xml b/Services/target/test-classes/server_test_subscribe.xml deleted file mode 100644 index c4eed83..0000000 --- a/Services/target/test-classes/server_test_subscribe.xml +++ /dev/null @@ -1,34 +0,0 @@ - - - - - http://docs.oasis-open.org/wsn/bw-2/NotificationProducer/SubscribeRequest - - - - - - - http://tormodhaugland.com - - - - - npex:SomeTopic - - - boolean(ncex:Producer="15") - - - - 2005-12-25T00:00:00.00000Z - - - - \ No newline at end of file diff --git a/Services/target/test-classes/server_test_unsubscribe.xml b/Services/target/test-classes/server_test_unsubscribe.xml deleted file mode 100644 index 05e9db0..0000000 --- a/Services/target/test-classes/server_test_unsubscribe.xml +++ /dev/null @@ -1,16 +0,0 @@ - - - - http://docs.oasis-open.org/wsn/bw-2/SubscriptionManager/UnsubscribeRequest - - - - - - \ No newline at end of file