???????????????doh????????
???????????? ???????[ 2014/5/28 16:49:50 ] ???????????????????? doh
??????????????????????????????????????test??????????飺
????http://<server>/util/doh/runner.html?test=dojo/tests/fx
????????????????????????????????£????test?????????????????飬?????????paths??????
????util/doh/runner.html?paths=org/myorg??../../../mycode/org/myorg&test=org/myorg/mymodule/tests/alltests
????paths?????ж????????????dojoConfig????packages???????name??location
?????????path????????????????飬 ????????“;”??????
????util/doh/runner.html?paths=org/myorg??../../../mycode/org/myorg;com/mycom??../../../x/com/mycom&test=com/mycom/tests
????doh?в???????????????????????????????????????????????doh.register???????????????????????????С?
????define([
????"my/test/widget/Foo0"??
????"my/test/widget/Foo1"??
????"my/test/widget/Foo2"
????]);
????????
define(["doh/runner"]?? function(doh){
doh.register("MyTests"?? [
function assertTrueTest(){
doh.assertTrue(true);
doh.assertTrue(1);
doh.assertTrue(!false);
}??
{
name: "thingerTest"??
setUp: function(){
this.thingerToTest = new Thinger();
this.thingerToTest.doStuffToInit();
}??
runTest: function(){
doh.assertEqual("blah"?? this.thingerToTest.blahProp);
doh.assertFalse(this.thingerToTest.falseProp);
// ...
}??
tearDown: function(){
}
}??
// ...
]);
});
|
??????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11