java.lang.Object
junit.framework.TestSuite
com.hp.hpl.jena.rdf.arp.test.WGTestSuite
com.hp.hpl.jena.rdf.arp.test.NTripleTestSuite
- All Implemented Interfaces:
- com.hp.hpl.jena.rdf.arp.ARPErrorNumbers, junit.framework.Test
- class NTripleTestSuite
- extends WGTestSuite
A version of the test suite which uses the
ARP internal N-triple writer, and not the
Jena N-triple writer.
| Fields inherited from class junit.framework.TestSuite |
|
| Fields inherited from interface com.hp.hpl.jena.rdf.arp.ARPErrorNumbers |
EM_ERROR, EM_FATAL, EM_IGNORE, EM_WARNING, ERR_ABOUTEACH_NOT_TOPLEVEL, ERR_BAD_RDF_ATTRIBUTE, ERR_BAD_RDF_ELEMENT, ERR_ENCODING_MISMATCH, ERR_GENERIC_IO, ERR_INTERNAL_ERROR, ERR_LI_AS_TYPE, ERR_NOT_WHITESPACE, ERR_RESOLVING_URI_AGAINST_NULL_BASE, ERR_SAX_ERROR, ERR_SAX_FATAL_ERROR, ERR_STRING_NOT_NORMAL_FORM_C, ERR_SYNTAX_ERROR, ERR_UNABLE_TO_RECOVER, ERR_URI_NOT_NORMAL_FORM_C, ERR_UTF_ENCODING, IGN_DAML_COLLECTION, IGN_NO_BASE_URI_SPECIFIED, IGN_PRIVATE_XMLLANG, IGN_XMLBASE_SIGNIFICANT, IGN_XMLBASE_USED, WARN_BAD_NAME, WARN_BAD_NAMESPACE_URI, WARN_BAD_RDF_NAMESPACE_URI, WARN_BAD_XML, WARN_BAD_XML_NAMESPACE_URI, WARN_BAD_XMLLANG, WARN_DEPRECATED_XMLLANG, WARN_ENCODING_MISMATCH, WARN_IN_STRICT_MODE, WARN_LEGAL_REUSE_OF_ID, WARN_MALFORMED_URI, WARN_MALFORMED_XMLLANG, WARN_MINOR_INTERNAL_ERROR, WARN_NON_IANA_ENCODING, WARN_NONCANONICAL_IANA_NAME, WARN_PROCESSING_INSTRUCTION_IN_RDF, WARN_QNAME_AS_ID, WARN_RDF_NN_AS_TYPE, WARN_REDEFINITION_OF_ID, WARN_RELATIVE_NAMESPACE_URI_DEPRECATED, WARN_RESOLVING_URI_AGAINST_EMPTY_BASE, WARN_SAX_WARNING, WARN_STRING_COMPOSING_CHAR, WARN_STRING_NOT_NORMAL_FORM_C, WARN_UNKNOWN_PARSETYPE, WARN_UNKNOWN_RDF_ATTRIBUTE, WARN_UNKNOWN_RDF_ELEMENT, WARN_UNKNOWN_XML_ATTRIBUTE, WARN_UNQUALIFIED_ATTRIBUTE, WARN_UNQUALIFIED_ELEMENT, WARN_UNQUALIFIED_RDF_ATTRIBUTE, WARN_UNSUPPORTED_ENCODING, WARN_URI_COMPOSING_CHAR, WARN_XMLBASE_MISSING |
|
Method Summary |
(package private) junit.framework.TestCase |
createNegativeTest(java.lang.String uri,
java.lang.String in,
boolean intype,
int[] e)
|
(package private) junit.framework.TestCase |
createPositiveTest(java.lang.String uri,
java.lang.String in,
boolean intype,
java.lang.String out,
boolean outtype)
|
(package private) junit.framework.TestCase |
createWarningTest(java.lang.String uri,
java.lang.String in,
boolean intype,
java.lang.String out,
boolean outtype,
int[] e)
|
(package private) static com.hp.hpl.jena.rdf.model.Model |
loadNT(java.io.InputStream in,
java.lang.String base)
|
(package private) com.hp.hpl.jena.rdf.model.Model |
loadRDF(InFactoryX in,
com.hp.hpl.jena.rdf.model.RDFErrorHandler eh,
java.lang.String base)
|
(package private) static com.hp.hpl.jena.rdf.model.Model |
loadRDFx(InFactoryX in,
com.hp.hpl.jena.rdf.model.RDFErrorHandler eh,
java.lang.String base,
boolean wantModel,
int cnt)
|
(package private) static void |
logResult(com.hp.hpl.jena.rdf.model.Resource test,
int type)
|
(package private) static junit.framework.TestSuite |
suite(com.hp.hpl.jena.shared.wg.URI testDir,
java.lang.String d,
java.lang.String nm)
|
(package private) static junit.framework.TestSuite |
suite(com.hp.hpl.jena.shared.wg.URI testDir,
com.hp.hpl.jena.shared.wg.URI d,
java.lang.String nm)
|
| Methods inherited from class junit.framework.TestSuite |
addTest, addTestSuite, countTestCases, createTest, getName, getTestConstructor, run, runTest, setName, testAt, testCount, tests, toString |
checkMessages
public static boolean checkMessages
testNS
static java.lang.String testNS
jjcNS
static java.lang.String jjcNS
factory
com.hp.hpl.jena.shared.wg.TestInputStreamFactory factory
createMe
java.lang.String createMe
- Creates new WGTestSuite
This is a private snapshot of the RDF Test Cases Working Draft's
data.
errorLevelName
static final java.lang.String[] errorLevelName
NTripleTestSuite
NTripleTestSuite(com.hp.hpl.jena.shared.wg.TestInputStreamFactory fact,
java.lang.String name,
boolean b)
suite
static junit.framework.TestSuite suite(com.hp.hpl.jena.shared.wg.URI testDir,
java.lang.String d,
java.lang.String nm)
suite
static junit.framework.TestSuite suite(com.hp.hpl.jena.shared.wg.URI testDir,
com.hp.hpl.jena.shared.wg.URI d,
java.lang.String nm)
loadRDF
com.hp.hpl.jena.rdf.model.Model loadRDF(InFactoryX in,
com.hp.hpl.jena.rdf.model.RDFErrorHandler eh,
java.lang.String base)
throws java.io.IOException
- Overrides:
loadRDF in class WGTestSuite
loadRDFx
static com.hp.hpl.jena.rdf.model.Model loadRDFx(InFactoryX in,
com.hp.hpl.jena.rdf.model.RDFErrorHandler eh,
java.lang.String base,
boolean wantModel,
int cnt)
throws java.io.IOException
logResult
static void logResult(com.hp.hpl.jena.rdf.model.Resource test,
int type)
loadNT
static com.hp.hpl.jena.rdf.model.Model loadNT(java.io.InputStream in,
java.lang.String base)
throws java.io.IOException
createPositiveTest
junit.framework.TestCase createPositiveTest(java.lang.String uri,
java.lang.String in,
boolean intype,
java.lang.String out,
boolean outtype)
createWarningTest
junit.framework.TestCase createWarningTest(java.lang.String uri,
java.lang.String in,
boolean intype,
java.lang.String out,
boolean outtype,
int[] e)
createNegativeTest
junit.framework.TestCase createNegativeTest(java.lang.String uri,
java.lang.String in,
boolean intype,
int[] e)