Remove Code from cadi, it is now in authz
[aaf/cadi.git] / core / src / test / java / org / onap / aaf / cadi / JU_CadiExceptionTest.java
diff --git a/core/src/test/java/org/onap/aaf/cadi/JU_CadiExceptionTest.java b/core/src/test/java/org/onap/aaf/cadi/JU_CadiExceptionTest.java
deleted file mode 100644 (file)
index 2eae209..0000000
+++ /dev/null
@@ -1,125 +0,0 @@
-/*******************************************************************************\r
- * ============LICENSE_START====================================================\r
- * * org.onap.aaf\r
- * * ===========================================================================\r
- * * Copyright © 2017 AT&T Intellectual Property. All rights reserved.\r
- * * ===========================================================================\r
- * * Licensed under the Apache License, Version 2.0 (the "License");\r
- * * you may not use this file except in compliance with the License.\r
- * * You may obtain a copy of the License at\r
- * * \r
- *  *      http://www.apache.org/licenses/LICENSE-2.0\r
- * * \r
- *  * Unless required by applicable law or agreed to in writing, software\r
- * * distributed under the License is distributed on an "AS IS" BASIS,\r
- * * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- * * See the License for the specific language governing permissions and\r
- * * limitations under the License.\r
- * * ============LICENSE_END====================================================\r
- * *\r
- * * ECOMP is a trademark and service mark of AT&T Intellectual Property.\r
- * *\r
- ******************************************************************************/\r
-package org.onap.aaf.cadi;\r
-\r
-import static org.junit.Assert.*;\r
-\r
-import org.junit.Test;\r
-\r
-import static org.hamcrest.CoreMatchers.is;\r
-import static org.junit.Assert.*;\r
-\r
-import org.junit.Test;\r
-\r
-public class JU_CadiExceptionTest {\r
-\r
-       @Test\r
-       public void testCadiException() {\r
-               CadiException exception = new CadiException();\r
-               \r
-               assertNotNull(exception);\r
-       }\r
-\r
-       @Test\r
-       public void testCadiExceptionString() {\r
-               CadiException exception = new CadiException("New Exception");\r
-               assertNotNull(exception);\r
-               assertThat(exception.getMessage(), is("New Exception"));\r
-       }\r
-\r
-       @Test\r
-       public void testCadiExceptionThrowable() {\r
-               CadiException exception = new CadiException(new Throwable("New Exception"));\r
-               assertNotNull(exception);\r
-               assertThat(exception.getMessage(), is("java.lang.Throwable: New Exception"));\r
-       }\r
-\r
-       @Test\r
-       public void testCadiExceptionStringThrowable() {\r
-               CadiException exception = new CadiException("New Exception",new Throwable("New Exception"));\r
-               assertNotNull(exception);\r
-               assertThat(exception.getMessage(), is("New Exception"));\r
-\r
-       }\r
-       \r
-       @Test\r
-       public void testCadiException1() {\r
-               CadiException exception = new CadiException();\r
-               \r
-               assertNotNull(exception);\r
-       }\r
-\r
-       @Test\r
-       public void testCadiExceptionString1() {\r
-               CadiException exception = new CadiException("New Exception");\r
-               assertNotNull(exception);\r
-               assertThat(exception.getMessage(), is("New Exception"));\r
-       }\r
-\r
-       @Test\r
-       public void testCadiExceptionThrowable1() {\r
-               CadiException exception = new CadiException(new Throwable("New Exception"));\r
-               assertNotNull(exception);\r
-               assertThat(exception.getMessage(), is("java.lang.Throwable: New Exception"));\r
-       }\r
-\r
-       @Test\r
-       public void testCadiExceptionStringThrowable1() {\r
-               CadiException exception = new CadiException("New Exception",new Throwable("New Exception"));\r
-               assertNotNull(exception);\r
-               assertThat(exception.getMessage(), is("New Exception"));\r
-\r
-       }\r
-       \r
-       @Test\r
-       public void testCadiException2() {\r
-               CadiException exception = new CadiException();\r
-               \r
-               assertNotNull(exception);\r
-       }\r
-\r
-       @Test\r
-       public void testCadiExceptionString2() {\r
-               CadiException exception = new CadiException("New Exception");\r
-               assertNotNull(exception);\r
-               assertThat(exception.getMessage(), is("New Exception"));\r
-       }\r
-\r
-       @Test\r
-       public void testCadiExceptionThrowable2() {\r
-               CadiException exception = new CadiException(new Throwable("New Exception"));\r
-               assertNotNull(exception);\r
-               assertThat(exception.getMessage(), is("java.lang.Throwable: New Exception"));\r
-       }\r
-\r
-       @Test\r
-       public void testCadiExceptionStringThrowable2() {\r
-               CadiException exception = new CadiException("New Exception",new Throwable("New Exception"));\r
-               assertNotNull(exception);\r
-               assertThat(exception.getMessage(), is("New Exception"));\r
-\r
-       }\r
-\r
-\r
-\r
-}\r