aboutsummaryrefslogtreecommitdiffstats
path: root/auth/cli-editor/src/test/java/org/onap/policy/apex/auth/clieditor/CommandLineEditorOptionsTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'auth/cli-editor/src/test/java/org/onap/policy/apex/auth/clieditor/CommandLineEditorOptionsTest.java')
-rw-r--r--auth/cli-editor/src/test/java/org/onap/policy/apex/auth/clieditor/CommandLineEditorOptionsTest.java16
1 files changed, 8 insertions, 8 deletions
diff --git a/auth/cli-editor/src/test/java/org/onap/policy/apex/auth/clieditor/CommandLineEditorOptionsTest.java b/auth/cli-editor/src/test/java/org/onap/policy/apex/auth/clieditor/CommandLineEditorOptionsTest.java
index 227cb23f5..5e0501288 100644
--- a/auth/cli-editor/src/test/java/org/onap/policy/apex/auth/clieditor/CommandLineEditorOptionsTest.java
+++ b/auth/cli-editor/src/test/java/org/onap/policy/apex/auth/clieditor/CommandLineEditorOptionsTest.java
@@ -1,19 +1,20 @@
/*-
* ============LICENSE_START=======================================================
* Copyright (C) 2016-2018 Ericsson. All rights reserved.
+ * Modifications Copyright (C) 2019 Nordix Foundation.
* ================================================================================
* 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.
- *
+ *
* SPDX-License-Identifier: Apache-2.0
* ============LICENSE_END=========================================================
*/
@@ -28,7 +29,6 @@ import java.io.ByteArrayOutputStream;
import java.io.File;
import java.io.IOException;
import java.io.PrintStream;
-
import org.junit.Test;
import org.onap.policy.apex.model.basicmodel.handling.ApexModelException;
import org.onap.policy.apex.model.utilities.TextFileUtils;
@@ -67,7 +67,7 @@ public class CommandLineEditorOptionsTest {
final int modelCharCount = modelString.replaceAll("\\s+", "").length();
assertEquals(1204, logCharCount);
- assertEquals(2924, modelCharCount);
+ assertEquals(2561, modelCharCount);
tempLogFile.delete();
tempModelFile.delete();
@@ -164,7 +164,7 @@ public class CommandLineEditorOptionsTest {
final int modelCharCount = modelString.replaceAll("\\s+", "").length();
assertEquals(0, logCharCount);
- assertEquals(2924, modelCharCount);
+ assertEquals(2561, modelCharCount);
tempLogFile.delete();
tempModelFile.delete();
@@ -249,7 +249,7 @@ public class CommandLineEditorOptionsTest {
final int tempModelFileInCharCount = tempModelFileInString.replaceAll("\\s+", "").length();
assertEquals(1204, tempLogFileInCharCount);
- assertEquals(2924, tempModelFileInCharCount);
+ assertEquals(2561, tempModelFileInCharCount);
final String[] cliArgsOut = new String[] {"-i", tempModelFileIn.getAbsolutePath(), "-c",
"src/main/resources/examples/scripts/ShellPolicyModelAddSchema.apex", "-l",
@@ -267,7 +267,7 @@ public class CommandLineEditorOptionsTest {
final int tempModelFileOutCharCount = tempModelFileOutString.replaceAll("\\s+", "").length();
assertEquals(1154, tempLogFileOutCharCount);
- assertEquals(3356, tempModelFileOutCharCount);
+ assertEquals(2993, tempModelFileOutCharCount);
tempLogFileIn.delete();
tempModelFileIn.delete();