Modified:
trunk/.classpath
trunk/src/edu/hawaii/stack/TestClearStack.java
Log:
Made changes to JavaDocs, added white space to method comments, in
TestClearStack.java and altered the build path to work in Eclipse.
Modified: trunk/.classpath
==============================================================================
--- trunk/.classpath (original)
+++ trunk/.classpath Mon Oct 6 17:19:19 2008
@@ -3,5 +3,5 @@
<classpathentry kind="src" path="src"/>
<classpathentry kind="con"
path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="con"
path="org.eclipse.jdt.junit.JUNIT_CONTAINER/4"/>
- <classpathentry kind="output" path="build/classes"/>
+ <classpathentry kind="output" path="bin"/>
</classpath>
Modified: trunk/src/edu/hawaii/stack/TestClearStack.java
==============================================================================
--- trunk/src/edu/hawaii/stack/TestClearStack.java (original)
+++ trunk/src/edu/hawaii/stack/TestClearStack.java Mon Oct 6 17:19:19 2008
@@ -48,6 +48,7 @@
// atshum: added below to get 100% coverage.
/**
* Test the getTop method under normal operation.
+ *
* @throws EmptyStackException If the stack is empty when pop is called.
*/
@Test
@@ -68,6 +69,7 @@
/**
* Test the getTop method when the stack is empty.
* The getTop method should throw an exception when the stack is empty.
+ *
* @throws EmptyStackException If the stack is empty when top is called.
*/
@Test (expected = EmptyStackException.class)
@@ -79,6 +81,7 @@
// atshum: added below to get 100% coverage.
/**
* Test the isEmpty method.
+ *
* @throws EmptyStackException If the stack is empty when pop is called.
*/
@Test