public class ErrorPositionSuite extends QueryTest
Constructor and Description |
---|
ErrorPositionSuite() |
Modifier and Type | Method and Description |
---|---|
void |
positionTest(java.lang.String name,
java.lang.String query,
java.lang.String token)
Creates a test that checks to see if the error thrown when analyzing a given query includes
the location of the given token in the query string.
|
assertCached, checkAnswer, checkAnswer, checkAnswer, checkExistence, sqlTest
public void positionTest(java.lang.String name, java.lang.String query, java.lang.String token)
name
- the name of the testquery
- the query to analyzetoken
- a unique token in the string that should be indicated by the exception