Package io.openems.edge.common.test
Class ComponentTest
java.lang.Object
io.openems.edge.common.test.AbstractComponentTest<ComponentTest,OpenemsComponent>
io.openems.edge.common.test.ComponentTest
Provides a generic test framework for OpenEMS Components.
See AbstractComponentTest
for implementation details
-
Nested Class Summary
Nested classes/interfaces inherited from class io.openems.edge.common.test.AbstractComponentTest
AbstractComponentTest.ChannelValue, AbstractComponentTest.TestCase
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ComponentTest
self()
Gets an instance of the correct subclass of myself.Methods inherited from class io.openems.edge.common.test.AbstractComponentTest
activate, addComponent, addReference, getSut, handleEvent, next, onAfterControllers, onAfterProcessImage, onAfterWrite, onBeforeControllers, onBeforeProcessImage, onBeforeWrite, onExecuteControllers, onExecuteWrite
-
Constructor Details
-
ComponentTest
- Throws:
OpenemsException
-
-
Method Details
-
self
Description copied from class:AbstractComponentTest
Gets an instance of the correct subclass of myself.- Specified by:
self
in classAbstractComponentTest<ComponentTest,
OpenemsComponent> - Returns:
- myself
-