Commit Graph

1643 Commits

Author SHA1 Message Date
Sebastian Messmer
141b7e08b7 Fix OpenFile::read() return type 2015-03-11 01:05:16 +01:00
Sebastian Messmer
dd80ab8d4d Add Blob::tryRead() 2015-03-11 01:04:48 +01:00
Sebastian Messmer
28056ed43f Fix file size handling 2015-03-11 00:34:25 +01:00
Sebastian Messmer
75b9a29ae4 CryDir/CryFile don't actually open the block, but only keep a reference to the key 2015-03-11 00:23:52 +01:00
Sebastian Messmer
9741fb3f5c - ReadDir also returns whether the entry is a file or a directory
- OpenFileList has a simpler interface
2015-03-11 00:22:36 +01:00
Sebastian Messmer
7ec0af147d Dir::children() returns not only the entry name, but also whether it is a file or a directory entry 2015-03-10 21:51:42 +01:00
Sebastian Messmer
498623ddab Merge branch 'master' into develop 2015-03-10 21:51:21 +01:00
Sebastian Messmer
40c690d03b Dir::children() returns not only the entry name, but also whether it is a file or a directory entry 2015-03-10 21:51:12 +01:00
Sebastian Messmer
43c4f29927 Started implementing reading/writing files 2015-03-08 03:51:19 +01:00
Sebastian Messmer
11930a8363 Added an assertion to read() 2015-03-08 03:50:42 +01:00
Sebastian Messmer
e4a0084ea3 Fix lstat 2015-03-08 03:25:20 +01:00
Sebastian Messmer
b13b9d8689 Added test cases for BlockStore::write() 2015-03-08 02:15:31 +01:00
Sebastian Messmer
f51f80e5eb TODOs 2015-03-08 01:18:06 +01:00
Sebastian Messmer
ffd9ada260 Test BlockStoreUtils fillWithZeroes() 2015-03-08 00:36:59 +01:00
Sebastian Messmer
a5d23e9b71 Use parallel build on travis 2015-03-07 01:52:20 +01:00
Sebastian Messmer
8e5e2fb8ff Use parallel build on travis 2015-03-07 01:51:24 +01:00
Sebastian Messmer
49a4486a40 Use parallel build on travis 2015-03-07 01:50:47 +01:00
Sebastian Messmer
6d9baefb36 Use parallel build on travis 2015-03-07 01:50:28 +01:00
Sebastian Messmer
71f55361b4 Use parallel build on travis 2015-03-07 01:50:12 +01:00
Sebastian Messmer
40cbf93957 Deleted unneccessary test cases and added test cases for BlobReadWriteTest 2015-03-06 21:18:22 +01:00
Sebastian Messmer
70a1e72428 Recognize files/dirs correctly 2015-03-06 21:00:30 +01:00
Sebastian Messmer
2bfc872088 Fix Blob::read()/write() and write test cases for it 2015-03-06 20:40:23 +01:00
Sebastian Messmer
c293dc0571 Added test cases 2015-03-06 16:54:49 +01:00
Sebastian Messmer
d8b7a99ea8 Fix compiler warning 2015-03-06 16:43:16 +01:00
Sebastian Messmer
df9a44eace Added some more test cases to BlobStore 2015-03-06 16:39:40 +01:00
Sebastian Messmer
a9c44a40ed Fix Blob::write() and add some test cases for it 2015-03-06 16:08:30 +01:00
Sebastian Messmer
4658de552f TODOs 2015-03-06 02:34:18 +01:00
Sebastian Messmer
19b9551a00 Added test cases loading nonexisting blobs 2015-03-06 02:32:43 +01:00
Sebastian Messmer
044f6c9f8a TODOs 2015-03-06 02:28:41 +01:00
Sebastian Messmer
75d1ef11fe Fixed loading nonexisting blobs and wrote more test cases 2015-03-06 02:21:31 +01:00
Sebastian Messmer
629eacb4b7 Adapted to dynamic-size blobstore 2015-03-06 02:06:31 +01:00
Sebastian Messmer
471ce89421 Removed duplicate test case 2015-03-05 22:40:29 +01:00
Sebastian Messmer
f834f8892d Added test cases for resizing blobs 2015-03-05 22:34:51 +01:00
Sebastian Messmer
8b7a76c38a Added first test for BlobStoreOnBlocks 2015-03-05 22:23:30 +01:00
Sebastian Messmer
e64ab10059 Fix DataNodeView: Only allow read access to data region 2015-03-05 22:22:22 +01:00
Sebastian Messmer
398b564156 BlobStoreOnBlocks can be configured with a blocksize 2015-03-05 22:21:59 +01:00
Sebastian Messmer
2cb0f4e5de BlockStore only writes changed data back if it actually was changed 2015-03-05 22:16:57 +01:00
Sebastian Messmer
31417f8e05 Add test cases for writing into leaves 2015-03-04 21:56:48 +01:00
Sebastian Messmer
3a01f95467 Adapt to new blockstore which has Block::write() instead of writeable Block::data() pointer 2015-03-04 20:58:39 +01:00
Sebastian Messmer
d42bda0ca6 Added Block::write() and removed writeable data() pointer 2015-03-04 20:47:02 +01:00
Sebastian Messmer
b43464d669 Allow writing out of the bounds of a blob, resize blob in this case 2015-03-04 03:29:22 +01:00
Sebastian Messmer
5fb235a40c Removed DataTree::addDataLeaf() / DataTree::removeLastDataLeaf() and DataTree::flush() 2015-03-04 03:17:59 +01:00
Sebastian Messmer
02ae3615fd DataBlockFixture create data that is independent from its size 2015-03-04 02:59:46 +01:00
Sebastian Messmer
09b648317f DataBlockFixture create data that is independent from its size 2015-03-04 02:58:52 +01:00
Sebastian Messmer
c0e5b5db8c Added more test cases for resizing blobs 2015-03-04 02:56:17 +01:00
Sebastian Messmer
f89db143d9 TODOs 2015-03-04 02:55:26 +01:00
Sebastian Messmer
3b06dec1f2 DataBlockFixture creates data that is independent from its size 2015-03-04 02:34:54 +01:00
Sebastian Messmer
0e91d06a6f Add test cases for DataTree::resizeNumBytes() 2015-03-04 02:05:03 +01:00
Sebastian Messmer
13a76bd42a Fix two bugs in DataTree::resizeNumBytes() 2015-03-04 02:04:51 +01:00
Sebastian Messmer
68182e523f Added test cases for DataNode::key() and DataTree::key() 2015-02-27 14:32:28 +01:00