| Revision 504,
519 bytes
checked in by jdalbey, 7 years ago
(diff) |
|
pizzaorder Rename Test package add SampleTest?.java junit test.
|
| Line | |
|---|
| 1 | |
|---|
| 2 | package pizzaorder; |
|---|
| 3 | |
|---|
| 4 | import junit.framework.TestCase; |
|---|
| 5 | |
|---|
| 6 | /** |
|---|
| 7 | * |
|---|
| 8 | * @author jdalbey |
|---|
| 9 | */ |
|---|
| 10 | public class SampleTest extends TestCase { |
|---|
| 11 | |
|---|
| 12 | public SampleTest(String testName) { |
|---|
| 13 | super(testName); |
|---|
| 14 | } |
|---|
| 15 | |
|---|
| 16 | @Override |
|---|
| 17 | protected void setUp() throws Exception { |
|---|
| 18 | super.setUp(); |
|---|
| 19 | } |
|---|
| 20 | |
|---|
| 21 | @Override |
|---|
| 22 | protected void tearDown() throws Exception { |
|---|
| 23 | super.tearDown(); |
|---|
| 24 | } |
|---|
| 25 | |
|---|
| 26 | public void testInit() |
|---|
| 27 | { |
|---|
| 28 | // Test that constructor doesn't crash |
|---|
| 29 | GUI gui = new GUI(); |
|---|
| 30 | } |
|---|
| 31 | |
|---|
| 32 | } |
|---|
Note: See
TracBrowser
for help on using the repository browser.