logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ihabu...@apache.org
Subject [04/43] LOG4PHP-121: Reorganized classes into namespaces
Date Thu, 28 Nov 2013 16:03:34 GMT
http://git-wip-us.apache.org/repos/asf/logging-log4php/blob/79ed2d0d/src/test/resources/configs/appenders/config_invalid_filter_parameters.xml
----------------------------------------------------------------------
diff --git a/src/test/resources/configs/appenders/config_invalid_filter_parameters.xml b/src/test/resources/configs/appenders/config_invalid_filter_parameters.xml
deleted file mode 100644
index fe52279..0000000
--- a/src/test/resources/configs/appenders/config_invalid_filter_parameters.xml
+++ /dev/null
@@ -1,29 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements.  See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF 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.
--->
-<configuration xmlns="http://logging.apache.org/log4php">
-    <appender name="foo" class="LoggerAppenderConsole">
-        <filter class="LoggerFilterStringMatch">
-            <param name="fooParameter" value="bar" />
-        </filter>
-    </appender>
-    
-    <root>
-        <level value="DEBUG" />
-        <appender_ref ref="foo" />
-    </root>
-</configuration>

http://git-wip-us.apache.org/repos/asf/logging-log4php/blob/79ed2d0d/src/test/resources/configs/appenders/config_invalid_layout_class.xml
----------------------------------------------------------------------
diff --git a/src/test/resources/configs/appenders/config_invalid_layout_class.xml b/src/test/resources/configs/appenders/config_invalid_layout_class.xml
deleted file mode 100644
index 0a3c40b..0000000
--- a/src/test/resources/configs/appenders/config_invalid_layout_class.xml
+++ /dev/null
@@ -1,27 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements.  See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF 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.
--->
-<configuration xmlns="http://logging.apache.org/log4php">
-    <appender name="foo" class="LoggerAppenderConsole">
-    	<layout class="stdClass" />
-    </appender>
-    
-    <root>
-        <level value="DEBUG" />
-        <appender_ref ref="foo" />
-    </root>
-</configuration>

http://git-wip-us.apache.org/repos/asf/logging-log4php/blob/79ed2d0d/src/test/resources/configs/appenders/config_no_class.xml
----------------------------------------------------------------------
diff --git a/src/test/resources/configs/appenders/config_no_class.xml b/src/test/resources/configs/appenders/config_no_class.xml
deleted file mode 100644
index 1e581f3..0000000
--- a/src/test/resources/configs/appenders/config_no_class.xml
+++ /dev/null
@@ -1,26 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements.  See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF 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.
--->
-<configuration xmlns="http://logging.apache.org/log4php" threshold="debug">
-
-    <appender name="foo" />
-
-    <root>
-        <level value="DEBUG" />
-        <appender_ref ref="default" />
-    </root>
-</configuration>

http://git-wip-us.apache.org/repos/asf/logging-log4php/blob/79ed2d0d/src/test/resources/configs/appenders/config_no_layout_class.xml
----------------------------------------------------------------------
diff --git a/src/test/resources/configs/appenders/config_no_layout_class.xml b/src/test/resources/configs/appenders/config_no_layout_class.xml
deleted file mode 100644
index a20257a..0000000
--- a/src/test/resources/configs/appenders/config_no_layout_class.xml
+++ /dev/null
@@ -1,27 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements.  See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF 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.
--->
-<configuration xmlns="http://logging.apache.org/log4php">
-    <appender name="foo" class="LoggerAppenderConsole">
-    	<layout class="" />
-    </appender>
-    
-    <root>
-        <level value="DEBUG" />
-        <appender_ref ref="foo" />
-    </root>
-</configuration>

http://git-wip-us.apache.org/repos/asf/logging-log4php/blob/79ed2d0d/src/test/resources/configs/appenders/config_not_existing_class.xml
----------------------------------------------------------------------
diff --git a/src/test/resources/configs/appenders/config_not_existing_class.xml b/src/test/resources/configs/appenders/config_not_existing_class.xml
deleted file mode 100644
index ec5aae0..0000000
--- a/src/test/resources/configs/appenders/config_not_existing_class.xml
+++ /dev/null
@@ -1,25 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements.  See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF 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.
--->
-<configuration xmlns="http://logging.apache.org/log4php" threshold="debug">
-    <appender name="foo" class="unknownClass"/>
-
-    <root>
-        <level value="DEBUG" />
-        <appender_ref ref="default" />
-    </root>
-</configuration>

http://git-wip-us.apache.org/repos/asf/logging-log4php/blob/79ed2d0d/src/test/resources/configs/appenders/config_not_existing_filter_class.xml
----------------------------------------------------------------------
diff --git a/src/test/resources/configs/appenders/config_not_existing_filter_class.xml b/src/test/resources/configs/appenders/config_not_existing_filter_class.xml
deleted file mode 100644
index 9cab011..0000000
--- a/src/test/resources/configs/appenders/config_not_existing_filter_class.xml
+++ /dev/null
@@ -1,27 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements.  See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF 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.
--->
-<configuration xmlns="http://logging.apache.org/log4php">
-    <appender name="foo" class="LoggerAppenderConsole">
-    	<filter class="Foo" />
-    </appender>
-    
-    <root>
-        <level value="DEBUG" />
-        <appender_ref ref="foo" />
-    </root>
-</configuration>

http://git-wip-us.apache.org/repos/asf/logging-log4php/blob/79ed2d0d/src/test/resources/configs/appenders/config_not_existing_layout_class.xml
----------------------------------------------------------------------
diff --git a/src/test/resources/configs/appenders/config_not_existing_layout_class.xml b/src/test/resources/configs/appenders/config_not_existing_layout_class.xml
deleted file mode 100644
index e796566..0000000
--- a/src/test/resources/configs/appenders/config_not_existing_layout_class.xml
+++ /dev/null
@@ -1,27 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements.  See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF 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.
--->
-<configuration xmlns="http://logging.apache.org/log4php">
-    <appender name="foo" class="LoggerAppenderConsole">
-    	<layout class="Foo" />
-    </appender>
-    
-    <root>
-        <level value="DEBUG" />
-        <appender_ref ref="foo" />
-    </root>
-</configuration>

http://git-wip-us.apache.org/repos/asf/logging-log4php/blob/79ed2d0d/src/test/resources/configs/config.yml
----------------------------------------------------------------------
diff --git a/src/test/resources/configs/config.yml b/src/test/resources/configs/config.yml
deleted file mode 100644
index 07b86fb..0000000
--- a/src/test/resources/configs/config.yml
+++ /dev/null
@@ -1,14 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements.  See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF 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.

http://git-wip-us.apache.org/repos/asf/logging-log4php/blob/79ed2d0d/src/test/resources/configs/config1.xml
----------------------------------------------------------------------
diff --git a/src/test/resources/configs/config1.xml b/src/test/resources/configs/config1.xml
deleted file mode 100644
index 70f06c4..0000000
--- a/src/test/resources/configs/config1.xml
+++ /dev/null
@@ -1,54 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements.  See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF 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.
--->
-<configuration xmlns="http://logging.apache.org/log4php" threshold="debug">
-	<renderer renderedClass="Fruit" renderingClass="FruitRenderer" />
-	<renderer renderedClass="Beer" renderingClass="BeerRenderer" />
-    <appender name="default" class="LoggerAppenderEcho">
-        <layout class="LoggerLayoutTTCC"/>
-        <filter class="LoggerFilterLevelRange">
-            <param name="levelMin" value="ERROR" />
-            <param name="levelMax" value="FATAL" />
-            <param name="acceptOnMatch" value="false" />
-        </filter>
-        <filter class="LoggerFilterDenyAll" />
-    </appender>
-	<appender name="file" class="LoggerAppenderDailyFile" threshold="warn">
-		<param name="datePattern" value="Ymd" />
-		<param name="file" value="target/examples/daily_%s.log" />
-        <layout class="LoggerLayoutPattern">
-        	<param name="conversionPattern" value= "%d{ISO8601} [%p] %c: %m (at %F line %L)%n" />
-        </layout>
-    </appender>
-    <logger name="foo.bar.baz" additivity="false">
-        <level value="trace" />
-        <appender_ref ref="default" />
-    </logger>
-    <logger name="foo.bar" additivity="true">
-        <level value="debug" />
-        <appender_ref ref="file" />
-    </logger>
-    <logger name="foo">
-        <level value="warn" />
-        <appender_ref ref="default" />
-        <appender_ref ref="file" />
-    </logger>
-    <root>
-        <level value="DEBUG" />
-        <appender_ref ref="default" />
-    </root>
-</configuration>

http://git-wip-us.apache.org/repos/asf/logging-log4php/blob/79ed2d0d/src/test/resources/configs/loggers/config_invalid_additivity.xml
----------------------------------------------------------------------
diff --git a/src/test/resources/configs/loggers/config_invalid_additivity.xml b/src/test/resources/configs/loggers/config_invalid_additivity.xml
deleted file mode 100644
index fc7151d..0000000
--- a/src/test/resources/configs/loggers/config_invalid_additivity.xml
+++ /dev/null
@@ -1,30 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements.  See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF 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.
--->
-<configuration xmlns="http://logging.apache.org/log4php" threshold="debug">
-    <appender name="default" class="LoggerAppenderEcho">
-        <layout class="LoggerLayoutSimple"/>
-    </appender>
-    <logger name="myLogger" additivity="4711">
-        <level value="warn" />
-        <appender_ref ref="default" />
-    </logger>
-    <root>
-        <level value="DEBUG" />
-        <appender_ref ref="default" />
-    </root>
-</configuration>

http://git-wip-us.apache.org/repos/asf/logging-log4php/blob/79ed2d0d/src/test/resources/configs/loggers/config_not_existing_appenders.xml
----------------------------------------------------------------------
diff --git a/src/test/resources/configs/loggers/config_not_existing_appenders.xml b/src/test/resources/configs/loggers/config_not_existing_appenders.xml
deleted file mode 100644
index 5e5ea1e..0000000
--- a/src/test/resources/configs/loggers/config_not_existing_appenders.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements.  See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF 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.
--->
-<configuration xmlns="http://logging.apache.org/log4php" threshold="debug">
-    <logger name="myLogger">
-        <level value="warn" />
-        <appender_ref ref="unknownAppender" />
-    </logger>
-</configuration>

http://git-wip-us.apache.org/repos/asf/logging-log4php/blob/79ed2d0d/src/test/resources/configs/renderers/config_default_renderer.xml
----------------------------------------------------------------------
diff --git a/src/test/resources/configs/renderers/config_default_renderer.xml b/src/test/resources/configs/renderers/config_default_renderer.xml
deleted file mode 100644
index 69f7dff..0000000
--- a/src/test/resources/configs/renderers/config_default_renderer.xml
+++ /dev/null
@@ -1,27 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements.  See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF 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.
--->
-<configuration xmlns="http://logging.apache.org/log4php">
-    <appender name="foo" class="LoggerAppenderConsole" />
-    
-    <defaultRenderer renderingClass="FruitRenderer3"  />
-    
-    <root>
-        <level value="DEBUG" />
-        <appender_ref ref="foo" />
-    </root>
-</configuration>

http://git-wip-us.apache.org/repos/asf/logging-log4php/blob/79ed2d0d/src/test/resources/configs/renderers/config_invalid_rendering_class.xml
----------------------------------------------------------------------
diff --git a/src/test/resources/configs/renderers/config_invalid_rendering_class.xml b/src/test/resources/configs/renderers/config_invalid_rendering_class.xml
deleted file mode 100644
index 83ef7d3..0000000
--- a/src/test/resources/configs/renderers/config_invalid_rendering_class.xml
+++ /dev/null
@@ -1,29 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements.  See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF 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.
--->
-<configuration xmlns="http://logging.apache.org/log4php">
-    <appender name="foo" class="LoggerAppenderConsole">
-    	<layout class="LoggerLayoutSimple"/>
-    </appender>
-    
-    <renderer renderedClass="stdClass" renderingClass="stdClass"  />
-    
-    <root>
-        <level value="DEBUG" />
-        <appender_ref ref="foo" />
-    </root>
-</configuration>

http://git-wip-us.apache.org/repos/asf/logging-log4php/blob/79ed2d0d/src/test/resources/configs/renderers/config_no_rendered_class.xml
----------------------------------------------------------------------
diff --git a/src/test/resources/configs/renderers/config_no_rendered_class.xml b/src/test/resources/configs/renderers/config_no_rendered_class.xml
deleted file mode 100644
index b8fa71d..0000000
--- a/src/test/resources/configs/renderers/config_no_rendered_class.xml
+++ /dev/null
@@ -1,29 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements.  See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF 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.
--->
-<configuration xmlns="http://logging.apache.org/log4php">
-    <appender name="foo" class="LoggerAppenderConsole">
-        <layout class="LoggerLayoutSimple"/>
-    </appender>
-    
-    <renderer renderingClass="LoggerRendererDefault" />
-    
-    <root>
-        <level value="DEBUG" />
-        <appender_ref ref="foo" />
-    </root>
-</configuration>

http://git-wip-us.apache.org/repos/asf/logging-log4php/blob/79ed2d0d/src/test/resources/configs/renderers/config_no_rendering_class.xml
----------------------------------------------------------------------
diff --git a/src/test/resources/configs/renderers/config_no_rendering_class.xml b/src/test/resources/configs/renderers/config_no_rendering_class.xml
deleted file mode 100644
index 17659f4..0000000
--- a/src/test/resources/configs/renderers/config_no_rendering_class.xml
+++ /dev/null
@@ -1,29 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements.  See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF 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.
--->
-<configuration xmlns="http://logging.apache.org/log4php">
-    <appender name="foo" class="LoggerAppenderConsole">
-        <layout class="LoggerLayoutSimple"/>
-    </appender>
-    
-    <renderer />
-    
-    <root>
-        <level value="DEBUG" />
-        <appender_ref ref="foo" />
-    </root>
-</configuration>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/logging-log4php/blob/79ed2d0d/src/test/resources/configs/renderers/config_not_existing_rendering_class.xml
----------------------------------------------------------------------
diff --git a/src/test/resources/configs/renderers/config_not_existing_rendering_class.xml b/src/test/resources/configs/renderers/config_not_existing_rendering_class.xml
deleted file mode 100644
index 8a32d3e..0000000
--- a/src/test/resources/configs/renderers/config_not_existing_rendering_class.xml
+++ /dev/null
@@ -1,29 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements.  See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF 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.
--->
-<configuration xmlns="http://logging.apache.org/log4php">
-    <appender name="foo" class="LoggerAppenderConsole">
-        <layout class="LoggerLayoutSimple"/>
-    </appender>
-    
-    <renderer renderedClass="stdClass" renderingClass="DoesNotExistRenderer" />
-    
-    <root>
-        <level value="DEBUG" />
-        <appender_ref ref="foo" />
-    </root>
-</configuration>

http://git-wip-us.apache.org/repos/asf/logging-log4php/blob/79ed2d0d/tests/bootstrap.php
----------------------------------------------------------------------
diff --git a/tests/bootstrap.php b/tests/bootstrap.php
new file mode 100644
index 0000000..b95c505
--- /dev/null
+++ b/tests/bootstrap.php
@@ -0,0 +1,45 @@
+<?php
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF 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.
+ *
+ * @category   tests
+ * @license    http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0
+ * @link       http://logging.apache.org/log4php
+ */
+
+error_reporting(E_ALL | E_STRICT);
+
+// Required for testing logging of sessionID in pattern layout
+session_start();
+
+date_default_timezone_set('Europe/London');
+
+// Define a temp dir where tests may write to
+$tmpDir = __DIR__ . '/../target/temp/phpunit';
+if (!is_dir($tmpDir)) {
+	mkdir($tmpDir, 0777, true);
+}
+define('PHPUNIT_TEMP_DIR', realpath($tmpDir));
+
+// Make the path to the configurations dir for easier access
+$confDir = __DIR__ . '/resources/configs';
+define('PHPUNIT_CONFIG_DIR', realpath($confDir));
+
+require __DIR__ . '/../src/Autoloader.php';
+require __DIR__ . '/src/TestHelper.php';
+
+$autoloader = new Apache\Log4php\Autoloader();
+$autoloader->register();

http://git-wip-us.apache.org/repos/asf/logging-log4php/blob/79ed2d0d/tests/config/phpunit_to_surefire.xslt
----------------------------------------------------------------------
diff --git a/tests/config/phpunit_to_surefire.xslt b/tests/config/phpunit_to_surefire.xslt
new file mode 100644
index 0000000..1f8fd61
--- /dev/null
+++ b/tests/config/phpunit_to_surefire.xslt
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements.  See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF 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.
+-->
+<xsl:stylesheet version="2.0"
+	xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema"
+	xmlns:fn="http://www.w3.org/2005/xpath-functions">
+	<xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes" />
+	<xsl:param name="outputDir">.</xsl:param>
+
+	<xsl:template match="testsuites">
+		<xsl:apply-templates select="testsuite" />
+	</xsl:template>
+
+	<xsl:template match="testsuite">
+		<xsl:if test="testcase">
+			<xsl:variable name="outputName" select="./@name" />
+			<xsl:result-document href="{$outputDir}/{$outputName}.xml" method="xml">
+				<xsl:copy-of select="." />
+			</xsl:result-document>
+		</xsl:if>
+
+		<xsl:apply-templates select="testsuite" />
+	</xsl:template>
+</xsl:stylesheet>

http://git-wip-us.apache.org/repos/asf/logging-log4php/blob/79ed2d0d/tests/resources/configs/adapters/ini/config_invalid_appender_declaration_1.ini
----------------------------------------------------------------------
diff --git a/tests/resources/configs/adapters/ini/config_invalid_appender_declaration_1.ini b/tests/resources/configs/adapters/ini/config_invalid_appender_declaration_1.ini
new file mode 100644
index 0000000..f7a8534
--- /dev/null
+++ b/tests/resources/configs/adapters/ini/config_invalid_appender_declaration_1.ini
@@ -0,0 +1,23 @@
+;
+; Licensed to the Apache Software Foundation (ASF) under one or more
+; contributor license agreements. See the NOTICE file distributed with
+; this work for additional information regarding copyright ownership.
+; The ASF 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.
+;
+
+log4php.rootLogger = DEBUG, default
+
+log4php.appender.default = EchoAppender
+
+# invalid appender line should trigger warning
+log4php.appender.default.layout.param.bla = LoggerLayoutTTCC

http://git-wip-us.apache.org/repos/asf/logging-log4php/blob/79ed2d0d/tests/resources/configs/adapters/ini/config_invalid_appender_declaration_2.ini
----------------------------------------------------------------------
diff --git a/tests/resources/configs/adapters/ini/config_invalid_appender_declaration_2.ini b/tests/resources/configs/adapters/ini/config_invalid_appender_declaration_2.ini
new file mode 100644
index 0000000..043427c
--- /dev/null
+++ b/tests/resources/configs/adapters/ini/config_invalid_appender_declaration_2.ini
@@ -0,0 +1,23 @@
+;
+; Licensed to the Apache Software Foundation (ASF) under one or more
+; contributor license agreements. See the NOTICE file distributed with
+; this work for additional information regarding copyright ownership.
+; The ASF 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.
+;
+
+log4php.rootLogger = DEBUG, default
+
+log4php.appender.default = EchoAppender
+
+# invalid appender line should trigger warning
+log4php.appender.default.not-layout.param = LoggerLayoutTTCC

http://git-wip-us.apache.org/repos/asf/logging-log4php/blob/79ed2d0d/tests/resources/configs/adapters/ini/config_invalid_syntax.ini
----------------------------------------------------------------------
diff --git a/tests/resources/configs/adapters/ini/config_invalid_syntax.ini b/tests/resources/configs/adapters/ini/config_invalid_syntax.ini
new file mode 100644
index 0000000..9971ea2
--- /dev/null
+++ b/tests/resources/configs/adapters/ini/config_invalid_syntax.ini
@@ -0,0 +1,19 @@
+;
+; Licensed to the Apache Software Foundation (ASF) under one or more
+; contributor license agreements. See the NOTICE file distributed with
+; this work for additional information regarding copyright ownership.
+; The ASF 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.
+;
+
+not a valid ini file ()
+ 

http://git-wip-us.apache.org/repos/asf/logging-log4php/blob/79ed2d0d/tests/resources/configs/adapters/ini/config_valid.ini
----------------------------------------------------------------------
diff --git a/tests/resources/configs/adapters/ini/config_valid.ini b/tests/resources/configs/adapters/ini/config_valid.ini
new file mode 100644
index 0000000..f6c4d08
--- /dev/null
+++ b/tests/resources/configs/adapters/ini/config_valid.ini
@@ -0,0 +1,41 @@
+;
+; Licensed to the Apache Software Foundation (ASF) under one or more
+; contributor license agreements. See the NOTICE file distributed with
+; this work for additional information regarding copyright ownership.
+; The ASF 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.
+;
+
+log4php.rootLogger = DEBUG, default
+
+log4php.appender.default = EchoAppender
+log4php.appender.default.layout = LoggerLayoutTTCC
+
+log4php.appender.file = DailyFileAppender
+log4php.appender.file.layout = PatternLayout
+log4php.appender.file.layout.conversionPattern = "%d{ISO8601} [%p] %c: %m (at %F line %L)%n"
+log4php.appender.file.datePattern = Ymd
+log4php.appender.file.file = target/examples/daily_%s.log
+log4php.appender.file.threshold = warn
+
+log4php.logger.foo = warn, default
+
+log4php.logger.foo.bar = debug, file
+log4php.additivity.foo.bar = "true"
+
+log4php.logger.foo.bar.baz = trace, default, file
+log4php.additivity.foo.bar.baz = "false"
+
+log4php.renderer.Fruit = FruitRenderer
+log4php.renderer.Beer = BeerRenderer
+
+log4php.threshold = debug

http://git-wip-us.apache.org/repos/asf/logging-log4php/blob/79ed2d0d/tests/resources/configs/adapters/ini/values.ini
----------------------------------------------------------------------
diff --git a/tests/resources/configs/adapters/ini/values.ini b/tests/resources/configs/adapters/ini/values.ini
new file mode 100644
index 0000000..bd4239a
--- /dev/null
+++ b/tests/resources/configs/adapters/ini/values.ini
@@ -0,0 +1,25 @@
+;
+; Licensed to the Apache Software Foundation (ASF) under one or more
+; contributor license agreements. See the NOTICE file distributed with
+; this work for additional information regarding copyright ownership.
+; The ASF 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.
+;
+
+unquoted_true = true
+unquoted_false = false
+unquoted_yes = true
+unquoted_no = false
+quoted_true = "true"
+quoted_false = "false"
+unquoted_one = 1
+unquoted_zero = 0
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/logging-log4php/blob/79ed2d0d/tests/resources/configs/adapters/php/config_empty.php
----------------------------------------------------------------------
diff --git a/tests/resources/configs/adapters/php/config_empty.php b/tests/resources/configs/adapters/php/config_empty.php
new file mode 100644
index 0000000..5ca9004
--- /dev/null
+++ b/tests/resources/configs/adapters/php/config_empty.php
@@ -0,0 +1,26 @@
+<?php
+
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF 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.
+ *
+ * @category   tests
+ * @license    http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0
+ * @link       http://logging.apache.org/log4php
+ */
+
+// Empty config
+
+?>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/logging-log4php/blob/79ed2d0d/tests/resources/configs/adapters/php/config_invalid_syntax.php
----------------------------------------------------------------------
diff --git a/tests/resources/configs/adapters/php/config_invalid_syntax.php b/tests/resources/configs/adapters/php/config_invalid_syntax.php
new file mode 100644
index 0000000..5019f68
--- /dev/null
+++ b/tests/resources/configs/adapters/php/config_invalid_syntax.php
@@ -0,0 +1,40 @@
+<?php
+
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF 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.
+ *
+ * @category   tests
+ * @license    http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0
+ * @link       http://logging.apache.org/log4php
+ */
+
+return array(
+	'rootLogger' => array(
+		'level' => 'info',
+		'appenders' => array('default')
+	),
+	'appenders' => array(
+		'default' => array(
+			'class' => 'EchoAppender',
+			'layout' => array(
+				'class' => 'SimpleLayout'
+			 )
+		)
+	)
+
+// Invalid file - no closing brace.
+
+?>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/logging-log4php/blob/79ed2d0d/tests/resources/configs/adapters/php/config_not_an_array.php
----------------------------------------------------------------------
diff --git a/tests/resources/configs/adapters/php/config_not_an_array.php b/tests/resources/configs/adapters/php/config_not_an_array.php
new file mode 100644
index 0000000..030bb10
--- /dev/null
+++ b/tests/resources/configs/adapters/php/config_not_an_array.php
@@ -0,0 +1,27 @@
+<?php
+
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF 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.
+ *
+ * @category   tests
+ * @license    http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0
+ * @link       http://logging.apache.org/log4php
+ */
+
+// Not an array
+return new Exception();
+
+?>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/logging-log4php/blob/79ed2d0d/tests/resources/configs/adapters/php/config_valid.php
----------------------------------------------------------------------
diff --git a/tests/resources/configs/adapters/php/config_valid.php b/tests/resources/configs/adapters/php/config_valid.php
new file mode 100644
index 0000000..bfabfce
--- /dev/null
+++ b/tests/resources/configs/adapters/php/config_valid.php
@@ -0,0 +1,40 @@
+<?php
+
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF 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.
+ *
+ * @category   tests
+ * @license    http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0
+ * @link       http://logging.apache.org/log4php
+ */
+
+return array(
+	'rootLogger' => array(
+		'level' => 'info',
+		'appenders' => array('default')
+	),
+	'appenders' => array(
+		'default' => array(
+			'class' => 'EchoAppender',
+			'layout' => array(
+				'class' => 'SimpleLayout'
+			 )
+		)
+	)
+)
+;
+
+?>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/logging-log4php/blob/79ed2d0d/tests/resources/configs/adapters/xml/config_duplicate_logger.xml
----------------------------------------------------------------------
diff --git a/tests/resources/configs/adapters/xml/config_duplicate_logger.xml b/tests/resources/configs/adapters/xml/config_duplicate_logger.xml
new file mode 100644
index 0000000..978b9c7
--- /dev/null
+++ b/tests/resources/configs/adapters/xml/config_duplicate_logger.xml
@@ -0,0 +1,39 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements.  See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF 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.
+-->
+<configuration xmlns="http://logging.apache.org/log4php" threshold="debug">
+
+    <appender name="default" class="EchoAppender">
+        <layout class="SimpleLayout"/>
+    </appender>
+
+    <!-- Duplicate logger -->
+    <logger name="foo">
+        <level value="info" />
+        <appender_ref ref="default" />
+    </logger>
+
+    <logger name="foo">
+        <level value="warn" />
+        <appender_ref ref="default" />
+    </logger>
+
+    <root>
+        <level value="DEBUG" />
+        <appender_ref ref="default" />
+    </root>
+</configuration>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/logging-log4php/blob/79ed2d0d/tests/resources/configs/adapters/xml/config_duplicate_renderer.xml
----------------------------------------------------------------------
diff --git a/tests/resources/configs/adapters/xml/config_duplicate_renderer.xml b/tests/resources/configs/adapters/xml/config_duplicate_renderer.xml
new file mode 100644
index 0000000..4ac97bc
--- /dev/null
+++ b/tests/resources/configs/adapters/xml/config_duplicate_renderer.xml
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements.  See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF 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.
+-->
+<configuration>
+	<!-- Duplicate renderer -->
+	<renderer renderedClass="Fruit" renderingClass="FruitRenderer1" />
+	<renderer renderedClass="Fruit" renderingClass="FruitRenderer2" />
+	<renderer renderedClass="Beer" renderingClass="BeerRenderer" />
+    <appender name="default" class="EchoAppender">
+        <layout class="SimpleLayout"/>
+    </appender>
+    <root>
+        <level value="DEBUG" />
+        <appender_ref ref="default" />
+    </root>
+</configuration>

http://git-wip-us.apache.org/repos/asf/logging-log4php/blob/79ed2d0d/tests/resources/configs/adapters/xml/config_invalid_syntax.xml
----------------------------------------------------------------------
diff --git a/tests/resources/configs/adapters/xml/config_invalid_syntax.xml b/tests/resources/configs/adapters/xml/config_invalid_syntax.xml
new file mode 100644
index 0000000..6592fa5
--- /dev/null
+++ b/tests/resources/configs/adapters/xml/config_invalid_syntax.xml
@@ -0,0 +1,39 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements.  See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF 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.
+-->
+<configuration xmlns="http://logging.apache.org/log4php" threshold="debug">
+    <appender name="default" class="EchoAppender">
+        <layout class="SimpleLayout"/>
+    </appender>
+
+    <!-- Duplicate logger -->
+    <logger name="foo">
+        <level value="info" />
+        <appender_ref ref="default" />
+    </logger>
+
+    <logger name="foo">
+        <level value="warn" />
+        <appender_ref ref="default" />
+    </logger>
+
+    <root>
+        <level value="DEBUG" />
+        <appender_ref ref="default" />
+    </root>
+
+    <!-- Invalid XML file for testing -->
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/logging-log4php/blob/79ed2d0d/tests/resources/configs/adapters/xml/config_valid.xml
----------------------------------------------------------------------
diff --git a/tests/resources/configs/adapters/xml/config_valid.xml b/tests/resources/configs/adapters/xml/config_valid.xml
new file mode 100644
index 0000000..6553c44
--- /dev/null
+++ b/tests/resources/configs/adapters/xml/config_valid.xml
@@ -0,0 +1,54 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements.  See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF 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.
+-->
+<configuration xmlns="http://logging.apache.org/log4php" threshold="debug">
+	<renderer renderedClass="Fruit" renderingClass="FruitRenderer" />
+	<renderer renderedClass="Beer" renderingClass="BeerRenderer" />
+    <appender name="default" class="EchoAppender">
+        <layout class="LoggerLayoutTTCC"/>
+        <filter class="LevelRangeFilter">
+            <param name="levelMin" value="ERROR" />
+            <param name="levelMax" value="FATAL" />
+            <param name="acceptOnMatch" value="false" />
+        </filter>
+        <filter class="DenyAllFilter" />
+    </appender>
+	<appender name="file" class="DailyFileAppender" threshold="warn">
+		<param name="datePattern" value="Ymd" />
+		<param name="file" value="target/examples/daily_%s.log" />
+        <layout class="PatternLayout">
+        	<param name="conversionPattern" value= "%d{ISO8601} [%p] %c: %m (at %F line %L)%n" />
+        </layout>
+    </appender>
+    <logger name="foo.bar.baz" additivity="false">
+        <level value="trace" />
+        <appender_ref ref="default" />
+    </logger>
+    <logger name="foo.bar" additivity="true">
+        <level value="debug" />
+        <appender_ref ref="file" />
+    </logger>
+    <logger name="foo">
+        <level value="warn" />
+        <appender_ref ref="default" />
+        <appender_ref ref="file" />
+    </logger>
+    <root>
+        <level value="DEBUG" />
+        <appender_ref ref="default" />
+    </root>
+</configuration>

http://git-wip-us.apache.org/repos/asf/logging-log4php/blob/79ed2d0d/tests/resources/configs/adapters/xml/config_valid_underscore.xml
----------------------------------------------------------------------
diff --git a/tests/resources/configs/adapters/xml/config_valid_underscore.xml b/tests/resources/configs/adapters/xml/config_valid_underscore.xml
new file mode 100644
index 0000000..4ff6e21
--- /dev/null
+++ b/tests/resources/configs/adapters/xml/config_valid_underscore.xml
@@ -0,0 +1,57 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements.  See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF 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.
+-->
+
+<!-- Same as config_valid.xml but uses appender-ref instead of appender_ref -->
+
+<configuration xmlns="http://logging.apache.org/log4php" threshold="debug">
+	<renderer renderedClass="Fruit" renderingClass="FruitRenderer" />
+	<renderer renderedClass="Beer" renderingClass="BeerRenderer" />
+    <appender name="default" class="EchoAppender">
+        <layout class="LoggerLayoutTTCC"/>
+        <filter class="LevelRangeFilter">
+            <param name="levelMin" value="ERROR" />
+            <param name="levelMax" value="FATAL" />
+            <param name="acceptOnMatch" value="false" />
+        </filter>
+        <filter class="DenyAllFilter" />
+    </appender>
+	<appender name="file" class="DailyFileAppender" threshold="warn">
+		<param name="datePattern" value="Ymd" />
+		<param name="file" value="target/examples/daily_%s.log" />
+        <layout class="PatternLayout">
+        	<param name="conversionPattern" value= "%d{ISO8601} [%p] %c: %m (at %F line %L)%n" />
+        </layout>
+    </appender>
+    <logger name="foo.bar.baz" additivity="false">
+        <level value="trace" />
+        <appender-ref ref="default" />
+    </logger>
+    <logger name="foo.bar" additivity="true">
+        <level value="debug" />
+        <appender-ref ref="file" />
+    </logger>
+    <logger name="foo">
+        <level value="warn" />
+        <appender-ref ref="default" />
+        <appender-ref ref="file" />
+    </logger>
+    <root>
+        <level value="DEBUG" />
+        <appender-ref ref="default" />
+    </root>
+</configuration>

http://git-wip-us.apache.org/repos/asf/logging-log4php/blob/79ed2d0d/tests/resources/configs/appenders/config_invalid_appender_class.xml
----------------------------------------------------------------------
diff --git a/tests/resources/configs/appenders/config_invalid_appender_class.xml b/tests/resources/configs/appenders/config_invalid_appender_class.xml
new file mode 100644
index 0000000..db3ccf0
--- /dev/null
+++ b/tests/resources/configs/appenders/config_invalid_appender_class.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements.  See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF 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.
+-->
+<configuration xmlns="http://logging.apache.org/log4php" threshold="debug">
+    <appender name="foo" class="stdClass"/>
+
+    <root>
+        <level value="DEBUG" />
+        <appender_ref ref="default" />
+    </root>
+</configuration>

http://git-wip-us.apache.org/repos/asf/logging-log4php/blob/79ed2d0d/tests/resources/configs/appenders/config_invalid_filter_class.xml
----------------------------------------------------------------------
diff --git a/tests/resources/configs/appenders/config_invalid_filter_class.xml b/tests/resources/configs/appenders/config_invalid_filter_class.xml
new file mode 100644
index 0000000..80c9736
--- /dev/null
+++ b/tests/resources/configs/appenders/config_invalid_filter_class.xml
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements.  See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF 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.
+-->
+<configuration xmlns="http://logging.apache.org/log4php">
+    <appender name="foo" class="ConsoleAppender">
+    	<filter class="stdClass" />
+    </appender>
+
+    <root>
+        <level value="DEBUG" />
+        <appender_ref ref="foo" />
+    </root>
+</configuration>

http://git-wip-us.apache.org/repos/asf/logging-log4php/blob/79ed2d0d/tests/resources/configs/appenders/config_invalid_filter_parameters.xml
----------------------------------------------------------------------
diff --git a/tests/resources/configs/appenders/config_invalid_filter_parameters.xml b/tests/resources/configs/appenders/config_invalid_filter_parameters.xml
new file mode 100644
index 0000000..d17183d
--- /dev/null
+++ b/tests/resources/configs/appenders/config_invalid_filter_parameters.xml
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements.  See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF 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.
+-->
+<configuration xmlns="http://logging.apache.org/log4php">
+    <appender name="foo" class="ConsoleAppender">
+        <filter class="StringMatchFilter">
+            <param name="fooParameter" value="bar" />
+        </filter>
+    </appender>
+
+    <root>
+        <level value="DEBUG" />
+        <appender_ref ref="foo" />
+    </root>
+</configuration>

http://git-wip-us.apache.org/repos/asf/logging-log4php/blob/79ed2d0d/tests/resources/configs/appenders/config_invalid_layout_class.xml
----------------------------------------------------------------------
diff --git a/tests/resources/configs/appenders/config_invalid_layout_class.xml b/tests/resources/configs/appenders/config_invalid_layout_class.xml
new file mode 100644
index 0000000..308243f
--- /dev/null
+++ b/tests/resources/configs/appenders/config_invalid_layout_class.xml
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements.  See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF 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.
+-->
+<configuration xmlns="http://logging.apache.org/log4php">
+    <appender name="foo" class="ConsoleAppender">
+    	<layout class="stdClass" />
+    </appender>
+
+    <root>
+        <level value="DEBUG" />
+        <appender_ref ref="foo" />
+    </root>
+</configuration>

http://git-wip-us.apache.org/repos/asf/logging-log4php/blob/79ed2d0d/tests/resources/configs/appenders/config_no_class.xml
----------------------------------------------------------------------
diff --git a/tests/resources/configs/appenders/config_no_class.xml b/tests/resources/configs/appenders/config_no_class.xml
new file mode 100644
index 0000000..1e581f3
--- /dev/null
+++ b/tests/resources/configs/appenders/config_no_class.xml
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements.  See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF 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.
+-->
+<configuration xmlns="http://logging.apache.org/log4php" threshold="debug">
+
+    <appender name="foo" />
+
+    <root>
+        <level value="DEBUG" />
+        <appender_ref ref="default" />
+    </root>
+</configuration>

http://git-wip-us.apache.org/repos/asf/logging-log4php/blob/79ed2d0d/tests/resources/configs/appenders/config_no_layout_class.xml
----------------------------------------------------------------------
diff --git a/tests/resources/configs/appenders/config_no_layout_class.xml b/tests/resources/configs/appenders/config_no_layout_class.xml
new file mode 100644
index 0000000..035226b
--- /dev/null
+++ b/tests/resources/configs/appenders/config_no_layout_class.xml
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements.  See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF 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.
+-->
+<configuration xmlns="http://logging.apache.org/log4php">
+    <appender name="foo" class="ConsoleAppender">
+    	<layout class="" />
+    </appender>
+
+    <root>
+        <level value="DEBUG" />
+        <appender_ref ref="foo" />
+    </root>
+</configuration>

http://git-wip-us.apache.org/repos/asf/logging-log4php/blob/79ed2d0d/tests/resources/configs/appenders/config_not_existing_class.xml
----------------------------------------------------------------------
diff --git a/tests/resources/configs/appenders/config_not_existing_class.xml b/tests/resources/configs/appenders/config_not_existing_class.xml
new file mode 100644
index 0000000..ec5aae0
--- /dev/null
+++ b/tests/resources/configs/appenders/config_not_existing_class.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements.  See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF 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.
+-->
+<configuration xmlns="http://logging.apache.org/log4php" threshold="debug">
+    <appender name="foo" class="unknownClass"/>
+
+    <root>
+        <level value="DEBUG" />
+        <appender_ref ref="default" />
+    </root>
+</configuration>

http://git-wip-us.apache.org/repos/asf/logging-log4php/blob/79ed2d0d/tests/resources/configs/appenders/config_not_existing_filter_class.xml
----------------------------------------------------------------------
diff --git a/tests/resources/configs/appenders/config_not_existing_filter_class.xml b/tests/resources/configs/appenders/config_not_existing_filter_class.xml
new file mode 100644
index 0000000..1d4e1ea
--- /dev/null
+++ b/tests/resources/configs/appenders/config_not_existing_filter_class.xml
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements.  See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF 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.
+-->
+<configuration xmlns="http://logging.apache.org/log4php">
+    <appender name="foo" class="ConsoleAppender">
+    	<filter class="Foo" />
+    </appender>
+
+    <root>
+        <level value="DEBUG" />
+        <appender_ref ref="foo" />
+    </root>
+</configuration>

http://git-wip-us.apache.org/repos/asf/logging-log4php/blob/79ed2d0d/tests/resources/configs/appenders/config_not_existing_layout_class.xml
----------------------------------------------------------------------
diff --git a/tests/resources/configs/appenders/config_not_existing_layout_class.xml b/tests/resources/configs/appenders/config_not_existing_layout_class.xml
new file mode 100644
index 0000000..5fc72a5
--- /dev/null
+++ b/tests/resources/configs/appenders/config_not_existing_layout_class.xml
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements.  See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF 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.
+-->
+<configuration xmlns="http://logging.apache.org/log4php">
+    <appender name="foo" class="ConsoleAppender">
+    	<layout class="Foo" />
+    </appender>
+
+    <root>
+        <level value="DEBUG" />
+        <appender_ref ref="foo" />
+    </root>
+</configuration>

http://git-wip-us.apache.org/repos/asf/logging-log4php/blob/79ed2d0d/tests/resources/configs/config.yml
----------------------------------------------------------------------
diff --git a/tests/resources/configs/config.yml b/tests/resources/configs/config.yml
new file mode 100644
index 0000000..07b86fb
--- /dev/null
+++ b/tests/resources/configs/config.yml
@@ -0,0 +1,14 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF 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.

http://git-wip-us.apache.org/repos/asf/logging-log4php/blob/79ed2d0d/tests/resources/configs/config1.xml
----------------------------------------------------------------------
diff --git a/tests/resources/configs/config1.xml b/tests/resources/configs/config1.xml
new file mode 100644
index 0000000..6553c44
--- /dev/null
+++ b/tests/resources/configs/config1.xml
@@ -0,0 +1,54 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements.  See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF 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.
+-->
+<configuration xmlns="http://logging.apache.org/log4php" threshold="debug">
+	<renderer renderedClass="Fruit" renderingClass="FruitRenderer" />
+	<renderer renderedClass="Beer" renderingClass="BeerRenderer" />
+    <appender name="default" class="EchoAppender">
+        <layout class="LoggerLayoutTTCC"/>
+        <filter class="LevelRangeFilter">
+            <param name="levelMin" value="ERROR" />
+            <param name="levelMax" value="FATAL" />
+            <param name="acceptOnMatch" value="false" />
+        </filter>
+        <filter class="DenyAllFilter" />
+    </appender>
+	<appender name="file" class="DailyFileAppender" threshold="warn">
+		<param name="datePattern" value="Ymd" />
+		<param name="file" value="target/examples/daily_%s.log" />
+        <layout class="PatternLayout">
+        	<param name="conversionPattern" value= "%d{ISO8601} [%p] %c: %m (at %F line %L)%n" />
+        </layout>
+    </appender>
+    <logger name="foo.bar.baz" additivity="false">
+        <level value="trace" />
+        <appender_ref ref="default" />
+    </logger>
+    <logger name="foo.bar" additivity="true">
+        <level value="debug" />
+        <appender_ref ref="file" />
+    </logger>
+    <logger name="foo">
+        <level value="warn" />
+        <appender_ref ref="default" />
+        <appender_ref ref="file" />
+    </logger>
+    <root>
+        <level value="DEBUG" />
+        <appender_ref ref="default" />
+    </root>
+</configuration>

http://git-wip-us.apache.org/repos/asf/logging-log4php/blob/79ed2d0d/tests/resources/configs/loggers/config_invalid_additivity.xml
----------------------------------------------------------------------
diff --git a/tests/resources/configs/loggers/config_invalid_additivity.xml b/tests/resources/configs/loggers/config_invalid_additivity.xml
new file mode 100644
index 0000000..13fe2cc
--- /dev/null
+++ b/tests/resources/configs/loggers/config_invalid_additivity.xml
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements.  See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF 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.
+-->
+<configuration xmlns="http://logging.apache.org/log4php" threshold="debug">
+    <appender name="default" class="EchoAppender">
+        <layout class="SimpleLayout"/>
+    </appender>
+    <logger name="myLogger" additivity="4711">
+        <level value="warn" />
+        <appender_ref ref="default" />
+    </logger>
+    <root>
+        <level value="DEBUG" />
+        <appender_ref ref="default" />
+    </root>
+</configuration>

http://git-wip-us.apache.org/repos/asf/logging-log4php/blob/79ed2d0d/tests/resources/configs/loggers/config_not_existing_appenders.xml
----------------------------------------------------------------------
diff --git a/tests/resources/configs/loggers/config_not_existing_appenders.xml b/tests/resources/configs/loggers/config_not_existing_appenders.xml
new file mode 100644
index 0000000..5e5ea1e
--- /dev/null
+++ b/tests/resources/configs/loggers/config_not_existing_appenders.xml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements.  See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF 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.
+-->
+<configuration xmlns="http://logging.apache.org/log4php" threshold="debug">
+    <logger name="myLogger">
+        <level value="warn" />
+        <appender_ref ref="unknownAppender" />
+    </logger>
+</configuration>

http://git-wip-us.apache.org/repos/asf/logging-log4php/blob/79ed2d0d/tests/resources/configs/renderers/config_default_renderer.xml
----------------------------------------------------------------------
diff --git a/tests/resources/configs/renderers/config_default_renderer.xml b/tests/resources/configs/renderers/config_default_renderer.xml
new file mode 100644
index 0000000..5c22323
--- /dev/null
+++ b/tests/resources/configs/renderers/config_default_renderer.xml
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements.  See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF 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.
+-->
+<configuration xmlns="http://logging.apache.org/log4php">
+    <appender name="foo" class="ConsoleAppender" />
+
+    <defaultRenderer renderingClass="FruitRenderer3"  />
+
+    <root>
+        <level value="DEBUG" />
+        <appender_ref ref="foo" />
+    </root>
+</configuration>

http://git-wip-us.apache.org/repos/asf/logging-log4php/blob/79ed2d0d/tests/resources/configs/renderers/config_invalid_rendering_class.xml
----------------------------------------------------------------------
diff --git a/tests/resources/configs/renderers/config_invalid_rendering_class.xml b/tests/resources/configs/renderers/config_invalid_rendering_class.xml
new file mode 100644
index 0000000..51886fe
--- /dev/null
+++ b/tests/resources/configs/renderers/config_invalid_rendering_class.xml
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements.  See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF 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.
+-->
+<configuration xmlns="http://logging.apache.org/log4php">
+    <appender name="foo" class="ConsoleAppender">
+    	<layout class="SimpleLayout"/>
+    </appender>
+
+    <renderer renderedClass="stdClass" renderingClass="stdClass"  />
+
+    <root>
+        <level value="DEBUG" />
+        <appender_ref ref="foo" />
+    </root>
+</configuration>

http://git-wip-us.apache.org/repos/asf/logging-log4php/blob/79ed2d0d/tests/resources/configs/renderers/config_no_rendered_class.xml
----------------------------------------------------------------------
diff --git a/tests/resources/configs/renderers/config_no_rendered_class.xml b/tests/resources/configs/renderers/config_no_rendered_class.xml
new file mode 100644
index 0000000..836815e
--- /dev/null
+++ b/tests/resources/configs/renderers/config_no_rendered_class.xml
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements.  See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF 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.
+-->
+<configuration xmlns="http://logging.apache.org/log4php">
+    <appender name="foo" class="ConsoleAppender">
+        <layout class="SimpleLayout"/>
+    </appender>
+
+    <renderer renderingClass="DefaultRenderer" />
+
+    <root>
+        <level value="DEBUG" />
+        <appender_ref ref="foo" />
+    </root>
+</configuration>

http://git-wip-us.apache.org/repos/asf/logging-log4php/blob/79ed2d0d/tests/resources/configs/renderers/config_no_rendering_class.xml
----------------------------------------------------------------------
diff --git a/tests/resources/configs/renderers/config_no_rendering_class.xml b/tests/resources/configs/renderers/config_no_rendering_class.xml
new file mode 100644
index 0000000..77b14c4
--- /dev/null
+++ b/tests/resources/configs/renderers/config_no_rendering_class.xml
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements.  See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF 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.
+-->
+<configuration xmlns="http://logging.apache.org/log4php">
+    <appender name="foo" class="ConsoleAppender">
+        <layout class="SimpleLayout"/>
+    </appender>
+
+    <renderer />
+
+    <root>
+        <level value="DEBUG" />
+        <appender_ref ref="foo" />
+    </root>
+</configuration>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/logging-log4php/blob/79ed2d0d/tests/resources/configs/renderers/config_not_existing_rendering_class.xml
----------------------------------------------------------------------
diff --git a/tests/resources/configs/renderers/config_not_existing_rendering_class.xml b/tests/resources/configs/renderers/config_not_existing_rendering_class.xml
new file mode 100644
index 0000000..467bd25
--- /dev/null
+++ b/tests/resources/configs/renderers/config_not_existing_rendering_class.xml
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements.  See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF 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.
+-->
+<configuration xmlns="http://logging.apache.org/log4php">
+    <appender name="foo" class="ConsoleAppender">
+        <layout class="SimpleLayout"/>
+    </appender>
+
+    <renderer renderedClass="stdClass" renderingClass="DoesNotExistRenderer" />
+
+    <root>
+        <level value="DEBUG" />
+        <appender_ref ref="foo" />
+    </root>
+</configuration>


Mime
View raw message