diff options
author | ramverma <ramkrishna.verma@gmail.com> | 2018-02-19 17:12:19 +0000 |
---|---|---|
committer | ramverma <ram.krishna.verma@ericsson.com> | 2018-02-20 17:03:53 +0000 |
commit | c423723456ffcdedb46e06054954b49129eedcbb (patch) | |
tree | 6f5afbf5ae8d036140032562c181a7930e71c1b2 /LogParser/src/test/resources | |
parent | f36850d62ae77760daef9972a3c31042ad19480d (diff) |
Add Junit to policy/engine LogParser
Junits to improve the coverage of LogParser to 55%
Change-Id: Icddecd7a2904d5a679910f7d5fcac891b3698c66
Issue-ID: POLICY-599
Signed-off-by: ramverma <ram.krishna.verma@ericsson.com>
Diffstat (limited to 'LogParser/src/test/resources')
-rw-r--r-- | LogParser/src/test/resources/test_config_debug.properties | 31 | ||||
-rw-r--r-- | LogParser/src/test/resources/test_config_error.properties | 31 |
2 files changed, 62 insertions, 0 deletions
diff --git a/LogParser/src/test/resources/test_config_debug.properties b/LogParser/src/test/resources/test_config_debug.properties new file mode 100644 index 000000000..66b417339 --- /dev/null +++ b/LogParser/src/test/resources/test_config_debug.properties @@ -0,0 +1,31 @@ +### +# ============LICENSE_START======================================================= +# LogParser +# ================================================================================ +# Copyright (C) 2018 Ericsson. All rights reserved. +# ================================================================================ +# 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. +# ============LICENSE_END========================================================= +### + + +RESOURCE_NAME=logparser_pap01 +JDBC_DRIVER=org.mariadb.jdbc.Driver +JDBC_URL=jdbc:mariadb://localhost:3306/ +JDBC_USER=root +JDBC_PASSWORD=password +jmx_url=service:jmx:rmi:///jndi/rmi://localhost:9996/jmxrmi +SERVER=https://localhost:9091/pap/ +LOGTYPE=PAP +LOGPATH=/Workspaces/HealthCheck/debug/pap-rest.log +PARSERLOGPATH=IntegrityMonitor.log diff --git a/LogParser/src/test/resources/test_config_error.properties b/LogParser/src/test/resources/test_config_error.properties new file mode 100644 index 000000000..3c5c07019 --- /dev/null +++ b/LogParser/src/test/resources/test_config_error.properties @@ -0,0 +1,31 @@ +### +# ============LICENSE_START======================================================= +# LogParser +# ================================================================================ +# Copyright (C) 2018 Ericsson. All rights reserved. +# ================================================================================ +# 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. +# ============LICENSE_END========================================================= +### + + +RESOURCE_NAME=logparser_pap01 +JDBC_DRIVER=org.mariadb.jdbc.Driver +JDBC_URL=jdbc:mariadb://localhost:3306/ +JDBC_USER=root +JDBC_PASSWORD=password +jmx_url=service:jmx:rmi:///jndi/rmi://localhost:9996/jmxrmi +SERVER=https://localhost:9091/pap/ +LOGTYPE=PAP +LOGPATH=/Workspaces/HealthCheck/error/pap-rest.log +PARSERLOGPATH=IntegrityMonitor.log |