Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(239)

Side by Side Diff: LayoutTests/crypto/rsa-ssa-generateKey-parseAlgorithm-failures-expected.txt

Issue 801793003: Improve LayoutTest output for Errors (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 Tests generateKey() with bad RSASSA-PKCS1-v1_5 parameters. 1 Tests generateKey() with bad RSASSA-PKCS1-v1_5 parameters.
2 2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 4
5 5
6
7 generateKey() with negative modulusLength...
6 error is: TypeError: RsaHashedKeyGenParams: modulusLength: Outside of numeric ra nge 8 error is: TypeError: RsaHashedKeyGenParams: modulusLength: Outside of numeric ra nge
9
10 generateKey() with modulusLength that is NaN...
7 error is: TypeError: RsaHashedKeyGenParams: modulusLength: Is not a number 11 error is: TypeError: RsaHashedKeyGenParams: modulusLength: Is not a number
12
13 generateKey() without modulusLength...
8 error is: TypeError: RsaHashedKeyGenParams: modulusLength: Missing required prop erty 14 error is: TypeError: RsaHashedKeyGenParams: modulusLength: Missing required prop erty
15
16 generateKey() without publicExponent...
9 error is: TypeError: RsaHashedKeyGenParams: publicExponent: Missing or not a Uin t8Array 17 error is: TypeError: RsaHashedKeyGenParams: publicExponent: Missing or not a Uin t8Array
18
19 generateKey() with publicExponent that is an integer...
10 error is: TypeError: RsaHashedKeyGenParams: publicExponent: Missing or not a Uin t8Array 20 error is: TypeError: RsaHashedKeyGenParams: publicExponent: Missing or not a Uin t8Array
21
22 generateKey() with publicExponent that is null...
11 error is: TypeError: RsaHashedKeyGenParams: publicExponent: Missing or not a Uin t8Array 23 error is: TypeError: RsaHashedKeyGenParams: publicExponent: Missing or not a Uin t8Array
24
25 generateKey() with modulusLength that is 10...
12 error is: NotSupportedError: The modulus length must be a multiple of 8 bits and >= 256 and <= 16384 26 error is: NotSupportedError: The modulus length must be a multiple of 8 bits and >= 256 and <= 16384
27
28 generateKey() with publicExponent that is of 0 bytes...
13 error is: DataError: The "publicExponent" must be either 3 or 65537 29 error is: DataError: The "publicExponent" must be either 3 or 65537
30
31 generateKey() with invalid hash name...
14 error is: NotSupportedError: RsaHashedKeyGenParams: hash: Algorithm: Unrecognize d name 32 error is: NotSupportedError: RsaHashedKeyGenParams: hash: Algorithm: Unrecognize d name
33
34 generateKey() without hash name...
15 error is: TypeError: RsaHashedKeyGenParams: hash: Missing or not an AlgorithmIde ntifier 35 error is: TypeError: RsaHashedKeyGenParams: hash: Missing or not an AlgorithmIde ntifier
16 PASS successfullyParsed is true 36 PASS successfullyParsed is true
17 37
18 TEST COMPLETE 38 TEST COMPLETE
19 39
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698