Repository: olingo-odata4-js
Updated Branches:
  refs/heads/master cf444be91 -> c8dd05d4d


[OLINGO-439] fix for node 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/c8dd05d4
Tree: http://git-wip-us.apache.org/repos/asf/olingo-odata4-js/tree/c8dd05d4
Diff: http://git-wip-us.apache.org/repos/asf/olingo-odata4-js/diff/c8dd05d4

Branch: refs/heads/master
Commit: c8dd05d4d2c619bf4f443f50515a25675468abf2
Parents: cf444be
Author: Sven Kobler <[email protected]>
Authored: Mon Feb 23 10:41:04 2015 +0100
Committer: Sven Kobler <[email protected]>
Committed: Mon Feb 23 10:41:04 2015 +0100

----------------------------------------------------------------------
 odatajs/test/test-demo-scenario.js | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/olingo-odata4-js/blob/c8dd05d4/odatajs/test/test-demo-scenario.js
----------------------------------------------------------------------
diff --git a/odatajs/test/test-demo-scenario.js 
b/odatajs/test/test-demo-scenario.js
index bae2b66..7b57fb6 100644
--- a/odatajs/test/test-demo-scenario.js
+++ b/odatajs/test/test-demo-scenario.js
@@ -46,7 +46,7 @@ var testDataJsonParserMetadataNone = [{
   input:   '{"value":["ground cereal","ground grain"]}',
   expected: {"value":["ground cereal","ground grain"]}
 },{
-  description: "Collection Property with metadata=none",
+  description: "Complex Property with metadata=none",
   header:  "application/json;odata.metadata=none",
   usedUrl: 
"http://localhost:4002/tests/endpoints/FoodStoreDataServiceV4.svc/Foods(0)/Packaging",
   input:   
'{"Type":null,"Color":"","NumberPerPackage":2147483647,"RequiresRefridgeration":false,"ShipDate":"2000-12-29T00:00:00Z","PackageDimensions":{"Length":79228162514264337593543950335,"Height":32767,"Width":9223372036854775807,"Volume":1.7976931348623157E+308}}',
@@ -84,7 +84,7 @@ var testDataJsonParserMetadataMinimal = [{
   input:   
'{"@odata.context":"http://localhost:4002/tests/endpoints/FoodStoreDataServiceV4.svc/$metadata#Foods(0)/AlternativeNames","value":["ground
 cereal","ground grain"]}',
   expected: 
{"@odata.context":"http://localhost:4002/tests/endpoints/FoodStoreDataServiceV4.svc/$metadata#Foods(0)/AlternativeNames","value":["ground
 cereal","ground grain"]}
 },{
-  description: "Collection Property with metadata=minimal",
+  description: "Complex Property with metadata=minimal",
   header:  "application/json;odata.metadata=minimal",
   usedUrl: 
"http://localhost:4002/tests/endpoints/FoodStoreDataServiceV4.svc/Foods(0)/Packaging",
   input:   
'{"@odata.context":"http://localhost:4002/tests/endpoints/FoodStoreDataServiceV4.svc/$metadata#Foods(0)/Packaging","Type":null,"Color":"","NumberPerPackage":2147483647,"RequiresRefridgeration":false,"ShipDate":"2000-12-29T00:00:00Z","PackageDimensions":{"Length":79228162514264337593543950335,"Height":32767,"Width":9223372036854775807,"Volume":1.7976931348623157E+308}}',
@@ -123,7 +123,7 @@ var testDataJsonParserMetadataMinimalToFull = [{
   input:   
'{"@odata.context":"http://localhost:4002/tests/endpoints/FoodStoreDataServiceV4.svc/$metadata#Foods(0)/AlternativeNames","value":["ground
 cereal","ground grain"]}',
   expected: 
{"@odata.context":"http://localhost:4002/tests/endpoints/FoodStoreDataServiceV4.svc/$metadata#Foods(0)/AlternativeNames","@odata.type":"#Collection(String)","value":["ground
 cereal","ground grain"]}
 },{
-  description: "Collection Property with metadata=minimal",
+  description: "Complex Property with metadata=minimal",
   header:  "application/json;odata.metadata=minimal",
   usedUrl: 
"http://localhost:4002/tests/endpoints/FoodStoreDataServiceV4.svc/Foods(0)/Packaging",
   input:   
'{"@odata.context":"http://localhost:4002/tests/endpoints/FoodStoreDataServiceV4.svc/$metadata#Foods(0)/Packaging","Type":null,"Color":"","NumberPerPackage":2147483647,"RequiresRefridgeration":false,"ShipDate":"2000-12-29T00:00:00Z","PackageDimensions":{"Length":79228162514264337593543950335,"Height":32767,"Width":9223372036854775807,"Volume":1.7976931348623157E+308}}',
@@ -162,7 +162,7 @@ var testDataJsonParserMetadataFull = [{
   input:   
'{"@odata.context":"http://localhost:4002/tests/endpoints/FoodStoreDataServiceV4.svc/$metadata#Foods(0)/AlternativeNames","@odata.type":"#Collection(String)","value":["ground
 cereal","ground grain"]}',
   expected: 
{"@odata.context":"http://localhost:4002/tests/endpoints/FoodStoreDataServiceV4.svc/$metadata#Foods(0)/AlternativeNames","@odata.type":"#Collection(String)","value":["ground
 cereal","ground grain"]}
 },{
-  description: "Collection Property with metadata=full",
+  description: "Complex Property with metadata=full",
   header:  "application/json;odata.metadata=full",
   usedUrl: 
"http://localhost:4002/tests/endpoints/FoodStoreDataServiceV4.svc/Foods(0)/Packaging",
   input:   
'{"@odata.context":"http://localhost:4002/tests/endpoints/FoodStoreDataServiceV4.svc/$metadata#Foods(0)/Packaging","@odata.type":"#DataJS.Tests.V4.Package","Type":null,"Color":"","NumberPerPackage":2147483647,"RequiresRefridgeration":false,"[email protected]":"#DateTimeOffset","ShipDate":"2000-12-29T00:00:00Z","PackageDimensions":{"@odata.type":"#DataJS.Tests.V4.Dimensions","[email protected]":"#Decimal","Length":79228162514264337593543950335,"[email protected]":"#Int16","Height":32767,"[email protected]":"#Int64","Width":9223372036854775807,"Volume":1.7976931348623157E+308}}',

Reply via email to