@@ -24,16 +24,16 @@ public static FolderContents getContentsOfFolder(String path, User authenticated
24
24
folderContents = FolderContents .builder ()
25
25
.files (new File []{new File (0 , "Passwords.crypt" , 420 , 0 , 1897550098 , FileSystemType .TEXT , null )})
26
26
.folders (new Folder []{
27
- new Folder (1 , "/dhbw" , "DHBW" , 87568438 , 0 , Instant . now (). getEpochSecond () , null ),
27
+ new Folder (1 , "/dhbw" , "DHBW" , 87568438 , 0 , 1589998868 , null ),
28
28
new Folder (2 , "/homework" , "Homework" , 1897557698 , 0 , 1577836800 , null )
29
29
})
30
30
.build ();
31
31
break ;
32
- case "/bla " :
32
+ case "/dhbw " :
33
33
folderContents = FolderContents .builder ()
34
34
.folders (new Folder []{
35
- new Folder (3 , "/se" , "SE" , 18975576 , 0 , 1601148846 , null ),
36
- new Folder (4 , "/ti-3" , "TI-3" , 69 , 0 , 1599936800 , null )
35
+ new Folder (3 , "/dhbw/ se" , "SE" , 18975576 , 0 , 1601148846 , null ),
36
+ new Folder (4 , "/dhbw/ ti-3" , "TI-3" , 69 , 0 , 1599936800 , null )
37
37
})
38
38
.files (new File []{
39
39
new File (4 , "WhatIsThis" , 42 , 0 , 153354 , FileSystemType .UNDEFINED , null ),
@@ -45,23 +45,35 @@ public static FolderContents getContentsOfFolder(String path, User authenticated
45
45
new File (10 , "JavaScriptFTW.js" , 176643 , 0 , 1597388868 , FileSystemType .TEXT , null ),
46
46
new File (11 , "TheyWillNeverKnow.crypt" , 75896643 , 0 , 1600188868 , FileSystemType .UNDEFINED , null ),
47
47
new File (12 , "Opportunismus und Repression.pdf" , 4826643 , 0 , 1589998868 , FileSystemType .PDF , null ),
48
- new File (13 , "ProfsINeedToBribeOrCharm.txt" , 153 , 0 , Instant . now (). getEpochSecond () , FileSystemType .TEXT , null ),
48
+ new File (13 , "ProfsINeedToBribeOrCharm.txt" , 153 , 0 , 1589998868 , FileSystemType .TEXT , null ),
49
49
new File (14 , "FinishedFileFighterBE.java" , 846846643 , 0 , 1624752000 , FileSystemType .TEXT , null ),
50
50
})
51
51
.build ();
52
52
break ;
53
- case "/fasel " :
53
+ case "/dhbw/se " :
54
54
folderContents = FolderContents .builder ()
55
- .files (new File []{new File (15 , "DummyFileInFasel.txt" , 420 , 0 , Instant .now ().getEpochSecond (), FileSystemType .TEXT , null )})
56
- .folders (new Folder []{new Folder (16 , "/fasel/jonnywishesforasecretchamber" , "JonnyWishesForASecretChamber" , 2 , 0 , Instant .now ().getEpochSecond (), null )})
55
+ .files (new File []{
56
+ new File (18 , "FullyAutomatedDocumentationScript.py" , 42042 , 0 , 1589998868 , FileSystemType .UNDEFINED , null )
57
+ }).build ();
58
+ break ;
59
+ case "/dhbw/ti-3" :
60
+ folderContents = FolderContents .builder ()
61
+ .files (new File []{
62
+ new File (19 , "Braun verstehen in 3 Schritten - Das Buch.pdf" , 42042 , 0 , 1589998868 , FileSystemType .PDF , null )
63
+ }).build ();
64
+ break ;
65
+ case "/homework" :
66
+ folderContents = FolderContents .builder ()
67
+ .files (new File []{new File (15 , "homeworks.zip" , 420 , 0 , Instant .now ().getEpochSecond (), FileSystemType .UNDEFINED , null )})
68
+ .folders (new Folder []{new Folder (16 , "/homework/jonnywishesforasecretchamber" , "JonnyWishesForASecretChamber" , 2 , 0 , 1589998868 , null )})
57
69
.build ();
58
70
break ;
59
- case "/fasel /jonnywishesforasecretchamber" :
71
+ case "/homework /jonnywishesforasecretchamber" :
60
72
folderContents = FolderContents .builder ()
61
- .folders (new Folder []{new Folder (17 , "/fasel /johnwishesforasecretchamber/empty " , "Empty " , 0 , 0 , Instant . now (). getEpochSecond () , null )})
73
+ .folders (new Folder []{new Folder (17 , "/homework /johnwishesforasecretchamber/emptyfolder " , "EmptyFolder " , 0 , 0 , 1589998868 , null )})
62
74
.build ();
63
75
break ;
64
- case "/fasel /jonnywishesforasecretchamber/empty " :
76
+ case "/homework /jonnywishesforasecretchamber/emptyfolder " :
65
77
folderContents = FolderContents .builder ().build ();
66
78
break ;
67
79
default :
0 commit comments