|
Gridarta Editor
|
Regression tests for ArtifactParser. More...
Collaboration diagram for net.sf.gridarta.model.artifact.ArtifactParserTest:Public Member Functions | |
| void | testDefaultName1 () throws DuplicateArchetypeException, IOException, UndefinedArchetypeException |
| Checks that an artifact definition inherits the def_arch archetype's name by default. More... | |
| void | testDefaultName2 () throws DuplicateArchetypeException, IOException, UndefinedArchetypeException |
| Checks that an artifact definition inherits the def_arch archetype's name by default. More... | |
| void | testDefaultName3 () throws DuplicateArchetypeException, IOException, UndefinedArchetypeException |
| Checks that an artifact definition inherits the def_arch archetype's name by default. More... | |
| void | testDefaultName4 () throws DuplicateArchetypeException, IOException, UndefinedArchetypeException |
| Checks that an artifact definition inherits the def_arch archetype's name by default. More... | |
| void | testDefaultName5a () throws DuplicateArchetypeException, IOException, UndefinedArchetypeException |
| Checks for spurious error messages when setting an artifact's name when the base archetype doesn't has an explicit name. More... | |
| void | testDefaultName5b () throws DuplicateArchetypeException, IOException, UndefinedArchetypeException |
| Checks for spurious error messages when setting an artifact's name when the base archetype doesn't has an explicit name. More... | |
| void | testMissingObject () throws DuplicateArchetypeException, IOException, UndefinedArchetypeException |
| Checks that a missing "object" line is detected. More... | |
Regression tests for ArtifactParser.
Definition at line 37 of file ArtifactParserTest.java.
| void net.sf.gridarta.model.artifact.ArtifactParserTest.testDefaultName1 | ( | ) | throws DuplicateArchetypeException, IOException, UndefinedArchetypeException |
Checks that an artifact definition inherits the def_arch archetype's name by default.
| DuplicateArchetypeException | if the test fails |
| IOException | if the test fails |
| UndefinedArchetypeException | if the test fails |
Definition at line 72 of file ArtifactParserTest.java.
References net.sf.gridarta.model.artifact.TestParser.addArchetype(), net.sf.gridarta.model.artifact.TestParser.getArchetype(), and net.sf.gridarta.model.artifact.TestParser.parseArtifacts().
Here is the call graph for this function:| void net.sf.gridarta.model.artifact.ArtifactParserTest.testDefaultName2 | ( | ) | throws DuplicateArchetypeException, IOException, UndefinedArchetypeException |
Checks that an artifact definition inherits the def_arch archetype's name by default.
| DuplicateArchetypeException | if the test fails |
| IOException | if the test fails |
| UndefinedArchetypeException | if the test fails |
Definition at line 93 of file ArtifactParserTest.java.
References net.sf.gridarta.model.artifact.TestParser.addArchetype(), net.sf.gridarta.model.artifact.TestParser.getArchetype(), and net.sf.gridarta.model.artifact.TestParser.parseArtifacts().
Here is the call graph for this function:| void net.sf.gridarta.model.artifact.ArtifactParserTest.testDefaultName3 | ( | ) | throws DuplicateArchetypeException, IOException, UndefinedArchetypeException |
Checks that an artifact definition inherits the def_arch archetype's name by default.
| DuplicateArchetypeException | if the test fails |
| IOException | if the test fails |
| UndefinedArchetypeException | if the test fails |
Definition at line 114 of file ArtifactParserTest.java.
References net.sf.gridarta.model.artifact.TestParser.addArchetype(), net.sf.gridarta.model.artifact.TestParser.getArchetype(), and net.sf.gridarta.model.artifact.TestParser.parseArtifacts().
Here is the call graph for this function:| void net.sf.gridarta.model.artifact.ArtifactParserTest.testDefaultName4 | ( | ) | throws DuplicateArchetypeException, IOException, UndefinedArchetypeException |
Checks that an artifact definition inherits the def_arch archetype's name by default.
| DuplicateArchetypeException | if the test fails |
| IOException | if the test fails |
| UndefinedArchetypeException | if the test fails |
Definition at line 135 of file ArtifactParserTest.java.
References net.sf.gridarta.model.artifact.TestParser.addArchetype(), net.sf.gridarta.model.artifact.TestParser.getArchetype(), and net.sf.gridarta.model.artifact.TestParser.parseArtifacts().
Here is the call graph for this function:| void net.sf.gridarta.model.artifact.ArtifactParserTest.testDefaultName5a | ( | ) | throws DuplicateArchetypeException, IOException, UndefinedArchetypeException |
Checks for spurious error messages when setting an artifact's name when the base archetype doesn't has an explicit name.
| DuplicateArchetypeException | if the test fails |
| IOException | if the test fails |
| UndefinedArchetypeException | if the test fails |
Definition at line 157 of file ArtifactParserTest.java.
References net.sf.gridarta.model.artifact.TestParser.addArchetype(), net.sf.gridarta.model.artifact.TestParser.getArchetype(), and net.sf.gridarta.model.artifact.TestParser.parseArtifacts().
Here is the call graph for this function:| void net.sf.gridarta.model.artifact.ArtifactParserTest.testDefaultName5b | ( | ) | throws DuplicateArchetypeException, IOException, UndefinedArchetypeException |
Checks for spurious error messages when setting an artifact's name when the base archetype doesn't has an explicit name.
| DuplicateArchetypeException | if the test fails |
| IOException | if the test fails |
| UndefinedArchetypeException | if the test fails |
Definition at line 183 of file ArtifactParserTest.java.
References net.sf.gridarta.model.artifact.TestParser.addArchetype(), net.sf.gridarta.model.artifact.TestParser.getArchetype(), and net.sf.gridarta.model.artifact.TestParser.parseArtifacts().
Here is the call graph for this function:| void net.sf.gridarta.model.artifact.ArtifactParserTest.testMissingObject | ( | ) | throws DuplicateArchetypeException, IOException, UndefinedArchetypeException |
Checks that a missing "object" line is detected.
| DuplicateArchetypeException | if the test fails |
| IOException | if the test fails |
| UndefinedArchetypeException | if the test fails |
Definition at line 46 of file ArtifactParserTest.java.
References net.sf.gridarta.model.artifact.TestParser.addArchetype(), net.sf.gridarta.model.artifact.TestParser.getArchetype(), net.sf.gridarta.model.artifact.TestParser.getArchetypeCount(), net.sf.gridarta.model.baseobject.BaseObject< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R, T extends BaseObject< G, A, R, T >.getObjectText(), net.sf.gridarta.model.errorview.TestErrorView.hasErrors, net.sf.gridarta.model.errorview.TestErrorView.hasWarnings, and net.sf.gridarta.model.artifact.TestParser.parseArtifacts().
Here is the call graph for this function: