From c216048b576ffd23ed9cb39fbb7560e97180eea6 Mon Sep 17 00:00:00 2001 From: nishadi Date: Sat, 24 Feb 2018 18:25:48 +0530 Subject: [PATCH] Test Resources log4j.properties and testng.xml files added. --- .../src/test/resources/log4j.properties | 34 +++++++++++++++++++ .../src/test/resources/testng.xml | 30 ++++++++++++++++ 2 files changed, 64 insertions(+) create mode 100644 components/application-mgt/org.wso2.carbon.device.application.mgt.store.api/src/test/resources/log4j.properties create mode 100644 components/application-mgt/org.wso2.carbon.device.application.mgt.store.api/src/test/resources/testng.xml diff --git a/components/application-mgt/org.wso2.carbon.device.application.mgt.store.api/src/test/resources/log4j.properties b/components/application-mgt/org.wso2.carbon.device.application.mgt.store.api/src/test/resources/log4j.properties new file mode 100644 index 0000000000..1dbcc0f635 --- /dev/null +++ b/components/application-mgt/org.wso2.carbon.device.application.mgt.store.api/src/test/resources/log4j.properties @@ -0,0 +1,34 @@ + +# Copyright (c) 2018, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. +# +# WSO2 Inc. licenses this file to you 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. +# + +# +# This is the log4j configuration file used by WSO2 Carbon +# +# IMPORTANT : Please do not remove or change the names of any +# of the Appender defined here. The layout pattern & log file +# can be changed using the WSO2 Carbon Management Console, and those +# settings will override the settings in this file. +# + +log4j.rootLogger=DEBUG, STD_OUT + +# Redirect log messages to console +log4j.appender.STD_OUT=org.apache.log4j.ConsoleAppender +log4j.appender.STD_OUT.Target=System.out +log4j.appender.STD_OUT.layout=org.apache.log4j.PatternLayout +log4j.appender.STD_OUT.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss} %-5p %c{1}:%L - %m%n diff --git a/components/application-mgt/org.wso2.carbon.device.application.mgt.store.api/src/test/resources/testng.xml b/components/application-mgt/org.wso2.carbon.device.application.mgt.store.api/src/test/resources/testng.xml new file mode 100644 index 0000000000..ed1275edab --- /dev/null +++ b/components/application-mgt/org.wso2.carbon.device.application.mgt.store.api/src/test/resources/testng.xml @@ -0,0 +1,30 @@ + + + + + + + + + + + + + +