org.eclipse.xtext.junit4.smoketest
Class AbstractSmokeTest

java.lang.Object
  extended by org.eclipse.xtext.junit4.smoketest.AbstractSmokeTest

public abstract class AbstractSmokeTest
extends java.lang.Object

Author:
Sebastian Zarnekow - Initial contribution and API, Sven Efftinge

Constructor Summary
AbstractSmokeTest()
           
 
Method Summary
protected abstract  LazyLinkingResource createResource(java.lang.String string)
           
protected abstract  java.lang.Iterable<java.lang.String> getSmokeTestModels()
           
protected  void logProgress(java.lang.Object info)
           
protected abstract  void processModel(java.lang.String model)
           
protected abstract  void processModelWithoutResourceSet(java.lang.String model)
           
 void testSkipCharacterInBetween()
           
 void testSkipCharacterInBetweenWithoutResourceSet()
           
 void testSkipFirstCharacters()
           
 void testSkipFirstCharactersWithoutResourceSet()
           
 void testSkipLastCharacters()
           
 void testSkipLastCharactersWithoutResourceSet()
           
 void testSkipNodesInBetween()
           
 void testSkipNodesInBetweenWithoutResourceSet()
           
 void testSkipTokensInBetween()
           
 void testSkipTokensInBetweenWithoutResourceSet()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractSmokeTest

public AbstractSmokeTest()
Method Detail

getSmokeTestModels

protected abstract java.lang.Iterable<java.lang.String> getSmokeTestModels()

processModel

protected abstract void processModel(java.lang.String model)
                              throws java.lang.Exception
Throws:
java.lang.Exception

processModelWithoutResourceSet

protected abstract void processModelWithoutResourceSet(java.lang.String model)
                                                throws java.lang.Exception
Throws:
java.lang.Exception

createResource

protected abstract LazyLinkingResource createResource(java.lang.String string)

testSkipLastCharacters

public void testSkipLastCharacters()
                            throws java.lang.Exception
Throws:
java.lang.Exception

testSkipFirstCharacters

public void testSkipFirstCharacters()
                             throws java.lang.Exception
Throws:
java.lang.Exception

testSkipCharacterInBetween

public void testSkipCharacterInBetween()
                                throws java.lang.Exception
Throws:
java.lang.Exception

testSkipTokensInBetween

public void testSkipTokensInBetween()
                             throws java.lang.Exception
Throws:
java.lang.Exception

testSkipNodesInBetween

public void testSkipNodesInBetween()
                            throws java.lang.Exception
Throws:
java.lang.Exception

testSkipLastCharactersWithoutResourceSet

public void testSkipLastCharactersWithoutResourceSet()
                                              throws java.lang.Exception
Throws:
java.lang.Exception

testSkipFirstCharactersWithoutResourceSet

public void testSkipFirstCharactersWithoutResourceSet()
                                               throws java.lang.Exception
Throws:
java.lang.Exception

testSkipCharacterInBetweenWithoutResourceSet

public void testSkipCharacterInBetweenWithoutResourceSet()
                                                  throws java.lang.Exception
Throws:
java.lang.Exception

testSkipTokensInBetweenWithoutResourceSet

public void testSkipTokensInBetweenWithoutResourceSet()
                                               throws java.lang.Exception
Throws:
java.lang.Exception

testSkipNodesInBetweenWithoutResourceSet

public void testSkipNodesInBetweenWithoutResourceSet()
                                              throws java.lang.Exception
Throws:
java.lang.Exception

logProgress

protected void logProgress(java.lang.Object info)