public class DataTypeGrammarParserTest extends Object
| Modifier and Type | Field and Description |
|---|---|
private io.debezium.relational.ddl.DataTypeGrammarParser |
parser |
private io.debezium.relational.ddl.DataTypeGrammarParser.DataTypePattern |
pattern |
private io.debezium.relational.ddl.DataType |
type |
private int |
TYPE |
| Constructor and Description |
|---|
DataTypeGrammarParserTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
beforeEach() |
void |
shouldMatchTypeWithArrayDimensionsFollowingLengthAndScale() |
void |
shouldNotFindMatchingDataTypeIfInvalidOrIncomplete() |
void |
shouldParseGrammarWithComplexVariableNames() |
void |
shouldParseGrammarWithOneRequiredToken() |
void |
shouldParseGrammarWithOneRequiredTokenAndLength() |
void |
shouldParseGrammarWithOneRequiredTokenAndLengthAndOptionalScale() |
void |
shouldParseGrammarWithOneRequiredTokenAndLengthAndScale() |
void |
shouldParseGrammarWithOneRequiredTokenAndLiteralLength() |
void |
shouldParseGrammarWithOneRequiredTokenAndSetOfLiteralLengths() |
void |
shouldParseGrammarWithOptionalTokenLists() |
void |
shouldParseGrammarWithOptionalTokens() |
void |
shouldParseGrammarWithOptionalTokensAfterLength() |
void |
shouldParseGrammarWithTwoRequiredTokens() |
void |
shouldParseGrammarWithVariableNames() |
protected io.debezium.text.TokenStream |
text(String content) |
private final int TYPE
private io.debezium.relational.ddl.DataTypeGrammarParser parser
private io.debezium.relational.ddl.DataTypeGrammarParser.DataTypePattern pattern
private io.debezium.relational.ddl.DataType type
public void beforeEach()
public void shouldParseGrammarWithOneRequiredToken()
public void shouldParseGrammarWithTwoRequiredTokens()
public void shouldParseGrammarWithOptionalTokens()
public void shouldParseGrammarWithOptionalTokensAfterLength()
public void shouldParseGrammarWithOneRequiredTokenAndLiteralLength()
public void shouldParseGrammarWithOneRequiredTokenAndSetOfLiteralLengths()
public void shouldParseGrammarWithOneRequiredTokenAndLength()
public void shouldParseGrammarWithOneRequiredTokenAndLengthAndScale()
public void shouldParseGrammarWithOneRequiredTokenAndLengthAndOptionalScale()
public void shouldNotFindMatchingDataTypeIfInvalidOrIncomplete()
public void shouldParseGrammarWithVariableNames()
public void shouldParseGrammarWithComplexVariableNames()
public void shouldParseGrammarWithOptionalTokenLists()
public void shouldMatchTypeWithArrayDimensionsFollowingLengthAndScale()
protected io.debezium.text.TokenStream text(String content)
Copyright © 2018 JBoss by Red Hat. All rights reserved.