Sebastian Messmer
|
fb2b511d06
|
Create a FakeBlockStore and use it instead of InMemoryBlockStore in tests
|
2014-12-11 01:31:21 +01:00 |
|
Sebastian Messmer
|
c3d543619e
|
When shrinking a data node, the old space is overwritten with zeroes
|
2014-12-11 00:20:23 +01:00 |
|
Sebastian Messmer
|
24c81dd0b0
|
Implement DataLeafNode::resize and test cases for it
|
2014-12-10 23:34:36 +01:00 |
|
Sebastian Messmer
|
eebe8a4b75
|
Write factory methods in DataNode and write more test cases
|
2014-12-10 22:55:02 +01:00 |
|
Sebastian Messmer
|
1201823b68
|
Created some test cases for DataLeafNode
|
2014-12-10 17:59:45 +01:00 |
|
Sebastian Messmer
|
c6867b596e
|
TODOs
|
2014-12-10 17:28:21 +01:00 |
|
Sebastian Messmer
|
85b100ac9d
|
Written test cases for DataNodeView
|
2014-12-10 17:26:49 +01:00 |
|
Sebastian Messmer
|
b33cf908fa
|
Redesign DataNodes
|
2014-12-10 16:48:00 +01:00 |
|
Sebastian Messmer
|
0b2b527b4d
|
Create dedicated Key class for addressing blocks
|
2014-12-09 20:36:32 +01:00 |
|
Sebastian Messmer
|
48cc8eeff0
|
Write a test case that we reject invalid magic numbers
|
2014-12-09 18:56:45 +01:00 |
|
Sebastian Messmer
|
ec65b31c8e
|
Add DataNode/DataInnerNode/DataLeafNode to blobstore and write testcases for their magic numbers
|
2014-12-09 18:53:11 +01:00 |
|
Sebastian Messmer
|
93a624b228
|
Rename blobstore to blockstore
|
2014-12-09 17:19:59 +01:00 |
|
Sebastian Messmer
|
c306d8be66
|
Renamed VirtualTestFile to DataBlockFixture
|
2014-12-09 11:01:32 +01:00 |
|
Sebastian Messmer
|
32d28665a0
|
TODOs
|
2014-12-07 22:38:48 +01:00 |
|
Sebastian Messmer
|
6d0815915c
|
Redefined error behavior in blob loading when blob key doesn't exist
|
2014-12-07 00:58:56 +01:00 |
|
Sebastian Messmer
|
aed2148f17
|
Redefine error behavior in BlobStoreWithRandomKeys when key already exists and write test cases for it
|
2014-12-07 00:09:44 +01:00 |
|
Sebastian Messmer
|
2b112c7fdb
|
Generalized BlobStoreTest, added more test cases there
|
2014-12-06 21:28:03 +01:00 |
|
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
|
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
|
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
|
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
|
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
|
90c49dabc6
|
Written first version of the blobstore interface
|
2014-12-05 04:50:50 +01:00 |
|
Sebastian Messmer
|
47a35c94b4
|
Added write() test cases
|
2014-11-27 16:40:22 +01:00 |
|
Sebastian Messmer
|
22c1dff622
|
Refactor FuseReadReturnedDataTest to make VirtualTestFile reusable for the upcoming write tests
|
2014-11-27 15:23:51 +01:00 |
|
Sebastian Messmer
|
51cc539f99
|
Delete dummy test
|
2014-11-19 00:15:00 +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
|
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
|
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 |
|