diff options
author | purplecode <niespammnie@gmail.com> | 2014-12-24 12:42:42 +0100 |
---|---|---|
committer | purplecode <niespammnie@gmail.com> | 2014-12-24 12:42:42 +0100 |
commit | fd0f39cb224de007e6135c9e08cc9429c7b5a9dc (patch) | |
tree | 5be12b850255ccd8a61571e0e83c6bc6c5d2c8d9 | |
parent | 5b74984770c4228808138231c9580d22f7282475 (diff) | |
download | php.curl-fd0f39cb224de007e6135c9e08cc9429c7b5a9dc.zip php.curl-fd0f39cb224de007e6135c9e08cc9429c7b5a9dc.tar.gz php.curl-fd0f39cb224de007e6135c9e08cc9429c7b5a9dc.tar.bz2 |
tests repackage
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | nbproject/project.properties | 7 | ||||
-rw-r--r-- | nbproject/project.xml | 9 | ||||
-rw-r--r-- | test/Json/PJsonCurlTest.php (renamed from test/PJsonCurlTest.php) | 12 | ||||
-rw-r--r-- | test/Json/test.json (renamed from test/test.json) | 0 | ||||
-rw-r--r-- | test/Json/testInvalid.json (renamed from test/testInvalid.json) | 0 |
6 files changed, 21 insertions, 8 deletions
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..14bc68c --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/nbproject/private/
\ No newline at end of file diff --git a/nbproject/project.properties b/nbproject/project.properties new file mode 100644 index 0000000..b652f77 --- /dev/null +++ b/nbproject/project.properties @@ -0,0 +1,7 @@ +include.path=${php.global.include.path}
+php.version=PHP_55
+source.encoding=UTF-8
+src.dir=.
+tags.asp=false
+tags.short=false
+web.root=.
diff --git a/nbproject/project.xml b/nbproject/project.xml new file mode 100644 index 0000000..1e8fd66 --- /dev/null +++ b/nbproject/project.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://www.netbeans.org/ns/project/1">
+ <type>org.netbeans.modules.php.project</type>
+ <configuration>
+ <data xmlns="http://www.netbeans.org/ns/php-project/1">
+ <name>php.curl</name>
+ </data>
+ </configuration>
+</project>
diff --git a/test/PJsonCurlTest.php b/test/Json/PJsonCurlTest.php index 5699227..707fa10 100644 --- a/test/PJsonCurlTest.php +++ b/test/Json/PJsonCurlTest.php @@ -1,18 +1,14 @@ <?php -require_once (dirname(__FILE__) . '/../src/PurpleCode/PCurl/PCurlResponse.php'); -require_once (dirname(__FILE__) . '/../src/PurpleCode/PCurl/Json/PJsonCurlResponse.php'); -require_once (dirname(__FILE__) . '/../src/PurpleCode/PCurl/PCurl.php'); -require_once (dirname(__FILE__) . '/../src/PurpleCode/PCurl/Json/PJsonCurl.php'); +require_once (dirname(__FILE__) . '/../../src/PurpleCode/PCurl/PCurlResponse.php'); +require_once (dirname(__FILE__) . '/../../src/PurpleCode/PCurl/Json/PJsonCurlResponse.php'); +require_once (dirname(__FILE__) . '/../../src/PurpleCode/PCurl/PCurl.php'); +require_once (dirname(__FILE__) . '/../../src/PurpleCode/PCurl/Json/PJsonCurl.php'); use PurpleCode\PCurl\Json\PJsonCurl; class PJsonCurlTest extends PHPUnit_Framework_TestCase { - private function getCACertBundlePath() { - return __DIR__ . '\ca-cert.crt'; - } - public function testShouldGetJsonFileAndParse() { // given $cut = new PJsonCurl('file:///' . __DIR__ . '/test.json'); diff --git a/test/test.json b/test/Json/test.json index bb4ed6f..bb4ed6f 100644 --- a/test/test.json +++ b/test/Json/test.json diff --git a/test/testInvalid.json b/test/Json/testInvalid.json index 1a5125f..1a5125f 100644 --- a/test/testInvalid.json +++ b/test/Json/testInvalid.json |