| Summary: | [Tests] Constrain tests declaratively | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Modeling] EMF | Reporter: | Eike Stepper <stepper> | ||||
| Component: | cdo.releng | Assignee: | Eike Stepper <stepper> | ||||
| Status: | CLOSED FIXED | QA Contact: | Eike Stepper <stepper> | ||||
| Severity: | enhancement | ||||||
| Priority: | P3 | ||||||
| Version: | 4.3 | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
Add a the following method to IScenario: public Set<String> getCapabilities(); and give all IConfigs a chance to contribute to it. Created attachment 202215 [details]
Patch A
Committed revision 8967 Committed revision 8968: - trunk/plugins/org.eclipse.emf.cdo.tests Test case reduction: 2863 ==================== AllTests: 10488 -> 9204 AllTests H2: 15900 -> 14321 Keeping this bug open because the generic store capabilities still have to be handled: skipStoreWithoutExternalReferences() skipStoreWithoutQueryXRefs() skipStoreWithoutLargeObjects() skipStoreWithoutFeatureMaps() skipStoreWithoutHandleRevisions() skipStoreWithoutRawAccess() Moving all open issues to 4.2. Open bugs can be ported to 4.1 maintenance after they've been fixed in master. Moving all outstanding enhancements to 4.3 This has been fixed a while ago. Closing. Closing. |
Provide and use the following annotations: @Inherited @Retention(RetentionPolicy.RUNTIME) @Target({ ElementType.TYPE, ElementType.METHOD }) public @interface Requires { String[] value(); } @Inherited @Retention(RetentionPolicy.RUNTIME) @Target({ ElementType.TYPE, ElementType.METHOD }) public @interface Skips { String[] value(); }