celix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From griccia...@apache.org
Subject [3/3] celix git commit: CELIX-391: This closes #13
Date Thu, 12 Jan 2017 15:35:53 GMT
CELIX-391: This closes #13


Project: http://git-wip-us.apache.org/repos/asf/celix/repo
Commit: http://git-wip-us.apache.org/repos/asf/celix/commit/34c94dae
Tree: http://git-wip-us.apache.org/repos/asf/celix/tree/34c94dae
Diff: http://git-wip-us.apache.org/repos/asf/celix/diff/34c94dae

Branch: refs/heads/develop
Commit: 34c94dae04a293310b6528b51de358d1a2357ce6
Parents: 18d362e
Author: gricciardi <gricciardi@apache.org>
Authored: Thu Jan 12 16:35:23 2017 +0100
Committer: gricciardi <gricciardi@apache.org>
Committed: Thu Jan 12 16:35:23 2017 +0100

----------------------------------------------------------------------
 utils/private/test/utils_test.cpp | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/celix/blob/34c94dae/utils/private/test/utils_test.cpp
----------------------------------------------------------------------
diff --git a/utils/private/test/utils_test.cpp b/utils/private/test/utils_test.cpp
index 22b04b7..8f939c0 100644
--- a/utils/private/test/utils_test.cpp
+++ b/utils/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(193485928, hash);
+	LONGS_EQUAL(193485963, hash);
 
 	free(toHash);
 	toHash = my_strdup("abc123def456ghi789jkl012mno345pqr678stu901vwx234yz");
 	hash = utils_stringHash((void *) toHash);
-	LONGS_EQUAL(3704717399, hash);
+	LONGS_EQUAL(1532304168, hash);
 
 	free(toHash);
 	toHash = my_strdup("abc123def456ghi789jkl012mno345pqr678stu901vwx234yz"
@@ -101,7 +101,7 @@ TEST(utils, stringHash) {
 			"abc123def456ghi789jkl012mno345pqr678stu901vwx234yz"
 			"abc123def456ghi789jkl012mno345pqr678stu901vwx234yz");
 	hash = utils_stringHash((void *) toHash);
-	LONGS_EQUAL(3862509969, hash);
+	LONGS_EQUAL(3721605959, hash);
 	free(toHash);
 }
 


Mime
View raw message