hw2.test
Class HolaWorldTest
java.lang.Object
hw2.test.HolaWorldTest
public class HolaWorldTest
- extends Object
HolaWorldTest is a simple test of the HolaWorld class that you
are to fix. This test just makes sure that the program
does not crash and that the correct greeting is printed.
Method Summary |
void |
testCrash()
Tests that HolaWorld does not crash |
void |
testGreeting()
Tests that the HolaWorld greeting is correct. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HolaWorldTest
public HolaWorldTest()
testCrash
public void testCrash()
- Tests that HolaWorld does not crash
testGreeting
public void testGreeting()
- Tests that the HolaWorld greeting is correct.