Commit Graph

1888 Commits

Author SHA1 Message Date
Sebastian Messmer
b429432d83 Refactor FuseReadReturnedDataTest to make VirtualTestFile reusable for the upcoming write tests 2014-11-27 15:23:51 +01:00
Sebastian Messmer
6c86b4ab2a Test cases for read() 2014-11-27 03:48:38 +01:00
Sebastian Messmer
96826349e7 TODOs 2014-11-25 18:55:21 +01:00
Sebastian Messmer
e4382ab2ed Test cases for ftruncate 2014-11-25 18:54:33 +01:00
Sebastian Messmer
5438ab05bd Test refactoring 2014-11-25 18:43:50 +01:00
Sebastian Messmer
62b0d0fc08 TODOs 2014-11-25 18:05:30 +01:00
Sebastian Messmer
1197990539 Create truncate Test 2014-11-25 18:04:59 +01:00
Sebastian Messmer
10142c2a36 Tests for createAndOpenFile 2014-11-25 16:47:36 +01:00
Sebastian Messmer
6e0bda3689 Speedup test mock compiling 2014-11-25 15:01:33 +01:00
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