net.sf.gridarta.model.io
public abstract class AbstractArchetypeParserTest<G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>> extends Object
ArchetypeParser
.Constructor and Description |
---|
AbstractArchetypeParserTest() |
Modifier and Type | Method and Description |
---|---|
protected void |
check(String input,
boolean hasErrors,
boolean hasWarnings,
int archetypes)
Creates a new archetype parser and parses the given input.
|
protected abstract ArchetypeSet<G,A,R> |
getArchetypeSet()
Returns the
ArchetypeSet . |
protected abstract AbstractArchetypeParser<G,A,R,? extends AbstractArchetypeBuilder<G,A,R>> |
newArchetypeParser()
Creates a new
AbstractArchetypeParser instance. |
public AbstractArchetypeParserTest()
protected void check(@NotNull String input, boolean hasErrors, boolean hasWarnings, int archetypes) throws IOException
input
- the input to parsehasErrors
- whether errors are expectedhasWarnings
- whether warnings are expectedarchetypes
- the number of archetypes to expectIOException
- if parsing fails@NotNull protected abstract AbstractArchetypeParser<G,A,R,? extends AbstractArchetypeBuilder<G,A,R>> newArchetypeParser()
AbstractArchetypeParser
instance.@NotNull protected abstract ArchetypeSet<G,A,R> getArchetypeSet()
ArchetypeSet
.Feedback: webmaster
© 2003-2010 The Gridarta Developers. All rights reserved.