Gridarta Editor
net.sf.gridarta.model.artifact.ArtifactParserTest Class Reference

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...
 

Detailed Description

Regression tests for ArtifactParser.

Author
Andreas Kirschbaum

Definition at line 37 of file ArtifactParserTest.java.

Member Function Documentation

◆ testDefaultName1()

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.

Exceptions
DuplicateArchetypeExceptionif the test fails
IOExceptionif the test fails
UndefinedArchetypeExceptionif 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:

◆ testDefaultName2()

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.

Exceptions
DuplicateArchetypeExceptionif the test fails
IOExceptionif the test fails
UndefinedArchetypeExceptionif 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:

◆ testDefaultName3()

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.

Exceptions
DuplicateArchetypeExceptionif the test fails
IOExceptionif the test fails
UndefinedArchetypeExceptionif 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:

◆ testDefaultName4()

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.

Exceptions
DuplicateArchetypeExceptionif the test fails
IOExceptionif the test fails
UndefinedArchetypeExceptionif 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:

◆ testDefaultName5a()

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.

Exceptions
DuplicateArchetypeExceptionif the test fails
IOExceptionif the test fails
UndefinedArchetypeExceptionif 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:

◆ testDefaultName5b()

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.

Exceptions
DuplicateArchetypeExceptionif the test fails
IOExceptionif the test fails
UndefinedArchetypeExceptionif 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:

◆ testMissingObject()


The documentation for this class was generated from the following file: