From ae4cb5963676bdd9415f1b6652942ed462026fc5 Mon Sep 17 00:00:00 2001 From: Tobias Sarnowski Date: Mon, 16 Apr 2012 17:36:10 +0000 Subject: unified unit and integration tests --- _testing/unittests/inc/auth_nameencode.test.php | 50 ------------------------- 1 file changed, 50 deletions(-) delete mode 100644 _testing/unittests/inc/auth_nameencode.test.php (limited to '_testing/unittests/inc/auth_nameencode.test.php') diff --git a/_testing/unittests/inc/auth_nameencode.test.php b/_testing/unittests/inc/auth_nameencode.test.php deleted file mode 100644 index 12a333f66..000000000 --- a/_testing/unittests/inc/auth_nameencode.test.php +++ /dev/null @@ -1,50 +0,0 @@ -assertEquals(auth_nameencode($in),$out); - } - - function test_quote(){ - $in = 'hey"you'; - $out = 'hey%22you'; - $this->assertEquals(auth_nameencode($in),$out); - } - - function test_complex(){ - $in = 'hey $ you !$%! foo '; - $out = 'hey%20%24%20you%20%21%24%25%21%20foo%20'; - $this->assertEquals(auth_nameencode($in),$out); - } - - function test_complexutf8(){ - $in = 'häü $ yü !$%! foo '; - $out = 'häü%20%24%20yü%20%21%24%25%21%20foo%20'; - $this->assertEquals(auth_nameencode($in),$out); - } - - function test_groupskipon(){ - $in = '@hey$you'; - $out = '@hey%24you'; - $this->assertEquals(auth_nameencode($in,true),$out); - } - - function test_groupskipoff(){ - $in = '@hey$you'; - $out = '%40hey%24you'; - $this->assertEquals(auth_nameencode($in),$out); - } -} - -//Setup VIM: ex: et ts=4 : -- cgit v1.2.3