public class AasPartRegistryTest extends Object
AasPartRegistry, ActiveAasBase and SubmodelClient. Do not rename, this class is
referenced in META-INF/services.| Modifier and Type | Class and Description |
|---|---|
static class |
AasPartRegistryTest.Contributor1
A first contributor, mapped in via
META-INF/services. |
static class |
AasPartRegistryTest.Contributor2
A second contributor with own AAS, mapped in via
META-INF/services. |
private static class |
AasPartRegistryTest.MyAasClient
A simple submodel client.
|
static class |
AasPartRegistryTest.TestSetup
Configuration class for YAML test.
|
| Modifier and Type | Field and Description |
|---|---|
private static String |
NAME_MY_AAS |
| Constructor and Description |
|---|
AasPartRegistryTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
testAasClientChecks()
Tests the checks in
SubmodelClient. |
void |
testGet()
Tests the
AasPartRegistry.getAas(List, String) helper method. |
void |
testPartRegistry()
Tests the part registry.
|
void |
testSetup_aasPartRegistry_eph()
Tests a setup for
AasPartRegistry.AasSetup using the file "aasPartRegistry_eph.yml". |
void |
testSetup_aasPartRegistry()
Tests a setup with
AasPartRegistry.AasSetup using the file "aasPartRegistry.yml". |
private static final String NAME_MY_AAS
public void testPartRegistry()
throws IOException,
ExecutionException
IOException - shall not occurExecutionException - shall not occurpublic void testAasClientChecks()
SubmodelClient.public void testGet()
AasPartRegistry.getAas(List, String) helper method.public void testSetup_aasPartRegistry()
throws IOException
AasPartRegistry.AasSetup using the file "aasPartRegistry.yml".IOException - shall not occurpublic void testSetup_aasPartRegistry_eph()
throws IOException
AasPartRegistry.AasSetup using the file "aasPartRegistry_eph.yml".IOException - shall not occurCopyright © 2022. All rights reserved.