Debian Codegraph @

dojox/calendar/tests/unitTest_Store.js

raw symbols SCIP
1 define(["doh", "../Calendar", "dojo/when", "dojo/store/JsonRest"],
2 function(doh, Calendar, when, JsonRest){
3 doh.register("tests.unitTest_Store", [
4 function test_Error(t){
5 var calendar = new Calendar();
6 var d = when(calendar.set("store", new JsonRest({ target: "/" }), function(){
7 t.f(true, "ok fct must not have been called");
8 }, function(){
9 t.t(true, "failure fct must have been called");
10 }));
11 calendar.startup();
12 }
13 ]);
14 });