public class ConstantsTest extends Object
| Constructor and Description |
|---|
ConstantsTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
testConstructRFC2617()
Added for defect-2; Provided test case:
Signature keyId="unit", algorithm="hmac-sha1", headers="Content-Type Date", signature="8sY4dne3lta76PDMM+AUVaKkV7o="
which should be
Signature keyId="unit",algorithm="hmac-sha1",headers="Content-Type Date",signature="yIy5ujWnGZ0pKVR7vY6Qv08WfLE=" |
void |
testConstructTokensString()
Added for defect-2; Provided test case
headers="date content-type" |
void |
testParseRFC2617()
Added for defect-2; maintain support for both new and old formats.
|
void |
testParseTokens()
Added for defect-2; should support new and old formats
Provided test case
headers="date content-type" which should remain equivalent to
headers="date content-type " |
public void testConstructTokensString()
headers="date content-type"public void testParseTokens()
headers="date content-type" which should remain equivalent to
headers="date content-type "public void testConstructRFC2617()
Signature keyId="unit", algorithm="hmac-sha1", headers="Content-Type Date", signature="8sY4dne3lta76PDMM+AUVaKkV7o="
which should be
Signature keyId="unit",algorithm="hmac-sha1",headers="Content-Type Date",signature="yIy5ujWnGZ0pKVR7vY6Qv08WfLE="public void testParseRFC2617()
Signature keyId="unit", algorithm="hmac-sha1", headers="Content-Type Date", signature="8sY4dne3lta76PDMM+AUVaKkV7o="
Signature keyId="unit",algorithm="hmac-sha1",headers="Content-Type Date",signature="yIy5ujWnGZ0pKVR7vY6Qv08WfLE="Copyright © 2013-2017. All Rights Reserved.