@@ -7,6 +7,7 @@ import uk.co.sentinelweb.cuer.app.orchestrator.OrchestratorContract.Identifier
7
7
import uk.co.sentinelweb.cuer.app.orchestrator.OrchestratorContract.Source.LOCAL
8
8
import uk.co.sentinelweb.cuer.domain.MediaDomain
9
9
import uk.co.sentinelweb.cuer.domain.PlaylistDomain
10
+ import uk.co.sentinelweb.cuer.domain.PlaylistDomain.PlaylistTypeDomain.USER
10
11
import uk.co.sentinelweb.cuer.domain.PlaylistItemDomain
11
12
import uk.co.sentinelweb.cuer.domain.creator.GuidCreator
12
13
@@ -25,15 +26,15 @@ class PlaylistDomainExtKtTest {
25
26
Identifier (guidCreator.create(), LOCAL ),
26
27
)
27
28
private val nodes = listOf (
28
- PlaylistDomain (ids[0 ]/* 2*/ , " 1" , parentId = null ),
29
- PlaylistDomain (ids[1 ]/* 3*/ , " 11" , parentId = ids[0 ]),
30
- PlaylistDomain (ids[2 ]/* 4*/ , " 111" , parentId = ids[1 ]),
31
- PlaylistDomain (ids[3 ]/* 5*/ , " 2" , parentId = null ),
32
- PlaylistDomain (ids[4 ]/* 6*/ , " 21" , parentId = ids[3 ]),
33
- PlaylistDomain (ids[5 ]/* 7*/ , " 211" , parentId = ids[4 ]),
34
- PlaylistDomain (ids[6 ]/* 8*/ , " 212" , parentId = ids[4 ]),
35
- PlaylistDomain (ids[7 ]/* 9*/ , " 2121" , parentId = ids[6 ]),
36
- PlaylistDomain (ids[8 ]/* 10*/ , " 3" , parentId = null ),
29
+ PlaylistDomain (ids[0 ]/* 2*/ , " 1" , parentId = null , type = USER ),
30
+ PlaylistDomain (ids[1 ]/* 3*/ , " 11" , parentId = ids[0 ], type = USER ),
31
+ PlaylistDomain (ids[2 ]/* 4*/ , " 111" , parentId = ids[1 ], type = USER ),
32
+ PlaylistDomain (ids[3 ]/* 5*/ , " 2" , parentId = null , type = USER ),
33
+ PlaylistDomain (ids[4 ]/* 6*/ , " 21" , parentId = ids[3 ], type = USER ),
34
+ PlaylistDomain (ids[5 ]/* 7*/ , " 211" , parentId = ids[4 ], type = USER ),
35
+ PlaylistDomain (ids[6 ]/* 8*/ , " 212" , parentId = ids[4 ], type = USER ),
36
+ PlaylistDomain (ids[7 ]/* 9*/ , " 2121" , parentId = ids[6 ], type = USER ),
37
+ PlaylistDomain (ids[8 ]/* 10*/ , " 3" , parentId = null , type = USER ),
37
38
)
38
39
39
40
private val tree = nodes.buildTree()
0 commit comments