Erik Michaels-Ober
|
7db3df6ffd
|
Require rubygems
|
2011-05-06 12:45:55 -07:00 |
|
Erik Michaels-Ober
|
100216d239
|
Bundle setup before running tests
|
2011-05-06 12:37:57 -07:00 |
|
Erik Michaels-Ober
|
7d2cfe5a7e
|
Add turn in development for more verbose test output
|
2011-05-06 12:18:45 -07:00 |
|
Erik Michaels-Ober
|
9f2e39ab8f
|
Replace rcov with simplecov
|
2011-05-06 12:03:26 -07:00 |
|
Erik Michaels-Ober
|
3ddda07d91
|
Make compatible with Ruby versions < 1.9
|
2010-11-30 08:54:49 -08:00 |
|
Erik Michaels-Ober
|
9b88bd2db8
|
Add encoding line so tests run in Ruby 1.9
|
2010-11-29 13:48:52 -08:00 |
|
Erik Michaels-Ober
|
a39ceda4ba
|
Fix the reserved characters regex to be non-variant by KCODE
|
2010-11-15 08:31:03 -08:00 |
|
laserlemon
|
4978f99d6b
|
Re-order the test helper requirements to not explode if the test-unit gem is installed locally.
|
2010-10-13 10:28:07 -04:00 |
|
laserlemon
|
d05bed55d2
|
Test the RSA-SHA1 signature method.
|
2010-10-13 10:07:18 -04:00 |
|
laserlemon
|
644b8bb2fe
|
Add PLAINTEXT signature test.
|
2010-10-13 09:44:39 -04:00 |
|
laserlemon
|
6e188c8bab
|
Renamed the "valid?" method test.
|
2010-10-13 09:37:49 -04:00 |
|
laserlemon
|
126b807e2d
|
Rearranged method definitions.
|
2010-10-13 09:37:22 -04:00 |
|
laserlemon
|
b413083e43
|
Implement proper RSA-SHA1 signing.
Need to find an OAuth service provider supporting the RSA-SHA1 signature method for verification.
|
2010-10-13 09:25:11 -04:00 |
|
laserlemon
|
2a9f21f708
|
Add header parsing and validation tests.
|
2010-10-11 23:53:31 -04:00 |
|
laserlemon
|
9651c1b8f3
|
General test cleanup.
|
2010-10-11 18:24:41 -04:00 |
|
laserlemon
|
8fcc1154a3
|
Test the signature method's delegation to separate methods corresponding to the specified signature method option.
|
2010-10-11 18:22:51 -04:00 |
|
laserlemon
|
597350d998
|
Test the SimpleOAuth::Header#to_s method.
|
2010-10-11 18:08:35 -04:00 |
|
laserlemon
|
c86b8cbeb9
|
Test the normalized OAauth header attributes string, ensuring proper sorting, quoting and encoding.
|
2010-10-11 17:45:28 -04:00 |
|
laserlemon
|
cd690a7d72
|
Test whether signed attributes contain a signature key.
|
2010-10-11 17:38:27 -04:00 |
|
laserlemon
|
c8790cf98e
|
Test HMAC-SHA1 signature generation against real-world, accepted signatures.
Also, stop memoizing the to_s and url instance methods.
|
2010-10-11 17:36:20 -04:00 |
|
laserlemon
|
dd11ac300b
|
Test generation of the secret used for generating the OAuth signature.
|
2010-10-11 16:32:58 -04:00 |
|
laserlemon
|
6e1f58cb75
|
Test the combination of HTTP method, URL and normalized parameters into the signature base string.
|
2010-10-11 16:26:34 -04:00 |
|
laserlemon
|
98e23c185b
|
Test the normalized request parameter string.
|
2010-10-11 16:18:45 -04:00 |
|
laserlemon
|
719a949695
|
Test the combination of attributes, params and URL params into an array of signature params.
|
2010-10-11 16:04:12 -04:00 |
|
laserlemon
|
83d3a6f2f6
|
Test URL query parameter parsing.
|
2010-10-11 15:52:00 -04:00 |
|
laserlemon
|
3286cffaa3
|
Add URL encoding tests.
|
2010-10-11 15:27:49 -04:00 |
|
laserlemon
|
e1ecd99f42
|
Test whether OAuth header attributes are parsed and re-keyed correctly.
|
2010-10-11 15:10:05 -04:00 |
|
laserlemon
|
fc2fddc29b
|
Add header initialization tests.
|
2010-10-11 14:49:36 -04:00 |
|