tests: Update tests for recent deck change
Signed-off-by: Anna Schumaker <schumaker.anna@gmail.com>
This commit is contained in:
parent
6bd02bd46b
commit
a74cd5e6d1
|
@ -214,7 +214,7 @@ int main(int argc, char **argv)
|
||||||
library :: add_path("/tmp/library/0");
|
library :: add_path("/tmp/library/0");
|
||||||
while (idle :: run_task());
|
while (idle :: run_task());
|
||||||
|
|
||||||
pqueue = deck :: create();
|
pqueue = deck :: create(false);
|
||||||
for (unsigned int i = 0; i < 150; i++)
|
for (unsigned int i = 0; i < 150; i++)
|
||||||
pqueue->add(i);
|
pqueue->add(i);
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
|
|
||||||
void test_add_playlist(unsigned int size)
|
void test_add_playlist(unsigned int size)
|
||||||
{
|
{
|
||||||
Playqueue *pqueue = deck :: create();
|
Playqueue *pqueue = deck :: create(false);
|
||||||
for (unsigned i = 0; i < size; i++)
|
for (unsigned i = 0; i < size; i++)
|
||||||
pqueue->add(i);
|
pqueue->add(i);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue