Class DJTests

java.lang.Object
junit.framework.Assert
All Implemented Interfaces:
junit.framework.Test

public class DJTests extends MockObjectTestCase
  • Field Details

  • Constructor Details

    • DJTests

      public DJTests()
  • Method Details

    • setUp

      public void setUp()
      Overrides:
      setUp in class junit.framework.TestCase
    • testStartsPlayingTrackForCurrentLocationWhenLocationFirstDetected

      public void testStartsPlayingTrackForCurrentLocationWhenLocationFirstDetected()
    • testPlaysTrackForCurrentLocationWhenPreviousTrackFinishesIfLocationChangedWhileTrackWasPlaying

      public void testPlaysTrackForCurrentLocationWhenPreviousTrackFinishesIfLocationChangedWhileTrackWasPlaying()
    • testDoesNotPlayTrackAgainIfStillInTheSameLocation

      public void testDoesNotPlayTrackAgainIfStillInTheSameLocation()
    • testPlaysNewTrackAsSoonAsLocationChangesIfPreviousTrackFinishedWhileInSameLocation

      public void testPlaysNewTrackAsSoonAsLocationChangesIfPreviousTrackFinishedWhileInSameLocation()
    • startingIn

      private void startingIn(String initialLocation)