Class AbstractTokenizerTest
- java.lang.Object
-
- net.sourceforge.pmd.testframework.AbstractTokenizerTest
-
public abstract class AbstractTokenizerTest extends Object
- Author:
- Romain PELISSE, [email protected]
-
-
Field Summary
Fields Modifier and Type Field Description protected intexpectedTokenCountprotected SourceCodesourceCodeprotected Tokenizertokenizer
-
Constructor Summary
Constructors Constructor Description AbstractTokenizerTest()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract voidbuildTokenizer()abstract StringgetSampleCode()protected voidtokenizeTest()
-
-
-
Field Detail
-
expectedTokenCount
protected int expectedTokenCount
-
tokenizer
protected Tokenizer tokenizer
-
sourceCode
protected SourceCode sourceCode
-
-
Method Detail
-
buildTokenizer
public abstract void buildTokenizer() throws IOException- Throws:
IOException
-
getSampleCode
public abstract String getSampleCode() throws IOException
- Throws:
IOException
-
tokenizeTest
protected void tokenizeTest() throws IOException- Throws:
IOException
-
-