|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of TestException in org.w3c.mwi.mobileok.basic |
---|
Methods in org.w3c.mwi.mobileok.basic that throw TestException | |
---|---|
private org.w3c.dom.Document |
PreprocessorResults.buildMokiDocument()
Creates the moki representation of the resource using
all the information contained in this instance. |
private org.w3c.dom.Document |
TestResults.buildTestResultsDOM()
|
static boolean |
CachingTest.checkConsistentNewRequest(java.lang.String uriString,
java.lang.String newRequestHeader,
java.lang.String originalHeader,
java.lang.String testValue)
|
private boolean |
GifImageContent.checkTransparency(RetrievalElement retrieved)
Checks whether the image/gif image uses transparency. |
protected TestResult |
AbstractTestImplementation.convertToTestResult(org.w3c.dom.Node resultRoot)
Converts the outcome of a test in a DOM node format to a TestResult outcome. |
(package private) static org.w3c.dom.Document |
PseudoAttributes.createPseudoDocument()
|
void |
Resource.decode()
Decodes the content that has been previously retrieved. |
DecodedContent |
DecodedContentFactory.decodeContent(java.net.URI uri,
java.util.List<RetrievalElement> retrieved,
ResourceContext resourceContext)
Creates an instance of a Resource based on the given parameters. |
DecodedContent |
MobileOKDecodedContentFactory.decodeContent(java.net.URI uri,
java.util.List<RetrievalElement> retrieved,
ResourceContext resourceContext)
|
(package private) static void |
DOMUtils.domToStream(org.w3c.dom.Document dom,
javax.xml.transform.Result streamResult)
|
(package private) static java.lang.String |
DOMUtils.domToString(org.w3c.dom.Document dom)
|
private java.util.List<AbstractCSSTestImplementation.TestErrorInfo> |
AbstractCSSTestImplementation.evaluateCSSErrors(java.lang.String cssContent,
java.lang.String uri,
int lineOffset)
Parses given CSS styles searching for test errors. |
private org.w3c.dom.Document |
AbstractCSSTestImplementation.generateResultsOnCSSContent(PreprocessorResults results)
|
private static int |
AbstractCSSTestImplementation.getDocContentLineNumber(org.w3c.dom.Document moki)
|
org.w3c.dom.Document |
PreprocessorResults.getMokiDocument()
Returns the moki representation of the resource. |
PreprocessorResults |
Tester.getPreprocessorResults()
Returns the intermediate moki representation of the
resource bound to this instance. |
(package private) static java.io.InputStream |
DOMUtils.getResourceStream(java.lang.String href)
|
org.w3c.dom.Document |
XhtmlContent.getSaxonDocument()
Returns a Saxon-compliant representation of the given DOM document to take advantage of Saxon's features, and in particular the possibility to keep line numbers even when the document is represented as a DOM tree. |
org.w3c.dom.Document |
PreprocessorResults.getSaxonMokiDocument()
Returns the moki representation of the resource built
specifically to take advantage of features of Saxon, and typically the
possibility to keep line numbers even when the document is represented
as a DOM tree. |
org.w3c.dom.Document |
TestResults.getTestResultsDOM()
|
private java.lang.String |
TextContent.getXMLPrologEncoding(RetrievalElement retrieved)
Extracts the encoding from the XML declaration. |
private boolean |
GifImageContent.isTransparent(java.awt.Image img,
int w,
int h)
Checks whether the given image/gif image is fully transparent. |
private javax.xml.transform.Transformer |
AbstractXSLTTestImplementation.loadTransformer()
|
private static boolean |
HttpResourceRetriever.manageBasicAuthentification(org.apache.commons.httpclient.HttpMethod method)
Registers user's credentials that may have been set in TesterConfiguration in the HttpClient instance used to
retrieve the resource. |
(package private) static javax.xml.parsers.DocumentBuilder |
DOMUtils.newDocumentBuilder()
|
(package private) static org.w3c.dom.Document |
DOMUtils.newDOM()
|
(package private) static javax.xml.transform.Transformer |
DOMUtils.newTransformer()
|
(package private) static javax.xml.transform.Transformer |
DOMUtils.newTransformer(javax.xml.transform.Source source)
|
(package private) static javax.xml.transform.sax.TransformerHandler |
DOMUtils.newTransformerHandler()
|
private static org.w3c.dom.Document |
XhtmlContent.parseDOM(java.lang.String body)
Parses the given string as XML and returns the corresponding DOM Document . |
private static org.w3c.dom.Document |
XhtmlContent.parseTidiedDOM(java.lang.String body)
Parses the given string as not possibly not entirely valid XML and returns the corresponding DOM Document . |
void |
Preprocessor.preprocess()
Creates the moki representation of the URI set when this
instance was created. |
TestResult |
AbstractCSSTestImplementation.runTest(PreprocessorResults results)
|
TestResult |
AbstractXSLTTestImplementation.runTest(PreprocessorResults results)
|
TestResult |
TestImplementation.runTest(PreprocessorResults results)
Runs the test on the intermediate moki representation of the resource. |
TestResults |
Tester.runTests()
Runs all defined tests on the URI bound to this instance. |
TestResults |
Tester.runTests(java.util.List<TestImplementation> tests)
Runs a precise list of tests on the URI bound to this instance. |
private XHTMLValidationStatus |
XhtmlContent.validateMarkup()
Validates the document against its declared DOCTYPE , when known. |
private XHTMLValidationStatus |
XhtmlContent.validateMobile()
Validates the document against mobileOK recommended mobile DTDs . |
private void |
TextContent.validateUTF8(RetrievalElement retrieved)
Validates the UTF-8 encoding of the HTTP Response received. |
Constructors in org.w3c.mwi.mobileok.basic that throw TestException | |
---|---|
CssContent(java.net.URI uri,
java.util.List<RetrievalElement> retrieved)
Creates a class instance bound to the URI of a CSS resource. |
|
GifImageContent(java.net.URI uri,
java.util.List<RetrievalElement> retrieved)
Creates a class instance bound to a URI. |
|
ImageContent(java.net.URI uri,
java.util.List<RetrievalElement> retrieved)
Creates a class instance bound to a URI. |
|
JpegImageContent(java.net.URI uri,
java.util.List<RetrievalElement> retrieved)
Creates a class instance bound to a URI. |
|
NotSupportedContent(java.net.URI uri,
java.util.List<RetrievalElement> retrieved)
Creates a class instance bound to a URI. |
|
NotSupportedImageContent(java.net.URI uri,
java.util.List<RetrievalElement> retrieved)
Creates a class instance bound to a URI. |
|
PseudoAttributes(org.w3c.dom.ProcessingInstruction processingInstruction)
|
|
RetrievalFailedContent(java.net.URI uri,
java.util.List<RetrievalElement> retrieved)
Creates a class instance bound to a URI. |
|
TextContent(java.net.URI uri,
java.util.List<RetrievalElement> retrieved)
Creates a class instance bound to a URI. |
|
XhtmlContent(java.net.URI uri,
java.util.List<RetrievalElement> retrieved)
Creates a class instance bound to a URI. |
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |