Details |
Last modification |
View Log
| RSS feed
Rev |
Author |
Line No. |
Line |
2150 |
mathias |
1 |
if(!dojo._hasResource["tests._base._loader.hostenv_browser"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code.
|
|
|
2 |
dojo._hasResource["tests._base._loader.hostenv_browser"] = true;
|
|
|
3 |
dojo.provide("tests._base._loader.hostenv_browser");
|
|
|
4 |
|
|
|
5 |
tests.register("tests._base._loader.hostenv_browser",
|
|
|
6 |
[
|
|
|
7 |
function getText(t){
|
|
|
8 |
var filePath = dojo.moduleUrl("tests._base._loader", "getText.txt");
|
|
|
9 |
var text = dojo._getText(filePath);
|
|
|
10 |
t.assertEqual("dojo._getText() test data", text);
|
|
|
11 |
}
|
|
|
12 |
]
|
|
|
13 |
);
|
|
|
14 |
|
|
|
15 |
}
|