Changes between Initial Version and Version 4 of Ticket #14153


Ignore:
Timestamp:
Oct 26, 2011, 9:59:49 PM (8 years ago)
Author:
Rawld Gill
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #14153

    • Property Severity changed from major to normal
    • Property Cc Chris Mitchell added
    • Property Component changed from Loader to TestFramework
    • Property Summary changed from require() not defined by async loader to dojo/test/i18n not working in rhino
    • Property Priority changed from high to normal
  • Ticket #14153 – Description

    initial v4  
    88}}}
    99
    10 Test something that uses the require function, for instance i18n:
     10The following fails:
    1111
    1212{{{
    1313java -jar ../shrinksafe/js.jar config.js baseUrl=../../dojo load=doh test=dojo/tests/i18n
    1414}}}
    15 
    16 You get some fun errors; in particular, note the !TypeError:
    17 
    18 {{{
    19 ------------------------------------------------------------
    20 The Dojo Unit Test Harness, $Rev: 23869 $
    21 Copyright (c) 2011, The Dojo Foundation, All Rights Reserved
    22 loading test dojo/tests/i18n
    23 ------------------------------------------------------------
    24 
    25 ERROR:
    26         NO registerUrl() METHOD AVAILABLE.
    27 ERROR:
    28         NO registerUrl() METHOD AVAILABLE.
    29 9 tests to run in 1 groups
    30 ------------------------------------------------------------
    31 GROUP "tests.i18n" has 9 tests to run
    32 failed to load resource (../../dojo/tests/nls/salutations.js)
    33 TypeError: require is not a function, it is undefined.
    34 Error: test timeout in salutations-de
    35         ERROR IN:
    36                  (function () {var def = new doh.Deferred();require([dojo.getL10
    37 nName("dojo/tests", "salutations", locale)], function (bundle) {doh.assertEqual(
    38 value, bundle.hello);def.callback(true);});return def;})
    39 }}}