Differences From Artifact [c5020ec5a5]:
- File tests/OFHashes.m — part of check-in [9a18482367] at 2009-11-09 22:59:57 on branch trunk — Rename tests to match the name of the class they test. (user: js, size: 1448) [annotate] [blame] [check-ins using]
- File tests/hashes.m — part of check-in [a3cc34b139] at 2009-11-09 22:45:13 on branch trunk — Rename libobjfw to ObjFW. (user: js, size: 1448) [annotate] [blame] [check-ins using]
To Artifact [9ce9d2717f]:
- File tests/OFHashes.m — part of check-in [51833ec7a7] at 2009-11-15 14:25:22 on branch trunk — Get rid of 3 more FIXMEs. (user: js, size: 1765) [annotate] [blame] [check-ins using]
︙ | |||
52 53 54 55 56 57 58 59 60 61 | 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 | + + + + + + + | ofSize: len]; } [f close]; TEST(@"-[digest]", !memcmp([md5 digest], testfile_md5, OF_MD5_DIGEST_SIZE) && !memcmp([sha1 digest], testfile_sha1, OF_MD5_DIGEST_SIZE)) EXPECT_EXCEPTION(@"Detect invalid call of -[updateWithBuffer] #1", OFHashAlreadyCalculatedException, [md5 updateWithBuffer: "" ofSize: 1]) EXPECT_EXCEPTION(@"Detect invalid call of -[updateWithBuffer] #2", OFHashAlreadyCalculatedException, [sha1 updateWithBuffer: "" ofSize: 1]) [pool release]; } |