|
UTF-X, Unit Testing Framework - Xslt | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object junit.framework.TestSuite utfx.framework.XSLTTestFileSuite
public class XSLTTestFileSuite
Suite of tests for XSLT stylesheets. This class represents a test suite of UTF-X tests defined in a single definition file.
Copyright © 2004 - University of Southern Queensland.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License v2 as published by the Free Software Foundation.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
$Source: /cvs/utf-x/framework/src/java/utfx/framework/XSLTTestFileSuite.java,v $
Field Summary | |
---|---|
private SourceParser |
defaultSourceBuilder
default source builder for this test suite |
private java.lang.String |
expectedPublicId
|
private java.lang.String |
expectedSystemId
|
private java.io.File |
file
utf-x test definition file |
private static org.apache.log4j.Logger |
log
logger |
private java.lang.String |
sourcePublicId
|
private java.lang.String |
sourceSystemId
|
Constructor Summary | |
---|---|
XSLTTestFileSuite(java.lang.String testFilename)
Constructs an XSLT test suite with a specified name. |
Method Summary | |
---|---|
boolean |
doExpectedValidation()
|
boolean |
doSourceValidation()
|
SourceParser |
getDefaultSourceBuilder()
|
java.lang.String |
getExpectedPublicId()
|
java.lang.String |
getExpectedSystemId()
|
java.lang.String |
getSourcePublicId()
|
java.lang.String |
getSourceSystemId()
|
void |
setDefaultSourceBuilder(SourceParser defaultSourceBuilder)
Set default SourceParser to be used by this file TestSuite. |
void |
setExpectedPublicId(java.lang.String expectedPublicId)
|
void |
setExpectedSystemId(java.lang.String expectedSystemId)
|
void |
setSourcePublicId(java.lang.String sourcePublicId)
|
void |
setSourceSystemId(java.lang.String sourceSystemId)
|
static junit.framework.TestSuite |
suite(java.lang.String testFilename)
Parses an XML test definition document and creates a TestSuite. |
Methods inherited from class junit.framework.TestSuite |
---|
addTest, addTestSuite, countTestCases, createTest, getName, getTestConstructor, run, runTest, setName, testAt, testCount, tests, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private java.lang.String sourcePublicId
private java.lang.String sourceSystemId
private java.lang.String expectedPublicId
private java.lang.String expectedSystemId
private static org.apache.log4j.Logger log
private java.io.File file
private SourceParser defaultSourceBuilder
Constructor Detail |
---|
public XSLTTestFileSuite(java.lang.String testFilename)
dirName
- where to look for the tests. doubles as the name of this
test suite.Method Detail |
---|
public boolean doSourceValidation()
public boolean doExpectedValidation()
public java.lang.String getExpectedPublicId()
public void setExpectedPublicId(java.lang.String expectedPublicId)
expectedPublicId
- The expectedPublicId to set.public java.lang.String getExpectedSystemId()
public void setExpectedSystemId(java.lang.String expectedSystemId)
expectedSystemId
- The expectedSystemId to set.public java.lang.String getSourcePublicId()
public void setSourcePublicId(java.lang.String sourcePublicId)
sourcePublicId
- The sourcePublicId to set.public java.lang.String getSourceSystemId()
public void setSourceSystemId(java.lang.String sourceSystemId)
sourceSystemId
- The sourceSystemId to set.public static junit.framework.TestSuite suite(java.lang.String testFilename)
testFilename
- the UTF-X test definition file.
public void setDefaultSourceBuilder(SourceParser defaultSourceBuilder)
defaultSourceBuilder
- public SourceParser getDefaultSourceBuilder()
|
UTF-X, Unit Testing Framework - Xslt | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |