mirror of
https://github.com/octoleo/plantuml.git
synced 2024-06-07 10:50:53 +00:00
e11d974ce5
Create `test` folder with: - `example` - `utils` And put all `net.sourceforge.plantuml.test` on `test.utils`. _[no other change]_
23 lines
492 B
Java
23 lines
492 B
Java
package test.example;
|
|
|
|
import static test.utils.PlantUmlTestUtils.exportDiagram;
|
|
import static org.assertj.core.api.Assertions.assertThat;
|
|
|
|
import org.junit.jupiter.api.Test;
|
|
|
|
class TestExample {
|
|
|
|
@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");
|
|
}
|
|
} |