mirror of
https://github.com/octoleo/plantuml.git
synced 2025-03-31 23:41:33 +00:00
Merge branch 'master' of https://github.com/plantuml/plantuml
This commit is contained in:
commit
7a200019e6
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…
x
Reference in New Issue
Block a user