Commit Graph

101 Commits

Author SHA1 Message Date
Sebastian Messmer
aaa4f57fc3 Split fuse tests into more test files 2014-11-19 16:16:43 +01:00
Sebastian Messmer
9553bf43e6 Add a lstat test 2014-11-19 00:48:17 +01:00
Sebastian Messmer
ede0b4d053 Remove unneeded includes 2014-11-19 00:40:46 +01:00
Sebastian Messmer
988c9b4307 Implement ReturnIsFileStat action 2014-11-19 00:38:41 +01:00
Sebastian Messmer
205f93531f Simplify using OpenFlagsEq matcher 2014-11-19 00:31:47 +01:00
Sebastian Messmer
ffee279c5a Factor out fuse test fixture 2014-11-19 00:25:57 +01:00
Sebastian Messmer
746753067f Write a unit test for opening a file 2014-11-19 00:15:37 +01:00
Sebastian Messmer
a73ec5c7ef Add the interface from two commits ago 2014-11-19 00:15:15 +01:00
Sebastian Messmer
d7cc781888 Delete dummy test 2014-11-19 00:15:00 +01:00
Sebastian Messmer
ba300eb7e7 Make FilesystemImpl a virtual interface (for testability) 2014-11-19 00:14:35 +01:00
Sebastian Messmer
d29a8d67ca Make test cases run fuse in a parallel thread. For now, test cases don't use mock fs implementation, but real cryfs. This is to be changed soon. 2014-11-18 00:14:33 +01:00
Sebastian Messmer
0a04a5ad80 Add second test, doesn'T work yet 2014-11-17 21:29:23 +01:00
Sebastian Messmer
3371df2088 Written a test case setting up a file system and tearing it down again afterwards 2014-11-17 21:13:58 +01:00
Sebastian Messmer
ff9a222e6a Refactor tests using fixtures 2014-11-16 03:01:41 +01:00
Sebastian Messmer
0e1a0f4867 Written FuseOpenFileListTests 2014-11-16 02:42:34 +01:00
Sebastian Messmer
6da534792b Added gmock and written a simple test case for FuseOpenFileListTest 2014-11-16 01:55:06 +01:00
Sebastian Messmer
0e4478817d Written IdListTest 2014-11-16 01:31:16 +01:00
Sebastian Messmer
cb1dae7df0 Inlined some functions 2014-11-16 00:58:46 +01:00
Sebastian Messmer
58c2f64fb0 Added tests that the interface compiles 2014-11-16 00:55:50 +01:00
Sebastian Messmer
c346098a8e Prepared test folder 2014-11-16 00:42:08 +01:00
Sebastian Messmer
711b7a1a78 Finished renaming fusepp -> fspp 2014-11-16 00:10:29 +01:00
Sebastian Messmer
d14e825cee Rename namespace fusepp -> fspp 2014-11-16 00:05:28 +01:00
Sebastian Messmer
c730fb5ebf Rename FuseFile -> File and so on 2014-11-15 23:47:38 +01:00
Sebastian Messmer
a8dbcbc5f1 Merge branch 'feature/abstract' into develop 2014-11-15 18:10:36 +01:00
Sebastian Messmer
749239ad0f Put fuse bindings in their own directory 2014-11-15 17:24:07 +01:00
Sebastian Messmer
272456e187 Created a CryFs implementation based on the Fuse classes 2014-11-15 16:33:24 +01:00
Sebastian Messmer
da7debdf9d Renamed cryfs::CryXXX classes to fusepp::FuseXXX classes 2014-11-15 15:16:18 +01:00
Sebastian Messmer
9af5f72665 Simplify readdir 2014-11-13 00:03:03 +01:00
Sebastian Messmer
d8d35ae462 Resolve TODO2 2014-11-12 22:50:40 +01:00
Sebastian Messmer
35d997779a Removed todo 2014-11-12 22:47:20 +01:00
Sebastian Messmer
009b09df70 Fix error code 2014-11-12 22:40:47 +01:00
Sebastian Messmer
3b376aa048 Fix IdList and implement statfs() 2014-11-12 22:38:12 +01:00
Sebastian Messmer
708ca7b1d6 utimens 2014-11-12 21:55:34 +01:00
Sebastian Messmer
0dc7fe2bb8 Fix unimplemented utimens 2014-11-12 15:42:47 +01:00
Sebastian Messmer
194f1cba48 opendir/readdir/releasedir 2014-11-12 15:34:01 +01:00
Sebastian Messmer
c1ef981368 Make some functions not-implemented 2014-11-12 13:54:29 +01:00
Sebastian Messmer
e3259d68f9 rename 2014-11-12 12:43:49 +01:00
Sebastian Messmer
b85da9a688 rmdir 2014-11-12 12:34:35 +01:00
Sebastian Messmer
3727dd8b74 unlink 2014-11-12 12:31:38 +01:00
Sebastian Messmer
c5e8c37588 mkdir 2014-11-12 12:27:23 +01:00
Sebastian Messmer
bfd7d20c8b Fix file reading 2014-11-11 00:18:24 +01:00
Sebastian Messmer
f86db75948 Refactor 2014-11-10 23:51:45 +01:00
Sebastian Messmer
6b8c205916 Implemented file operations using our class hierarchy 2014-11-10 23:47:41 +01:00
Sebastian Messmer
80d708d62d Implement CryOpenFile and infrastructure around it 2014-11-10 22:42:17 +01:00
Sebastian Messmer
91dd8a7395 Better test handling 2014-11-06 23:14:20 +01:00
Sebastian Messmer
df0ac39ec9 Added gtest framework and fixed compiler warnings 2014-11-06 22:50:50 +01:00
Sebastian Messmer
9981b5aeae Fix some stuff and make getattr go through our class structure 2014-11-05 01:35:41 +01:00
Sebastian Messmer
fd07c4892d Reorder folder structure 2014-11-04 22:33:43 +01:00
Sebastian Messmer
429f4a7173 Written README 2014-11-04 02:44:11 +01:00
Sebastian Messmer
ea41d09114 Initiate CMake 2014-11-04 02:32:06 +01:00