History log of /haiku/src/tests/add-ons/kernel/file_systems/bfs/btree/test.cpp
Revision Date Author Comments
# 425ac1b6 20-Jun-2023 Alexander von Gluck IV <kallisti5@unixzen.com>

refactor: Swap %Ld for %lld in all format usages

* %Ld is an undocumented alias for %lld in glibc.
* muslc doesn't implement it for this reason.
* While we will likely never drop %Ld support,
lets clean house and set a better example.

Change-Id: Id46dad3104abae483e80cc5c05d1464d3ecd8030
Reviewed-on: https://review.haiku-os.org/c/haiku/+/6636
Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>


# 7fb13968 14-Jan-2015 Axel Dörfler <axeld@pinc-software.de>

BFS B+tree test: use set to ensure string uniqueness.

* The previous solution was rather slow, and also could produce
duplicates under some circumstance.


# 758cfd80 13-Jan-2015 Axel Dörfler <axeld@pinc-software.de>

BFS B+tree test: style cleanup.


# 24e159e1 20-Oct-2014 Michael Lotz <mmlr@mlotz.ch>

btreeTest: Revive test for BPlusTree implementation.

* Update pseudo cache with minimal set of block cache API.
* Update Inode, Journal and Volume stubs to current API.
* Add stubs for remaining VFS functions.
* Extend tests to also call BPlusTree::Validate() and bail on errors.
* Change duplicate tests to fill in the same value. While this isn't
strictly allowed, the tree validation can't work unless the values
match up.
* Lots of coding style cleanup, but much more should still be done...

The tests run through without errors.


# 394d5e16 30-Sep-2003 Axel Dörfler <axeld@pinc-software.de>

Fixed warnings.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4901 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 8b40798f 30-Sep-2003 Axel Dörfler <axeld@pinc-software.de>

Moved the "btree" test from befs/ to bfs/.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4899 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 7fb1396861fb37acddc0eca58fa55de2100f98a7 14-Jan-2015 Axel Dörfler <axeld@pinc-software.de>

BFS B+tree test: use set to ensure string uniqueness.

* The previous solution was rather slow, and also could produce
duplicates under some circumstance.


# 758cfd808a56bf632530959206ddb447f96a649e 13-Jan-2015 Axel Dörfler <axeld@pinc-software.de>

BFS B+tree test: style cleanup.


# 24e159e1acd96ac16289038950cc0d52c0d64de2 20-Oct-2014 Michael Lotz <mmlr@mlotz.ch>

btreeTest: Revive test for BPlusTree implementation.

* Update pseudo cache with minimal set of block cache API.
* Update Inode, Journal and Volume stubs to current API.
* Add stubs for remaining VFS functions.
* Extend tests to also call BPlusTree::Validate() and bail on errors.
* Change duplicate tests to fill in the same value. While this isn't
strictly allowed, the tree validation can't work unless the values
match up.
* Lots of coding style cleanup, but much more should still be done...

The tests run through without errors.


# 394d5e16a8d54efcc22ccd295f50ebffddb93f82 30-Sep-2003 Axel Dörfler <axeld@pinc-software.de>

Fixed warnings.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4901 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 8b40798fe4ee951c0e7513afa1fd042800a71e04 30-Sep-2003 Axel Dörfler <axeld@pinc-software.de>

Moved the "btree" test from befs/ to bfs/.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4899 a95241bf-73f2-0310-859d-f6bbb57e9c96