org.apache.cactus.server.runner
Interface XMLConstants

All Known Implementing Classes:
XMLFormatter

public interface XMLConstants

XML constants for outputting the JUnit test results in XML. Note: This class was copied from the Jakarta Ant project and heavily adapted for Cactus.

Version:
$Id: XMLConstants.java,v 1.1 2002/05/12 20:38:11 vmassol Exp $
Author:
Vincent Massol
See Also:
XMLFormatter

Field Summary
static String ATTR_ERRORS
          Errors attribute for testsuite elements
          
static String ATTR_FAILURES
          Failures attribute for testsuite elements
          
static String ATTR_MESSAGE
          Message attribute for failure elements (message of the exception)
          
static String ATTR_NAME
          Name attribute for property, testcase and testsuite elements
          
static String ATTR_TESTS
          Tests attribute for testsuite elements (number of tests executed)
          
static String ATTR_TIME
          Time attribute for testcase and testsuite elements
          
static String ATTR_TYPE
          Type attribute for failure and error elements
          
static String ERROR
          The error element (for a test case)
          
static String FAILURE
          The failure element (for a test case)
          
static String TESTCASE
          A single testcase element
          
static String TESTSUITE
          A single test suite results.
          
static String TESTSUITES
          Root element for all test suites.
          
 
Constructor Summary
XMLConstants()
           
 

Field Detail

ATTR_ERRORS

public static final String ATTR_ERRORS
Errors attribute for testsuite elements

ATTR_FAILURES

public static final String ATTR_FAILURES
Failures attribute for testsuite elements

ATTR_MESSAGE

public static final String ATTR_MESSAGE
Message attribute for failure elements (message of the exception)

ATTR_NAME

public static final String ATTR_NAME
Name attribute for property, testcase and testsuite elements

ATTR_TESTS

public static final String ATTR_TESTS
Tests attribute for testsuite elements (number of tests executed)

ATTR_TIME

public static final String ATTR_TIME
Time attribute for testcase and testsuite elements

ATTR_TYPE

public static final String ATTR_TYPE
Type attribute for failure and error elements

ERROR

public static final String ERROR
The error element (for a test case)

FAILURE

public static final String FAILURE
The failure element (for a test case)

TESTCASE

public static final String TESTCASE
A single testcase element

TESTSUITE

public static final String TESTSUITE
A single test suite results.

TESTSUITES

public static final String TESTSUITES
Root element for all test suites.
Constructor Detail

XMLConstants

public XMLConstants()


Copyright © 2000-2002 Apache Software Foundation. All Rights Reserved.