From 228ab3ddae527f72cc3122a1c6115d7718bcfd57 Mon Sep 17 00:00:00 2001 From: jaubourg Date: Tue, 4 Dec 2012 07:39:27 +0100 Subject: Organizes the php scripts used for testing better, so that the whole logic of a unit, server-side and client-side, is contained within the unit itself. Nearly all ajax unit tests take advantage of the new 'framework'. Lots of files got deleted because they became redundant or weren't used anymore. --- test/data/headers.php | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 test/data/headers.php (limited to 'test/data/headers.php') diff --git a/test/data/headers.php b/test/data/headers.php deleted file mode 100644 index 968f13f19..000000000 --- a/test/data/headers.php +++ /dev/null @@ -1,18 +0,0 @@ - $value ) { - - $key = str_replace( "_" , "-" , substr( $key , 0 , 5 ) == "HTTP_" ? substr( $key , 5 ) : $key ); - $headers[ $key ] = $value; - -} - -foreach( explode( "_" , $_GET[ "keys" ] ) as $key ) { - echo "$key: " . @$headers[ strtoupper( $key ) ] . "\n"; -} -- cgit v1.2.3