Class EclassSemanticIdResolverTest
- java.lang.Object
-
- test.de.iip_ecosphere.platform.support.semanticId.eclass.EclassSemanticIdResolverTest
-
public class EclassSemanticIdResolverTest extends java.lang.ObjectTestsEclassSemanticIdResolver.- Author:
- Holger Eichelberger, SSE
-
-
Field Summary
Fields Modifier and Type Field Description private static java.lang.StringIRDI_UNIT_DEGREES_CELSIUS
-
Constructor Summary
Constructors Constructor Description EclassSemanticIdResolverTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private voidassertNaming(de.iip_ecosphere.platform.support.semanticId.eclass.model.TranslatableLabel label, java.util.Map<java.lang.String,de.iip_ecosphere.platform.support.semanticId.DefaultSemanticIdResolutionResult.DefaultNaming> naming, java.util.function.Function<de.iip_ecosphere.platform.support.semanticId.DefaultSemanticIdResolutionResult.DefaultNaming,java.lang.String> namingGetter)Asserts a naming structure forlabel.voidtestInstance()Instance creation operations.voidtestResolution()Tests the resolution.
-
-
-
Field Detail
-
IRDI_UNIT_DEGREES_CELSIUS
private static final java.lang.String IRDI_UNIT_DEGREES_CELSIUS
- See Also:
- Constant Field Values
-
-
Method Detail
-
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, java.util.Map<java.lang.String,de.iip_ecosphere.platform.support.semanticId.DefaultSemanticIdResolutionResult.DefaultNaming> naming, java.util.function.Function<de.iip_ecosphere.platform.support.semanticId.DefaultSemanticIdResolutionResult.DefaultNaming,java.lang.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
-
-