aboutsummaryrefslogtreecommitdiff
path: root/bamboo-specs/src/test/java
diff options
context:
space:
mode:
authorgabrielgio <gabriel.giovanini@pm.me>2020-07-22 15:40:31 +0200
committergabrielgio <gabriel.giovanini@pm.me>2020-07-22 15:40:31 +0200
commitd21bba62984a70c737632c7ca217c4e6bd5ab388 (patch)
tree4060d1923a9116c68b471172a421b5c4b35caf97 /bamboo-specs/src/test/java
parent25a14696757491e3173160fff8fd1e9b0c503c61 (diff)
downloadgenpass-d21bba62984a70c737632c7ca217c4e6bd5ab388.tar.gz
genpass-d21bba62984a70c737632c7ca217c4e6bd5ab388.tar.bz2
genpass-d21bba62984a70c737632c7ca217c4e6bd5ab388.zip
Adds bamboo specs
Diffstat (limited to 'bamboo-specs/src/test/java')
-rw-r--r--bamboo-specs/src/test/java/tutorial/PlanSpecTest.java15
1 files changed, 15 insertions, 0 deletions
diff --git a/bamboo-specs/src/test/java/tutorial/PlanSpecTest.java b/bamboo-specs/src/test/java/tutorial/PlanSpecTest.java
new file mode 100644
index 0000000..0c05f55
--- /dev/null
+++ b/bamboo-specs/src/test/java/tutorial/PlanSpecTest.java
@@ -0,0 +1,15 @@
+package tutorial;
+
+import com.atlassian.bamboo.specs.api.builders.plan.Plan;
+import com.atlassian.bamboo.specs.api.exceptions.PropertiesValidationException;
+import com.atlassian.bamboo.specs.api.util.EntityPropertiesBuilders;
+import org.junit.Test;
+
+public class PlanSpecTest {
+ @Test
+ public void checkYourPlanOffline() throws PropertiesValidationException {
+ Plan plan = new PlanSpec().createPlan();
+
+ EntityPropertiesBuilders.build(plan);
+ }
+}