Remove Code from cadi, it is now in authz
[aaf/cadi.git] / cass / src / test / java / org / onap / aaf / cass / JU_AAFAuthorizerTest.java
diff --git a/cass/src/test/java/org/onap/aaf/cass/JU_AAFAuthorizerTest.java b/cass/src/test/java/org/onap/aaf/cass/JU_AAFAuthorizerTest.java
deleted file mode 100644 (file)
index 4e2f0a3..0000000
+++ /dev/null
@@ -1,378 +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.cass;\r
-\r
-import static org.junit.Assert.*;\r
-\r
-import org.junit.Test;\r
-\r
-import org.junit.After;\r
-import org.junit.Before;\r
-import org.junit.Test;\r
-import static org.junit.Assert.*;\r
-\r
-public class JU_AAFAuthorizerTest\r
-{\r
-       \r
-\r
-       @Before\r
-       public void setUp()\r
-       {\r
-               \r
-       }\r
-\r
-       @After\r
-       public void tearDown()\r
-       {\r
-               \r
-       }\r
-\r
-       /*\r
-        * Testing Conditon(s): if: (user instanceof AAFAuthenticatedUser), if: (aafUser.isLocal())\r
-        */\r
-       @Test\r
-       public void test_method_authorize_0_branch_0()\r
-       {\r
-               System.out.println("Now Testing Method:authorize Branch:0");\r
-               \r
-       \r
-               \r
-       }\r
-\r
-       /*\r
-        * Testing Conditon(s): if: (user instanceof AAFAuthenticatedUser), else: Not (aafUser.isLocal())\r
-        */\r
-       @Test\r
-       public void test_method_authorize_0_branch_1()\r
-       {\r
-               System.out.println("Now Testing Method:authorize Branch:1");\r
-               \r
-               \r
-       }\r
-\r
-       /*\r
-        * Testing Conditon(s): else: Not (user instanceof AAFAuthenticatedUser)\r
-        */\r
-       @Test\r
-       public void test_method_authorize_0_branch_2()\r
-       {\r
-               System.out.println("Now Testing Method:authorize Branch:2");\r
-               \r
-       \r
-       }\r
-\r
-       /*\r
-        * Testing Conditon(s): Default\r
-        */\r
-       @Test\r
-       public void test_method_PermHolder_1_branch_0()\r
-       {\r
-               System.out.println("Now Testing Method:PermHolder Branch:0");\r
-               \r
-               \r
-       }\r
-\r
-       /*\r
-        * Testing Conditon(s): Default\r
-        */\r
-       @Test\r
-       public void test_method_PermHolder_2_branch_0()\r
-       {\r
-               System.out.println("Now Testing Method:PermHolder Branch:0");\r
-               \r
-               \r
-               \r
-       }\r
-\r
-       /*\r
-        * Testing Conditon(s): if: (permissions==Permission.NONE)\r
-        */\r
-       @Test\r
-       public void test_method_mutable_3_branch_0()\r
-       {\r
-               System.out.println("Now Testing Method:mutable Branch:0");\r
-               \r
-       \r
-               \r
-       }\r
-\r
-       /*\r
-        * Testing Conditon(s): else: Not (permissions==Permission.NONE)\r
-        */\r
-       @Test\r
-       public void test_method_mutable_3_branch_1()\r
-       {\r
-               System.out.println("Now Testing Method:mutable Branch:1");\r
-               \r
-               \r
-       }\r
-\r
-       /*\r
-        * Testing Conditon(s): Default\r
-        */\r
-       @Test\r
-       public void test_method_mutable_4_branch_0()\r
-       {\r
-               System.out.println("Now Testing Method:mutable Branch:0");\r
-               \r
-               \r
-               \r
-       }\r
-\r
-       /*\r
-        * Testing Conditon(s): Default\r
-        */\r
-       @Test\r
-       public void test_method_mutable_5_branch_0()\r
-       {\r
-               System.out.println("Now Testing Method:mutable Branch:0");\r
-               \r
-               \r
-               \r
-       }\r
-\r
-       /*\r
-        * Testing Conditon(s): Default\r
-        */\r
-       @Test\r
-       public void test_method_getName_6_branch_0()\r
-       {\r
-               System.out.println("Now Testing Method:getName Branch:0");\r
-               \r
-               \r
-               \r
-       }\r
-\r
-       /*\r
-        * Testing Conditon(s): Default\r
-        */\r
-       @Test\r
-       public void test_method_exec_7_branch_0()\r
-       {\r
-               System.out.println("Now Testing Method:exec Branch:0");\r
-               \r
-               \r
-               \r
-       }\r
-\r
-       /*\r
-        * Testing Conditon(s): Default\r
-        */\r
-       @Test\r
-       public void test_method_getName_8_branch_0()\r
-       {\r
-               System.out.println("Now Testing Method:getName Branch:0");\r
-               \r
-               \r
-               \r
-       }\r
-\r
-       /*\r
-        * Testing Conditon(s): Default\r
-        */\r
-       @Test\r
-       public void test_method_exec_9_branch_0()\r
-       {\r
-               System.out.println("Now Testing Method:exec Branch:0");\r
-               \r
-               \r
-               \r
-       }\r
-\r
-       /*\r
-        * Testing Conditon(s): Default\r
-        */\r
-       @Test\r
-       public void test_method_getName_10_branch_0()\r
-       {\r
-               System.out.println("Now Testing Method:getName Branch:0");\r
-               \r
-               \r
-               \r
-       }\r
-\r
-       /*\r
-        * Testing Conditon(s): Default\r
-        */\r
-       @Test\r
-       public void test_method_exec_11_branch_0()\r
-       {\r
-               System.out.println("Now Testing Method:exec Branch:0");\r
-               \r
-       \r
-               \r
-       }\r
-\r
-       /*\r
-        * Testing Conditon(s): Default\r
-        */\r
-       @Test\r
-       public void test_method_getName_12_branch_0()\r
-       {\r
-               System.out.println("Now Testing Method:getName Branch:0");\r
-               \r
-       \r
-               \r
-       }\r
-\r
-       /*\r
-        * Testing Conditon(s): Default\r
-        */\r
-       @Test\r
-       public void test_method_exec_13_branch_0()\r
-       {\r
-               System.out.println("Now Testing Method:exec Branch:0");\r
-               \r
-               \r
-       }\r
-\r
-       /*\r
-        * Testing Conditon(s): Default\r
-        */\r
-       @Test\r
-       public void test_method_getName_14_branch_0()\r
-       {\r
-               System.out.println("Now Testing Method:getName Branch:0");\r
-               \r
-       \r
-               \r
-       }\r
-\r
-       /*\r
-        * Testing Conditon(s): Default\r
-        */\r
-       @Test\r
-       public void test_method_exec_15_branch_0()\r
-       {\r
-               System.out.println("Now Testing Method:exec Branch:0");\r
-       \r
-               \r
-       }\r
-\r
-       /*\r
-        * Testing Conditon(s): Default\r
-        */\r
-       @Test\r
-       public void test_method_getName_16_branch_0()\r
-       {\r
-               System.out.println("Now Testing Method:getName Branch:0");\r
-       \r
-               \r
-       }\r
-\r
-       /*\r
-        * Testing Conditon(s): Default\r
-        */\r
-       @Test\r
-       public void test_method_exec_17_branch_0()\r
-       {\r
-               System.out.println("Now Testing Method:exec Branch:0");\r
-               \r
-               \r
-               \r
-       }\r
-\r
-       /*\r
-        * Testing Conditon(s): Default\r
-        */\r
-       @Test\r
-       public void test_method_getName_18_branch_0()\r
-       {\r
-               System.out.println("Now Testing Method:getName Branch:0");\r
-               \r
-               //Constructor\r
-               \r
-       }\r
-\r
-       /*\r
-        * Testing Conditon(s): Default\r
-        */\r
-       @Test\r
-       public void test_method_exec_19_branch_0()\r
-       {\r
-               System.out.println("Now Testing Method:exec Branch:0");\r
-               \r
-       \r
-               \r
-       }\r
-\r
-       /*\r
-        * Testing Conditon(s): Default\r
-        */\r
-       @Test\r
-       public void test_method_grant_20_branch_0()\r
-       {\r
-               System.out.println("Now Testing Method:grant Branch:0");\r
-               \r
-       \r
-       }\r
-\r
-       /*\r
-        * Testing Conditon(s): Default\r
-        */\r
-       @Test\r
-       public void test_method_revoke_21_branch_0()\r
-       {\r
-               System.out.println("Now Testing Method:revoke Branch:0");\r
-               \r
-               \r
-               \r
-       }\r
-\r
-       /*\r
-        * Testing Conditon(s): Default\r
-        */\r
-       @Test\r
-       public void test_method_list_22_branch_0()\r
-       {\r
-               System.out.println("Now Testing Method:list Branch:0");\r
-               \r
-       \r
-               \r
-       }\r
-\r
-       /*\r
-        * Testing Conditon(s): Default\r
-        */\r
-       @Test\r
-       public void test_method_revokeAll_23_branch_0()\r
-       {\r
-               System.out.println("Now Testing Method:revokeAll Branch:0");\r
-               \r
-               \r
-               \r
-       }\r
-\r
-       /*\r
-        * Testing Conditon(s): Default\r
-        */\r
-       @Test\r
-       public void test_method_revokeAll_24_branch_0()\r
-       {\r
-               System.out.println("Now Testing Method:revokeAll Branch:0");\r
-               \r
-               \r
-               \r
-       }\r
-\r
-}\r