public abstract class AbstractWidgetDeclarationSpringTest extends Object
| Modifier and Type | Field and Description |
|---|---|
protected CockpitComponentDefinitionService |
cockpitComponentDefinitionService |
protected DefaultJSONMapper |
jsonMapper |
| Constructor and Description |
|---|
AbstractWidgetDeclarationSpringTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
assertThatObjectIsJsonSerializable(Object object,
String socketName) |
List<AbstractCockpitComponentDefinition> |
getAllComponentDefinitions() |
void |
prepareTestInstance() |
void |
socketInputsShouldBeSerializable()
Verifies if socket inputs declared in definition.xml files are serializable, what is required to work with
Angular.js framework properly.
|
void |
socketOutputsShouldBeSerializable()
Verifies if socket outputs declared in definition.xml files are serializable, what is required to work with
Angular.js framework properly.
|
void |
testForwardSocketEvents() |
void |
testInputSocketNameAndTypeCompatibility() |
void |
testSocketTypeExists() |
void |
testSocketUniqueness() |
void |
testWidgetController() |
protected DefaultJSONMapper jsonMapper
protected CockpitComponentDefinitionService cockpitComponentDefinitionService
public List<AbstractCockpitComponentDefinition> getAllComponentDefinitions()
public void prepareTestInstance()
public void testWidgetController()
public void testSocketUniqueness()
public void testSocketTypeExists()
public void testInputSocketNameAndTypeCompatibility()
throws ClassNotFoundException
ClassNotFoundExceptionpublic void testForwardSocketEvents()
public void socketInputsShouldBeSerializable()
public void socketOutputsShouldBeSerializable()
Copyright © 2018. All rights reserved.