unittests/tests/serializer.js
author hamidouk
Mon, 10 Oct 2011 16:14:58 +0200
branchpopcorn-port
changeset 57 eabfc9a2eb35
child 65 6a8cae20f190
permissions -rw-r--r--
Added unit testing with QUnit.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
57
eabfc9a2eb35 Added unit testing with QUnit.
hamidouk
parents:
diff changeset
     1
function test_serializer() {
eabfc9a2eb35 Added unit testing with QUnit.
hamidouk
parents:
diff changeset
     2
  module("Serializer basic tests");
eabfc9a2eb35 Added unit testing with QUnit.
hamidouk
parents:
diff changeset
     3
  
eabfc9a2eb35 Added unit testing with QUnit.
hamidouk
parents:
diff changeset
     4
  test("a basic test example", function() {
eabfc9a2eb35 Added unit testing with QUnit.
hamidouk
parents:
diff changeset
     5
      ok( true, "this test is fine" );
eabfc9a2eb35 Added unit testing with QUnit.
hamidouk
parents:
diff changeset
     6
      var value = "hello";
eabfc9a2eb35 Added unit testing with QUnit.
hamidouk
parents:
diff changeset
     7
      equal( value, "hello", "We expect value to be hello" );
eabfc9a2eb35 Added unit testing with QUnit.
hamidouk
parents:
diff changeset
     8
  });
eabfc9a2eb35 Added unit testing with QUnit.
hamidouk
parents:
diff changeset
     9
eabfc9a2eb35 Added unit testing with QUnit.
hamidouk
parents:
diff changeset
    10
};