| Summary: | can not run services test in deployed mode | ||||||
|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Jing Qian <jqian> | ||||
| Component: | EDT | Assignee: | Yun Feng Ma <mayunf> | ||||
| Status: | CLOSED FIXED | QA Contact: | |||||
| Severity: | blocker | ||||||
| Priority: | P3 | CC: | jvincens, svihovec | ||||
| Version: | unspecified | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Jing Qian
Created attachment 206245 [details]
test projects
Hi Jing, There are two solutions for this issue: 1) Remove the below lines in /org.eclipse.edt.runtime.javascript/runtime/org/eclipse/edt/eunit/runtime/TestListMgr.js egl.loadScript( "org.eclipse.edt.eunit.runtime","ConstantsLib" ); egl.loadScript( "org.eclipse.edt.eunit.runtime","LogResult" ); egl.loadScript( "org.eclipse.edt.eunit.runtime","AssertionFailedException" ); egl.loadScript( "org.eclipse.edt.eunit.runtime","MultiStatus" ); 2) Put a empty method named egl.loadScript into egl.js. I prefer the first one, because TestListMgr.js is only copied once if there is no change, right? The third solution is that excluding the all parts in package "org.eclipse.edt.eunit.runtime" to generate "egl.loadScript". I've checked in a fix with the third solution. You need regenerated TestListMgr.egl using next build and copy it to javascript runtime. Thanks. solution 3 is not acceptable as it is hard coding to check the package name of eunit.runtime pacakges, this may not work for me, since under this packages, I have 4 files inside the "system eglar", AND another 5 files inside user's workspace. We should NOT distinguish system defined part vs. user defined part, they should be treated equally. anyway, please back out solution3, check in solution 2 thx Revert the change and fixed with solution 2 now. Thanks. verified with 201111110901's build |