summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--heat-client/pom.xml6
-rw-r--r--heat-client/src/test/java/com/woorea/openstack/heat/HeatTest.java34
2 files changed, 40 insertions, 0 deletions
diff --git a/heat-client/pom.xml b/heat-client/pom.xml
index f68dbfc..c151841 100644
--- a/heat-client/pom.xml
+++ b/heat-client/pom.xml
@@ -21,6 +21,12 @@
<artifactId>heat-model</artifactId>
<version>1.2.0-SNAPSHOT</version>
</dependency>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <version>4.12</version>
+ <scope>test</scope>
+ </dependency>
</dependencies>
</project> \ No newline at end of file
diff --git a/heat-client/src/test/java/com/woorea/openstack/heat/HeatTest.java b/heat-client/src/test/java/com/woorea/openstack/heat/HeatTest.java
new file mode 100644
index 0000000..e2138da
--- /dev/null
+++ b/heat-client/src/test/java/com/woorea/openstack/heat/HeatTest.java
@@ -0,0 +1,34 @@
+/*-
+ * ============LICENSE_START=======================================================
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ============LICENSE_END=========================================================
+ */
+package com.woorea.openstack.heat;
+
+import org.junit.Test;
+
+public class HeatTest {
+
+ Heat heat = new Heat("heat");
+
+ @Test
+ public void getStacks() throws Exception {
+ heat.getStacks();
+ }
+
+ @Test
+ public void getResources() throws Exception {
+ heat.getResources();
+ }
+
+} \ No newline at end of file