Commit Graph

1429 Commits

Author SHA1 Message Date
Sebastian Messmer
aafc0f4e55 Codestyle 2014-11-25 14:58:00 +01:00
Sebastian Messmer
6f5c1c17e9 Improved flush test cases 2014-11-25 14:32:05 +01:00
Sebastian Messmer
748f38c991 Changed TODO 2014-11-25 14:30:11 +01:00
Sebastian Messmer
61e5b4b7de Written fstat tests 2014-11-25 14:29:44 +01:00
Sebastian Messmer
c2c53676d9 Fix test cases 2014-11-25 13:07:15 +01:00
Sebastian Messmer
5e13b65427 TODOs 2014-11-21 20:50:32 +01:00
Sebastian Messmer
9046a54aaa Written tests for close() and flush() 2014-11-21 20:46:39 +01:00
Sebastian Messmer
9b985d98db Just to be sure, wait until the filesystem is properly shutdown in the test cases 2014-11-21 01:12:04 +01:00
Sebastian Messmer
18aa7b9def Make Filesystem mock a strict mock 2014-11-21 01:11:42 +01:00
Sebastian Messmer
74cf914f1e Implement flush() 2014-11-21 01:11:24 +01:00
Sebastian Messmer
2ff9c416df Implement flush() 2014-11-21 01:11:24 +01:00
Sebastian Messmer
6e05240cb6 Added testcases for open() 2014-11-20 21:23:35 +01:00
Sebastian Messmer
e7181c3c8b Comments 2014-11-20 20:04:39 +01:00
Sebastian Messmer
862cb1b26c Use parametrized test cases 2014-11-20 17:11:03 +01:00
Sebastian Messmer
0c74355812 Use parametrized test for FuseLstatErrorTest 2014-11-20 16:55:51 +01:00
Sebastian Messmer
0762c1dbde Created error path test cases for lstat 2014-11-20 16:48:58 +01:00
Sebastian Messmer
26c6267087 Resolved todos 2014-11-20 16:34:04 +01:00
Sebastian Messmer
7055cd295d Added mtime/ctime tests 2014-11-20 16:33:52 +01:00
Sebastian Messmer
32b552dd6b Added atime tests 2014-11-20 16:30:54 +01:00
Sebastian Messmer
eadeedb5a5 Improve testutils implementation for lstat 2014-11-20 15:35:52 +01:00
Sebastian Messmer
748e51271c Split up lstat test cases into multiple files 2014-11-20 15:27:01 +01:00
Sebastian Messmer
c61e27b24e Separate lstat tests into separate classes 2014-11-20 15:15:24 +01:00
Sebastian Messmer
f0acb9f68f Add more lstat tests 2014-11-20 14:53:09 +01:00
Sebastian Messmer
5a77f791b6 Improve Path Parameter Tests (they now also test that the return value is success) 2014-11-20 13:19:15 +01:00
Sebastian Messmer
8ddf18666c Added some more lstat tests 2014-11-20 13:11:07 +01:00
Sebastian Messmer
36c0ed2348 Added more lstat tests 2014-11-19 17:12:47 +01:00
Sebastian Messmer
2128147f96 Added some lstat tests 2014-11-19 17:03:06 +01:00
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
51cc539f99 Delete dummy test 2014-11-19 00:15:00 +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
6aeaae5436 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
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
c495e6b475 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
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