Commit Graph

2290 Commits

Author SHA1 Message Date
Sebastian Messmer
5355d0ca18 BlobStoreTest is a type parameterized test and is instantiated as InMemoryBlobStoreTest and OnDiskBlobStoreTest 2014-12-06 19:46:42 +01:00
Sebastian Messmer
03c490d5b3 Moved test files to correct package 2014-12-06 16:15:33 +01:00
Sebastian Messmer
a116a8330c Implemented an in-memory blobstore 2014-12-06 16:14:22 +01:00
Sebastian Messmer
e0e9129099 Also move RandomKeyGenerator to utils package 2014-12-06 15:50:37 +01:00
Sebastian Messmer
abcc766375 Moved Data class to an own utils package in blobstore 2014-12-06 15:48:32 +01:00
Sebastian Messmer
c298457209 Fixed errno handling of fuse test cases 2014-12-06 15:33:01 +01:00
Sebastian Messmer
1151d4db47 Written Testcases for OnDiskBlobStore 2014-12-06 11:51:57 +01:00
Sebastian Messmer
2d3f329b6a Block-Keys are created randomly 2014-12-06 11:22:34 +01:00
Sebastian Messmer
11b74dd035 Renamed test cases 2014-12-06 11:21:41 +01:00
Sebastian Messmer
b64d352a8c BlobStore also returns BlobKey 2014-12-05 15:37:35 +01:00
Sebastian Messmer
24e2d42380 Added test cases for Data::LoadFromFile and Data.StoreToFile 2014-12-05 15:18:43 +01:00
Sebastian Messmer
a489914f80 Added test case for Data.FillWithZeroes() 2014-12-05 12:31:49 +01:00
Sebastian Messmer
b9c2f43afb Test loading a not existing blob (and fix behaviour for that case) 2014-12-05 12:00:05 +01:00
Sebastian Messmer
2d45783414 Added test cases for OnDiskBlob that load and compare data 2014-12-05 11:50:24 +01:00
Sebastian Messmer
b652daec94 Added test cases for OnDiskBlob that load and compare data 2014-12-05 11:50:24 +01:00
Sebastian Messmer
155bbeaba3 Added test cases for OnDiskBlob that load and compare data 2014-12-05 11:50:24 +01:00
Sebastian Messmer
dc8a81eef5 Added test cases that blobs are actually initialized with zeroes 2014-12-05 11:36:14 +01:00
Sebastian Messmer
edd2125685 Rename test case 2014-12-05 11:23:47 +01:00
Sebastian Messmer
a34b5a316f Added Blob::flush() and test cases for it 2014-12-05 11:22:44 +01:00
Sebastian Messmer
a699350e19 Simplify Data::LoadFromFile and use DISALLOW_COPY_AND_ASSIGN for OnDiskBlob and OnDiskBlobStore 2014-12-05 08:14:19 +01:00
Sebastian Messmer
c20b09030d Move load from file functionality to Data class 2014-12-05 08:08:45 +01:00
Sebastian Messmer
e32a84eb8e Add Data::StoreToFile 2014-12-05 07:42:39 +01:00
Sebastian Messmer
e585d12511 Written a test case to test size on loading 2014-12-05 07:22:41 +01:00
Sebastian Messmer
e52da598f4 Write some test cases for OnDiskBlob and also change implementation to adapt them 2014-12-05 07:16:35 +01:00
Sebastian Messmer
ab3b5d906c Written a ondisk blobstore implementation and started with test cases 2014-12-05 06:20:38 +01:00
Sebastian Messmer
a43359c3b0 Added size parameters to blobstore interface 2014-12-05 06:06:05 +01:00
Sebastian Messmer
90c49dabc6 Written first version of the blobstore interface 2014-12-05 04:50:50 +01:00
Sebastian Messmer
323dfde2cf TODOs 2014-12-05 04:36:32 +01:00
Sebastian Messmer
d30ab0d655 TODOs 2014-12-02 22:38:54 +01:00
Sebastian Messmer
8d05844a11 Finished readdir() tests 2014-12-02 22:38:15 +01:00
Sebastian Messmer
8a3958f87c Written readdir() dirname and error tests 2014-12-02 22:16:48 +01:00
Sebastian Messmer
4ec3c7b82d Testcases for statfs() 2014-11-28 22:11:26 +01:00
Sebastian Messmer
8249fb14fe Fix uninitialized value in utimens test 2014-11-28 18:45:03 +01:00
Sebastian Messmer
f5025cf8fd Testcases for utimens() 2014-11-28 18:38:24 +01:00
Sebastian Messmer
ea6c1fea3a Testcases for rename() 2014-11-28 17:40:54 +01:00
Sebastian Messmer
0f2f6fb9bc Added testcases for unlink() 2014-11-28 16:15:15 +01:00
Sebastian Messmer
6b4497bab2 Written testcases for rmdir() 2014-11-28 16:06:28 +01:00
Sebastian Messmer
787896ef58 Testcases for mkdir() 2014-11-28 15:54:18 +01:00
Sebastian Messmer
3af17f24d9 Refactor: Move Filesystem.h and FuseErrnoException.h to fuse package 2014-11-28 14:46:45 +01:00
Sebastian Messmer
5118d5decc Refactor: Move Filesystem.h and FuseErrnoException.h to fuse package 2014-11-28 14:46:45 +01:00
Sebastian Messmer
f4e3ad7e5b Testcases for access() 2014-11-28 14:13:51 +01:00
Sebastian Messmer
2ca7c293b9 Testcases for fdatasync 2014-11-28 12:27:39 +01:00
Sebastian Messmer
595593a97c Fix ftruncate test 2014-11-28 12:24:09 +01:00
Sebastian Messmer
9ed39dc578 TODOs 2014-11-28 11:57:46 +01:00
Sebastian Messmer
bd8fc1de6e Implemented fsync test cases 2014-11-28 11:57:20 +01:00
Sebastian Messmer
8862c16ef7 Fix ftruncate test 2014-11-28 11:56:41 +01:00
Sebastian Messmer
885fc0ce9d TODOs 2014-11-27 16:51:38 +01:00
Sebastian Messmer
d58a399832 Improve compile speed by putting stuff from .h to .cpp 2014-11-27 16:51:15 +01:00
Sebastian Messmer
5d081b0043 Fix comment 2014-11-27 16:40:44 +01:00
Sebastian Messmer
47a35c94b4 Added write() test cases 2014-11-27 16:40:22 +01:00