Index: pom.xml =================================================================== --- pom.xml (revision 744052) +++ pom.xml (working copy) @@ -107,78 +107,7 @@ - - maven-surefire-plugin - - - **/*TestAll.java - - -Xmx128m - - - derby.system.durability - test - - - derby.storage.fileSyncTransactionLog - true - - - derby.stream.error.file - target/derby.log - - - known.issues - - org.apache.jackrabbit.core.xml.DocumentViewTest#testMultiValue - org.apache.jackrabbit.value.BinaryValueTest#testBinaryValueEquals - - - - - - - do_init - pre-integration-test - - - **/integration/PrepareTestRepository.java - - - - test - - - - do_test - integration-test - - - **/integration/*Test.java - - - - test - - - - - - maven-checkstyle-plugin - - checkstyle.xml - - - - - src/main/resources - - - src/main/resources-filtered - true - - Index: src/test/java/org/apache/jackrabbit/spi/commons/conversion/TestAll.java =================================================================== --- src/test/java/org/apache/jackrabbit/spi/commons/conversion/TestAll.java (revision 744052) +++ src/test/java/org/apache/jackrabbit/spi/commons/conversion/TestAll.java (working copy) @@ -1,45 +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. - */ -package org.apache.jackrabbit.spi.commons.conversion; - -import junit.framework.TestCase; -import junit.framework.Test; -import junit.framework.TestSuite; - -/** - * Test suite that includes all testcases for the Core module. - */ -public class TestAll extends TestCase { - - /** - * Returns a Test suite that executes all tests inside this - * package. - * - * @return a Test suite that executes all tests inside this - * package. - */ - public static Test suite() { - TestSuite suite = new TestSuite("conversion tests"); - - suite.addTestSuite(ParsingNameResolverTest.class); - suite.addTestSuite(ParsingPathResolverTest.class); - suite.addTestSuite(NameParserTest.class); - suite.addTestSuite(PathParserTest.class); - - return suite; - } -} Index: src/test/java/org/apache/jackrabbit/spi/commons/identifier/TestAll.java =================================================================== --- src/test/java/org/apache/jackrabbit/spi/commons/identifier/TestAll.java (revision 744052) +++ src/test/java/org/apache/jackrabbit/spi/commons/identifier/TestAll.java (working copy) @@ -1,42 +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. - */ -package org.apache.jackrabbit.spi.commons.identifier; - -import junit.framework.Test; -import junit.framework.TestSuite; -import junit.framework.TestCase; - -/** - * TestAll contains all identifier related test cases. - */ -public class TestAll extends TestCase { - - /** - * Returns a Test suite that executes all tests inside this - * package. - * - * @return a Test suite that executes all tests inside this - * package. - */ - public static Test suite() { - TestSuite suite = new TestSuite("identifier tests"); - - suite.addTestSuite(SerializationTest.class); - - return suite; - } -} Index: src/test/java/org/apache/jackrabbit/spi/commons/name/TestAll.java =================================================================== --- src/test/java/org/apache/jackrabbit/spi/commons/name/TestAll.java (revision 744052) +++ src/test/java/org/apache/jackrabbit/spi/commons/name/TestAll.java (working copy) @@ -1,47 +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. - */ -package org.apache.jackrabbit.spi.commons.name; - -import junit.framework.Test; -import junit.framework.TestCase; -import junit.framework.TestSuite; - -/** - * Test suite that includes all testcases for the Core module. - */ -public class TestAll extends TestCase { - - /** - * Returns a Test suite that executes all tests inside this - * package. - * - * @return a Test suite that executes all tests inside this - * package. - */ - public static Test suite() { - TestSuite suite = new TestSuite("name tests"); - - suite.addTestSuite(NameFactoryTest.class); - suite.addTestSuite(PathBuilderTest.class); - suite.addTestSuite(PathFactoryTest.class); - suite.addTestSuite(PathTest.class); - suite.addTestSuite(PatternTest.class); - suite.addTestSuite(MatcherTest.class); - - return suite; - } -} Index: src/test/java/org/apache/jackrabbit/spi/commons/nodetype/compact/TestAll.java =================================================================== --- src/test/java/org/apache/jackrabbit/spi/commons/nodetype/compact/TestAll.java (revision 744052) +++ src/test/java/org/apache/jackrabbit/spi/commons/nodetype/compact/TestAll.java (working copy) @@ -1,40 +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. - */ -package org.apache.jackrabbit.spi.commons.nodetype.compact; - -import junit.framework.Test; -import junit.framework.TestCase; -import junit.framework.TestSuite; - -/** - * Test suite that includes all test cases for compact node type tools. - */ -public class TestAll extends TestCase { - - /** - * Returns a Test suite that executes all tests inside this - * package. - * - * @return a Test suite that executes all tests inside this - * package. - */ - public static Test suite() { - TestSuite suite = new TestSuite("Compact Node Type Tools Tests"); - suite.addTestSuite(CompactNodeTypeDefTest.class); - return suite; - } -} Index: src/test/java/org/apache/jackrabbit/spi/commons/nodetype/TestAll.java =================================================================== --- src/test/java/org/apache/jackrabbit/spi/commons/nodetype/TestAll.java (revision 744052) +++ src/test/java/org/apache/jackrabbit/spi/commons/nodetype/TestAll.java (working copy) @@ -1,48 +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. - */ -package org.apache.jackrabbit.spi.commons.nodetype; - -import junit.framework.TestCase; -import junit.framework.Test; -import junit.framework.TestSuite; - -/** - * Test suite that includes all test cases for compact node type tools. - */ -public class TestAll extends TestCase { - - /** - * Returns a Test suite that executes all tests inside this - * package. - * - * @return a Test suite that executes all tests inside this - * package. - */ - public static Test suite() { - TestSuite suite = new TestSuite("Node Type Tests"); - - suite.addTestSuite(BooleanConstraintTest.class); - suite.addTestSuite(DateConstraintTest.class); - suite.addTestSuite(NameConstraintTest.class); - suite.addTestSuite(NumericConstraintTest.class); - suite.addTestSuite(PathConstraintTest.class); - suite.addTestSuite(ReferenceConstraintTest.class); - suite.addTestSuite(StringConstraintTest.class); - - return suite; - } -} Index: src/test/java/org/apache/jackrabbit/spi/commons/value/TestAll.java =================================================================== --- src/test/java/org/apache/jackrabbit/spi/commons/value/TestAll.java (revision 744052) +++ src/test/java/org/apache/jackrabbit/spi/commons/value/TestAll.java (working copy) @@ -1,42 +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. - */ -package org.apache.jackrabbit.spi.commons.value; - -import junit.framework.Test; -import junit.framework.TestCase; -import junit.framework.TestSuite; - -/** - * Test suite that includes all testcases for the Core module. - */ -public class TestAll extends TestCase { - - /** - * Returns a Test suite that executes all tests inside this - * package. - * - * @return a Test suite that executes all tests inside this - * package. - */ - public static Test suite() { - TestSuite suite = new TestSuite("value tests"); - - suite.addTestSuite(QValueTest.class); - - return suite; - } -} Index: src/test/resources/log4j.properties =================================================================== --- src/test/resources/log4j.properties (revision 0) +++ src/test/resources/log4j.properties (revision 0) @@ -0,0 +1,36 @@ +# 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. + +# Set root logger level to DEBUG and its only appender to A1. +log4j.rootLogger=INFO, file +#log4j.rootLogger=DEBUG, stdout, file +#log4j.rootLogger=ERROR, stdout, file + +log4j.logger.org.apache.jackrabbit.test=DEBUG + +# 'stdout' is set to be a ConsoleAppender. +log4j.appender.stdout=org.apache.log4j.ConsoleAppender + +# 'stdout' uses PatternLayout +log4j.appender.stdout.layout=org.apache.log4j.PatternLayout +log4j.appender.stdout.layout.ConversionPattern=%d{dd.MM.yyyy HH:mm:ss} *%-5p* [%t] %c{1}: %m (%F, line %L)\n + +# 'file' is set to be a FileAppender. +log4j.appender.file=org.apache.log4j.FileAppender +log4j.appender.file.File=target/jcr.log + +# 'file' uses PatternLayout. +log4j.appender.file.layout=org.apache.log4j.PatternLayout +log4j.appender.file.layout.ConversionPattern=%d{dd.MM.yyyy HH:mm:ss} *%-5p* [%t] %c{1}: %m (%F, line %L)\n Property changes on: src\test\resources\log4j.properties ___________________________________________________________________ Added: svn:eol-style + native