diff options
author | waqas.ikram <waqas.ikram@ericsson.com> | 2018-06-01 14:23:01 +0100 |
---|---|---|
committer | waqas.ikram <waqas.ikram@ericsson.com> | 2018-06-01 14:23:04 +0100 |
commit | 5722440b2eb8ff1923dda9d4d856f0adc1ac8e6f (patch) | |
tree | 5fb695630a8d4a2a3b111a5e3bfcacfba3dfc71d /auth/cli-editor/src/test/resources/compare/FileMacro_Compare.log | |
parent | fa529999c7d6e024cc3c4a478ef089a77e284974 (diff) |
Adding apex auth modules
Change-Id: Iec210465636458f0c104c99893440706279062f0
Issue-ID: POLICY-860
Signed-off-by: waqas.ikram <waqas.ikram@ericsson.com>
Diffstat (limited to 'auth/cli-editor/src/test/resources/compare/FileMacro_Compare.log')
-rw-r--r-- | auth/cli-editor/src/test/resources/compare/FileMacro_Compare.log | 77 |
1 files changed, 77 insertions, 0 deletions
diff --git a/auth/cli-editor/src/test/resources/compare/FileMacro_Compare.log b/auth/cli-editor/src/test/resources/compare/FileMacro_Compare.log new file mode 100644 index 000000000..fd1b4173f --- /dev/null +++ b/auth/cli-editor/src/test/resources/compare/FileMacro_Compare.log @@ -0,0 +1,77 @@ +/root>#------------------------------------------------------------------------------- +/root># ============LICENSE_START======================================================= +/root># Copyright (C) 2016-2018 Ericsson. All rights reserved. +/root># ================================================================================ +/root># Licensed under the Apache License, Version 2.0 (the "License"); +/root># you may not use this file except in compliance with the License. +/root># You may obtain a copy of the License at +/root># +/root># http://www.apache.org/licenses/LICENSE-2.0 +/root># +/root># Unless required by applicable law or agreed to in writing, software +/root># distributed under the License is distributed on an "AS IS" BASIS, +/root># WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +/root># See the License for the specific language governing permissions and +/root># limitations under the License. +/root># +/root># SPDX-License-Identifier: Apache-2.0 +/root># ============LICENSE_END========================================================= +/root>#------------------------------------------------------------------------------- +/root> +/root> model create name=MacroFileTest_PolicyModel +result: SUCCESS + +/root> schema create name=MacroFile_type1 flavour=Java schema=java.lang.String +result: SUCCESS + +/root> macro file name "src/test/resources/macros/MacroFile0.apexmacro" must exist and be quoted with double quotes "" +/root> macro file name "src/test/resources/macros/MacroFile0.apexmacro" must exist and be quoted with double quotes "" +/root> macro file name """ must exist and be quoted with double quotes "" +/root> macro file name ""src/test/resources/macros/MacroFile1.apexmacro" must exist and be quoted with double quotes "" +/root> schema create name=MacroFile_type2 flavour=Java schema=java.lang.String +result: SUCCESS + +/root> schema create name=MacroFile_type3 flavour=Java schema=java.lang.String +result: SUCCESS + +/root> schema create name=MacroFile_type4 flavour=Java schema=java.lang.String # This is a comment +result: SUCCESS + +/root> macro file name "" must exist and be quoted with double quotes "" +/root> macro file name "" must exist and be quoted with double quotes "" +/root> #MACROFILE +/root> MACROFILE: +first command word is not alphanumeric or is not a command: MACROFILE: +/root> file "src/test/resources/macros/MacroFileNonExistant.ApexMacro" specified in Macro File Tag not found +/root> schema create schema create name=MacroFile_type5 flavour=Java schema=java.lang.String +result: SUCCESS + +/root> +/root> task create name=dummyTask1 +result: SUCCESS + +/root> task logic create name=dummyTask1 logicFlavour=JAVASCRIPT logic=LS +var returnValueType = Java.type("java.lang.Boolean"); +var returnValue = new returnValueType(true); + +LE +result: SUCCESS + +/root> +/root> task create name=dummyTask2 +result: SUCCESS + +/root> task logic create name=dummyTask2 logicFlavour=JAVASCRIPT logic=LS +x=x+1 +var returnValueType = Java.type("java.lang.Boolean"); +var returnValue = new returnValueType(true); + +x=x+1 +var returnValueType = Java.type("java.lang.Boolean"); +var returnValue = new returnValueType(true); + +x=x+1 +LE +result: SUCCESS + +/root>
\ No newline at end of file |