Skip to content

Commit 859a0df

Browse files
Johnetordoffcslzchen
authored andcommitted
Add fixtures for hierarchical zip file renderer
1 parent 275af4d commit 859a0df

File tree

2 files changed

+117
-0
lines changed

2 files changed

+117
-0
lines changed
6.62 KB
Binary file not shown.
Lines changed: 117 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,117 @@
1+
{
2+
"file_tree":[
3+
{
4+
"text":"test.zip",
5+
"icon":"http://mfr.osf.io/assets/zip/img/file_extension_zip.png",
6+
"children":[
7+
{
8+
"text":"test",
9+
"icon":"http://mfr.osf.io/assets/zip/img/folder.png",
10+
"children":[
11+
{
12+
"text":".DS_Store",
13+
"icon":"http://mfr.osf.io/assets/zip/img/generic-file.png",
14+
"children":[
15+
16+
],
17+
"data":{
18+
"size":"6.1KB",
19+
"date":"2017-11-09 16:45:02"
20+
}
21+
},
22+
{
23+
"text":"dir 1",
24+
"icon":"http://mfr.osf.io/assets/zip/img/folder.png",
25+
"children":[
26+
{
27+
"text":"test 1",
28+
"icon":"http://mfr.osf.io/assets/zip/img/generic-file.png",
29+
"children":[
30+
31+
],
32+
"data":{
33+
"size":" 15B",
34+
"date":"2017-03-02 16:22:14"
35+
}
36+
},
37+
{
38+
"text":"test 3",
39+
"icon":"http://mfr.osf.io/assets/zip/img/generic-file.png",
40+
"children":[
41+
42+
],
43+
"data":{
44+
"size":" 15B",
45+
"date":"2017-03-02 16:22:14"
46+
}
47+
}
48+
],
49+
"data":{
50+
"size":"",
51+
"date":"2017-11-09 16:44:34"
52+
}
53+
},
54+
{
55+
"text":"dir 2",
56+
"icon":"http://mfr.osf.io/assets/zip/img/folder.png",
57+
"children":[
58+
{
59+
"text":"test 4",
60+
"icon":"http://mfr.osf.io/assets/zip/img/generic-file.png",
61+
"children":[
62+
63+
],
64+
"data":{
65+
"size":" 15B",
66+
"date":"2017-03-02 16:22:14"
67+
}
68+
},
69+
{
70+
"text":"test 5",
71+
"icon":"http://mfr.osf.io/assets/zip/img/generic-file.png",
72+
"children":[
73+
74+
],
75+
"data":{
76+
"size":" 15B",
77+
"date":"2017-03-02 16:22:24"
78+
}
79+
}
80+
],
81+
"data":{
82+
"size":"",
83+
"date":"2017-11-09 16:45:14"
84+
}
85+
},
86+
{
87+
"text":"test 1",
88+
"icon":"http://mfr.osf.io/assets/zip/img/generic-file.png",
89+
"children":[
90+
91+
],
92+
"data":{
93+
"size":" 15B",
94+
"date":"2017-03-02 16:22:14"
95+
}
96+
},
97+
{
98+
"text":"test 2",
99+
"icon":"http://mfr.osf.io/assets/zip/img/generic-file.png",
100+
"children":[
101+
102+
],
103+
"data":{
104+
"size":" 15B",
105+
"date":"2017-03-02 16:22:24"
106+
}
107+
}
108+
],
109+
"data":{
110+
"size":"",
111+
"date":"2017-11-09 16:45:00"
112+
}
113+
}
114+
]
115+
}
116+
]
117+
}

0 commit comments

Comments
 (0)