edu.rice.cs.drjava.model.debug
Class DebugWatchDataTest
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
edu.rice.cs.drjava.DrJavaTestCase
edu.rice.cs.drjava.model.debug.DebugWatchDataTest
- All Implemented Interfaces:
- Test
public final class DebugWatchDataTest
- extends DrJavaTestCase
Tests that the DebugWatchData class can display state correctly.
- Version:
- $Id: DebugWatchDataTest.java 4504 2008-06-03 06:19:20Z rcartwright $
Method Summary |
void |
testFirstCreation()
Tests the state of a watch after its creation. |
void |
testInScopeThenCleared()
Tests that a watch displays its value and type correctly,
then hides it when the thread resumes. |
void |
testNotInScope()
Tests that a watch displays correctly if it is not in scope. |
Methods inherited from class junit.framework.Assert |
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame, format |
DebugWatchDataTest
public DebugWatchDataTest()
testFirstCreation
public void testFirstCreation()
- Tests the state of a watch after its creation.
testInScopeThenCleared
public void testInScopeThenCleared()
- Tests that a watch displays its value and type correctly,
then hides it when the thread resumes. Also tests that
the changed flag works correctly.
testNotInScope
public void testNotInScope()
- Tests that a watch displays correctly if it is not in scope.