Repository: celix Updated Branches: refs/heads/develop 2933fcd3f -> a303b7984
CELIX-348: Fixes utils_test for changes string hash Project: http://git-wip-us.apache.org/repos/asf/celix/repo Commit: http://git-wip-us.apache.org/repos/asf/celix/commit/a303b798 Tree: http://git-wip-us.apache.org/repos/asf/celix/tree/a303b798 Diff: http://git-wip-us.apache.org/repos/asf/celix/diff/a303b798 Branch: refs/heads/develop Commit: a303b7984305c8ee6ab15ec7c9bc97e03cd7852c Parents: 2933fcd Author: Pepijn Noltes <pepijnnol...@gmail.com> Authored: Wed Feb 10 09:07:14 2016 +0100 Committer: Pepijn Noltes <pepijnnol...@gmail.com> Committed: Wed Feb 10 09:07:14 2016 +0100 ---------------------------------------------------------------------- framework/private/test/utils_test.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/celix/blob/a303b798/framework/private/test/utils_test.cpp ---------------------------------------------------------------------- diff --git a/framework/private/test/utils_test.cpp b/framework/private/test/utils_test.cpp index fb391f2..22b04b7 100644 --- a/framework/private/test/utils_test.cpp +++ b/framework/private/test/utils_test.cpp @@ -70,12 +70,12 @@ TEST(utils, stringHash) { char * toHash = my_strdup("abc"); unsigned int hash; hash = utils_stringHash((void *) toHash); - LONGS_EQUAL(446371745, hash); + LONGS_EQUAL(193485928, hash); free(toHash); toHash = my_strdup("abc123def456ghi789jkl012mno345pqr678stu901vwx234yz"); hash = utils_stringHash((void *) toHash); - LONGS_EQUAL(1508668412, hash); + LONGS_EQUAL(3704717399, hash); free(toHash); toHash = my_strdup("abc123def456ghi789jkl012mno345pqr678stu901vwx234yz" @@ -101,7 +101,7 @@ TEST(utils, stringHash) { "abc123def456ghi789jkl012mno345pqr678stu901vwx234yz" "abc123def456ghi789jkl012mno345pqr678stu901vwx234yz"); hash = utils_stringHash((void *) toHash); - LONGS_EQUAL(829630780, hash); + LONGS_EQUAL(3862509969, hash); free(toHash); }