Community
Participate
Working Groups
Build Identifier: 201110090901 undefined is not a function Reproducible: Always Steps to Reproduce: 1. Check out project "org.eclipse.edt.eunit.test" from kan-cvs. 2. Add JavaScript Generator to the project. 3. Clean the whole workspace. 4. Generate EGL test driver for JavaScript 5. The error exists in: fvt.datatypes.TestAnyTypeLib_rui fvt.datatypes.TestCollectionsLib_rui fvt.datatypes.TestNullableNumericLib_rui fvt.datatypes.TestNullableStringLib_rui fvt.externalTypes.TestExternalTypeLib_rui fvt.Json.JSONFixedNumTestLib_rui fvt.Json.JSONTestsLib_rui fvt.operators.TestNewLib_rui fvt.operators.TestSetValuesLib_rui fvt.primitives.TestDictionaryLib_rui fvt.xml.DCR43684Lib_rui fvt.xml.FlexEmployeeLib_rui
Setting as P1/Major due to the number of test cases affected.
Where exactly is "undefined is not a function" occurring -- where does it appear?
TestExecutionLib.egl (which is part of the eunit framework) had a compile error in it; this error went away when I regenerated this part. After this, the various generated _rui handlers executed successfully, except for those which had compile errors in the eunit test project. So it works in my development environment which is fully sync'ed to CVS and has no private / local fixes. I suspect there has been a recent fix in JS gen / compile / build that explains why the compile error went away when I regenerated.
Verified in build 20111023