public abstract class AbstractSACParserTest extends Object
| Constructor and Description |
|---|
AbstractSACParserTest() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkErrorSelector(String input,
String errorMsg) |
protected org.w3c.dom.css.CSSStyleSheet |
checkErrorSheet(String input,
String errorMsg) |
protected void |
conditionAssert(String cssText,
String name,
String value,
boolean specified) |
protected int |
conditionType(Condition condition,
int initial,
int... conditionTypes) |
protected void |
conditionType(String cssText,
int... conditionTypes) |
protected Condition |
createCondition(String cssText) |
protected SelectorList |
createSelectors(String cssText) |
protected CSSValueImpl |
dimension(String dim) |
protected org.w3c.dom.css.CSSStyleSheet |
parse(InputSource source,
int err,
int fatal,
int warn) |
protected org.w3c.dom.css.CSSStyleSheet |
parse(InputStream css) |
protected org.w3c.dom.css.CSSStyleSheet |
parse(InputStream css,
int err,
int fatal,
int warn) |
protected org.w3c.dom.css.CSSStyleSheet |
parse(String css) |
protected org.w3c.dom.css.CSSStyleSheet |
parse(String css,
int err,
int fatal,
int warn) |
protected SACMediaList |
parseMedia(InputSource source,
int err,
int fatal,
int warn) |
protected SACMediaList |
parseMedia(String css,
int err,
int fatal,
int warn) |
protected CSSOMParser |
parser() |
protected abstract SACParser |
sacParser() |
protected void |
selectorList(String cssText,
int length) |
protected void |
selectorType(String cssText,
int... selectorTypes) |
void |
setUp()
Set up
|
void |
tearDown()
Tear down
|
public void setUp()
public void tearDown()
protected abstract SACParser sacParser()
protected CSSOMParser parser()
protected org.w3c.dom.css.CSSStyleSheet parse(String css) throws IOException
IOExceptionprotected org.w3c.dom.css.CSSStyleSheet parse(InputStream css) throws IOException
IOExceptionprotected org.w3c.dom.css.CSSStyleSheet parse(String css, int err, int fatal, int warn) throws IOException
IOExceptionprotected org.w3c.dom.css.CSSStyleSheet parse(InputStream css, int err, int fatal, int warn) throws IOException
IOExceptionprotected org.w3c.dom.css.CSSStyleSheet parse(InputSource source, int err, int fatal, int warn) throws IOException
IOExceptionprotected SACMediaList parseMedia(String css, int err, int fatal, int warn) throws IOException
IOExceptionprotected SACMediaList parseMedia(InputSource source, int err, int fatal, int warn) throws IOException
IOExceptionprotected SelectorList createSelectors(String cssText) throws Exception
Exceptionprotected Condition createCondition(String cssText) throws Exception
Exceptionprotected void conditionType(String cssText, int... conditionTypes) throws Exception
Exceptionprotected int conditionType(Condition condition, int initial, int... conditionTypes)
protected void conditionAssert(String cssText, String name, String value, boolean specified) throws Exception
Exceptionprotected void selectorList(String cssText, int length) throws Exception
Exceptionprotected void selectorType(String cssText, int... selectorTypes) throws Exception
Exceptionprotected void checkErrorSelector(String input, String errorMsg) throws IOException
IOExceptionprotected org.w3c.dom.css.CSSStyleSheet checkErrorSheet(String input, String errorMsg) throws IOException
IOExceptionprotected CSSValueImpl dimension(String dim) throws Exception
ExceptionCopyright © 1999–2022. All rights reserved.