mirror of
https://github.com/octoleo/plantuml.git
synced 2024-11-17 02:35:09 +00:00
55 lines
761 B
Java
55 lines
761 B
Java
|
package nonreg.simple;
|
||
|
|
||
|
import java.io.IOException;
|
||
|
|
||
|
import org.junit.jupiter.api.Test;
|
||
|
|
||
|
import nonreg.BasicTest;
|
||
|
|
||
|
/*
|
||
|
|
||
|
Test diagram MUST be put between triple quotes
|
||
|
|
||
|
"""
|
||
|
@startuml
|
||
|
title title
|
||
|
legend legend
|
||
|
footer footer
|
||
|
header header
|
||
|
caption caption
|
||
|
<style>
|
||
|
document {
|
||
|
BackGroundColor orange
|
||
|
}
|
||
|
title {
|
||
|
BackGroundColor yellow
|
||
|
}
|
||
|
legend {
|
||
|
BackGroundColor green
|
||
|
}
|
||
|
footer {
|
||
|
BackGroundColor blue
|
||
|
FontColor red
|
||
|
FontSize 15
|
||
|
}
|
||
|
header {
|
||
|
BackGroundColor red
|
||
|
}
|
||
|
caption {
|
||
|
BackGroundColor purple
|
||
|
}
|
||
|
</style>
|
||
|
Sally --> Bob
|
||
|
@enduml
|
||
|
"""
|
||
|
|
||
|
*/
|
||
|
public class A0006_Test extends BasicTest {
|
||
|
|
||
|
@Test
|
||
|
void testSimple() throws IOException {
|
||
|
checkImage("(2 participants)");
|
||
|
}
|
||
|
|
||
|
}
|