net.sourceforge.pmd.testframework
Class AbstractTokenizerTest

java.lang.Object
  extended by net.sourceforge.pmd.testframework.AbstractTokenizerTest

public abstract class AbstractTokenizerTest
extends Object

Author:
Romain PELISSE, [email protected]

Field Summary
protected  int expectedTokenCount
           
protected  SourceCode sourceCode
           
protected  Tokenizer tokenizer
           
 
Constructor Summary
AbstractTokenizerTest()
           
 
Method Summary
abstract  void buildTokenizer()
           
abstract  String getSampleCode()
           
protected  void tokenizeTest()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

expectedTokenCount

protected int expectedTokenCount

tokenizer

protected Tokenizer tokenizer

sourceCode

protected SourceCode sourceCode
Constructor Detail

AbstractTokenizerTest

public AbstractTokenizerTest()
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


Copyright © 2002-2015 InfoEther. All Rights Reserved.