net.sf.gridarta.var.crossfire.model.io
public class ArchetypeParserTest extends AbstractArchetypeParserTest<GameObject,MapArchObject,Archetype>
ArchetypeParser
.Modifier and Type | Field and Description |
---|---|
private ArchetypeSet<GameObject,MapArchObject,Archetype> |
archetypeSet
The loaded archetypes.
|
Constructor and Description |
---|
ArchetypeParserTest() |
Modifier and Type | Method and Description |
---|---|
protected ArchetypeSet<GameObject,MapArchObject,Archetype> |
getArchetypeSet()
Returns the
ArchetypeSet . |
protected AbstractArchetypeParser<GameObject,MapArchObject,Archetype,? extends AbstractArchetypeBuilder<GameObject,MapArchObject,Archetype>> |
newArchetypeParser()
Creates a new
AbstractArchetypeParser instance. |
static void |
setUp()
Initializes the test.
|
void |
testInventoryGameObjects()
Checks that inventory game objects are recognized.
|
check
@Nullable private ArchetypeSet<GameObject,MapArchObject,Archetype> archetypeSet
public ArchetypeParserTest()
public void testInventoryGameObjects() throws IOException, UndefinedArchetypeException
IOException
- if the test failsUndefinedArchetypeException
- if the test failspublic static void setUp()
@NotNull protected AbstractArchetypeParser<GameObject,MapArchObject,Archetype,? extends AbstractArchetypeBuilder<GameObject,MapArchObject,Archetype>> newArchetypeParser()
AbstractArchetypeParser
instance.newArchetypeParser
in class AbstractArchetypeParserTest<GameObject,MapArchObject,Archetype>
@NotNull protected ArchetypeSet<GameObject,MapArchObject,Archetype> getArchetypeSet()
ArchetypeSet
.getArchetypeSet
in class AbstractArchetypeParserTest<GameObject,MapArchObject,Archetype>
Feedback: webmaster
© 2003-2010 The Gridarta Developers. All rights reserved.