You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
716 B
23 lines
716 B
2 years ago
|
/*
|
||
|
Copyright (c) 2004-2006, The Dojo Foundation
|
||
|
All Rights Reserved.
|
||
|
|
||
|
Licensed under the Academic Free License version 2.1 or above OR the
|
||
|
modified BSD license. For more information on Dojo licensing, see:
|
||
|
|
||
|
http://dojotoolkit.org/community/licensing.shtml
|
||
|
*/
|
||
|
|
||
|
dojo.require("dojo.widget.DomWidget");
|
||
|
|
||
|
function test_domwidget_ctor(){
|
||
|
var dw = new dojo.widget.DomWidget();
|
||
|
|
||
|
jum.assertEquals("test1", (typeof dw), "object");
|
||
|
//jum.assertEquals("test2", dw.widgetType, "Widget");
|
||
|
jum.assertEquals("test3", null, dw.templateNode);
|
||
|
jum.assertEquals("test4", null, dw.templateString);
|
||
|
// whatever the next line used to do, now it just throws an error because of missing arguments
|
||
|
//dw.buildFromTemplate();
|
||
|
}
|