LightVoting
 All Classes Namespaces Files Functions Variables Pages
org.lightvoting.CMainTest Class Reference

Unit test for simple CMain. More...

Inherits TestCase.

+ Collaboration diagram for org.lightvoting.CMainTest:

Public Member Functions

 CMainTest (final String p_testName)
 Create the test case. More...
 
void testApp ()
 Rigourous Test :-) More...
 

Static Public Member Functions

static Test suite ()
 Testsuite. More...
 

Detailed Description

Definition at line 33 of file CMainTest.java.

Constructor & Destructor Documentation

org.lightvoting.CMainTest.CMainTest ( final String  p_testName)
Parameters
p_testNamename of the test case

Definition at line 40 of file CMainTest.java.

41  {
42  super( p_testName );
43  }

Member Function Documentation

static Test org.lightvoting.CMainTest.suite ( )
static
Returns
the suite of tests being tested

Definition at line 50 of file CMainTest.java.

51  {
52  return new TestSuite( CMainTest.class );
53  }
CMainTest(final String p_testName)
Create the test case.
Definition: CMainTest.java:40
void org.lightvoting.CMainTest.testApp ( )

Definition at line 58 of file CMainTest.java.

59  {
60 // try
61 // {
62 // CMain.main(
63 // new String[]
64 // {
65 // "target/classes/org/lightvoting/testvotingagent.asl", "1", "1"
66 // } );
67 // }
68 // catch ( final Exception l_exception )
69 // {
70 // l_exception.printStackTrace();
71 // assertTrue( false );
72 // }
73  assertTrue( true );
74  }