Anna Schumaker
124f275ffd
queue: Update the next() function
...
I also added in code for testing.
Signed-off-by: Anna Schumaker <Anna@OcarinaProject.net>
2014-05-18 11:17:32 -04:00
Anna Schumaker
bcfa735dd7
queue: Fix up the length_str() function
...
Signed-off-by: Anna Schumaker <Anna@OcarinaProject.net>
2014-05-11 19:56:17 -04:00
Anna Schumaker
0cc8072159
queue: Update the updated() function
...
Signed-off-by: Anna Schumaker <Anna@OcarinaProject.net>
2014-05-11 18:33:13 -04:00
Anna Schumaker
5520472f6f
queue: Test and clean up the delete track function
...
Signed-off-by: Anna Schumaker <Anna@OcarinaProject.net>
2014-05-11 13:37:15 -04:00
Anna Schumaker
38ae4ba0f3
queue: Fix up queue :: add()
...
It should take a Track pointer, rather than a track_id. This makes the
code easier to work with.
Signed-off-by: Anna Schumaker <Anna@OcarinaProject.net>
2014-05-11 10:41:50 -04:00
Anna Schumaker
69f4d21c04
tests: Create a fake library
...
This is loaded for testing so we don't have to scan a directory for each
test.
Signed-off-by: Anna Schumaker <Anna@OcarinaProject.net>
2014-05-11 10:20:06 -04:00
Anna Schumaker
7332ed1e8f
queue: Move unit test up one directory
...
And modify it a bit to match my recent work.
Signed-off-by: Anna Schumaker <Anna@OcarinaProject.net>
2014-05-06 23:03:42 -04:00