aboutsummaryrefslogtreecommitdiffstats
path: root/common-app-api/src/test/java/org/openecomp/sdc/common/listener/AppContextListenerTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'common-app-api/src/test/java/org/openecomp/sdc/common/listener/AppContextListenerTest.java')
-rw-r--r--common-app-api/src/test/java/org/openecomp/sdc/common/listener/AppContextListenerTest.java42
1 files changed, 42 insertions, 0 deletions
diff --git a/common-app-api/src/test/java/org/openecomp/sdc/common/listener/AppContextListenerTest.java b/common-app-api/src/test/java/org/openecomp/sdc/common/listener/AppContextListenerTest.java
new file mode 100644
index 0000000000..298f6fe85d
--- /dev/null
+++ b/common-app-api/src/test/java/org/openecomp/sdc/common/listener/AppContextListenerTest.java
@@ -0,0 +1,42 @@
+package org.openecomp.sdc.common.listener;
+
+import java.util.Map;
+
+import javax.servlet.ServletContext;
+import javax.servlet.ServletContextEvent;
+
+import org.junit.Test;
+
+
+public class AppContextListenerTest {
+
+ private AppContextListener createTestSubject() {
+ return new AppContextListener();
+ }
+
+
+
+
+
+ @Test
+ public void testContextDestroyed() throws Exception {
+ AppContextListener testSubject;
+ ServletContextEvent context = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.contextDestroyed(context);
+ }
+
+
+
+
+// @Test
+ public void testGetManifestInfo() throws Exception {
+ ServletContext application = null;
+ Map<String, String> result;
+
+ // default test
+ result = AppContextListener.getManifestInfo(application);
+ }
+} \ No newline at end of file