increased chunk size

Dependencies:   HTTPClient-SSL

Fork of MTS-Socket by MultiTech

Revision:
9:b2e3862705fc
Parent:
8:a3b41ec82e63
Child:
10:42220b7df921
--- a/Test/TestHTTP.h	Mon Jun 16 14:05:19 2014 +0000
+++ b/Test/TestHTTP.h	Tue Jun 17 21:59:55 2014 +0000
@@ -22,6 +22,8 @@
     HTTPText* receive;
 };
 
+const char APN[] = "";
+
 TestHTTP::TestHTTP() : TestCollection("TestHTTP") {}
 
 void TestHTTP::run() {
@@ -53,7 +55,7 @@
         if (i >= 10) {
             Test::assertTrue(false);
         }
-        if (radio->setApn("wap.cingular") == SUCCESS) {
+        if (radio->setApn(APN) == SUCCESS) {
             break;
         } else {
             wait(1);
@@ -84,41 +86,31 @@
     
     url = base_url + url_get;
     Test::start("HTTP GET");
-    logInfo("testing GET");
     Test::assertTrue(http->get(url.c_str(), receive, 5000) == HTTP_OK);
-    logInfo("done testing GET");
     Test::end();
     
     url = base_url + url_put;
     Test::start("HTTP PUT");
-    logInfo("testing PUT");
     send->put("testing", "put");
     Test::assertTrue(http->put(url.c_str(), *send, receive, 5000) == HTTP_OK);
-    logInfo("done testing PUT");
     Test::end();
     
     url = base_url + url_post;
     Test::start("HTTP POST");
-    logInfo("testing POST");
     send->put("testing", "put");
     Test::assertTrue(http->post(url.c_str(), *send, receive, 5000) == HTTP_OK);
-    logInfo("done testing POST");
     Test::end();
     
     url = base_url + url_del;
     Test::start("HTTP DELETE");
-    logInfo("testing DELETE");
     Test::assertTrue(http->del(url.c_str(), receive, 5000) == HTTP_OK);
-    logInfo("done testing DELETE");
     Test::end();
     
     url = base_url + url_stream;
     char bigbuf[8 * 1024];
     HTTPText big(bigbuf);
     Test::start("HTTP big GET");
-    logInfo("testing big GET");
     Test::assertTrue(http->get(url.c_str(), &big, 5000) == HTTP_OK);
-    logInfo("done testing big GET");
     Test::end();
     
     radio->disconnect();