Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 311000 - JavaScript tests are green when you execute corrupt JavaScript
Summary: JavaScript tests are green when you execute corrupt JavaScript
Status: RESOLVED FIXED
Alias: None
Product: RAP
Classification: RT
Component: RWT (show other bugs)
Version: 1.3   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 1.3 M7   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-29 07:35 EDT by Holger Staudacher CLA
Modified: 2010-04-29 11:52 EDT (History)
0 users

See Also:


Attachments
fix (6.05 KB, patch)
2010-04-29 11:41 EDT, Tim Buschtoens CLA
holger.staudacher: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Holger Staudacher CLA 2010-04-29 07:35:26 EDT
When you write a JavaScript qx test class and integrate it into the test framework the class will be executed by the framework. But if the class contains corrupt JavaScript it will not be executed and the tests are green. This happens e.g. if you forget a "," between the members. The tests should be red if the classes contain corrupt JavaScript.
Comment 1 Tim Buschtoens CLA 2010-04-29 11:41:18 EDT
Created attachment 166507 [details]
fix

fix
Comment 2 Holger Staudacher CLA 2010-04-29 11:51:51 EDT
I committed the patch to CVS HEAD with small changes. Thanks for the great work.