Class EclassSemanticIdResolverTest
java.lang.Object
test.de.iip_ecosphere.platform.support.semanticId.eclass.EclassSemanticIdResolverTest
Tests
EclassSemanticIdResolver.- Author:
- Holger Eichelberger, SSE
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidassertNaming(de.iip_ecosphere.platform.support.semanticId.eclass.model.TranslatableLabel label, Map<String, de.iip_ecosphere.platform.support.semanticId.DefaultSemanticIdResolutionResult.DefaultNaming> naming, Function<de.iip_ecosphere.platform.support.semanticId.DefaultSemanticIdResolutionResult.DefaultNaming, String> namingGetter) Asserts a naming structure forlabel.voidInstance creation operations.voidTests the resolution.
-
Field Details
-
IRDI_UNIT_DEGREES_CELSIUS
- See Also:
-
-
Constructor Details
-
EclassSemanticIdResolverTest
public EclassSemanticIdResolverTest()
-
-
Method Details
-
testResolution
public void testResolution()Tests the resolution. Through the test in the resolver, we feed the resolver with structurally valid IRDIs. -
testInstance
public void testInstance()Instance creation operations. -
assertNaming
private void assertNaming(de.iip_ecosphere.platform.support.semanticId.eclass.model.TranslatableLabel label, Map<String, de.iip_ecosphere.platform.support.semanticId.DefaultSemanticIdResolutionResult.DefaultNaming> naming, Function<de.iip_ecosphere.platform.support.semanticId.DefaultSemanticIdResolutionResult.DefaultNaming, String> namingGetter) Asserts a naming structure forlabel.- Parameters:
label- the label to assert fornaming- the naming structurenamingGetter- a getter which values to assert onnamingwith respect to the values inlabel
-