File tree Expand file tree Collapse file tree 1 file changed +0
-13
lines changed
core/esmf-aspect-model-urn/src/test/java/org/eclipse/esmf/aspectmodel/urn Expand file tree Collapse file tree 1 file changed +0
-13
lines changed Original file line number Diff line number Diff line change @@ -343,19 +343,6 @@ void validNamespaceTest() throws URISyntaxException {
343
343
assertThat ( elementUrnWithDash .getNamespaceMainPart () ).isEqualTo ( "org.eclipse.esmf-test" );
344
344
}
345
345
346
- @ Test
347
- void invalidNamespaceTest () throws URISyntaxException {
348
- final URI validNamespaceUrnUnderscore = new URI ( "urn:samm:com.bosch.nexeed.digitaltwin:aspect-model:Er?ors:1.1.0#TestAspect" );
349
- final AspectModelUrn elementUrnWithUnderscore = AspectModelUrn .fromUrn ( validNamespaceUrnUnderscore );
350
- assertThat ( elementUrnWithUnderscore .getNamespaceMainPart () ).isNotEmpty ();
351
- assertThat ( elementUrnWithUnderscore .getNamespaceMainPart () ).isEqualTo ( "org.eclipse.esmf_test" );
352
-
353
- final URI invalidNamespaceUrnDash = new URI ( "urn:samm:org.eclipse.esmf-test:0.0.1#TestAspect" );
354
- final AspectModelUrn elementUrnWithDash = AspectModelUrn .fromUrn ( invalidNamespaceUrnDash );
355
- assertThat ( elementUrnWithDash .getNamespaceMainPart () ).isNotEmpty ();
356
- assertThat ( elementUrnWithDash .getNamespaceMainPart () ).isEqualTo ( "org.eclipse.esmf-test" );
357
- }
358
-
359
346
@ Test
360
347
void invalidModelElementNameTest () throws URISyntaxException {
361
348
final URI invalidRootModelElementName = new URI ( sammBaseUri + "aspect-model:Er?ors:1.1.0#TestAspect" );
You can’t perform that action at this time.
0 commit comments