mirror of
https://github.com/octoleo/plantuml.git
synced 2024-12-22 19:09:03 +00:00
fix: Restore missing file HelpTest.java
on an accurate folder.
_Ref._: -9c62daa35d
-e739cd8f5d
This commit is contained in:
parent
dbb535473c
commit
e9139c8a38
23
test/testhelper/TestHelper.java
Normal file
23
test/testhelper/TestHelper.java
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
package testhelper;
|
||||||
|
|
||||||
|
import static net.sourceforge.plantuml.test.PlantUmlTestUtils.exportDiagram;
|
||||||
|
import static org.assertj.core.api.Assertions.assertThat;
|
||||||
|
|
||||||
|
import org.junit.jupiter.api.Test;
|
||||||
|
|
||||||
|
class TestHelper {
|
||||||
|
|
||||||
|
@Test
|
||||||
|
public void test_help_themes() throws Exception {
|
||||||
|
|
||||||
|
final String output = exportDiagram(
|
||||||
|
"@startuml",
|
||||||
|
"help themes",
|
||||||
|
"@enduml"
|
||||||
|
).asString();
|
||||||
|
|
||||||
|
assertThat(output)
|
||||||
|
.startsWith(" \nHelp on themes")
|
||||||
|
.contains("bluegray", "hacker");
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user