playback: first pass at the deck, a play-after region of the queue
Twelve TDD cycles plus menu wiring: base case, pointer advancement, resets on IndexMoved/NewPlayback/QueueReordered, drag and remove boundary adjustments, play-next interplay, the :app unit-test harness, and PlaybackViewModel routing add-to-queue to playAfter. Region-of-heap model with a deckEnd pointer; superseded by the ephemeral-queue model (separate deck list) in later work.
This commit is contained in:
@@ -75,6 +75,12 @@ android {
|
||||
viewBinding true
|
||||
buildConfig true
|
||||
}
|
||||
|
||||
// Return default values from android.jar stubs in unit tests instead of throwing.
|
||||
// PlaybackStateManagerImpl construction calls Progression.nil() -> SystemClock.elapsedRealtime().
|
||||
testOptions {
|
||||
unitTests.returnDefaultValues = true
|
||||
}
|
||||
}
|
||||
|
||||
kotlin {
|
||||
@@ -86,6 +92,8 @@ kotlin {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
testImplementation "junit:junit:4.13.2"
|
||||
|
||||
androidTestImplementation "androidx.test:runner:1.7.0"
|
||||
androidTestImplementation "androidx.test.ext:junit:1.3.0"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user