mirror of
https://github.com/octoleo/plantuml.git
synced 2024-11-25 06:17:33 +00:00
Merge pull request #1655 from The-Lum/PatchBranch
fix: Restore missing file `HelpTest.java` on an accurate folder.
This commit is contained in:
commit
de6316ccac
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