You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cxf.apache.org by GitBox <gi...@apache.org> on 2021/03/10 01:35:18 UTC
[GitHub] [cxf] reta commented on a change in pull request #755: CXF-8432
reta commented on a change in pull request #755:
URL: https://github.com/apache/cxf/pull/755#discussion_r590906387
##########
File path: core/src/test/java/org/apache/cxf/helpers/ServiceUtilsTest.java
##########
@@ -173,4 +171,23 @@ private void setupSchemaValidationValue(Object value, boolean isRequestor) {
control.replay();
}
-}
\ No newline at end of file
+
+ @Test
+ public void testMakeNamespaceFromClassName() {
+ String nameSpace = ServiceUtils.makeNamespaceFromClassName("Foo", "http");
+ assertEquals("http://DefaultNamespace", nameSpace);
+
+ nameSpace = ServiceUtils.makeNamespaceFromClassName(this.getClass().getName(), "http");
Review comment:
Better to split in 2 test cases I think
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org