org.w3c.mwi.mobileok.basic
Class MeasuresTest

java.lang.Object
  extended by org.w3c.mwi.mobileok.basic.AbstractTestImplementation
      extended by org.w3c.mwi.mobileok.basic.AbstractCSSTestImplementation
          extended by org.w3c.mwi.mobileok.basic.MeasuresTest
All Implemented Interfaces:
TestImplementation

final class MeasuresTest
extends AbstractCSSTestImplementation

Implements the mobileOK MEASURES test.

Test name: TestType.MEASURES.

The test checks the CSS styles and extends AbstractCSSTestImplementation.

Version:
$Revision: 1.1 $
Author:
The W3C mobileOK Checker Task Force

Nested Class Summary
 
Nested classes/interfaces inherited from class org.w3c.mwi.mobileok.basic.AbstractCSSTestImplementation
AbstractCSSTestImplementation.TestErrorInfo
 
Field Summary
private static java.util.HashSet<java.lang.String> CSS1Properties
           
private static java.util.regex.Pattern measuresFontPattern
           
private static java.util.regex.Pattern measuresPattern
           
 
Constructor Summary
MeasuresTest()
           
 
Method Summary
(package private)  void addSubResultsToResultsDocument(org.w3c.dom.Document testResults, org.w3c.dom.Element test, java.util.List<AbstractCSSTestImplementation.TestErrorInfo> measuresErrors)
           
(package private)  java.util.List<AbstractCSSTestImplementation.TestErrorInfo> findTestErrors(java.lang.String cssContent)
           
 java.lang.String getTestType()
           
 
Methods inherited from class org.w3c.mwi.mobileok.basic.AbstractCSSTestImplementation
addSubResultsToResultsDocument, runTest
 
Methods inherited from class org.w3c.mwi.mobileok.basic.AbstractTestImplementation
convertToTestResult, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

measuresPattern

private static final java.util.regex.Pattern measuresPattern

measuresFontPattern

private static final java.util.regex.Pattern measuresFontPattern

CSS1Properties

private static java.util.HashSet<java.lang.String> CSS1Properties
Constructor Detail

MeasuresTest

MeasuresTest()
Method Detail

getTestType

public java.lang.String getTestType()

findTestErrors

java.util.List<AbstractCSSTestImplementation.TestErrorInfo> findTestErrors(java.lang.String cssContent)
Specified by:
findTestErrors in class AbstractCSSTestImplementation

addSubResultsToResultsDocument

void addSubResultsToResultsDocument(org.w3c.dom.Document testResults,
                                    org.w3c.dom.Element test,
                                    java.util.List<AbstractCSSTestImplementation.TestErrorInfo> measuresErrors)
Specified by:
addSubResultsToResultsDocument in class AbstractCSSTestImplementation