You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@olingo.apache.org by ko...@apache.org on 2015/03/19 15:32:06 UTC
olingo-odata4-js git commit: fix batch tests
Repository: olingo-odata4-js
Updated Branches:
refs/heads/master 5a123143d -> 601cca192
fix batch tests
Project: http://git-wip-us.apache.org/repos/asf/olingo-odata4-js/repo
Commit: http://git-wip-us.apache.org/repos/asf/olingo-odata4-js/commit/601cca19
Tree: http://git-wip-us.apache.org/repos/asf/olingo-odata4-js/tree/601cca19
Diff: http://git-wip-us.apache.org/repos/asf/olingo-odata4-js/diff/601cca19
Branch: refs/heads/master
Commit: 601cca192c42dd1bdf76590e3513be4abfa78588
Parents: 5a12314
Author: Sven Kobler <sv...@sap.com>
Authored: Thu Mar 19 15:31:59 2015 +0100
Committer: Sven Kobler <sv...@sap.com>
Committed: Thu Mar 19 15:31:59 2015 +0100
----------------------------------------------------------------------
tests/info.txt | 12 ++++++------
tests/odata-batch-functional-tests.js | 1 +
2 files changed, 7 insertions(+), 6 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/olingo-odata4-js/blob/601cca19/tests/info.txt
----------------------------------------------------------------------
diff --git a/tests/info.txt b/tests/info.txt
index 2b2e21d..3988c7c 100644
--- a/tests/info.txt
+++ b/tests/info.txt
@@ -1,4 +1,4 @@
-*FAIL 70 / 75 odata-batch-functional-tests.html
+*OK 115 / 125 odata-batch-functional-tests.html
*OK 904 / 904 odata-cache-filter-functional-tests.html
*OK 12 / 12 odata-cache-fperf-tests.html
*OK 1062 / 1062 odata-cache-functional-tests.html
@@ -6,13 +6,13 @@
*OK odata-fuzz.html
*OK 1 / 1 odata-json-parse-tests.html
*OK 16 / 16 odata-links-functional-tests.html
-FAIL 23 / 52 odata-metadata-awareness-functional-tests.html ----> Tests 1-6 OK; Tests 7-27 are using old __metadata
-*OK 36 / 36 odata-perf-tests.html ------> calls to nexflix defect --> removed
+FAIL 23 / 52 odata-metadata-awareness-functional-tests.html ----> Tests 1-6 OK; Accepted: Tests 7-27 are using old __metadata
+*OK 36 / 36 odata-perf-tests.html
*OK 975 / 975 odata-qunit-tests.htm
-FAIL 0 / 31 odata-read-crossdomain-functional-tests.html ---->calls to odatasampleservices.azurewebsites.net fail
+FAIL 0 / 31 odata-read-crossdomain-functional-tests.html ----> Accepted: calls to odatasampleservices.azurewebsites.net fail
*OK 124/124 odata-read-functional-tests.html
*OK 52/ 52 odata-request-functional-tests.html
-*OK 41/ 42 odatajs-cache-large-collection-functional-tests.html ------> one timeout on server side
-FAIL odatajs-cache-long-haul-tests.html -------> Uses netflix
+*OK 41/ 42 odatajs-cache-large-collection-functional-tests.html ------> Accepted: one timeout on server side, no bug on client side
+FAIL odatajs-cache-long-haul-tests.html -------> Accepted: uses netflix
*OK 1/ 1 odatajs-startup-perf-test.html
?? test-manager.html
http://git-wip-us.apache.org/repos/asf/olingo-odata4-js/blob/601cca19/tests/odata-batch-functional-tests.js
----------------------------------------------------------------------
diff --git a/tests/odata-batch-functional-tests.js b/tests/odata-batch-functional-tests.js
index bfe3274..24b7fde 100644
--- a/tests/odata-batch-functional-tests.js
+++ b/tests/odata-batch-functional-tests.js
@@ -106,6 +106,7 @@
var cloneHeadersWithContentId = function (mimeHeaders, count) {
var headers = djstest.clone(mimeHeaders);
+ if (!headers) { headers = {} };
headers["Content-ID"] = count;
return headers;
};