FRODO Version 2.19.1
An open-source framework for Distributed Constraint Optimization (DCOP)
Loading...
Searching...
No Matches
frodo2.algorithms.test.MASparserTest Class Reference
Inheritance diagram for frodo2.algorithms.test.MASparserTest:

Public Member Functions

 MASparserTest (String name)
 Constructor.
void testParseString ()
 Test method for MASparser.parse(java.io.File).
void testParseInputStream ()
 Test method for MASparser.parse(java.io.InputStream).
void testGetSubProblemString ()
 Test method for MASparser.getSubProblem(java.lang.String).
void testSampleSolve ()
 Solves a sample problem with a sample agent.

Static Public Member Functions

static TestSuite suite ()

Protected Member Functions

void setUp () throws Exception
void tearDown () throws Exception

Detailed Description

Author
Brammert Ottens, 9 jun 2010

Constructor & Destructor Documentation

◆ MASparserTest()

frodo2.algorithms.test.MASparserTest.MASparserTest ( String name)

Constructor.

Parameters
namethe name of the test method

Referenced by suite().

Member Function Documentation

◆ setUp()

void frodo2.algorithms.test.MASparserTest.setUp ( ) throws Exception
protected
See also
junit.framework.TestCase#setUp()

◆ suite()

TestSuite frodo2.algorithms.test.MASparserTest.suite ( )
static
Returns
the test suite for this test

References MASparserTest(), and suite().

Referenced by frodo2.algorithms.test.AllTests.suite(), and suite().

Here is the call graph for this function:

◆ tearDown()

void frodo2.algorithms.test.MASparserTest.tearDown ( ) throws Exception
protected
See also
junit.framework.TestCase#tearDown()

◆ testGetSubProblemString()

void frodo2.algorithms.test.MASparserTest.testGetSubProblemString ( )

◆ testParseInputStream()

void frodo2.algorithms.test.MASparserTest.testParseInputStream ( )

Test method for MASparser.parse(java.io.InputStream).

◆ testParseString()

void frodo2.algorithms.test.MASparserTest.testParseString ( )

Test method for MASparser.parse(java.io.File).

It simply reads in an xml file that links to two other xml files

References frodo2.algorithms.MASparser< V extends Addable< V >, U extends Addable< U > >.parse().

Here is the call graph for this function:

◆ testSampleSolve()

void frodo2.algorithms.test.MASparserTest.testSampleSolve ( )

Solves a sample problem with a sample agent.

Author
Thomas Leaute

References frodo2.algorithms.AgentFactory< V extends Addable< V >, U extends Addable< U > >.main().

Here is the call graph for this function:

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