Package org.jmock.example.qcon
Class DJTests
- java.lang.Object
-
- junit.framework.Assert
-
- junit.framework.TestCase
-
- org.jmock.integration.junit3.VerifyingTestCase
-
- org.jmock.integration.junit3.MockObjectTestCase
-
- org.jmock.example.qcon.DJTests
-
- All Implemented Interfaces:
junit.framework.Test
public class DJTests extends org.jmock.integration.junit3.MockObjectTestCase
-
-
Constructor Summary
Constructors Constructor Description DJTests()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetUp()voidtestDoesNotPlayTrackAgainIfStillInTheSameLocation()voidtestPlaysNewTrackAsSoonAsLocationChangesIfPreviousTrackFinishedWhileInSameLocation()voidtestPlaysTrackForCurrentLocationWhenPreviousTrackFinishesIfLocationChangedWhileTrackWasPlaying()voidtestStartsPlayingTrackForCurrentLocationWhenLocationFirstDetected()-
Methods inherited from class org.jmock.integration.junit3.MockObjectTestCase
checking, context, mock, mock, sequence, setDefaultResultForType, setImposteriser, setNamingScheme, states
-
Methods inherited from class org.jmock.integration.junit3.VerifyingTestCase
addVerifier, runBare, verify
-
Methods inherited from class junit.framework.TestCase
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, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runTest, setName, tearDown, toString
-
-
-
-
Method Detail
-
setUp
public void setUp()
- Overrides:
setUpin classjunit.framework.TestCase
-
testStartsPlayingTrackForCurrentLocationWhenLocationFirstDetected
public void testStartsPlayingTrackForCurrentLocationWhenLocationFirstDetected()
-
testPlaysTrackForCurrentLocationWhenPreviousTrackFinishesIfLocationChangedWhileTrackWasPlaying
public void testPlaysTrackForCurrentLocationWhenPreviousTrackFinishesIfLocationChangedWhileTrackWasPlaying()
-
testDoesNotPlayTrackAgainIfStillInTheSameLocation
public void testDoesNotPlayTrackAgainIfStillInTheSameLocation()
-
testPlaysNewTrackAsSoonAsLocationChangesIfPreviousTrackFinishedWhileInSameLocation
public void testPlaysNewTrackAsSoonAsLocationChangesIfPreviousTrackFinishedWhileInSameLocation()
-
-