unittests/tests/serializer.js
changeset 944 8a6c9e3d0158
parent 907 27b248a13355
parent 943 a882cc0c936f
child 945 7d9f6fd6f904
--- a/unittests/tests/serializer.js	Thu May 24 15:05:47 2012 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,23 +0,0 @@
-function test_serializer() {
-  module("Serializer basic tests", {setup: function() {
-    this.dt = new IriSP.DataLoader();
-    this.ser = new IriSP.Serializer(this.dt, "http://google.com");
-  }});
-  
-  test("init the serializer with a DataLoader and an url", function() {
-      
-      equal( this.ser._DataLoader, this.dt, "The dataloader reference is copied to the object." );
-      equal( this.ser._url, "http://google.com", "The url has been copied as well." );      
-      deepEqual( this.ser._data, [], "The serializer data is not defined." );
-  });
-  
-  test("check that the serialize and deserialize abstract functions are defined", function() {
-      notEqual(this.ser.serialize, undefined, ".serialize is defined");
-      notEqual(this.ser.deserialize, undefined, ".deserialize is defined");
-  });
-  
-  test("check if currentMedia() is defined", function() {
-  
-  });
-
-};
\ No newline at end of file