You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-commits@xmlgraphics.apache.org by ga...@apache.org on 2014/11/16 14:46:33 UTC

svn commit: r1639984 [1/2] - in /xmlgraphics/batik/branches/junit: ./ lib/build/ test-sources/org/apache/batik/css/engine/value/ test-sources/org/apache/batik/dom/ test-sources/org/apache/batik/dom/svg/ test-sources/org/apache/batik/swing/ test-sources...

Author: gadams
Date: Sun Nov 16 13:46:30 2014
New Revision: 1639984

URL: http://svn.apache.org/r1639984
Log:
Add junit build support; start converting unit tests.

Added:
    xmlgraphics/batik/branches/junit/test/
    xmlgraphics/batik/branches/junit/test/java/
    xmlgraphics/batik/branches/junit/test/java/org/
    xmlgraphics/batik/branches/junit/test/java/org/apache/
    xmlgraphics/batik/branches/junit/test/java/org/apache/batik/
    xmlgraphics/batik/branches/junit/test/java/org/apache/batik/css/
    xmlgraphics/batik/branches/junit/test/java/org/apache/batik/css/engine/
    xmlgraphics/batik/branches/junit/test/java/org/apache/batik/css/engine/value/
    xmlgraphics/batik/branches/junit/test/java/org/apache/batik/css/engine/value/PropertyManagerTestCase.java
      - copied, changed from r1639318, xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/css/engine/value/PropertyManagerTest.java
    xmlgraphics/batik/branches/junit/test/java/org/apache/batik/dom/
    xmlgraphics/batik/branches/junit/test/java/org/apache/batik/dom/AppendChildTestCase.java
      - copied, changed from r1639318, xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/dom/AppendChildTest.java
    xmlgraphics/batik/branches/junit/test/java/org/apache/batik/dom/AttrIsIdTestCase.java
      - copied, changed from r1639318, xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/dom/AttrIsIdTest.java
    xmlgraphics/batik/branches/junit/test/java/org/apache/batik/dom/CloneElementTestCase.java
      - copied, changed from r1639318, xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/dom/CloneElementTest.java
    xmlgraphics/batik/branches/junit/test/java/org/apache/batik/dom/DOM3Test.java
      - copied unchanged from r1639318, xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/dom/DOM3Test.java
    xmlgraphics/batik/branches/junit/test/java/org/apache/batik/dom/DOMUtilitiesCharacterEscaping.java
      - copied unchanged from r1639318, xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/dom/DOMUtilitiesCharacterEscaping.java
    xmlgraphics/batik/branches/junit/test/java/org/apache/batik/dom/DocumentAdoptNodeTestCase.java
      - copied, changed from r1639318, xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/dom/DocumentAdoptNodeTest.java
    xmlgraphics/batik/branches/junit/test/java/org/apache/batik/dom/DocumentNormalizeDocumentTestCase.java
      - copied, changed from r1639318, xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/dom/DocumentNormalizeDocumentTest.java
    xmlgraphics/batik/branches/junit/test/java/org/apache/batik/dom/DocumentRenameNodeTestCase.java
      - copied, changed from r1639318, xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/dom/DocumentRenameNodeTest.java
    xmlgraphics/batik/branches/junit/test/java/org/apache/batik/dom/EcmaScriptDOMTest.java
      - copied unchanged from r1639318, xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/dom/EcmaScriptDOMTest.java
    xmlgraphics/batik/branches/junit/test/java/org/apache/batik/dom/ElementSetIdAttributeNSTestCase.java
      - copied, changed from r1639318, xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/dom/ElementSetIdAttributeNSTest.java
    xmlgraphics/batik/branches/junit/test/java/org/apache/batik/dom/ElementTraversalTestCase.java
      - copied, changed from r1639318, xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/dom/ElementTraversalTest.java
    xmlgraphics/batik/branches/junit/test/java/org/apache/batik/dom/EventTargetAddEventListenerNSTestCase.java
      - copied, changed from r1639318, xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/dom/EventTargetAddEventListenerNSTest.java
    xmlgraphics/batik/branches/junit/test/java/org/apache/batik/dom/GetElementsByTagNameNSTestCase.java
      - copied, changed from r1639318, xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/dom/GetElementsByTagNameNSTest.java
    xmlgraphics/batik/branches/junit/test/java/org/apache/batik/dom/HasChildNodesTestCase.java
      - copied, changed from r1639318, xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/dom/HasChildNodesTest.java
    xmlgraphics/batik/branches/junit/test/java/org/apache/batik/dom/NodeBaseURITestCase.java
      - copied, changed from r1639318, xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/dom/NodeBaseURITest.java
    xmlgraphics/batik/branches/junit/test/java/org/apache/batik/dom/NodeCompareDocumentPositionTestCase.java
      - copied, changed from r1639318, xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/dom/NodeCompareDocumentPositionTest.java
    xmlgraphics/batik/branches/junit/test/java/org/apache/batik/dom/NodeGetUserDataTestCase.java
      - copied, changed from r1639318, xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/dom/NodeGetUserDataTest.java
    xmlgraphics/batik/branches/junit/test/java/org/apache/batik/dom/NodeTextContentTestCase.java
      - copied, changed from r1639318, xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/dom/NodeTextContentTest.java
    xmlgraphics/batik/branches/junit/test/java/org/apache/batik/dom/NullNamespaceTestCase.java
      - copied, changed from r1639318, xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/dom/NullNamespaceTest.java
    xmlgraphics/batik/branches/junit/test/java/org/apache/batik/dom/RemoveAttributeTestCase.java
      - copied, changed from r1639318, xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/dom/RemoveAttributeTest.java
    xmlgraphics/batik/branches/junit/test/java/org/apache/batik/dom/ReplaceChildTestCase.java
      - copied, changed from r1639318, xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/dom/ReplaceChildTest.java
    xmlgraphics/batik/branches/junit/test/java/org/apache/batik/dom/SerializationTestCase.java
      - copied, changed from r1639318, xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/dom/SerializationTest.java
    xmlgraphics/batik/branches/junit/test/java/org/apache/batik/dom/SetAttributeTestCase.java
      - copied, changed from r1639318, xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/dom/SetAttributeTest.java
    xmlgraphics/batik/branches/junit/test/java/org/apache/batik/dom/TextReplaceWholeTextTestCase.java
      - copied, changed from r1639318, xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/dom/TextReplaceWholeTextTest.java
    xmlgraphics/batik/branches/junit/test/java/org/apache/batik/dom/TextWholeTextTestCase.java
      - copied, changed from r1639318, xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/dom/TextWholeTextTest.java
    xmlgraphics/batik/branches/junit/test/java/org/apache/batik/dom/svg/
    xmlgraphics/batik/branches/junit/test/java/org/apache/batik/dom/svg/CloneNodeTestCase.java
      - copied, changed from r1639318, xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/dom/svg/CloneNodeTest.java
    xmlgraphics/batik/branches/junit/test/java/org/apache/batik/dom/svg/EcmaScriptSVGDOMTest.java
      - copied unchanged from r1639318, xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/dom/svg/EcmaScriptSVGDOMTest.java
    xmlgraphics/batik/branches/junit/test/java/org/apache/batik/dom/svg/ImportNodeTestCase.java
      - copied, changed from r1639318, xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/dom/svg/ImportNodeTest.java
    xmlgraphics/batik/branches/junit/test/java/org/apache/batik/dom/svg/SystemIdTestCase.java
      - copied, changed from r1639318, xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/dom/svg/SystemIdTest.java
    xmlgraphics/batik/branches/junit/test/java/org/apache/batik/swing/
    xmlgraphics/batik/branches/junit/test/java/org/apache/batik/swing/JSVGCanvasHandler.java
      - copied unchanged from r1639318, xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/swing/JSVGCanvasHandler.java
    xmlgraphics/batik/branches/junit/test/java/org/apache/batik/swing/JSVGInterruptTest.java
      - copied unchanged from r1639318, xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/swing/JSVGInterruptTest.java
    xmlgraphics/batik/branches/junit/test/java/org/apache/batik/swing/JSVGMemoryLeakTest.java
      - copied unchanged from r1639318, xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/swing/JSVGMemoryLeakTest.java
    xmlgraphics/batik/branches/junit/test/java/org/apache/batik/swing/NullSetSVGDocumentTest.java
      - copied unchanged from r1639318, xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/swing/NullSetSVGDocumentTest.java
    xmlgraphics/batik/branches/junit/test/java/org/apache/batik/swing/NullURITest.java
      - copied unchanged from r1639318, xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/swing/NullURITest.java
    xmlgraphics/batik/branches/junit/test/java/org/apache/batik/swing/SetSVGDocumentTest.java
      - copied unchanged from r1639318, xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/swing/SetSVGDocumentTest.java
    xmlgraphics/batik/branches/junit/test/java/org/apache/batik/swing/TestMessages.java
      - copied unchanged from r1639318, xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/swing/TestMessages.java
    xmlgraphics/batik/branches/junit/test/java/org/apache/batik/test/
    xmlgraphics/batik/branches/junit/test/java/org/apache/batik/test/AbstractTest.java
      - copied unchanged from r1639318, xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/test/AbstractTest.java
    xmlgraphics/batik/branches/junit/test/java/org/apache/batik/test/AssertEqualsException.java
      - copied unchanged from r1639318, xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/test/AssertEqualsException.java
    xmlgraphics/batik/branches/junit/test/java/org/apache/batik/test/AssertException.java
      - copied unchanged from r1639318, xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/test/AssertException.java
    xmlgraphics/batik/branches/junit/test/java/org/apache/batik/test/AssertNullException.java
      - copied unchanged from r1639318, xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/test/AssertNullException.java
    xmlgraphics/batik/branches/junit/test/java/org/apache/batik/test/AssertTrueException.java
      - copied unchanged from r1639318, xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/test/AssertTrueException.java
    xmlgraphics/batik/branches/junit/test/java/org/apache/batik/test/DefaultTestReport.java
      - copied unchanged from r1639318, xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/test/DefaultTestReport.java
    xmlgraphics/batik/branches/junit/test/java/org/apache/batik/test/DefaultTestSuite.java
      - copied unchanged from r1639318, xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/test/DefaultTestSuite.java
    xmlgraphics/batik/branches/junit/test/java/org/apache/batik/test/DefaultTestSuiteReport.java
      - copied unchanged from r1639318, xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/test/DefaultTestSuiteReport.java
    xmlgraphics/batik/branches/junit/test/java/org/apache/batik/test/MemoryLeakTest.java
      - copied unchanged from r1639318, xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/test/MemoryLeakTest.java
    xmlgraphics/batik/branches/junit/test/java/org/apache/batik/test/Messages.java
      - copied unchanged from r1639318, xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/test/Messages.java
    xmlgraphics/batik/branches/junit/test/java/org/apache/batik/test/Test.java
      - copied unchanged from r1639318, xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/test/Test.java
    xmlgraphics/batik/branches/junit/test/java/org/apache/batik/test/TestErrorConditionException.java
      - copied unchanged from r1639318, xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/test/TestErrorConditionException.java
    xmlgraphics/batik/branches/junit/test/java/org/apache/batik/test/TestException.java
      - copied unchanged from r1639318, xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/test/TestException.java
    xmlgraphics/batik/branches/junit/test/java/org/apache/batik/test/TestFilter.java
      - copied unchanged from r1639318, xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/test/TestFilter.java
    xmlgraphics/batik/branches/junit/test/java/org/apache/batik/test/TestReport.java
      - copied unchanged from r1639318, xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/test/TestReport.java
    xmlgraphics/batik/branches/junit/test/java/org/apache/batik/test/TestReportProcessor.java
      - copied unchanged from r1639318, xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/test/TestReportProcessor.java
    xmlgraphics/batik/branches/junit/test/java/org/apache/batik/test/TestReportValidator.java
      - copied unchanged from r1639318, xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/test/TestReportValidator.java
    xmlgraphics/batik/branches/junit/test/java/org/apache/batik/test/TestSuite.java
      - copied unchanged from r1639318, xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/test/TestSuite.java
    xmlgraphics/batik/branches/junit/test/java/org/apache/batik/test/TestSuiteReport.java
      - copied unchanged from r1639318, xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/test/TestSuiteReport.java
    xmlgraphics/batik/branches/junit/test/java/org/apache/batik/test/svg/
    xmlgraphics/batik/branches/junit/test/java/org/apache/batik/test/svg/AbstractRenderingAccuracyTest.java
      - copied unchanged from r1639318, xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/test/svg/AbstractRenderingAccuracyTest.java
    xmlgraphics/batik/branches/junit/test/java/org/apache/batik/test/svg/BERenderingTest.java
      - copied unchanged from r1639318, xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/test/svg/BERenderingTest.java
    xmlgraphics/batik/branches/junit/test/java/org/apache/batik/test/svg/JSVGRenderingAccuracyTest.java
      - copied unchanged from r1639318, xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/test/svg/JSVGRenderingAccuracyTest.java
    xmlgraphics/batik/branches/junit/test/java/org/apache/batik/test/svg/Messages.java
      - copied unchanged from r1639318, xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/test/svg/Messages.java
    xmlgraphics/batik/branches/junit/test/java/org/apache/batik/test/svg/ParametrizedRenderingAccuracyTest.java
      - copied unchanged from r1639318, xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/test/svg/ParametrizedRenderingAccuracyTest.java
    xmlgraphics/batik/branches/junit/test/java/org/apache/batik/test/svg/PreconfiguredRenderingTest.java
      - copied unchanged from r1639318, xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/test/svg/PreconfiguredRenderingTest.java
    xmlgraphics/batik/branches/junit/test/java/org/apache/batik/test/svg/SVGAccuracyTestProcessor.java
      - copied unchanged from r1639318, xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/test/svg/SVGAccuracyTestProcessor.java
    xmlgraphics/batik/branches/junit/test/java/org/apache/batik/test/svg/SVGAlternateStyleSheetRenderingAccuracyTest.java
      - copied unchanged from r1639318, xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/test/svg/SVGAlternateStyleSheetRenderingAccuracyTest.java
    xmlgraphics/batik/branches/junit/test/java/org/apache/batik/test/svg/SVGMediaRenderingAccuracyTest.java
      - copied unchanged from r1639318, xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/test/svg/SVGMediaRenderingAccuracyTest.java
    xmlgraphics/batik/branches/junit/test/java/org/apache/batik/test/svg/SVGOnLoadExceptionTest.java
      - copied unchanged from r1639318, xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/test/svg/SVGOnLoadExceptionTest.java
    xmlgraphics/batik/branches/junit/test/java/org/apache/batik/test/svg/SVGReferenceRenderingAccuracyTest.java
      - copied unchanged from r1639318, xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/test/svg/SVGReferenceRenderingAccuracyTest.java
    xmlgraphics/batik/branches/junit/test/java/org/apache/batik/test/svg/SVGRenderingAccuracyTest.java
      - copied unchanged from r1639318, xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/test/svg/SVGRenderingAccuracyTest.java
    xmlgraphics/batik/branches/junit/test/java/org/apache/batik/test/svg/SVGRenderingAccuracyTestValidator.java
      - copied unchanged from r1639318, xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/test/svg/SVGRenderingAccuracyTestValidator.java
    xmlgraphics/batik/branches/junit/test/java/org/apache/batik/test/svg/SVGTextContentRenderingAccuracyTest.java
      - copied unchanged from r1639318, xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/test/svg/SVGTextContentRenderingAccuracyTest.java
    xmlgraphics/batik/branches/junit/test/java/org/apache/batik/test/svg/SamplesRenderingTest.java
      - copied unchanged from r1639318, xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/test/svg/SamplesRenderingTest.java
    xmlgraphics/batik/branches/junit/test/java/org/apache/batik/test/svg/SelfContainedSVGOnLoadTest.java
      - copied unchanged from r1639318, xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/test/svg/SelfContainedSVGOnLoadTest.java
    xmlgraphics/batik/branches/junit/test/java/org/apache/batik/test/svg/SelfContainedSVGOnLoadTestValidator.java
      - copied unchanged from r1639318, xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/test/svg/SelfContainedSVGOnLoadTestValidator.java
    xmlgraphics/batik/branches/junit/test/java/org/apache/batik/test/xml/
    xmlgraphics/batik/branches/junit/test/java/org/apache/batik/test/xml/DummyValidTest.java
      - copied unchanged from r1639318, xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/test/xml/DummyValidTest.java
    xmlgraphics/batik/branches/junit/test/java/org/apache/batik/test/xml/DummyValidTestSuite.java
      - copied unchanged from r1639318, xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/test/xml/DummyValidTestSuite.java
    xmlgraphics/batik/branches/junit/test/java/org/apache/batik/test/xml/Messages.java
      - copied unchanged from r1639318, xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/test/xml/Messages.java
    xmlgraphics/batik/branches/junit/test/java/org/apache/batik/test/xml/XMLReflect.java
      - copied unchanged from r1639318, xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/test/xml/XMLReflect.java
    xmlgraphics/batik/branches/junit/test/java/org/apache/batik/test/xml/XMLReflectConstants.java
      - copied unchanged from r1639318, xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/test/xml/XMLReflectConstants.java
    xmlgraphics/batik/branches/junit/test/java/org/apache/batik/test/xml/XMLTestReportProcessor.java
      - copied unchanged from r1639318, xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/test/xml/XMLTestReportProcessor.java
    xmlgraphics/batik/branches/junit/test/java/org/apache/batik/test/xml/XMLTestSuiteLoader.java
      - copied unchanged from r1639318, xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/test/xml/XMLTestSuiteLoader.java
    xmlgraphics/batik/branches/junit/test/java/org/apache/batik/test/xml/XMLTestSuiteRunner.java
      - copied unchanged from r1639318, xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/test/xml/XMLTestSuiteRunner.java
    xmlgraphics/batik/branches/junit/test/java/org/apache/batik/test/xml/XMLTestSuiteRunnerValidator.java
      - copied unchanged from r1639318, xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/test/xml/XMLTestSuiteRunnerValidator.java
    xmlgraphics/batik/branches/junit/test/java/org/apache/batik/test/xml/XSLXMLReportConsumer.java
      - copied unchanged from r1639318, xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/test/xml/XSLXMLReportConsumer.java
    xmlgraphics/batik/branches/junit/test/java/org/apache/batik/test/xml/XTRConstants.java
      - copied unchanged from r1639318, xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/test/xml/XTRConstants.java
    xmlgraphics/batik/branches/junit/test/java/org/apache/batik/test/xml/XTRunConstants.java
      - copied unchanged from r1639318, xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/test/xml/XTRunConstants.java
    xmlgraphics/batik/branches/junit/test/java/org/apache/batik/test/xml/XTSConstants.java
      - copied unchanged from r1639318, xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/test/xml/XTSConstants.java
Removed:
    xmlgraphics/batik/branches/junit/lib/build/LICENSE.ant-1.6.5.txt
    xmlgraphics/batik/branches/junit/lib/build/README.ant-1.6.5.txt
    xmlgraphics/batik/branches/junit/lib/build/ant-1.6.5.jar
    xmlgraphics/batik/branches/junit/lib/build/ant-launcher-1.6.5.jar
    xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/css/engine/value/PropertyManagerTest.java
    xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/dom/AppendChildTest.java
    xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/dom/AttrIsIdTest.java
    xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/dom/CloneElementTest.java
    xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/dom/DOM3Test.java
    xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/dom/DOMUtilitiesCharacterEscaping.java
    xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/dom/DocumentAdoptNodeTest.java
    xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/dom/DocumentNormalizeDocumentTest.java
    xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/dom/DocumentRenameNodeTest.java
    xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/dom/EcmaScriptDOMTest.java
    xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/dom/ElementSetIdAttributeNSTest.java
    xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/dom/ElementTraversalTest.java
    xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/dom/EventTargetAddEventListenerNSTest.java
    xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/dom/GetElementsByTagNameNSTest.java
    xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/dom/HasChildNodesTest.java
    xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/dom/NodeBaseURITest.java
    xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/dom/NodeCompareDocumentPositionTest.java
    xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/dom/NodeGetUserDataTest.java
    xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/dom/NodeTextContentTest.java
    xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/dom/NullNamespaceTest.java
    xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/dom/RemoveAttributeTest.java
    xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/dom/ReplaceChildTest.java
    xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/dom/SerializationTest.java
    xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/dom/SetAttributeTest.java
    xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/dom/TextReplaceWholeTextTest.java
    xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/dom/TextWholeTextTest.java
    xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/dom/svg/CloneNodeTest.java
    xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/dom/svg/EcmaScriptSVGDOMTest.java
    xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/dom/svg/ImportNodeTest.java
    xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/dom/svg/SystemIdTest.java
    xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/swing/JSVGCanvasHandler.java
    xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/swing/JSVGInterruptTest.java
    xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/swing/JSVGMemoryLeakTest.java
    xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/swing/NullSetSVGDocumentTest.java
    xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/swing/NullURITest.java
    xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/swing/SetSVGDocumentTest.java
    xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/swing/TestMessages.java
    xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/test/DefaultTestSuite.java
    xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/test/DefaultTestSuiteReport.java
    xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/test/MemoryLeakTest.java
    xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/test/TestException.java
    xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/test/TestFilter.java
    xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/test/TestReportProcessor.java
    xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/test/TestReportValidator.java
    xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/test/svg/AbstractRenderingAccuracyTest.java
    xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/test/svg/BERenderingTest.java
    xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/test/svg/JSVGRenderingAccuracyTest.java
    xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/test/svg/Messages.java
    xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/test/svg/ParametrizedRenderingAccuracyTest.java
    xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/test/svg/PreconfiguredRenderingTest.java
    xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/test/svg/SVGAccuracyTestProcessor.java
    xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/test/svg/SVGAlternateStyleSheetRenderingAccuracyTest.java
    xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/test/svg/SVGMediaRenderingAccuracyTest.java
    xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/test/svg/SVGOnLoadExceptionTest.java
    xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/test/svg/SVGReferenceRenderingAccuracyTest.java
    xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/test/svg/SVGRenderingAccuracyTest.java
    xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/test/svg/SVGRenderingAccuracyTestValidator.java
    xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/test/svg/SVGTextContentRenderingAccuracyTest.java
    xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/test/svg/SamplesRenderingTest.java
    xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/test/svg/SelfContainedSVGOnLoadTest.java
    xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/test/svg/SelfContainedSVGOnLoadTestValidator.java
    xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/test/xml/DummyValidTest.java
    xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/test/xml/DummyValidTestSuite.java
    xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/test/xml/Messages.java
    xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/test/xml/XMLReflect.java
    xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/test/xml/XMLReflectConstants.java
    xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/test/xml/XMLTestReportProcessor.java
    xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/test/xml/XMLTestSuiteLoader.java
    xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/test/xml/XMLTestSuiteRunner.java
    xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/test/xml/XMLTestSuiteRunnerValidator.java
    xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/test/xml/XSLXMLReportConsumer.java
    xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/test/xml/XTRConstants.java
    xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/test/xml/XTRunConstants.java
    xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/test/xml/XTSConstants.java
Modified:
    xmlgraphics/batik/branches/junit/build.xml

Modified: xmlgraphics/batik/branches/junit/build.xml
URL: http://svn.apache.org/viewvc/xmlgraphics/batik/branches/junit/build.xml?rev=1639984&r1=1639983&r2=1639984&view=diff
==============================================================================
--- xmlgraphics/batik/branches/junit/build.xml (original)
+++ xmlgraphics/batik/branches/junit/build.xml Sun Nov 16 13:46:30 2014
@@ -226,11 +226,70 @@ To display the available targets type:
       <os family="windows"/>
     </condition>
   
+    <property name="build.dir" value="${basedir}/${build}"/>
+    <property name="build.unit.tests.dir" value="${build.dir}/test-classes"/>
+    <property name="test.dir" value="${basedir}/test"/>
+    <property name="junit.fork" value="yes"/>
+    <property name="junit.formatter.brief" value="on"/>
+    <property name="junit.haltonfailure" value="off"/>
+    <property name="junit.html.reports.dir" value="${build.dir}/test-reports/html"/>
+    <property name="junit.printsummary" value="off"/>
+    <property name="junit.reports.dir" value="${build.dir}/test-reports"/>
+    <property name="lib-tools" value="${basedir}/lib/build"/>
+
+    <path id="junit-libs-build-classpath">
+      <fileset dir="${basedir}/lib">
+        <include name="*.jar"/>
+      </fileset>
+    </path>
+
+    <path id="junit-libs-tools-build-classpath">
+      <path refid="junit-libs-build-classpath"/>
+      <fileset dir="${lib-tools}">
+        <include name="*.jar"/>
+      </fileset>
+    </path>
+
+    <path id="junit-standard-classpath">
+      <pathelement location="${build.unit.tests.dir}"/>
+      <path refid="junit-libs-tools-build-classpath"/>
+      <fileset dir="${build.dir}/lib">
+        <include name="${project}-all.jar"/>
+      </fileset>
+    </path>
+
+    <available property="junit.present" classname="org.junit.Test" classpathref="junit-libs-tools-build-classpath"/>
+    <condition property="junit.message" value="    JUnit:     Support PRESENT">
+      <equals arg1="${junit.present}" arg2="true"/>
+    </condition>
+    <condition property="junit.message" value="    JUnit:     Support NOT Present - Committers are required to have JUnit working">
+      <not>
+        <equals arg1="${junit.present}" arg2="true"/>
+      </not>
+    </condition>
+
+    <condition property="xmlunit.present">
+      <and>
+        <available classname="org.custommonkey.xmlunit.XMLTestCase" classpathref="junit-libs-tools-build-classpath"/>
+        <isset property="junit.present"/>
+      </and>
+    </condition>
+    <condition property="xmlunit.message" value="    XMLUnit:   Support PRESENT">
+      <equals arg1="${xmlunit.present}" arg2="true"/>
+    </condition>
+    <condition property="xmlunit.message" value="    XMLUnit:   Support NOT Present - you can get it from http://xmlunit.sourceforge.net">
+      <not>
+        <equals arg1="${xmlunit.present}" arg2="true"/>
+      </not>
+    </condition>
+
     <!-- Info ............................................................... -->
     <echo message=" == ${Project} ${completeVersion} build file ================================"/>
     <echo message=""/>
     <echo message="    JAVA_HOME: ${env.JAVA_HOME}"/>
     <echo message="    VM:        ${java.vm.version}, ${java.vm.vendor}"/>
+    <echo message="${junit.message}"/>
+    <echo message="${xmlunit.message}"/>
   </target>
 
   <!-- Help ............................................................... -->
@@ -2233,4 +2292,132 @@ JAVA=/usr/bin/java
     <delete file="${project}-docs-${completeVersion}.tar.gz"/>
     <delete file="${project}-src-${completeVersion}.tar.gz"/>
   </target>
+
+  <!-- Junit testing .. -->
+
+  <presetdef name="junit">
+    <junit haltonfailure="${junit.haltonfailure}"
+      fork="${junit.fork}"
+      printsummary="${junit.printsummary}"
+      maxmemory="256m"/>
+  </presetdef>
+
+  <macrodef name="junit-run">
+    <attribute name="title"/>
+    <attribute name="basedir" default=""/>
+    <attribute name="testsuite"/>
+    <attribute name="outfile"/>
+    <attribute name="classpath" default="junit-standard-classpath"/>
+    <sequential>
+      <echo message="Running @{title} tests..."/>
+      <junit dir="${basedir}" haltonfailure="yes" fork="${junit.fork}" forkmode="once" 
+        errorproperty="batik.junit.error" failureproperty="batik.junit.failure" printsummary="${junit.printsummary}">
+        <sysproperty key="basedir" value="${basedir}/@{basedir}"/>
+        <sysproperty key="jawa.awt.headless" value="true"/>
+        <formatter type="brief" usefile="false" if="junit.formatter.brief.use"/>
+        <formatter type="plain" usefile="true"/>
+        <formatter type="xml" usefile="true"/>
+        <classpath>
+          <path refid="@{classpath}"/>
+        </classpath>
+	<assertions>
+	  <enable/>
+	</assertions>
+        <test name="@{testsuite}" todir="${junit.reports.dir}" outfile="@{outfile}"/>
+      </junit>
+    </sequential>
+  </macrodef>
+
+  <target name="junit-init" depends="init" if="xmlunit.present">
+    <condition property="junit.formatter.brief.use">
+      <istrue value="${junit.formatter.brief}"/>
+    </condition>
+  </target>
+
+  <target name="junit-with-xmlunit" depends="junit-init" if="xmlunit.present">
+    <patternset id="test-sources"/>
+  </target>
+
+  <target name="junit-without-xmlunit" depends="junit-init" unless="xmlunit.present">
+    <patternset id="test-sources">
+      <exclude name="**/intermediate/*"/>
+    </patternset>
+  </target>
+
+  <target name="junit-compile-java" depends="all-jar, junit-with-xmlunit, junit-without-xmlunit" if="junit.present">
+    <mkdir dir="${build.unit.tests.dir}"/>
+    <mkdir dir="${junit.reports.dir}"/>
+    <javac destdir="${build.unit.tests.dir}" includeAntRuntime="true">
+      <src path="${test.dir}/java"/>
+      <patternset refid="test-sources"/>
+      <classpath>
+        <path refid="junit-libs-tools-build-classpath"/>
+        <fileset dir="${build.dir}/lib">
+          <include name="${project}-all.jar"/>
+        </fileset>
+      </classpath>
+    </javac>
+    <copy todir="${build.unit.tests.dir}">
+      <fileset dir="${test.dir}/java">
+        <include name="**/*.svg"/>
+      </fileset>
+    </copy>
+  </target>
+
+  <target name="junit-compile-copy-resources" if="junit.present">
+<!--    <copy todir="${build.unit.tests.dir}"/> -->
+  </target>
+
+  <target name="junit-compile" depends="junit-init, junit-compile-java, junit-compile-copy-resources" description="Compiles BATIK's JUnit tests" if="junit.present"/>
+
+  <target name="junit-all" depends="junit-compile" description="Runs BATIK's JUnit basic tests" if="junit.present">
+    <junit dir="${basedir}" haltonfailure="yes" fork="${junit.fork}" forkmode="once" 
+      errorproperty="batik.junit.error" failureproperty="batik.junit.failure" printsummary="${junit.printsummary}">
+      <sysproperty key="jawa.awt.headless" value="true"/>
+      <formatter type="brief" usefile="false" if="junit.formatter.brief.use"/>
+      <formatter type="plain" usefile="true"/>
+      <formatter type="xml" usefile="true"/>
+      <classpath>
+        <path refid="junit-standard-classpath"/>
+      </classpath>
+      <assertions>
+        <enable/>
+      </assertions>
+      <batchtest todir="${junit.reports.dir}">
+        <fileset dir="${build.unit.tests.dir}" includes="**/*TestCase.class"/>
+      </batchtest>
+    </junit>
+  </target>
+
+  <target name="junit" depends="junit-all" description="Runs all of BATIK's JUnit tests" 
+    if="junit.present">
+    <fail>
+      <condition>
+        <or>
+          <isset property="batik.junit.error"/>
+          <isset property="batik.junit.failure"/>
+        </or>
+      </condition>
+NOTE:
+**************************************************************************
+* One or more of the Junit tests had Failures or Errors or were skipped! *
+*         Please check the output above for relevant messages.           *
+*    Or use the "junit-reports" target to generate HTML test reports.    *
+**************************************************************************
+    </fail>
+    <echo>All Junit tests passed!</echo>
+    <echo>Use the "junit-reports" target to generate HTML test reports</echo>
+  </target>
+
+  <target name="junit-reports" description="Generates HTML test reports">
+    <mkdir dir="${junit.html.reports.dir}"/>
+    <junitreport todir="${junit.reports.dir}">
+      <fileset dir="${junit.reports.dir}">
+        <include name="TEST-*.xml"/>
+      </fileset>
+      <report format="frames" todir="${junit.html.reports.dir}"/>
+    </junitreport>
+    <echo>JUnit HTML test reports should be available in ${junit.html.reports.dir}</echo>
+  </target>
+
 </project>

Copied: xmlgraphics/batik/branches/junit/test/java/org/apache/batik/css/engine/value/PropertyManagerTestCase.java (from r1639318, xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/css/engine/value/PropertyManagerTest.java)
URL: http://svn.apache.org/viewvc/xmlgraphics/batik/branches/junit/test/java/org/apache/batik/css/engine/value/PropertyManagerTestCase.java?p2=xmlgraphics/batik/branches/junit/test/java/org/apache/batik/css/engine/value/PropertyManagerTestCase.java&p1=xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/css/engine/value/PropertyManagerTest.java&r1=1639318&r2=1639984&rev=1639984&view=diff
==============================================================================
--- xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/css/engine/value/PropertyManagerTest.java (original)
+++ xmlgraphics/batik/branches/junit/test/java/org/apache/batik/css/engine/value/PropertyManagerTestCase.java Sun Nov 16 13:46:30 2014
@@ -32,130 +32,787 @@ import org.apache.batik.test.DefaultTest
 import org.apache.batik.test.TestReport;
 import org.apache.batik.util.CSSConstants;
 
+import org.junit.Ignore;
+import org.junit.Test;
+
+import static org.junit.Assert.assertNotNull;
+import static org.junit.Assert.assertTrue;
+import static org.junit.Assert.fail;
+
 /**
  * The class to test the CSS properties's manager.
  *
  * @author <a href="mailto:Thierry.Kormann@sophia.inria.fr">Thierry Kormann</a>
  * @version $Id$
  */
-public class PropertyManagerTest extends AbstractTest {
-
-    /**
-     * The error code for the 'is inherited' test.
-     */
-    public static final String ERROR_IS_INHERITED =
-        "PropertyManagerTest.error.inherited";
-
-    /**
-     * The error code if the property does not support the 'inherit' value.
-     */
-    public static final String ERROR_INHERIT_VALUE =
-        "PropertyManagerTest.error.inherit.value";
-
-    /**
-     * The error code for the 'default value' test.
-     */
-    public static final String ERROR_INVALID_DEFAULT_VALUE =
-        "PropertyManagerTest.error.invalid.default.value";
-
-    /**
-     * The error code for an invalid property value.
-     */
-    public static final String ERROR_INVALID_VALUE =
-        "PropertyManagerTest.error.invalid.value";
-
-    /**
-     * The error code if an exception occured while creating the manager.
-     */
-    public static final String ERROR_INSTANTIATION =
-        "PropertyManagerTest.error.instantiation";
-
-    /**
-     * The class of the manager.
-     */
-    protected String managerClassName;
-
-    /**
-     * This flag bit indicates whether or not the property is inherited.
-     */
-    protected Boolean isInherited;
+public class PropertyManagerTestCase extends AbstractTest {
 
-    /**
-     * The candidate values of the property.
-     */
-    protected String [] identValues;
-
-    /**
-     * The candidate default value of the property.
-     */
-    protected String defaultValue;
-
-    /**
-     * Constructs a new test for the specified manager classname.
-     *
-     * @param managerClassName the classname of the manager to test
-     * @param isInherited the expected flag to see if the property is inherited
-     * @param defaultValue the default value
-     * @param identValueList the list of possible identifiers
-     */
-    public PropertyManagerTest(String managerClassName,
-                               Boolean isInherited,
-                               String defaultValue,
-                               String identValueList) {
-        this.managerClassName = managerClassName;
-        this.isInherited = isInherited;
-        this.defaultValue = defaultValue;
-        StringTokenizer tokens = new StringTokenizer(identValueList, "|");
-        int nbIdentValue = tokens.countTokens();
-        if (nbIdentValue > 0) {
-            identValues = new String[nbIdentValue];
-            for (int i=0; tokens.hasMoreTokens(); ++i) {
-                identValues[i] = tokens.nextToken().trim();
+    private static final Object[] testAlignmentBaselineSpec = new Object[] {
+        "org.apache.batik.css.engine.value.svg.AlignmentBaselineManager",
+        Boolean.FALSE,
+        "auto",
+        "auto|baseline|before-edge|text-before-edge|middle|after-edge|text-after-edge|ideographic|alphabetic|hanging|mathematical"
+    };
+
+    private static final Object[] testBaselineShiftSpec = new Object[] {
+        "org.apache.batik.css.engine.value.svg.BaselineShiftManager",
+        Boolean.FALSE,
+        "baseline",
+        "baseline|sub|super"
+    };
+
+    private static final Object[] testClipSpec = new Object[] {
+        "org.apache.batik.css.engine.value.css2.ClipManager",
+        Boolean.FALSE,
+        "auto",
+        "auto"
+    };
+
+    private static final Object[] testClipPathSpec = new Object[] {
+        "org.apache.batik.css.engine.value.svg.ClipPathManager",
+        Boolean.FALSE,
+        "none",
+        "none"
+    };
+
+    private static final Object[] testClipRuleSpec = new Object[] {
+        "org.apache.batik.css.engine.value.svg.ClipRuleManager",
+        Boolean.TRUE,
+        "nonzero",
+        "nonzero|evenodd"
+    };
+
+    private static final Object[] testColorSpec = new Object[] {
+        "org.apache.batik.css.engine.value.svg.ColorManager",
+        Boolean.TRUE,
+        "__USER_AGENT__",
+        ""
+    };
+
+    private static final Object[] testColorInterpolationSpec = new Object[] {
+        "org.apache.batik.css.engine.value.svg.ColorInterpolationManager",
+        Boolean.TRUE,
+        "sRGB",
+        "auto|sRGB|linearRGB"
+    };
+
+    private static final Object[] testColorInterpolationFiltersSpec = new Object[] {
+        "org.apache.batik.css.engine.value.svg.ColorInterpolationFiltersManager",
+        Boolean.TRUE,
+        "linearRGB",
+        "auto|sRGB|linearRGB"
+    };
+
+    private static final Object[] testColorProfileSpec = new Object[] {
+        "org.apache.batik.css.engine.value.svg.ColorProfileManager",
+        Boolean.TRUE,
+        "auto",
+        "auto|sRGB"
+    };
+
+    private static final Object[] testColorRenderingSpec = new Object[] {
+        "org.apache.batik.css.engine.value.svg.ColorRenderingManager",
+        Boolean.TRUE,
+        "auto",
+        "auto|optimizeSpeed|optimizeQuality"
+    };
+
+    private static final Object[] testCursorSpec = new Object[] {
+        "org.apache.batik.css.engine.value.css2.CursorManager",
+        Boolean.TRUE,
+        "auto",
+        "auto|crosshair|default|pointer|move|e-resize|ne-resize|nw-resize|n-resize|se-resize|sw-resize|s-resize|w-resize| text|wait|help "
+    };
+
+    private static final Object[] testDirectionSpec = new Object[] {
+        "org.apache.batik.css.engine.value.css2.DirectionManager",
+        Boolean.TRUE,
+        "ltr",
+        "ltr|rtl"
+    };
+
+    private static final Object[] testDisplaySpec = new Object[] {
+        "org.apache.batik.css.engine.value.css2.DisplayManager",
+        Boolean.FALSE,
+        "inline",
+        "inline|block|list-item|run-in|compact|marker|table|inline-table|table-row-group|table-header-group|table-footer-group|table-row|table-column-group|table-column|table-cell|table-caption|none"
+    };
+
+    private static final Object[] testDominantBaselineSpec = new Object[] {
+        "org.apache.batik.css.engine.value.svg.DominantBaselineManager",
+        Boolean.FALSE,
+        "auto",
+        "auto|use-script|no-change|reset-size|alphabetic|hanging|ideographic|mathematical|central|middle|text-after-edge|text-before-edge|text-top|text-bottom"
+    };
+
+    private static final Object[] testEnableBackgroundSpec = new Object[] {
+        "org.apache.batik.css.engine.value.svg.EnableBackgroundManager",
+        Boolean.FALSE,
+        "accumulate",
+        "accumulate"
+    };
+
+    private static final Object[] testFillSpec = new Object[] {
+        "org.apache.batik.css.engine.value.PropertyManagerTestCase$FillManager",
+        Boolean.TRUE,
+        "rgb(0, 0, 0)",
+        ""
+    };
+
+    private static final Object[] testFillOpacitySpec = new Object[] {
+        "org.apache.batik.css.engine.value.PropertyManagerTestCase$FillOpacityManager",
+        Boolean.TRUE,
+        "1",
+        ""
+    };
+
+    private static final Object[] testFillRuleSpec = new Object[] {
+        "org.apache.batik.css.engine.value.svg.FillRuleManager",
+        Boolean.TRUE,
+        "nonzero",
+        "nonzero|evenodd"
+    };
+
+    private static final Object[] testFilterSpec = new Object[] {
+        "org.apache.batik.css.engine.value.svg.FilterManager",
+        Boolean.FALSE,
+        "none",
+        "none"
+    };
+
+    private static final Object[] testFloodColorSpec = new Object[] {
+        "org.apache.batik.css.engine.value.PropertyManagerTestCase$FloodColorManager",
+        Boolean.FALSE,
+        "rgb(0, 0, 0)",
+        "currentColor"
+    };
+
+    private static final Object[] testFloodOpacitySpec = new Object[] {
+        "org.apache.batik.css.engine.value.PropertyManagerTestCase$FloodOpacityManager",
+        Boolean.FALSE,
+        "1",
+        ""
+    };
+
+    private static final Object[] testFontSpec = new Object[] {
+        "org.apache.batik.css.engine.value.css2.FontManager",
+        Boolean.TRUE,
+        "1",
+        ""
+    };
+
+    private static final Object[] testFontFamilySpec = new Object[] {
+        "org.apache.batik.css.engine.value.css2.FontFamilyManager",
+        Boolean.TRUE,
+        "__USER_AGENT__",
+        ""
+    };
+
+    private static final Object[] testFontSizeSpec = new Object[] {
+        "org.apache.batik.css.engine.value.css2.FontSizeManager",
+        Boolean.TRUE,
+        "medium",
+        "medium"
+    };
+
+    private static final Object[] testFontSizeAdjustSpec = new Object[] {
+        "org.apache.batik.css.engine.value.css2.FontSizeAdjustManager",
+        Boolean.TRUE,
+        "none",
+        "none"
+    };
+
+    private static final Object[] testFontStretchSpec = new Object[] {
+        "org.apache.batik.css.engine.value.css2.FontStretchManager",
+        Boolean.TRUE,
+        "normal",
+        "normal|wider|narrower|ultra-condensed|extra-condensed|condensed|semi-condensed|semi-expanded|expanded|extra-expanded|ultra-expanded"
+    };
+
+    private static final Object[] testFontStyleSpec = new Object[] {
+        "org.apache.batik.css.engine.value.css2.FontStyleManager",
+        Boolean.TRUE,
+        "normal",
+        "normal|italic|oblique"
+    };
+
+    private static final Object[] testFontVariantSpec = new Object[] {
+        "org.apache.batik.css.engine.value.css2.FontVariantManager",
+        Boolean.TRUE,
+        "normal",
+        "normal|small-caps"
+    };
+
+    private static final Object[] testFontWeigthSpec = new Object[] {
+        "org.apache.batik.css.engine.value.css2.FontWeightManager",
+        Boolean.TRUE,
+        "normal",
+        "normal|bold|bolder|lighter|100|200|300|400|500|600|700|800|900"
+    };
+
+    private static final Object[] testGlyphOrientationHorizontalSpec = new Object[] {
+        "org.apache.batik.css.engine.value.svg.GlyphOrientationHorizontalManager",
+        Boolean.TRUE,
+        "0deg",
+        ""
+    };
+
+    private static final Object[] testGlyphOrientationVerticalSpec = new Object[] {
+        "org.apache.batik.css.engine.value.svg.GlyphOrientationVerticalManager",
+        Boolean.TRUE,
+        "auto",
+        "auto"
+    };
+
+    private static final Object[] testImageRenderingSpec = new Object[] {
+        "org.apache.batik.css.engine.value.svg.ImageRenderingManager",
+        Boolean.TRUE,
+        "auto",
+        "auto|optimizeSpeed|optimizeQuality"
+    };
+
+    private static final Object[] testKerningSpec = new Object[] {
+        "org.apache.batik.css.engine.value.svg.KerningManager",
+        Boolean.TRUE,
+        "auto",
+        "auto"
+    };
+
+    private static final Object[] testLetterSpacingSpec = new Object[] {
+        "org.apache.batik.css.engine.value.PropertyManagerTestCase$LetterSpacingManager",
+        Boolean.TRUE,
+        "normal",
+        "normal"
+    };
+
+    private static final Object[] testLightingColorSpec = new Object[] {
+        "org.apache.batik.css.engine.value.PropertyManagerTestCase$LightingColorManager",
+        Boolean.FALSE,
+        "rgb(255, 255, 255)",
+        "currentColor"
+    };
+
+    private static final Object[] testMarkerSpec = new Object[] {
+        "org.apache.batik.css.engine.value.svg.MarkerManager",
+        Boolean.TRUE,
+        "",
+        ""
+    };
+
+    private static final Object[] testMarkerStartSpec = new Object[] {
+        "org.apache.batik.css.engine.value.PropertyManagerTestCase$MarkerStartManager",
+        Boolean.TRUE,
+        "none",
+        "none"
+    };
+
+    private static final Object[] testMarkerMidSpec = new Object[] {
+        "org.apache.batik.css.engine.value.PropertyManagerTestCase$MarkerMidManager",
+        Boolean.TRUE,
+        "none",
+        "none"
+    };
+
+    private static final Object[] testMarkerEndSpec = new Object[] {
+        "org.apache.batik.css.engine.value.PropertyManagerTestCase$MarkerEndManager",
+        Boolean.TRUE,
+        "none",
+        "none"
+    };
+
+    private static final Object[] testMaskSpec = new Object[] {
+        "org.apache.batik.css.engine.value.svg.MaskManager",
+        Boolean.FALSE,
+        "none",
+        "none"
+    };
+
+    private static final Object[] testOpacitySpec = new Object[] {
+        "org.apache.batik.css.engine.value.PropertyManagerTestCase$DefaultOpacityManager",
+        Boolean.FALSE,
+        "1",
+        ""
+    };
+
+    private static final Object[] testOverflowSpec = new Object[] {
+        "org.apache.batik.css.engine.value.css2.OverflowManager",
+        Boolean.FALSE,
+        "visible",
+        "visible|hidden|scroll|auto"
+    };
+
+    private static final Object[] testPointerEventsSpec = new Object[] {
+        "org.apache.batik.css.engine.value.svg.PointerEventsManager",
+        Boolean.TRUE,
+        "visiblePainted",
+        "visiblePainted|visibleFill|visibleStroke|visible|painted|fill|stroke|all|none"
+    };
+
+    private static final Object[] testShapeRenderingSpec = new Object[] {
+        "org.apache.batik.css.engine.value.svg.ShapeRenderingManager",
+        Boolean.TRUE,
+        "auto",
+        "auto|optimizeSpeed|crispEdges|geometricPrecision"
+    };
+
+    private static final Object[] testStopColorSpec = new Object[] {
+        "org.apache.batik.css.engine.value.PropertyManagerTestCase$StopColorManager",
+        Boolean.FALSE,
+        "rgb(0, 0, 0)",
+        ""
+    };
+
+    private static final Object[] testStopOpacitySpec = new Object[] {
+        "org.apache.batik.css.engine.value.PropertyManagerTestCase$StopOpacityManager",
+        Boolean.FALSE,
+        "1",
+        ""
+    };
+
+    private static final Object[] testStrokeSpec = new Object[] {
+        "org.apache.batik.css.engine.value.PropertyManagerTestCase$StrokeManager",
+        Boolean.TRUE,
+        "none",
+        "none"
+    };
+
+    private static final Object[] testStrokeDashArraySpec = new Object[] {
+        "org.apache.batik.css.engine.value.svg.StrokeDasharrayManager",
+        Boolean.TRUE,
+        "none",
+        "none"
+    };
+
+    private static final Object[] testStrokeDashOffsetSpec = new Object[] {
+        "org.apache.batik.css.engine.value.svg.StrokeDashoffsetManager",
+        Boolean.TRUE,
+        "0",
+        "0"
+    };
+
+    private static final Object[] testStrokeLineCapSpec = new Object[] {
+        "org.apache.batik.css.engine.value.svg.StrokeLinecapManager",
+        Boolean.TRUE,
+        "butt",
+        "butt|round|square"
+    };
+
+    private static final Object[] testStrokeLineJoinSpec = new Object[] {
+        "org.apache.batik.css.engine.value.svg.StrokeLinejoinManager",
+        Boolean.TRUE,
+        "miter",
+        "miter|round|bevel"
+    };
+
+    private static final Object[] testStrokeMiterLimitSpec = new Object[] {
+        "org.apache.batik.css.engine.value.svg.StrokeMiterlimitManager",
+        Boolean.TRUE,
+        "4",
+        ""
+    };
+
+    private static final Object[] testStrokeOpacitySpec = new Object[] {
+        "org.apache.batik.css.engine.value.PropertyManagerTestCase$StrokeOpacityManager",
+        Boolean.TRUE,
+        "1",
+        ""
+    };
+
+    private static final Object[] testStrokeWidthSpec = new Object[] {
+        "org.apache.batik.css.engine.value.svg.StrokeWidthManager",
+        Boolean.TRUE,
+        "1",
+        ""
+    };
+
+    private static final Object[] testTextAnchorSpec = new Object[] {
+        "org.apache.batik.css.engine.value.svg.TextAnchorManager",
+        Boolean.TRUE,
+        "start",
+        "start|middle|end"
+    };
+
+    private static final Object[] testTextDecorationSpec = new Object[] {
+        "org.apache.batik.css.engine.value.css2.TextDecorationManager",
+        Boolean.FALSE,
+        "none",
+        "none|underline|overline|line-through|blink"
+    };
+
+    private static final Object[] testTextRenderingSpec = new Object[] {
+        "org.apache.batik.css.engine.value.svg.TextRenderingManager",
+        Boolean.TRUE,
+        "auto",
+        "auto|optimizeSpeed|optimizeLegibility|geometricPrecision"
+    };
+
+    private static final Object[] testUnicodeBidiSpec = new Object[] {
+        "org.apache.batik.css.engine.value.css2.UnicodeBidiManager",
+        Boolean.FALSE,
+        "normal",
+        "normal|embed|bidi-override"
+    };
+
+    private static final Object[] testVisibilitySpec = new Object[] {
+        "org.apache.batik.css.engine.value.css2.VisibilityManager",
+        Boolean.TRUE,
+        "visible",
+        "visible|hidden|collapse"
+    };
+
+
+    private static final Object[] testWordSpacingSpec = new Object[] {
+        "org.apache.batik.css.engine.value.PropertyManagerTestCase$WordSpacingManager",
+        Boolean.TRUE,
+        "normal",
+        "normal"
+    };
+
+    private static final Object[] testWritingModeSpec = new Object[] {
+        "org.apache.batik.css.engine.value.svg.WritingModeManager",
+        Boolean.TRUE,
+        "lr-tb",
+        "lr-tb|rl-tb|tb-rl|lr|rl|tb"
+    };
+
+    public PropertyManagerTestCase() {}
+
+    @Test
+    public void testAlignmentBaseline() throws Exception {
+        testPropertyManager(testAlignmentBaselineSpec);
+    }
+
+    @Test
+    public void testBaselineShift() throws Exception {
+        testPropertyManager(testBaselineShiftSpec);
+    }
+
+    @Test
+    public void testClip() throws Exception {
+        testPropertyManager(testClipSpec);
+    }
+
+    @Test
+    public void testClipPath() throws Exception {
+        testPropertyManager(testClipPathSpec);
+    }
+
+    @Test
+    public void testClipRule() throws Exception {
+        testPropertyManager(testClipRuleSpec);
+    }
+
+    @Test
+    public void testColor() throws Exception {
+        testPropertyManager(testColorSpec);
+    }
+
+    @Test
+    public void testColorInterpolation() throws Exception {
+        testPropertyManager(testColorInterpolationSpec);
+    }
+
+    @Test
+    public void testColorInterpolationFilters() throws Exception {
+        testPropertyManager(testColorInterpolationFiltersSpec);
+    }
+
+    @Test
+    public void testColorProfile() throws Exception {
+        testPropertyManager(testColorProfileSpec);
+    }
+
+    @Test
+    public void testColorRendering() throws Exception {
+        testPropertyManager(testColorRenderingSpec);
+    }
+
+    @Test
+    public void testCursor() throws Exception {
+        testPropertyManager(testCursorSpec);
+    }
+
+    @Test
+    public void testDirection() throws Exception {
+        testPropertyManager(testDirectionSpec);
+    }
+
+    @Test
+    public void testDisplay() throws Exception {
+        testPropertyManager(testDisplaySpec);
+    }
+
+    @Test
+    public void testDominantBaseline() throws Exception {
+        testPropertyManager(testDominantBaselineSpec);
+    }
+
+    @Test
+    public void testEnableBackground() throws Exception {
+        testPropertyManager(testEnableBackgroundSpec);
+    }
+
+    @Test
+    public void testFill() throws Exception {
+        testPropertyManager(testFillSpec);
+    }
+
+    @Test
+    public void testFillOpacity() throws Exception {
+        testPropertyManager(testFillOpacitySpec);
+    }
+
+    @Test
+    public void testFillRule() throws Exception {
+        testPropertyManager(testFillRuleSpec);
+    }
+
+    @Test
+    public void testFilter() throws Exception {
+        testPropertyManager(testFilterSpec);
+    }
+
+    @Test
+    public void testFloodColor() throws Exception {
+        testPropertyManager(testFloodColorSpec);
+    }
+
+    @Test
+    public void testFloodOpacity() throws Exception {
+        testPropertyManager(testFloodOpacitySpec);
+    }
+
+    @Ignore
+    public void testFontly() throws Exception {
+        testPropertyManager(testFontSpec);
+    }
+
+    @Test
+    public void testFontFamily() throws Exception {
+        testPropertyManager(testFontFamilySpec);
+    }
+
+    @Test
+    public void testFontSize() throws Exception {
+        testPropertyManager(testFontSizeSpec);
+    }
+
+    @Test
+    public void testFontSizeAdjust() throws Exception {
+        testPropertyManager(testFontSizeAdjustSpec);
+    }
+
+    @Test
+    public void testFontStretch() throws Exception {
+        testPropertyManager(testFontStretchSpec);
+    }
+
+    @Test
+    public void testFontStyle() throws Exception {
+        testPropertyManager(testFontStyleSpec);
+    }
+
+    @Test
+    public void testFontVariant() throws Exception {
+        testPropertyManager(testFontVariantSpec);
+    }
+
+    @Test
+    public void testFontWeigth() throws Exception {
+        testPropertyManager(testFontWeigthSpec);
+    }
+
+    @Test
+    public void testGlyphOrientationHorizontal() throws Exception {
+        testPropertyManager(testGlyphOrientationHorizontalSpec);
+    }
+
+    @Test
+    public void testGlyphOrientationVertical() throws Exception {
+        testPropertyManager(testGlyphOrientationVerticalSpec);
+    }
+
+    @Test
+    public void testImageRendering() throws Exception {
+        testPropertyManager(testImageRenderingSpec);
+    }
+
+    @Test
+    public void testKerning() throws Exception {
+        testPropertyManager(testKerningSpec);
+    }
+
+    @Test
+    public void testLetterSpacing() throws Exception {
+        testPropertyManager(testLetterSpacingSpec);
+    }
+
+    @Test
+    public void testLightingColor() throws Exception {
+        testPropertyManager(testLightingColorSpec);
+    }
+
+    @Ignore
+    public void testMarker() throws Exception {
+        testPropertyManager(testMarkerSpec);
+    }
+
+    @Test
+    public void testMarkerStart() throws Exception {
+        testPropertyManager(testMarkerStartSpec);
+    }
+
+    @Test
+    public void testMarkerMid() throws Exception {
+        testPropertyManager(testMarkerMidSpec);
+    }
+
+    @Test
+    public void testMarkerEnd() throws Exception {
+        testPropertyManager(testMarkerEndSpec);
+    }
+
+    @Test
+    public void testMask() throws Exception {
+        testPropertyManager(testMaskSpec);
+    }
+
+    @Test
+    public void testOpacity() throws Exception {
+        testPropertyManager(testOpacitySpec);
+    }
+
+    @Test
+    public void testOverflow() throws Exception {
+        testPropertyManager(testOverflowSpec);
+    }
+
+    @Test
+    public void testPointerEvents() throws Exception {
+        testPropertyManager(testPointerEventsSpec);
+    }
+
+    @Test
+    public void testShapeRendering() throws Exception {
+        testPropertyManager(testShapeRenderingSpec);
+    }
+
+    @Test
+    public void testStopColor() throws Exception {
+        testPropertyManager(testStopColorSpec);
+    }
+
+    @Test
+    public void testStopOpacity() throws Exception {
+        testPropertyManager(testStopOpacitySpec);
+    }
+
+    @Test
+    public void testStroke() throws Exception {
+        testPropertyManager(testStrokeSpec);
+    }
+
+    @Test
+    public void testStrokeDashArray() throws Exception {
+        testPropertyManager(testStrokeDashArraySpec);
+    }
+
+    @Test
+    public void testStrokeDashOffset() throws Exception {
+        testPropertyManager(testStrokeDashOffsetSpec);
+    }
+
+    @Test
+    public void testStrokeLineCap() throws Exception {
+        testPropertyManager(testStrokeLineCapSpec);
+    }
+
+    @Test
+    public void testStrokeLineJoin() throws Exception {
+        testPropertyManager(testStrokeLineJoinSpec);
+    }
+
+    @Test
+    public void testStrokeMiterLimit() throws Exception {
+        testPropertyManager(testStrokeMiterLimitSpec);
+    }
+
+    @Test
+    public void testStrokeOpacity() throws Exception {
+        testPropertyManager(testStrokeOpacitySpec);
+    }
+
+    @Test
+    public void testStrokeWidth() throws Exception {
+        testPropertyManager(testStrokeWidthSpec);
+    }
+
+    @Test
+    public void testTextAnchor() throws Exception {
+        testPropertyManager(testTextAnchorSpec);
+    }
+
+    @Test
+    public void testTextDecoration() throws Exception {
+        testPropertyManager(testTextDecorationSpec);
+    }
+
+    @Test
+    public void testTextRendering() throws Exception {
+        testPropertyManager(testTextRenderingSpec);
+    }
+
+    @Test
+    public void testUnicodeBidi() throws Exception {
+        testPropertyManager(testUnicodeBidiSpec);
+    }
+
+    @Test
+    public void testVisibility() throws Exception {
+        testPropertyManager(testVisibilitySpec);
+    }
+
+    @Test
+    public void testWordSpacing() throws Exception {
+        testPropertyManager(testWordSpacingSpec);
+    }
+
+    @Test
+    public void testWritingMode() throws Exception {
+        testPropertyManager(testWritingModeSpec);
+    }
+
+    private void testPropertyManager(Object[] spec) throws Exception {
+
+        String managerClassName = (String) spec[0];
+        boolean isInherited = (Boolean) spec[1];
+        String defaultValue = (String) spec[2];
+        String[] identValues = ((String) spec[3]).split("\\|");
+        if ((identValues.length == 1) && identValues[0].isEmpty())
+            identValues = null;
+        else {
+            for (int i = 0, n = identValues.length; i < n; ++i) {
+                identValues[i] = identValues[i].trim();
             }
         }
-    }
-
-    /**
-     * Creates the value manager.
-     */
-    protected ValueManager createValueManager() throws Exception {
-        return (ValueManager)Class.forName(managerClassName).newInstance();
-    }
-
-    /**
-     * Runs this test. This method will only throw exceptions if some aspect of
-     * the test's internal operation fails.
-     */
-    public TestReport runImpl() throws Exception {
-        DefaultTestReport report = new DefaultTestReport(this);
 
         ValueManager manager;
         try {
-            manager = createValueManager();
-        } catch (Exception ex) {
-            report.setErrorCode(ERROR_INSTANTIATION);
-            report.setPassed(false);
-            report.addDescriptionEntry(ERROR_INSTANTIATION, ex.getMessage());
-            return report;
+            manager = createValueManager(managerClassName);
+            assertNotNull(manager);
+        } catch (Exception e) {
+            fail("create value manager: " + e.getMessage());
+            return;
         }
-
+        
         // test default value if any
         if (!defaultValue.equals("__USER_AGENT__")) {
             String s = manager.getDefaultValue().getCssText();
-            if (!defaultValue.equalsIgnoreCase(s)) {
-                report.setErrorCode(ERROR_INVALID_DEFAULT_VALUE);
-                report.setPassed(false);
-                report.addDescriptionEntry(ERROR_INVALID_DEFAULT_VALUE,
-                                           "should be: "+defaultValue);
-            }
+            assertTrue(defaultValue.equalsIgnoreCase(s));
         }
 
         // test if the property is inherited or not
-        if (isInherited.booleanValue() != manager.isInheritedProperty()) {
-            report.setErrorCode(ERROR_IS_INHERITED);
-            report.setPassed(false);
-            report.addDescriptionEntry(ERROR_IS_INHERITED, "");
-        }
+        assertTrue(manager.isInheritedProperty() == isInherited);
 
         Parser cssParser = new Parser();
         // see if the property supports the value 'inherit'
@@ -163,39 +820,29 @@ public class PropertyManagerTest extends
             LexicalUnit lu = cssParser.parsePropertyValue("inherit");
             Value v = manager.createValue(lu, null);
             String s = v.getCssText();
-            if (!"inherit".equalsIgnoreCase(s)) {
-                report.setErrorCode(ERROR_INHERIT_VALUE);
-                report.setPassed(false);
-                report.addDescriptionEntry(ERROR_INHERIT_VALUE, "inherit");
-            }
-        } catch (Exception ex) {
-            report.setErrorCode(ERROR_INHERIT_VALUE);
-            report.setPassed(false);
-            report.addDescriptionEntry(ERROR_INHERIT_VALUE, ex.getMessage());
+            assertTrue("inherit".equalsIgnoreCase(s));
+        } catch (Exception e) {
+            fail("parse 'inherit': " + e.getMessage());
         }
 
         // test all possible identifiers
-        if (identValues != null) {
-            try {
-                for (int i=0; i < identValues.length; ++i) {
-                    LexicalUnit lu = cssParser.parsePropertyValue(identValues[i]);
+        if ((identValues != null) && (identValues.length > 0)) {
+            for (int i=0; i < identValues.length; ++i) {
+                String value = identValues[i];
+                try {
+                    LexicalUnit lu = cssParser.parsePropertyValue(value);
                     Value v = manager.createValue(lu, null);
                     String s = v.getCssText();
-                    if (!identValues[i].equalsIgnoreCase(s)) {
-                        report.setErrorCode(ERROR_INVALID_VALUE);
-                        report.setPassed(false);
-                        report.addDescriptionEntry(ERROR_INVALID_VALUE,
-                                                   identValues[i]+ '/' +s);
-                    }
+                    assertTrue(value.equalsIgnoreCase(s));
+                } catch (Exception e) {
+                    fail("parse value '" + value + "': " + e.getMessage());
                 }
-            } catch (Exception ex) {
-                report.setErrorCode(ERROR_INVALID_VALUE);
-                report.setPassed(false);
-                report.addDescriptionEntry(ERROR_INVALID_VALUE,
-                                           ex.getMessage());
             }
         }
-        return report;
+    }
+
+    private ValueManager createValueManager(String className) throws Exception {
+        return (ValueManager)Class.forName(className).newInstance();
     }
 
     /**

Copied: xmlgraphics/batik/branches/junit/test/java/org/apache/batik/dom/AppendChildTestCase.java (from r1639318, xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/dom/AppendChildTest.java)
URL: http://svn.apache.org/viewvc/xmlgraphics/batik/branches/junit/test/java/org/apache/batik/dom/AppendChildTestCase.java?p2=xmlgraphics/batik/branches/junit/test/java/org/apache/batik/dom/AppendChildTestCase.java&p1=xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/dom/AppendChildTest.java&r1=1639318&r2=1639984&rev=1639984&view=diff
==============================================================================
--- xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/dom/AppendChildTest.java (original)
+++ xmlgraphics/batik/branches/junit/test/java/org/apache/batik/dom/AppendChildTestCase.java Sun Nov 16 13:46:30 2014
@@ -27,13 +27,21 @@ import org.apache.batik.util.*;
 
 import org.apache.batik.test.*;
 
+import org.junit.Ignore;
+import org.junit.Test;
+
+import static org.junit.Assert.assertNotNull;
+import static org.junit.Assert.assertTrue;
+import static org.junit.Assert.fail;
+
 /**
  * This class tests the appendChild method.
  *
  * @author <a href="mailto:stephane@hillion.org">Stephane Hillion</a>
  * @version $Id$
  */
-public class AppendChildTest extends AbstractTest {
+@Ignore
+public class AppendChildTestCase extends AbstractTest {
     public static String ERROR_GET_ELEMENT_BY_ID_FAILED 
         = "error.get.element.by.id.failed";
 
@@ -47,7 +55,7 @@ public class AppendChildTest extends Abs
     protected String rootTag;
     protected String targetId;
 
-    public AppendChildTest(String file,
+    public AppendChildTestCase(String file,
                            String root,
                            String id) {
         testFileName = file;

Copied: xmlgraphics/batik/branches/junit/test/java/org/apache/batik/dom/AttrIsIdTestCase.java (from r1639318, xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/dom/AttrIsIdTest.java)
URL: http://svn.apache.org/viewvc/xmlgraphics/batik/branches/junit/test/java/org/apache/batik/dom/AttrIsIdTestCase.java?p2=xmlgraphics/batik/branches/junit/test/java/org/apache/batik/dom/AttrIsIdTestCase.java&p1=xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/dom/AttrIsIdTest.java&r1=1639318&r2=1639984&rev=1639984&view=diff
==============================================================================
--- xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/dom/AttrIsIdTest.java (original)
+++ xmlgraphics/batik/branches/junit/test/java/org/apache/batik/dom/AttrIsIdTestCase.java Sun Nov 16 13:46:30 2014
@@ -22,13 +22,21 @@ import org.w3c.dom.Attr;
 import org.w3c.dom.Document;
 import org.w3c.dom.Element;
 
+import org.junit.Ignore;
+import org.junit.Test;
+
+import static org.junit.Assert.assertNotNull;
+import static org.junit.Assert.assertTrue;
+import static org.junit.Assert.fail;
+
 /**
  * Tests Attr.isId.
  *
  * @author <a href="mailto:cam%40mcc%2eid%2eau">Cameron McCormack</a>
  * @version $Id$
  */
-public class AttrIsIdTest extends DOM3Test {
+@Ignore
+public class AttrIsIdTestCase extends DOM3Test {
     public boolean runImplBasic() throws Exception {
         Document doc = newSVGDoc();
         Element g = doc.createElementNS(SVG_NAMESPACE_URI, "g");

Copied: xmlgraphics/batik/branches/junit/test/java/org/apache/batik/dom/CloneElementTestCase.java (from r1639318, xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/dom/CloneElementTest.java)
URL: http://svn.apache.org/viewvc/xmlgraphics/batik/branches/junit/test/java/org/apache/batik/dom/CloneElementTestCase.java?p2=xmlgraphics/batik/branches/junit/test/java/org/apache/batik/dom/CloneElementTestCase.java&p1=xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/dom/CloneElementTest.java&r1=1639318&r2=1639984&rev=1639984&view=diff
==============================================================================
--- xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/dom/CloneElementTest.java (original)
+++ xmlgraphics/batik/branches/junit/test/java/org/apache/batik/dom/CloneElementTestCase.java Sun Nov 16 13:46:30 2014
@@ -31,6 +31,12 @@ import org.w3c.dom.Element;
 import org.w3c.dom.NamedNodeMap;
 import org.w3c.dom.Node;
 
+import org.junit.Ignore;
+import org.junit.Test;
+
+import static org.junit.Assert.assertNotNull;
+import static org.junit.Assert.assertTrue;
+import static org.junit.Assert.fail;
 
 /**
  * This class tests the non-deep cloneNode method for elements.
@@ -38,12 +44,13 @@ import org.w3c.dom.Node;
  * @author <a href="mailto:stephane@hillion.org">Stephane Hillion</a>
  * @version $Id$
  */
-public class CloneElementTest extends AbstractTest {
+@Ignore
+public class CloneElementTestCase extends AbstractTest {
     protected String testFileName;
     protected String rootTag;
     protected String targetId;
 
-    public CloneElementTest(String file, String root, String id) {
+    public CloneElementTestCase(String file, String root, String id) {
         testFileName = file;
         rootTag = root;
         targetId = id;

Copied: xmlgraphics/batik/branches/junit/test/java/org/apache/batik/dom/DocumentAdoptNodeTestCase.java (from r1639318, xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/dom/DocumentAdoptNodeTest.java)
URL: http://svn.apache.org/viewvc/xmlgraphics/batik/branches/junit/test/java/org/apache/batik/dom/DocumentAdoptNodeTestCase.java?p2=xmlgraphics/batik/branches/junit/test/java/org/apache/batik/dom/DocumentAdoptNodeTestCase.java&p1=xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/dom/DocumentAdoptNodeTest.java&r1=1639318&r2=1639984&rev=1639984&view=diff
==============================================================================
--- xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/dom/DocumentAdoptNodeTest.java (original)
+++ xmlgraphics/batik/branches/junit/test/java/org/apache/batik/dom/DocumentAdoptNodeTestCase.java Sun Nov 16 13:46:30 2014
@@ -21,13 +21,21 @@ package org.apache.batik.dom;
 import org.w3c.dom.Document;
 import org.w3c.dom.Element;
 
+import org.junit.Ignore;
+import org.junit.Test;
+
+import static org.junit.Assert.assertNotNull;
+import static org.junit.Assert.assertTrue;
+import static org.junit.Assert.fail;
+
 /**
  * Tests Document.adoptNode.
  *
  * @author <a href="mailto:cam%40mcc%2eid%2eau">Cameron McCormack</a>
  * @version $Id$
  */
-public class DocumentAdoptNodeTest extends DOM3Test {
+@Ignore
+public class DocumentAdoptNodeTestCase extends DOM3Test {
     public boolean runImplBasic() throws Exception {
         Document doc1 = newSVGDoc();
         Document doc2 = newSVGDoc();

Copied: xmlgraphics/batik/branches/junit/test/java/org/apache/batik/dom/DocumentNormalizeDocumentTestCase.java (from r1639318, xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/dom/DocumentNormalizeDocumentTest.java)
URL: http://svn.apache.org/viewvc/xmlgraphics/batik/branches/junit/test/java/org/apache/batik/dom/DocumentNormalizeDocumentTestCase.java?p2=xmlgraphics/batik/branches/junit/test/java/org/apache/batik/dom/DocumentNormalizeDocumentTestCase.java&p1=xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/dom/DocumentNormalizeDocumentTest.java&r1=1639318&r2=1639984&rev=1639984&view=diff
==============================================================================
--- xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/dom/DocumentNormalizeDocumentTest.java (original)
+++ xmlgraphics/batik/branches/junit/test/java/org/apache/batik/dom/DocumentNormalizeDocumentTestCase.java Sun Nov 16 13:46:30 2014
@@ -28,13 +28,21 @@ import org.w3c.dom.Document;
 import org.w3c.dom.Element;
 import org.w3c.dom.Node;
 
+import org.junit.Ignore;
+import org.junit.Test;
+
+import static org.junit.Assert.assertNotNull;
+import static org.junit.Assert.assertTrue;
+import static org.junit.Assert.fail;
+
 /**
  * Tests Document.normalizeDocument.
  *
  * @author <a href="mailto:cam%40mcc%2eid%2eau">Cameron McCormack</a>
  * @version $Id$
  */
-public class DocumentNormalizeDocumentTest extends DOM3Test {
+@Ignore
+public class DocumentNormalizeDocumentTestCase extends DOM3Test {
     static class Handler implements DOMErrorHandler {
         int cd = 0;
         int wf = 0;

Copied: xmlgraphics/batik/branches/junit/test/java/org/apache/batik/dom/DocumentRenameNodeTestCase.java (from r1639318, xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/dom/DocumentRenameNodeTest.java)
URL: http://svn.apache.org/viewvc/xmlgraphics/batik/branches/junit/test/java/org/apache/batik/dom/DocumentRenameNodeTestCase.java?p2=xmlgraphics/batik/branches/junit/test/java/org/apache/batik/dom/DocumentRenameNodeTestCase.java&p1=xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/dom/DocumentRenameNodeTest.java&r1=1639318&r2=1639984&rev=1639984&view=diff
==============================================================================
--- xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/dom/DocumentRenameNodeTest.java (original)
+++ xmlgraphics/batik/branches/junit/test/java/org/apache/batik/dom/DocumentRenameNodeTestCase.java Sun Nov 16 13:46:30 2014
@@ -24,13 +24,21 @@ import org.w3c.dom.Element;
 import org.w3c.dom.svg.SVGGElement;
 import org.w3c.dom.svg.SVGSVGElement;
 
+import org.junit.Ignore;
+import org.junit.Test;
+
+import static org.junit.Assert.assertNotNull;
+import static org.junit.Assert.assertTrue;
+import static org.junit.Assert.fail;
+
 /**
  * Tests Document.renameNode.
  *
  * @author <a href="mailto:cam%40mcc%2eid%2eau">Cameron McCormack</a>
  * @version $Id$
  */
-public class DocumentRenameNodeTest extends DOM3Test {
+@Ignore
+public class DocumentRenameNodeTestCase extends DOM3Test {
     public boolean runImplBasic() throws Exception {
         Document doc = newSVGDoc();
         Element e2 = doc.createElementNS(SVG_NAMESPACE_URI, "g");

Copied: xmlgraphics/batik/branches/junit/test/java/org/apache/batik/dom/ElementSetIdAttributeNSTestCase.java (from r1639318, xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/dom/ElementSetIdAttributeNSTest.java)
URL: http://svn.apache.org/viewvc/xmlgraphics/batik/branches/junit/test/java/org/apache/batik/dom/ElementSetIdAttributeNSTestCase.java?p2=xmlgraphics/batik/branches/junit/test/java/org/apache/batik/dom/ElementSetIdAttributeNSTestCase.java&p1=xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/dom/ElementSetIdAttributeNSTest.java&r1=1639318&r2=1639984&rev=1639984&view=diff
==============================================================================
--- xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/dom/ElementSetIdAttributeNSTest.java (original)
+++ xmlgraphics/batik/branches/junit/test/java/org/apache/batik/dom/ElementSetIdAttributeNSTestCase.java Sun Nov 16 13:46:30 2014
@@ -21,13 +21,21 @@ package org.apache.batik.dom;
 import org.w3c.dom.Document;
 import org.w3c.dom.Element;
 
+import org.junit.Ignore;
+import org.junit.Test;
+
+import static org.junit.Assert.assertNotNull;
+import static org.junit.Assert.assertTrue;
+import static org.junit.Assert.fail;
+
 /**
  * Tests Element.setIdAttributeNS.
  *
  * @author <a href="mailto:cam%40mcc%2eid%2eau">Cameron McCormack</a>
  * @version $Id$
  */
-public class ElementSetIdAttributeNSTest extends DOM3Test {
+@Ignore
+public class ElementSetIdAttributeNSTestCase extends DOM3Test {
 
     private static final String ATTR_NAME = "blah";
 

Copied: xmlgraphics/batik/branches/junit/test/java/org/apache/batik/dom/ElementTraversalTestCase.java (from r1639318, xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/dom/ElementTraversalTest.java)
URL: http://svn.apache.org/viewvc/xmlgraphics/batik/branches/junit/test/java/org/apache/batik/dom/ElementTraversalTestCase.java?p2=xmlgraphics/batik/branches/junit/test/java/org/apache/batik/dom/ElementTraversalTestCase.java&p1=xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/dom/ElementTraversalTest.java&r1=1639318&r2=1639984&rev=1639984&view=diff
==============================================================================
--- xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/dom/ElementTraversalTest.java (original)
+++ xmlgraphics/batik/branches/junit/test/java/org/apache/batik/dom/ElementTraversalTestCase.java Sun Nov 16 13:46:30 2014
@@ -29,13 +29,21 @@ import org.apache.batik.util.XMLResource
 import org.w3c.dom.Document;
 import org.w3c.dom.ElementTraversal;
 
+import org.junit.Ignore;
+import org.junit.Test;
+
+import static org.junit.Assert.assertNotNull;
+import static org.junit.Assert.assertTrue;
+import static org.junit.Assert.fail;
+
 /**
  * Tests the {@link ElementTraversal} interface.
  *
  * @author <a href="mailto:cam%40mcc%2eid%2eau">Cameron McCormack</a>
  * @version $Id$
  */
-public class ElementTraversalTest extends AbstractTest {
+@Ignore
+public class ElementTraversalTestCase extends AbstractTest {
 
     private String DOC = "<a><b/><c>.<?x?>.</c><d>.<?x?><e/><f/><?x?>.</d><g><h/>.<i/></g></a>";
 

Copied: xmlgraphics/batik/branches/junit/test/java/org/apache/batik/dom/EventTargetAddEventListenerNSTestCase.java (from r1639318, xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/dom/EventTargetAddEventListenerNSTest.java)
URL: http://svn.apache.org/viewvc/xmlgraphics/batik/branches/junit/test/java/org/apache/batik/dom/EventTargetAddEventListenerNSTestCase.java?p2=xmlgraphics/batik/branches/junit/test/java/org/apache/batik/dom/EventTargetAddEventListenerNSTestCase.java&p1=xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/dom/EventTargetAddEventListenerNSTest.java&r1=1639318&r2=1639984&rev=1639984&view=diff
==============================================================================
--- xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/dom/EventTargetAddEventListenerNSTest.java (original)
+++ xmlgraphics/batik/branches/junit/test/java/org/apache/batik/dom/EventTargetAddEventListenerNSTestCase.java Sun Nov 16 13:46:30 2014
@@ -23,13 +23,21 @@ import org.w3c.dom.Element;
 import org.w3c.dom.events.Event;
 import org.w3c.dom.events.EventListener;
 
+import org.junit.Ignore;
+import org.junit.Test;
+
+import static org.junit.Assert.assertNotNull;
+import static org.junit.Assert.assertTrue;
+import static org.junit.Assert.fail;
+
 /**
  * Tests EventTarget.addEventListenerNS.
  *
  * @author <a href="mailto:cam%40mcc%2eid%2eau">Cameron McCormack</a>
  * @version $Id$
  */
-public class EventTargetAddEventListenerNSTest extends DOM3Test {
+@Ignore
+public class EventTargetAddEventListenerNSTestCase extends DOM3Test {
     static class Listener1 implements EventListener {
         int count = 0;
         public void handleEvent(Event e) {

Copied: xmlgraphics/batik/branches/junit/test/java/org/apache/batik/dom/GetElementsByTagNameNSTestCase.java (from r1639318, xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/dom/GetElementsByTagNameNSTest.java)
URL: http://svn.apache.org/viewvc/xmlgraphics/batik/branches/junit/test/java/org/apache/batik/dom/GetElementsByTagNameNSTestCase.java?p2=xmlgraphics/batik/branches/junit/test/java/org/apache/batik/dom/GetElementsByTagNameNSTestCase.java&p1=xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/dom/GetElementsByTagNameNSTest.java&r1=1639318&r2=1639984&rev=1639984&view=diff
==============================================================================
--- xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/dom/GetElementsByTagNameNSTest.java (original)
+++ xmlgraphics/batik/branches/junit/test/java/org/apache/batik/dom/GetElementsByTagNameNSTestCase.java Sun Nov 16 13:46:30 2014
@@ -26,18 +26,26 @@ import org.apache.batik.dom.util.*;
 import org.apache.batik.util.*;
 import org.apache.batik.test.*;
 
+import org.junit.Ignore;
+import org.junit.Test;
+
+import static org.junit.Assert.assertNotNull;
+import static org.junit.Assert.assertTrue;
+import static org.junit.Assert.fail;
+
 /**
  * This class tests the getElementsByTagNameNS method.
  *
  * @author <a href="mailto:stephane@hillion.org">Stephane Hillion</a>
  * @version $Id$
  */
-public class GetElementsByTagNameNSTest extends AbstractTest {
+@Ignore
+public class GetElementsByTagNameNSTestCase extends AbstractTest {
     protected String testFileName;
     protected String rootTag;
     protected String tagName;
 
-    public GetElementsByTagNameNSTest(String file,
+    public GetElementsByTagNameNSTestCase(String file,
                                       String root,
                                       String tag) {
         testFileName = file;

Copied: xmlgraphics/batik/branches/junit/test/java/org/apache/batik/dom/HasChildNodesTestCase.java (from r1639318, xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/dom/HasChildNodesTest.java)
URL: http://svn.apache.org/viewvc/xmlgraphics/batik/branches/junit/test/java/org/apache/batik/dom/HasChildNodesTestCase.java?p2=xmlgraphics/batik/branches/junit/test/java/org/apache/batik/dom/HasChildNodesTestCase.java&p1=xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/dom/HasChildNodesTest.java&r1=1639318&r2=1639984&rev=1639984&view=diff
==============================================================================
--- xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/dom/HasChildNodesTest.java (original)
+++ xmlgraphics/batik/branches/junit/test/java/org/apache/batik/dom/HasChildNodesTestCase.java Sun Nov 16 13:46:30 2014
@@ -27,13 +27,21 @@ import org.apache.batik.util.*;
 
 import org.apache.batik.test.*;
 
+import org.junit.Ignore;
+import org.junit.Test;
+
+import static org.junit.Assert.assertNotNull;
+import static org.junit.Assert.assertTrue;
+import static org.junit.Assert.fail;
+
 /**
  * This class tests the hasChildNodes method.
  *
  * @author <a href="mailto:stephane@hillion.org">Stephane Hillion</a>
  * @version $Id$
  */
-public class HasChildNodesTest extends AbstractTest {
+@Ignore
+public class HasChildNodesTestCase extends AbstractTest {
     public static String ERROR_GET_ELEMENT_BY_ID_FAILED 
         = "error.get.element.by.id.failed";
 
@@ -44,7 +52,7 @@ public class HasChildNodesTest extends A
     protected String rootTag;
     protected String targetId;
 
-    public HasChildNodesTest(String file,
+    public HasChildNodesTestCase(String file,
                              String root,
                              String id) {
         testFileName = file;

Copied: xmlgraphics/batik/branches/junit/test/java/org/apache/batik/dom/NodeBaseURITestCase.java (from r1639318, xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/dom/NodeBaseURITest.java)
URL: http://svn.apache.org/viewvc/xmlgraphics/batik/branches/junit/test/java/org/apache/batik/dom/NodeBaseURITestCase.java?p2=xmlgraphics/batik/branches/junit/test/java/org/apache/batik/dom/NodeBaseURITestCase.java&p1=xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/dom/NodeBaseURITest.java&r1=1639318&r2=1639984&rev=1639984&view=diff
==============================================================================
--- xmlgraphics/batik/branches/junit/test-sources/org/apache/batik/dom/NodeBaseURITest.java (original)
+++ xmlgraphics/batik/branches/junit/test/java/org/apache/batik/dom/NodeBaseURITestCase.java Sun Nov 16 13:46:30 2014
@@ -21,13 +21,21 @@ package org.apache.batik.dom;
 import org.w3c.dom.Document;
 import org.w3c.dom.Element;
 
+import org.junit.Ignore;
+import org.junit.Test;
+
+import static org.junit.Assert.assertNotNull;
+import static org.junit.Assert.assertTrue;
+import static org.junit.Assert.fail;
+
 /**
  * Tests Node.baseURI.
  *
  * @author <a href="mailto:cam%40mcc%2eid%2eau">Cameron McCormack</a>
  * @version $Id$
  */
-public class NodeBaseURITest extends DOM3Test {
+@Ignore
+public class NodeBaseURITestCase extends DOM3Test {
     public boolean runImplBasic() throws Exception {
         Document doc = newSVGDoc();
         ((AbstractDocument) doc).setDocumentURI("http://example.com/blah");