generated from cuioss/cui-java-module-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
40 additions
and
3 deletions.
There are no files selected for viewing
21 changes: 21 additions & 0 deletions
21
...les/cui-jsf-api/src/test/java/de/cuioss/jsf/api/components/base/CuiComponentBaseTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
package de.cuioss.jsf.api.components.base; | ||
|
||
import static org.junit.jupiter.api.Assertions.assertEquals; | ||
import static org.junit.jupiter.api.Assertions.assertNotNull; | ||
import static org.junit.jupiter.api.Assertions.assertNull; | ||
|
||
import org.junit.jupiter.api.Test; | ||
|
||
import de.cuioss.test.jsf.component.AbstractComponentTest; | ||
|
||
class CuiComponentBaseTest extends AbstractComponentTest<CuiComponentBase> { | ||
|
||
@Test | ||
void shouldActAsBridge() { | ||
assertNotNull(anyComponent().facesContext()); | ||
assertNull(anyComponent().facet("notThere")); | ||
assertNotNull(anyComponent().stateHelper()); | ||
assertEquals(CuiComponentBase.COMPONENT_FAMILY, anyComponent().getFamily()); | ||
} | ||
|
||
} |
7 changes: 7 additions & 0 deletions
7
...jsf-dev/src/test/java/de/cuioss/jsf/dev/metadata/composite/CompositeComponentTagTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
package de.cuioss.jsf.dev.metadata.composite; | ||
|
||
import de.cuioss.test.jsf.component.AbstractComponentTest; | ||
|
||
class CompositeComponentTagTest extends AbstractComponentTest<CompositeComponentTag> { | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
modules/cui-jsf-jqplot/src/test/java/de/cuioss/jsf/jqplot/renderer/LabelRendererTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package de.cuioss.jsf.jqplot.renderer; | ||
|
||
import de.cuioss.test.valueobjects.junit5.contracts.ShouldBeSerializable; | ||
|
||
class LabelRendererTest implements ShouldBeSerializable<LabelRenderer> { | ||
|
||
@Override | ||
public LabelRenderer getUnderTest() { | ||
return new LabelRenderer(); | ||
} | ||
|
||
} |