LightVoting
Main Page
Related Pages
Packages
Classes
Files
File List
All
Classes
Namespaces
Files
Functions
Variables
Pages
CMainTest.java
Go to the documentation of this file.
1
24
package
org.lightvoting;
25
26
import
junit.framework.Test;
27
import
junit.framework.TestCase;
28
import
junit.framework.TestSuite;
29
33
public
final
class
CMainTest
extends
TestCase
34
{
40
public
CMainTest
(
final
String p_testName )
41
{
42
super( p_testName );
43
}
44
50
public
static
Test
suite
()
51
{
52
return
new
TestSuite(
CMainTest
.class );
53
}
54
58
public
void
testApp
()
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
}
75
}
org.lightvoting.CMainTest.testApp
void testApp()
Rigourous Test :-)
Definition:
CMainTest.java:58
org.lightvoting.CMainTest
Unit test for simple CMain.
Definition:
CMainTest.java:33
org.lightvoting.CMainTest.suite
static Test suite()
Testsuite.
Definition:
CMainTest.java:50
org.lightvoting.CMainTest.CMainTest
CMainTest(final String p_testName)
Create the test case.
Definition:
CMainTest.java:40
LightVoting