diff options
author | tailor <cygnus@janrain.com> | 2007-02-06 22:35:53 +0000 |
---|---|---|
committer | tailor <cygnus@janrain.com> | 2007-02-06 22:35:53 +0000 |
commit | 1cc9e04c8ab4aec1c63dbc30b62725423bd31145 (patch) | |
tree | ba44cb8757561c374754799df8a76cf31e661419 | |
parent | aacb3e8250b010c83130f08c69445c1ac424637f (diff) | |
download | php-openid-1cc9e04c8ab4aec1c63dbc30b62725423bd31145.zip php-openid-1cc9e04c8ab4aec1c63dbc30b62725423bd31145.tar.gz php-openid-1cc9e04c8ab4aec1c63dbc30b62725423bd31145.tar.bz2 |
[project @ Consistent and non-warning output for skipped tests]
-rw-r--r-- | Tests/Auth/OpenID/Server.php | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/Tests/Auth/OpenID/Server.php b/Tests/Auth/OpenID/Server.php index 76f2e1a..d47d12f 100644 --- a/Tests/Auth/OpenID/Server.php +++ b/Tests/Auth/OpenID/Server.php @@ -382,7 +382,7 @@ class Tests_Auth_OpenID_Test_Decode extends PHPUnit_TestCase { function test_associateDH() { if (defined('Auth_OpenID_NO_MATH_SUPPORT')) { - print "Skipping test associateDH (no math support)\n"; + print "(Skipping test_associateDH)"; return; } $args = array( @@ -401,7 +401,7 @@ class Tests_Auth_OpenID_Test_Decode extends PHPUnit_TestCase { function test_associateDHMissingKey() { if (defined('Auth_OpenID_NO_MATH_SUPPORT')) { - print "Skipping test associateDHMissingKey (no math support)\n"; + print "(Skipping test_associateDHMissingKey)"; return; } $args = array( @@ -433,7 +433,7 @@ class Tests_Auth_OpenID_Test_Decode extends PHPUnit_TestCase { function test_associateDHModGen() { if (defined('Auth_OpenID_NO_MATH_SUPPORT')) { - print "No math support: not running test_associateDHModGen\n"; + print "(Skipping test_associateDHModGen)"; return; } @@ -485,7 +485,7 @@ class Tests_Auth_OpenID_Test_Decode extends PHPUnit_TestCase { function test_associateDHMissingModGen() { if (defined('Auth_OpenID_NO_MATH_SUPPORT')) { - print "No math support: not running test_associateDHModGen\n"; + print "(Skipping test_associateDHMissingModGen)"; return; } @@ -1352,7 +1352,7 @@ class Tests_Auth_OpenID_Associate extends PHPUnit_TestCase { function test_dhSHA256() { if (!Auth_OpenID_SHA256_SUPPORTED) { - print "SHA256 not supported; not running SHA256 tests."; + print "(Skipping test_dhSHA256)"; return; } @@ -1398,7 +1398,7 @@ class Tests_Auth_OpenID_Associate extends PHPUnit_TestCase { function test_protoError256() { if (!Auth_OpenID_HMACSHA256_SUPPORTED) { - print "SHA256 not supported; not running SHA256 tests."; + print "(Skipping test_protoError256)"; return; } @@ -1542,7 +1542,7 @@ class Tests_Auth_OpenID_Associate extends PHPUnit_TestCase { function test_plaintext256() { if (!Auth_OpenID_SHA256_SUPPORTED) { - print "Skipping test_plaintext256"; + print "(Skipping test_plaintext256)"; return; } @@ -1669,7 +1669,7 @@ class Tests_Auth_OpenID_ServerTest extends PHPUnit_TestCase { function test_associate3() { if (!Auth_OpenID_HMACSHA256_SUPPORTED) { - print "Warning: Not running test_associate3 (no HMACSHA-256 support)"; + print "(Skipping test_associate3)"; return; } @@ -1698,7 +1698,7 @@ class Tests_Auth_OpenID_ServerTest extends PHPUnit_TestCase { function test_associate4() { if (!Auth_OpenID_HMACSHA256_SUPPORTED) { - print "Warning: Not running test_associate4 (no HMACSHA-256 support)"; + print "(Skipping test_associate4)"; return; } |