Merge "AAFcli.java -Declare "value" on a separate line"
[aaf/authz.git] / auth / auth-cmd / src / test / java / org / onap / aaf / auth / cmd / test / JU_DeprecatedCMD.java
index 02a9e26..c6dcc14 100644 (file)
@@ -7,9 +7,9 @@
  * * 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.
@@ -47,32 +47,32 @@ import org.junit.Test;
 
 public class JU_DeprecatedCMD {
 
-       CmdStub cmd;
-       AAFcli cli;
-       
-       private class CmdStub extends Cmd {
+    CmdStub cmd;
+    AAFcli cli;
+
+    private class CmdStub extends Cmd {
+
+        public CmdStub(AAFcli aafcli, String name, Param[] params) {
+            super(aafcli, name, params);
+            // TODO Auto-generated constructor stub
+        }
+
+        @Override
+        protected int _exec(int idx, String... args) throws CadiException, APIException, LocatorException {
+            // TODO Auto-generated method stub
+            return 0;
+        }
+
+    }
 
-               public CmdStub(AAFcli aafcli, String name, Param[] params) {
-                       super(aafcli, name, params);
-                       // TODO Auto-generated constructor stub
-               }
+    @Test
+    public void testExec() throws CadiException, APIException, LocatorException, GeneralSecurityException, IOException {
+        cli = JU_AAFCli.getAAfCli();
+        Param[] param = new Param[] {new Param("name",true)};
 
-               @Override
-               protected int _exec(int idx, String... args) throws CadiException, APIException, LocatorException {
-                       // TODO Auto-generated method stub
-                       return 0;
-               }
-               
-       }
-       
-       @Test
-       public void testExec() throws CadiException, APIException, LocatorException, GeneralSecurityException, IOException {
-               cli = JU_AAFCli.getAAfCli();
-               Param[] param = new Param[] {new Param("name",true)};
-               
-               cmd = new CmdStub(cli,"test", param);
-               DeprecatedCMD deprecatedcmd = new DeprecatedCMD(cmd,"test", "test");
-               deprecatedcmd._exec(0, "test");
-       }
+        cmd = new CmdStub(cli,"test", param);
+        DeprecatedCMD deprecatedcmd = new DeprecatedCMD(cmd,"test", "test");
+        deprecatedcmd._exec(0, "test");
+    }
 
 }