github github
  • Home
  • Pricing and Signup
  • Training
  • Gist
  • Blog
  • Login

diogok / restserver

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 6
    • 1
  • Source
  • Commits
  • Network (1)
  • Issues (0)
  • Downloads (0)
  • Wiki (1)
  • Graphs
  • Tree: 51ab48d

click here to add a description

click here to add a homepage

  • Switch Branches (1)
    • master
  • Switch Tags (0)
  • Comments
  • Contributors
Sending Request…

RESTful resource/url mapping and MVC, featuring Request an Response objects. — Read more

  Cancel

http://www.phpclasses.org/browse/package/5080.html

  Cancel
  • HTTP
  • Git Read-Only

This URL has Read+Write access

Fixed parameter &-append bug, thx to Ian Gibbons, on restclient, small notices fixed
diogok (author)
Thu May 27 05:49:34 -0700 2010
commit  51ab48d69d811bd5ffd4
tree    ed14f7e83ba4fddbc00f
parent  06a8be5f300d61bd8387
M RestAuthenticator.class.php 4 ••••
M RestClient.class.php 10 •••••
M RestServer.class.php 18 ••••
M docs/blank.html 0
M docs/classtrees_default.html 0
M docs/default/GenericView.html 0
M docs/default/RestAction.html 0
M docs/default/RestAuthenticator.html 0
M docs/default/RestClient.html 0
M docs/default/RestController.html 0
M docs/default/RestRequest.html 0
M docs/default/RestResponse.html 0
M docs/default/RestServer.html 0
M docs/default/RestView.html 0
M docs/default/_GenericView.class.php.html 0
M docs/default/_RestAction.class.php.html 0
M docs/default/_RestAuthenticator.class.php.html 0
M docs/default/_RestClient.class.php.html 0
M docs/default/_RestController.class.php.html 0
M docs/default/_RestRequest.class.php.html 0
M docs/default/_RestResponse.class.php.html 0
M docs/default/_RestServer.class.php.html 0
M docs/default/_RestView.class.php.html 0
M docs/elementindex.html 0
M docs/elementindex_default.html 0
M docs/errors.html 0
M docs/index.html 0
M docs/li_default.html 0
M docs/media/banner.css 0
M docs/media/images/AbstractClass.png 0
M docs/media/images/AbstractClass_logo.png 0
M docs/media/images/AbstractMethod.png 0
M docs/media/images/AbstractPrivateClass.png 0
M docs/media/images/AbstractPrivateClass_logo.png 0
M docs/media/images/AbstractPrivateMethod.png 0
M docs/media/images/Class.gif 0
M docs/media/images/Class.png 0
M docs/media/images/Class_logo.png 0
M docs/media/images/Constant.gif 0
M docs/media/images/Constant.png 0
M docs/media/images/Constants.gif 0
M docs/media/images/Constructor.gif 0
M docs/media/images/Constructor.png 0
M docs/media/images/Destructor.gif 0
M docs/media/images/Destructor.png 0
M docs/media/images/Disk.gif 0
M docs/media/images/FolderClosed.gif 0
M docs/media/images/FolderOpened.gif 0
M docs/media/images/Function.png 0
M docs/media/images/Functions.gif 0
M docs/media/images/GhostClass.gif 0
M docs/media/images/Global.png 0
M docs/media/images/I.png 0
M docs/media/images/Index.png 0
M docs/media/images/Interface.png 0
M docs/media/images/Interface_logo.png 0
M docs/media/images/L.png 0
M docs/media/images/Lminus.png 0
M docs/media/images/Lplus.png 0
M docs/media/images/Method.png 0
M docs/media/images/Page.png 0
M docs/media/images/Page_logo.png 0
M docs/media/images/PrivateClass.png 0
M docs/media/images/PrivateClass_logo.png 0
M docs/media/images/PrivateDataMember.gif 0
M docs/media/images/PrivateMethod.gif 0
M docs/media/images/PrivateMethod.png 0
M docs/media/images/PrivateProperty.gif 0
M docs/media/images/PrivateVariable.png 0
M docs/media/images/ProtectedDataMember.gif 0
M docs/media/images/ProtectedMethod.gif 0
M docs/media/images/ProtectedProperty.gif 0
M docs/media/images/PublicDataMember.gif 0
M docs/media/images/PublicMethod.gif 0
M docs/media/images/PublicProperty.gif 0
M docs/media/images/StaticMethod.png 0
M docs/media/images/StaticVariable.png 0
M docs/media/images/T.png 0
M docs/media/images/Tminus.png 0
M docs/media/images/Tplus.png 0
M docs/media/images/Types.gif 0
M docs/media/images/Variable.gif 0
M docs/media/images/Variable.png 0
M docs/media/images/Vars.gif 0
M docs/media/images/blank.png 0
M docs/media/images/classFolder.gif 0
M docs/media/images/class_folder.png 0
M docs/media/images/empty.png 0
M docs/media/images/error.gif 0
M docs/media/images/file.png 0
M docs/media/images/folder.png 0
M docs/media/images/foldericon.png 0
M docs/media/images/function_folder.png 0
M docs/media/images/minus.gif 0
M docs/media/images/msgError.gif 0
M docs/media/images/msgFatalError.gif 0
M docs/media/images/msgHint.gif 0
M docs/media/images/msgInformation.gif 0
M docs/media/images/msgWarning.gif 0
M docs/media/images/next_button.png 0
M docs/media/images/next_button_disabled.png 0
M docs/media/images/openfoldericon.png 0
M docs/media/images/package.png 0
M docs/media/images/package_folder.png 0
M docs/media/images/plus.gif 0
M docs/media/images/previous_button.png 0
M docs/media/images/previous_button_disabled.png 0
M docs/media/images/private_class_logo.png 0
M docs/media/images/spacer.gif 0
M docs/media/images/tutorial.png 0
M docs/media/images/tutorial_folder.png 0
M docs/media/images/up_button.png 0
M docs/media/lib/classTree.js 0
M docs/media/lib/tab.webfx.css 0
M docs/media/lib/tabpane.js 0
M docs/media/lib/ua.js 0
M docs/media/stylesheet.css 0
M docs/packages.html 0
D example3/UserController.class.php 52 •••••
D example3/client.php 30 •••••
D example3/index.php 15 •••••
M tests/AllTests.php 0
M tests/RestAuthenticator.test.php 0
M tests/RestRequest.test.php 0
M tests/RestResponse.test.php 0
M tests/RestServer.test.php 0
M tests/ZIntegration.test.php 6 •••••
M tests/server.php 11 ••••
M tests/simpletest/HELP_MY_TESTS_DONT_WORK_ANYMORE 0
M tests/simpletest/LICENSE 0
M tests/simpletest/README 0
M tests/simpletest/VERSION 0
M tests/simpletest/authentication.php 0
M tests/simpletest/autorun.php 0
M tests/simpletest/browser.php 0
M tests/simpletest/collector.php 0
M tests/simpletest/compatibility.php 0
M tests/simpletest/cookies.php 0
M tests/simpletest/default_reporter.php 0
M tests/simpletest/detached.php 0
M tests/simpletest/docs/en/authentication_documentation.html 0
M tests/simpletest/docs/en/browser_documentation.html 0
M tests/simpletest/docs/en/docs.css 0
M tests/simpletest/docs/en/expectation_documentation.html 0
M tests/simpletest/docs/en/form_testing_documentation.html 0
M tests/simpletest/docs/en/group_test_documentation.html 0
M tests/simpletest/docs/en/index.html 0
M tests/simpletest/docs/en/mock_objects_documentation.html 0
M tests/simpletest/docs/en/overview.html 0
M tests/simpletest/docs/en/partial_mocks_documentation.html 0
M tests/simpletest/docs/en/reporter_documentation.html 0
M tests/simpletest/docs/en/unit_test_documentation.html 0
M tests/simpletest/docs/en/web_tester_documentation.html 0
M tests/simpletest/docs/fr/authentication_documentation.html 0
M tests/simpletest/docs/fr/browser_documentation.html 0
M tests/simpletest/docs/fr/docs.css 0
M tests/simpletest/docs/fr/expectation_documentation.html 0
M tests/simpletest/docs/fr/form_testing_documentation.html 0
M tests/simpletest/docs/fr/group_test_documentation.html 0
M tests/simpletest/docs/fr/index.html 0
M tests/simpletest/docs/fr/mock_objects_documentation.html 0
M tests/simpletest/docs/fr/overview.html 0
M tests/simpletest/docs/fr/partial_mocks_documentation.html 0
M tests/simpletest/docs/fr/reporter_documentation.html 0
M tests/simpletest/docs/fr/server_stubs_documentation.html 0
M tests/simpletest/docs/fr/unit_test_documentation.html 0
M tests/simpletest/docs/fr/web_tester_documentation.html 0
M tests/simpletest/dumper.php 0
M tests/simpletest/eclipse.php 0
M tests/simpletest/encoding.php 0
M tests/simpletest/errors.php 0
M tests/simpletest/exceptions.php 0
M tests/simpletest/expectation.php 0
M tests/simpletest/extensions/pear_test_case.php 0
M tests/simpletest/extensions/phpunit_test_case.php 0
M tests/simpletest/extensions/testdox.php 0
M tests/simpletest/extensions/testdox/test.php 0
M tests/simpletest/form.php 0
M tests/simpletest/frames.php 0
M tests/simpletest/http.php 0
M tests/simpletest/invoker.php 0
M tests/simpletest/mock_objects.php 0
M tests/simpletest/page.php 0
M tests/simpletest/parser.php 0
M tests/simpletest/reflection_php4.php 0
M tests/simpletest/reflection_php5.php 0
M tests/simpletest/remote.php 0
M tests/simpletest/reporter.php 0
M tests/simpletest/scorer.php 0
M tests/simpletest/selector.php 0
M tests/simpletest/shell_tester.php 0
M tests/simpletest/simpletest.php 0
M tests/simpletest/socket.php 0
M tests/simpletest/tag.php 0
M tests/simpletest/test/acceptance_test.php 0
M tests/simpletest/test/adapter_test.php 0
M tests/simpletest/test/all_tests.php 0
M tests/simpletest/test/authentication_test.php 0
M tests/simpletest/test/autorun_test.php 0
M tests/simpletest/test/bad_test_suite.php 0
M tests/simpletest/test/browser_test.php 0
M tests/simpletest/test/collector_test.php 0
M tests/simpletest/test/command_line_test.php 0
M tests/simpletest/test/compatibility_test.php 0
M tests/simpletest/test/cookies_test.php 0
M tests/simpletest/test/detached_test.php 0
M tests/simpletest/test/dumper_test.php 0
M tests/simpletest/test/eclipse_test.php 0
M tests/simpletest/test/encoding_test.php 0
M tests/simpletest/test/errors_test.php 0
M tests/simpletest/test/exceptions_test.php 0
M tests/simpletest/test/expectation_test.php 0
M tests/simpletest/test/form_test.php 0
M tests/simpletest/test/frames_test.php 0
M tests/simpletest/test/http_test.php 0
M tests/simpletest/test/interfaces_test.php 0
M tests/simpletest/test/live_test.php 0
M tests/simpletest/test/mock_objects_test.php 0
M tests/simpletest/test/page_test.php 0
M tests/simpletest/test/parse_error_test.php 0
M tests/simpletest/test/parser_test.php 0
M tests/simpletest/test/reflection_php4_test.php 0
M tests/simpletest/test/reflection_php5_test.php 0
M tests/simpletest/test/remote_test.php 0
M tests/simpletest/test/shell_test.php 0
M tests/simpletest/test/shell_tester_test.php 0
M tests/simpletest/test/simpletest_test.php 0
M tests/simpletest/test/socket_test.php 0
M tests/simpletest/test/support/collector/collectable.1 0
M tests/simpletest/test/support/collector/collectable.2 0
M tests/simpletest/test/support/empty_test_file.php 0
M tests/simpletest/test/support/latin1_sample 0
M tests/simpletest/test/support/spl_examples.php 0
M tests/simpletest/test/support/supplementary_upload_sample.txt 0
M tests/simpletest/test/support/test1.php 0
M tests/simpletest/test/support/upload_sample.txt 0
M tests/simpletest/test/tag_test.php 0
M tests/simpletest/test/test_with_parse_error.php 0
M tests/simpletest/test/unit_tester_test.php 0
M tests/simpletest/test/unit_tests.php 0
M tests/simpletest/test/url_test.php 0
M tests/simpletest/test/user_agent_test.php 0
M tests/simpletest/test/visual_test.php 0
M tests/simpletest/test/web_tester_test.php 0
M tests/simpletest/test/xml_test.php 0
M tests/simpletest/test_case.php 0
M tests/simpletest/unit_tester.php 0
M tests/simpletest/url.php 0
M tests/simpletest/user_agent.php 0
M tests/simpletest/web_tester.php 0
M tests/simpletest/xml.php 0
Txt RestAuthenticator.class.php
  • View file @ 51ab48d
... ...
@@ -1,7 +1,5 @@
1 1
 <?php
2 2
 
3  
-include_once 'RestServer.class.php';
4  
-
5 3
 /**
6 4
  * Class RestAuthenticator
7 5
  * Responsible for dealing with both Basic and Digest authentication
... ...
@@ -15,6 +13,8 @@ class RestAuthenticator {
15 13
     private $authData ;
16 14
     private $isDigest =false;
17 15
     private $requireAuth =false;
  16
+    private $auth;
  17
+    private $realm;
18 18
 
19 19
     /**
20 20
      * RestAuthenticator constructor
Txt RestClient.class.php
  • View file @ 51ab48d
... ...
@@ -39,6 +39,7 @@ class RestClient {
39 39
          if($this->method === "POST") {
40 40
              curl_setopt($this->curl,CURLOPT_POST,true);
41 41
              if(is_array($this->params)) {
  42
+                 $params = "";
42 43
                  foreach($this->params as $k=>$v) {
43 44
                      $params .= "$k=$v&";
44 45
                  }
... ...
@@ -71,10 +72,15 @@ class RestClient {
71 72
       */
72 73
      private function treatURL(){
73 74
          if(is_array($this->params) && count($this->params) >= 1) { // Transform parameters in key/value pars in URL
74  
-             if(!strpos($this->url,'?'))
  75
+             if(!strpos($this->url,'?')) {
75 76
                  $this->url .= '?' ;
  77
+             }
  78
+             $i = 0;
76 79
              foreach($this->params as $k=>$v) {
77  
-                 $this->url .= "&".urlencode($k)."=".urlencode($v);
  80
+                 if($i>0) $this->url .= "&";
  81
+                 $this->url .= "&";
  82
+                 $this->url .= urlencode($k)."=".urlencode($v);
  83
+                 $i++;
78 84
              }
79 85
          }
80 86
         return $this->url;
Txt RestServer.class.php
  • View file @ 51ab48d
... ...
@@ -27,17 +27,19 @@ class RestServer {
27 27
     private $params ;
28 28
     private $stack ;
29 29
 
30  
-    /** Contructor of RestServer
31  
-    * @param string $query Optional query to be treat as the URL
32  
-    * @return RestServer $rest;
  30
+    /**
  31
+     * Contructor of RestServer
  32
+     * @param string $query Optional query to be treat as the URL
  33
+     * @return RestServer $rest;
33 34
     */
34 35
     public function __construct($query=null) {
35 36
         $this->request = new RestRequest($this); // Request handler
36 37
         $this->response = new RestResponse($this); // Response holder
37 38
         $this->authenticator = new RestAuthenticator($this); // Authenticator holder
38 39
 
39  
-        if(isset($_SERVER["HTTP_HOST"]))
  40
+        if(isset($_SERVER["HTTP_HOST"])) {
40 41
             $this->baseUrl = "http://".$_SERVER["HTTP_HOST"].dirname($_SERVER["SCRIPT_NAME"]);
  42
+        }
41 43
 
42 44
         // If will use custom URI or HTTP requested URI
43 45
         if($query===null) $this->query = $this->getRequest()->getRequestURI() ;
... ...
@@ -104,7 +106,11 @@ class RestServer {
104 106
     **/
105 107
     public function getQuery($k=null) { 
106 108
         if($k !== null){
107  
-            return $this->qPart[$k];
  109
+            if(isset($this->qPart[$k])) {
  110
+                return $this->qPart[$k];
  111
+            } else {
  112
+                return '';
  113
+            }
108 114
         }
109 115
         return $this->query ;
110 116
     }  
... ...
@@ -149,7 +155,7 @@ class RestServer {
149 155
     */
150 156
     public function getMap($method,$uri) {
151 157
         $maps = $this->map[$method];
152  
-        if(count($maps) < 1) return false;
  158
+        if(count($maps) < 1) { return false; }
153 159
         foreach($maps as $map=>$class) {
154 160
             if(preg_match("%^".$map."$%",$uri) ) {
155 161
                 return $class ;
Txt docs/blank.html 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt docs/classtrees_default.html 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt docs/default/GenericView.html 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt docs/default/RestAction.html 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt docs/default/RestAuthenticator.html 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt docs/default/RestClient.html 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt docs/default/RestController.html 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt docs/default/RestRequest.html 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt docs/default/RestResponse.html 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt docs/default/RestServer.html 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt docs/default/RestView.html 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt docs/default/_GenericView.class.php.html 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt docs/default/_RestAction.class.php.html 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt docs/default/_RestAuthenticator.class.php.html 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt docs/default/_RestClient.class.php.html 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt docs/default/_RestController.class.php.html 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt docs/default/_RestRequest.class.php.html 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt docs/default/_RestResponse.class.php.html 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt docs/default/_RestServer.class.php.html 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt docs/default/_RestView.class.php.html 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt docs/elementindex.html 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt docs/elementindex_default.html 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt docs/errors.html 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt docs/index.html 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt docs/li_default.html 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt docs/media/banner.css 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt docs/media/images/AbstractClass.png 100644 → 100755
  • View file @ 51ab48d
Txt docs/media/images/AbstractClass_logo.png 100644 → 100755
  • View file @ 51ab48d
Txt docs/media/images/AbstractMethod.png 100644 → 100755
  • View file @ 51ab48d
Txt docs/media/images/AbstractPrivateClass.png 100644 → 100755
  • View file @ 51ab48d
Txt docs/media/images/AbstractPrivateClass_logo.png 100644 → 100755
  • View file @ 51ab48d
Txt docs/media/images/AbstractPrivateMethod.png 100644 → 100755
  • View file @ 51ab48d
Txt docs/media/images/Class.gif 100644 → 100755
  • View file @ 51ab48d
Txt docs/media/images/Class.png 100644 → 100755
  • View file @ 51ab48d
Txt docs/media/images/Class_logo.png 100644 → 100755
  • View file @ 51ab48d
Txt docs/media/images/Constant.gif 100644 → 100755
  • View file @ 51ab48d
Txt docs/media/images/Constant.png 100644 → 100755
  • View file @ 51ab48d
Txt docs/media/images/Constants.gif 100644 → 100755
  • View file @ 51ab48d
Txt docs/media/images/Constructor.gif 100644 → 100755
  • View file @ 51ab48d
Txt docs/media/images/Constructor.png 100644 → 100755
  • View file @ 51ab48d
Txt docs/media/images/Destructor.gif 100644 → 100755
  • View file @ 51ab48d
Txt docs/media/images/Destructor.png 100644 → 100755
  • View file @ 51ab48d
Txt docs/media/images/Disk.gif 100644 → 100755
  • View file @ 51ab48d
Txt docs/media/images/FolderClosed.gif 100644 → 100755
  • View file @ 51ab48d
Txt docs/media/images/FolderOpened.gif 100644 → 100755
  • View file @ 51ab48d
Txt docs/media/images/Function.png 100644 → 100755
  • View file @ 51ab48d
Txt docs/media/images/Functions.gif 100644 → 100755
  • View file @ 51ab48d
Txt docs/media/images/GhostClass.gif 100644 → 100755
  • View file @ 51ab48d
Txt docs/media/images/Global.png 100644 → 100755
  • View file @ 51ab48d
Txt docs/media/images/I.png 100644 → 100755
  • View file @ 51ab48d
Txt docs/media/images/Index.png 100644 → 100755
  • View file @ 51ab48d
Txt docs/media/images/Interface.png 100644 → 100755
  • View file @ 51ab48d
Txt docs/media/images/Interface_logo.png 100644 → 100755
  • View file @ 51ab48d
Txt docs/media/images/L.png 100644 → 100755
  • View file @ 51ab48d
Txt docs/media/images/Lminus.png 100644 → 100755
  • View file @ 51ab48d
Txt docs/media/images/Lplus.png 100644 → 100755
  • View file @ 51ab48d
Txt docs/media/images/Method.png 100644 → 100755
  • View file @ 51ab48d
Txt docs/media/images/Page.png 100644 → 100755
  • View file @ 51ab48d
Txt docs/media/images/Page_logo.png 100644 → 100755
  • View file @ 51ab48d
Txt docs/media/images/PrivateClass.png 100644 → 100755
  • View file @ 51ab48d
Txt docs/media/images/PrivateClass_logo.png 100644 → 100755
  • View file @ 51ab48d
Txt docs/media/images/PrivateDataMember.gif 100644 → 100755
  • View file @ 51ab48d
Txt docs/media/images/PrivateMethod.gif 100644 → 100755
  • View file @ 51ab48d
Txt docs/media/images/PrivateMethod.png 100644 → 100755
  • View file @ 51ab48d
Txt docs/media/images/PrivateProperty.gif 100644 → 100755
  • View file @ 51ab48d
Txt docs/media/images/PrivateVariable.png 100644 → 100755
  • View file @ 51ab48d
Txt docs/media/images/ProtectedDataMember.gif 100644 → 100755
  • View file @ 51ab48d
Txt docs/media/images/ProtectedMethod.gif 100644 → 100755
  • View file @ 51ab48d
Txt docs/media/images/ProtectedProperty.gif 100644 → 100755
  • View file @ 51ab48d
Txt docs/media/images/PublicDataMember.gif 100644 → 100755
  • View file @ 51ab48d
Txt docs/media/images/PublicMethod.gif 100644 → 100755
  • View file @ 51ab48d
Txt docs/media/images/PublicProperty.gif 100644 → 100755
  • View file @ 51ab48d
Txt docs/media/images/StaticMethod.png 100644 → 100755
  • View file @ 51ab48d
Txt docs/media/images/StaticVariable.png 100644 → 100755
  • View file @ 51ab48d
Txt docs/media/images/T.png 100644 → 100755
  • View file @ 51ab48d
Txt docs/media/images/Tminus.png 100644 → 100755
  • View file @ 51ab48d
Txt docs/media/images/Tplus.png 100644 → 100755
  • View file @ 51ab48d
Txt docs/media/images/Types.gif 100644 → 100755
  • View file @ 51ab48d
Txt docs/media/images/Variable.gif 100644 → 100755
  • View file @ 51ab48d
Txt docs/media/images/Variable.png 100644 → 100755
  • View file @ 51ab48d
Txt docs/media/images/Vars.gif 100644 → 100755
  • View file @ 51ab48d
Txt docs/media/images/blank.png 100644 → 100755
  • View file @ 51ab48d
Txt docs/media/images/classFolder.gif 100644 → 100755
  • View file @ 51ab48d
Txt docs/media/images/class_folder.png 100644 → 100755
  • View file @ 51ab48d
Txt docs/media/images/empty.png 100644 → 100755
  • View file @ 51ab48d
Txt docs/media/images/error.gif 100644 → 100755
  • View file @ 51ab48d
Txt docs/media/images/file.png 100644 → 100755
  • View file @ 51ab48d
Txt docs/media/images/folder.png 100644 → 100755
  • View file @ 51ab48d
Txt docs/media/images/foldericon.png 100644 → 100755
  • View file @ 51ab48d
Txt docs/media/images/function_folder.png 100644 → 100755
  • View file @ 51ab48d
Txt docs/media/images/minus.gif 100644 → 100755
  • View file @ 51ab48d
Txt docs/media/images/msgError.gif 100644 → 100755
  • View file @ 51ab48d
Txt docs/media/images/msgFatalError.gif 100644 → 100755
  • View file @ 51ab48d
Txt docs/media/images/msgHint.gif 100644 → 100755
  • View file @ 51ab48d
Txt docs/media/images/msgInformation.gif 100644 → 100755
  • View file @ 51ab48d
Txt docs/media/images/msgWarning.gif 100644 → 100755
  • View file @ 51ab48d
Txt docs/media/images/next_button.png 100644 → 100755
  • View file @ 51ab48d
Txt docs/media/images/next_button_disabled.png 100644 → 100755
  • View file @ 51ab48d
Txt docs/media/images/openfoldericon.png 100644 → 100755
  • View file @ 51ab48d
Txt docs/media/images/package.png 100644 → 100755
  • View file @ 51ab48d
Txt docs/media/images/package_folder.png 100644 → 100755
  • View file @ 51ab48d
Txt docs/media/images/plus.gif 100644 → 100755
  • View file @ 51ab48d
Txt docs/media/images/previous_button.png 100644 → 100755
  • View file @ 51ab48d
Txt docs/media/images/previous_button_disabled.png 100644 → 100755
  • View file @ 51ab48d
Txt docs/media/images/private_class_logo.png 100644 → 100755
  • View file @ 51ab48d
Txt docs/media/images/spacer.gif 100644 → 100755
  • View file @ 51ab48d
Txt docs/media/images/tutorial.png 100644 → 100755
  • View file @ 51ab48d
Txt docs/media/images/tutorial_folder.png 100644 → 100755
  • View file @ 51ab48d
Txt docs/media/images/up_button.png 100644 → 100755
  • View file @ 51ab48d
Txt docs/media/lib/classTree.js 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt docs/media/lib/tab.webfx.css 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt docs/media/lib/tabpane.js 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt docs/media/lib/ua.js 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt docs/media/stylesheet.css 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt docs/packages.html 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt example3/UserController.class.php
  • View file @ 51ab48d
... ...
@@ -1,52 +0,0 @@
1  
-<?php
2  
-
3  
-class UserController implements RestController {
4  
-    public function execute(RestServer $rest) {
5  
-        return $rest;
6  
-    }
7  
-
8  
-    public function list(RestServer $rest) {
9  
-        $pdo = new PDO("mysql:localhost","user","pass");
10  
-        $q = $pdo->select("select * from users");
11  
-        $users= $q->fetchObject();
12  
-        $r = "<ul>";
13  
-        foreach($users as $user) {
14  
-            $r .= "<li><a href='?q=/users/".$user->id."'>".$user->name."</a></li>";
15  
-        }
16  
-        $r .= "</ul>";
17  
-        $rest->getResponse()->addHeader("Content-Type: text/html");
18  
-        $rest->getResponse()->setResponse($r); //  Or we return the name 
19  
-        return $rest;
20  
-    }
21  
-
22  
-    public function view(RestServer $rest) {
23  
-        // If an ID is specified
24  
-        $id = $rest->getRequest()->getURI(2); // Second part of the URI
25  
-        $pdo = new PDO("mysql:localhost","user","pass");
26  
-        $q = $pdo->query("select * from users where id = ".$id);
27  
-        $users = $q->fetchObject() ;
28  
-        if(count($users) < 1) {
29  
-            $rest->getResponse()->addHeader("HTTP/1.1 404 NOT FOUND"); // We throw the right header
30  
-            $rest->getResponse()->setResponse("User not found"); 
31  
-        } else {
32  
-      $rest->getResponse()->addHeader("Content-Type: text/plain");
33  
-            $rest->getResponse()->setResponse($users[0]->name); //  Or we return the name 
34  
-        }
35  
-        return $rest;
36  
-    }
37  
-
38  
-    public function insert(RestServer $rest) {
39  
-        $post = $rest->getRequest()->getPost();
40  
-        // Go for the database
41  
-        $pdo = new PDO("mysql:localhost","user","pass");
42  
-        $pdo->query("insert into users (name) values ('".$post['name']."')");
43  
-        $id = $pdo->lastInsertId();
44  
-        $rest->getResponse()->addHeader("HTTP/1.1 201 CREATED");
45  
-        $rest->getResponse()->addHeader("Content-Type: text/plain");
46  
-        $rest->getResponse()->setResponse($id);
47  
-        return $rest; 
48  
-    }
49  
-
50  
-}
51  
-
52  
-?>
Txt example3/client.php
  • View file @ 51ab48d
... ...
@@ -1,30 +0,0 @@
1  
-<?php
2  
-// This is a dummy client to test and consume the service
3  
-include '../RestClient.class.php';
4  
-
5  
-
6  
-$base = "http://".$_SERVER["HTTP_HOST"].dirname($_SERVER["SCRIPT_NAME"]);// this is to know here URL;
7  
-
8  
-$userList = RestClient::get($base."/index.php?q=/users");
9  
-$code = $userList->getResponseCode(); // If the response was success will be 200
10  
-if($code == 200) {
11  
-    echo $userList->getResponse(); // This is the response message
12  
-}
13  
-
14  
-$userInsert = RestClient::post($base."/index.php?q=/users",array("name"=>"diogo"));
15  
-$code = $userInsert->getResponseCode(); // If the response was success will be 201
16  
-if($code == 201) { // 201 mean created
17  
-    echo $userInsert->getResponse(); // This is the response message, in this case the id
18  
-} else {
19  
-    echo "fail in insert: ".$userInsert->getResponseMessage()." -> ".$userInsert->getResponse();
20  
-}
21  
-
22  
-$id = $code->getResponse();
23  
-$userView = RestClient::get($base."/index.php?q=/users/".$id);
24  
-$code = $userView->getResponseCode();
25  
-if($code == 200) {
26  
-    echo $userView->getReponse();
27  
-} else if($code == 404) {
28  
-    echo "Fail, no such user";
29  
-}
30  
-?>
Txt example3/index.php
  • View file @ 51ab48d
... ...
@@ -1,15 +0,0 @@
1  
-<?php
2  
-
3  
-include '../RestServer.class.php';
4  
-include 'UserController.class.php';
5  
-
6  
-$rest = new RestServer($_GET['q']) ;
7  
-
8  
-$rest->addMap("GET","/?users","UserController::list");
9  
-$rest->addMap("POST","/?users","UserController::insert");
10  
-$rest->addMap("GET","/?users/[0-9]*","UserController::view");
11  
-
12  
-// Show the response
13  
-echo $rest->execute();
14  
-
15  
-?>
Txt tests/AllTests.php 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt tests/RestAuthenticator.test.php 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt tests/RestRequest.test.php 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt tests/RestResponse.test.php 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt tests/RestServer.test.php 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt tests/ZIntegration.test.php 100644 → 100755
  • View file @ 51ab48d
... ...
@@ -52,6 +52,12 @@ class ZIntegration_tests extends UnitTestCase {
52 52
         $c = RestClient::get($this->url."/Foo/restricted/digest");
53 53
         $this->assertEqual($c->getResponseCode(),401);
54 54
     }
  55
+
  56
+    function testUnpreciseBench() {
  57
+        $c = RestClient::get($this->url."/Foo/bench");
  58
+        echo $c->getResponse();
  59
+    }
  60
+
55 61
 }
56 62
 
57 63
 ?>
Txt tests/server.php 100644 → 100755
  • View file @ 51ab48d
... ...
@@ -25,6 +25,12 @@ class Foobar implements RestController {
25 25
     public function auth(RestServer $rest) {
26 26
         $rest->getResponse()->setResponse($rest->getAuthenticator()->getUser());
27 27
     }
  28
+    public function bench(RestServer $rest) {
  29
+        $rest->getResponse()->appendResponse("It took ".round(xdebug_time_index(),5)." seconds <br/>");
  30
+        $rest->getResponse()->appendResponse("Used ".round(xdebug_memory_usage()/1024,5)."Kb of Memory<br/>");
  31
+        $rest->getResponse()->appendResponse("Used at peak ".round(xdebug_peak_memory_usage()/1024,5)."Kb of Memory<br/>");
  32
+        return $rest;
  33
+    }
28 34
 }
29 35
 
30 36
 class Echoer implements RestView {
... ...
@@ -42,7 +48,9 @@ class Echoer implements RestView {
42 48
     }
43 49
 }
44 50
 
45  
-$r = new RestServer($_GET["q"]) ;
  51
+$q = (isset($_GET["q"]))?$_GET["q"]:"";
  52
+
  53
+$r = new RestServer($q) ;
46 54
 
47 55
 $r->addMap("GET","/Foo","Foobar");
48 56
 $r->addMap("POST","/Foo","Foobar");
... ...
@@ -52,6 +60,7 @@ $r->addMap("POST","/Foo/hello","Foobar::foo");
52 60
 $r->addMap("GET","/Foo/hello/[\w]*","Foobar::foo");
53 61
 $r->addMap("GET","/Foo/restricted/basic","Foobar::auth");
54 62
 $r->addMap("GET","/Foo/restricted/digest","Foobar::auth");
  63
+$r->addMap("GET","/Foo/bench","Foobar::bench");
55 64
 
56 65
 if($r->getQuery(2) == "restricted") {
57 66
     if($r->getQuery(3) == "basic") {
Txt tests/simpletest/HELP_MY_TESTS_DONT_WORK_ANYMORE 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt tests/simpletest/LICENSE 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt tests/simpletest/README 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt tests/simpletest/VERSION 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt tests/simpletest/authentication.php 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt tests/simpletest/autorun.php 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt tests/simpletest/browser.php 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt tests/simpletest/collector.php 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt tests/simpletest/compatibility.php 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt tests/simpletest/cookies.php 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt tests/simpletest/default_reporter.php 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt tests/simpletest/detached.php 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt tests/simpletest/docs/en/authentication_documentation.html 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt tests/simpletest/docs/en/browser_documentation.html 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt tests/simpletest/docs/en/docs.css 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt tests/simpletest/docs/en/expectation_documentation.html 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt tests/simpletest/docs/en/form_testing_documentation.html 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt tests/simpletest/docs/en/group_test_documentation.html 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt tests/simpletest/docs/en/index.html 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt tests/simpletest/docs/en/mock_objects_documentation.html 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt tests/simpletest/docs/en/overview.html 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt tests/simpletest/docs/en/partial_mocks_documentation.html 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt tests/simpletest/docs/en/reporter_documentation.html 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt tests/simpletest/docs/en/unit_test_documentation.html 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt tests/simpletest/docs/en/web_tester_documentation.html 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt tests/simpletest/docs/fr/authentication_documentation.html 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt tests/simpletest/docs/fr/browser_documentation.html 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt tests/simpletest/docs/fr/docs.css 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt tests/simpletest/docs/fr/expectation_documentation.html 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt tests/simpletest/docs/fr/form_testing_documentation.html 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt tests/simpletest/docs/fr/group_test_documentation.html 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt tests/simpletest/docs/fr/index.html 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt tests/simpletest/docs/fr/mock_objects_documentation.html 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt tests/simpletest/docs/fr/overview.html 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt tests/simpletest/docs/fr/partial_mocks_documentation.html 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt tests/simpletest/docs/fr/reporter_documentation.html 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt tests/simpletest/docs/fr/server_stubs_documentation.html 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt tests/simpletest/docs/fr/unit_test_documentation.html 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt tests/simpletest/docs/fr/web_tester_documentation.html 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt tests/simpletest/dumper.php 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt tests/simpletest/eclipse.php 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt tests/simpletest/encoding.php 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt tests/simpletest/errors.php 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt tests/simpletest/exceptions.php 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt tests/simpletest/expectation.php 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt tests/simpletest/extensions/pear_test_case.php 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt tests/simpletest/extensions/phpunit_test_case.php 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt tests/simpletest/extensions/testdox.php 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt tests/simpletest/extensions/testdox/test.php 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt tests/simpletest/form.php 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt tests/simpletest/frames.php 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt tests/simpletest/http.php 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt tests/simpletest/invoker.php 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt tests/simpletest/mock_objects.php 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt tests/simpletest/page.php 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt tests/simpletest/parser.php 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt tests/simpletest/reflection_php4.php 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt tests/simpletest/reflection_php5.php 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt tests/simpletest/remote.php 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt tests/simpletest/reporter.php 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt tests/simpletest/scorer.php 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt tests/simpletest/selector.php 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt tests/simpletest/shell_tester.php 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt tests/simpletest/simpletest.php 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt tests/simpletest/socket.php 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt tests/simpletest/tag.php 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt tests/simpletest/test/acceptance_test.php 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt tests/simpletest/test/adapter_test.php 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt tests/simpletest/test/all_tests.php 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt tests/simpletest/test/authentication_test.php 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt tests/simpletest/test/autorun_test.php 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt tests/simpletest/test/bad_test_suite.php 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt tests/simpletest/test/browser_test.php 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt tests/simpletest/test/collector_test.php 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt tests/simpletest/test/command_line_test.php 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt tests/simpletest/test/compatibility_test.php 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt tests/simpletest/test/cookies_test.php 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt tests/simpletest/test/detached_test.php 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt tests/simpletest/test/dumper_test.php 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt tests/simpletest/test/eclipse_test.php 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt tests/simpletest/test/encoding_test.php 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt tests/simpletest/test/errors_test.php 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt tests/simpletest/test/exceptions_test.php 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt tests/simpletest/test/expectation_test.php 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt tests/simpletest/test/form_test.php 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt tests/simpletest/test/frames_test.php 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt tests/simpletest/test/http_test.php 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt tests/simpletest/test/interfaces_test.php 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt tests/simpletest/test/live_test.php 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt tests/simpletest/test/mock_objects_test.php 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt tests/simpletest/test/page_test.php 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt tests/simpletest/test/parse_error_test.php 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt tests/simpletest/test/parser_test.php 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt tests/simpletest/test/reflection_php4_test.php 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt tests/simpletest/test/reflection_php5_test.php 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt tests/simpletest/test/remote_test.php 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt tests/simpletest/test/shell_test.php 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt tests/simpletest/test/shell_tester_test.php 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt tests/simpletest/test/simpletest_test.php 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt tests/simpletest/test/socket_test.php 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt tests/simpletest/test/support/collector/collectable.1 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt tests/simpletest/test/support/collector/collectable.2 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt tests/simpletest/test/support/empty_test_file.php 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt tests/simpletest/test/support/latin1_sample 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt tests/simpletest/test/support/spl_examples.php 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt tests/simpletest/test/support/supplementary_upload_sample.txt 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt tests/simpletest/test/support/test1.php 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt tests/simpletest/test/support/upload_sample.txt 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt tests/simpletest/test/tag_test.php 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt tests/simpletest/test/test_with_parse_error.php 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt tests/simpletest/test/unit_tester_test.php 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt tests/simpletest/test/unit_tests.php 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt tests/simpletest/test/url_test.php 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt tests/simpletest/test/user_agent_test.php 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt tests/simpletest/test/visual_test.php 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt tests/simpletest/test/web_tester_test.php 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt tests/simpletest/test/xml_test.php 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt tests/simpletest/test_case.php 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt tests/simpletest/unit_tester.php 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt tests/simpletest/url.php 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt tests/simpletest/user_agent.php 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt tests/simpletest/web_tester.php 100644 → 100755
  • View file @ 51ab48d
Binary file not shown
Txt tests/simpletest/xml.php 100644 → 100755
  • View file @ 51ab48d
Binary file not shown

0 notes on commit 51ab48d

Please log in to comment.
Dedicated Server Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
  • Blog
  • Support
  • Training
  • Job Board
  • Shop
  • Contact
  • API
  • Status
  • © 2010 GitHub Inc. All rights reserved.
  • Terms of Service
  • Privacy
  • Security
  • English
  • Deutsch
  • Français
  • 日本語
  • Português (BR)
  • 中文
  • See all available languages

Your current locale selection: English. Choose another?

  • English
  • Afrikaans
  • Català
  • Čeština
  • Deutsch
  • Español
  • Français
  • Hrvatski
  • Indonesia
  • Italiano
  • 日本語
  • Nederlands
  • Norsk
  • Polski
  • Português (BR)
  • Српски
  • Svenska
  • 中文