#
2ca13760 |
|
20-Aug-2021 |
Coldfirex <sakison@gmail.com> |
Mass updating of OpenBeOS text to Haiku No functional code altered. https://dev.haiku-os.org/ticket/17197 Change-Id: I75cc74f6be0ad968fd77c31fbe5b0f650a6fe9e0 Reviewed-on: https://review.haiku-os.org/c/haiku/+/4364 Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org> Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
|
#
57672294 |
|
09-May-2020 |
Kyle Ambroff-Kao <kyle@ambroffkao.com> |
tests/storage: Fix BDirectory tests After this patch "UnitTester BDirectory" passes. Most of this test suite already documented the differences in behavior between BeOS R5 and Haiku. I verified whether these comments were accurate and removed the cases which handle BeOS specific behavior. Most of the differences are just Haiku using more specific errors: * Initializing BDirectory with an entry that is not a directory results in B_NOT_A_DIRECTORY. * There is obviously no /boot/beos. Use /boot/system for this test instead. BDirectory::IsRootDirectory returns true for this path since it is the root of the system package. * Initializing to child path "" results in B_ENTRY_NOT_FOUND instead of successful initialization with B_OK only to later return B_BAD_VALUE if the BDirectory is used. * BDirectory::Find(NULL, BEntry*) doesn't touch the BEntry parameter since the provided path is NULL, where BeOS R5 will set the BEntry's status to B_BAD_VALUE. * Clean up -Wparentheses warnings for assertions of the form CPPUNIT_ASSERT(path == existingSub == B_OK), which is another way of saying path != existingSub. This is because the path ends up being a normalied path, but the input path is not. For example /tmp/existing-dir becomes /boot/system/cache/tmp/existing-dir. I verified that this is the same behavior as BeOS, and then added some normalized paths to compare against. Change-Id: I5125ef221fba92793959efead96d7daaa181a119 Reviewed-on: https://review.haiku-os.org/c/haiku/+/2826 Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
|
#
77aa0e2a |
|
11-Jun-2014 |
Oliver Tappe <zooey@hirschkaefer.de> |
Fix build of unit-tests with gcc4.
|
#
f7100fce |
|
24-Feb-2007 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Fixed BDirectory::Contains() test comments and checks for existing entry uninitialized/badly initialized BDirectory cases. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20224 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
5abde301 |
|
03-Jan-2004 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Changed the behavior of Contains(const char*, int32): It does not longer return true, if the directory is not initialized, or if the directory does not contain the entry, but the given path is absolute. This change makes it less compatible with R5, but more consistent with the BEntry* version and undoubtfully more compatible with common sense. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5884 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
8e07bd3f |
|
26-Oct-2002 |
Tyler Dauwalder <tylerdauwalder@nowhere.fake> |
#ifdef'd out R5 versions of tests that tried to use functions not found in R5 version of the Storage Kit. This appears to fix the BSymLink linking errors, at least as a temporary fix. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1713 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
d1f6c38f |
|
17-Jul-2002 |
Tyler Dauwalder <tylerdauwalder@nowhere.fake> |
Unit testing update: - Verbosity is now honored globally - Added BTestCase::Outputf() - Migrated BNode, BStatable, BDirectory, and BPath tests - Added CommonTestLib, TestLib, and R5TestLib rules to Jamrules - Updated Jamfiles for unit testing stuff - Probably a few other things I've forgotten git-svn-id: file:///srv/svn/repos/haiku/trunk/current@269 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
28fd2c3c |
|
09-Jul-2002 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
The included Test.StorageKit.h has been renamed to StorageKitTester.h. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@32 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
52a38012 |
|
08-Jul-2002 |
ejakowatz <ejakowatz@nowhere.fake> |
It is accomplished ... git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
77aa0e2a5ef8e6d00570dbeb7a12aeb23e9e5cf0 |
|
11-Jun-2014 |
Oliver Tappe <zooey@hirschkaefer.de> |
Fix build of unit-tests with gcc4.
|
#
f7100fce9b5202a7a90b4efa42351bee8dc3a96c |
|
24-Feb-2007 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Fixed BDirectory::Contains() test comments and checks for existing entry uninitialized/badly initialized BDirectory cases. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20224 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
5abde301c146181da26bbe8746ebb85624ce8e34 |
|
03-Jan-2004 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Changed the behavior of Contains(const char*, int32): It does not longer return true, if the directory is not initialized, or if the directory does not contain the entry, but the given path is absolute. This change makes it less compatible with R5, but more consistent with the BEntry* version and undoubtfully more compatible with common sense. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5884 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
8e07bd3faf25c0eee5766041327d50b03e97684c |
|
26-Oct-2002 |
Tyler Dauwalder <tylerdauwalder@nowhere.fake> |
#ifdef'd out R5 versions of tests that tried to use functions not found in R5 version of the Storage Kit. This appears to fix the BSymLink linking errors, at least as a temporary fix. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1713 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
d1f6c38f0d8029fda3c77d45dde4c9fa53e2e75b |
|
17-Jul-2002 |
Tyler Dauwalder <tylerdauwalder@nowhere.fake> |
Unit testing update: - Verbosity is now honored globally - Added BTestCase::Outputf() - Migrated BNode, BStatable, BDirectory, and BPath tests - Added CommonTestLib, TestLib, and R5TestLib rules to Jamrules - Updated Jamfiles for unit testing stuff - Probably a few other things I've forgotten git-svn-id: file:///srv/svn/repos/haiku/trunk/current@269 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
28fd2c3c85827fa730f6564a835e03f87d36aeb5 |
|
09-Jul-2002 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
The included Test.StorageKit.h has been renamed to StorageKitTester.h. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@32 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
52a380120846174213ccce9c4aab0dda17c72083 |
|
08-Jul-2002 |
ejakowatz <ejakowatz@nowhere.fake> |
It is accomplished ... git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10 a95241bf-73f2-0310-859d-f6bbb57e9c96
|