Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 383762 - Throw exceptions during notifications when testing is on.
Summary: Throw exceptions during notifications when testing is on.
Status: CLOSED FIXED
Alias: None
Product: EMFStore
Classification: Modeling
Component: Common (show other bugs)
Version: 0.9.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-28 06:09 EDT by Julian Sommerfeldt CLA
Modified: 2012-06-29 08:56 EDT (History)
1 user (show)

See Also:


Attachments
Git-patch: Throw exceptions during notifications in testing mode. (10.35 KB, patch)
2012-06-28 06:10 EDT, Julian Sommerfeldt CLA
emueller: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Julian Sommerfeldt CLA 2012-06-28 06:09:44 EDT
If testing is on, exceptions occurring during notifications are thrown now. This is e.g. useful for JUnit tests where you want to see, that a test failed.
For this a new SafeRunner was introduced to capsulate the check for testing.
Comment 1 Julian Sommerfeldt CLA 2012-06-28 06:10:57 EDT
Created attachment 218004 [details]
Git-patch: Throw exceptions during notifications in testing mode.
Comment 2 Edgar Mueller CLA 2012-06-29 08:56:49 EDT
Patch has been applied. Thanks for the contribution.