Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 370881

Summary: Add JUnit to test target runtime filter rule
Product: [WebTools] WTP Common Tools Reporter: Rosendo Martinez <rosendo>
Component: wst.validationAssignee: Rosendo Martinez <rosendo>
Status: RESOLVED FIXED QA Contact: Chuck Bridgham <cbridgha>
Severity: normal    
Priority: P3 CC: ccc, kaloyan, raghunathan.srinivasan, shr31223
Version: 3.0.3Flags: rosendo: pmc_approved? (david_williams)
raghunathan.srinivasan: pmc_approved+
rosendo: pmc_approved? (naci.dai)
rosendo: pmc_approved? (deboer)
rosendo: pmc_approved? (neil.hauge)
kaloyan: pmc_approved+
rosendo: pmc_approved? (cbridgha)
ccc: review+
Target Milestone: 3.3.2   
Hardware: PC   
OS: Windows XP   
Whiteboard: PMC_Approved
Attachments:
Description Flags
3_3_maintenance junit code
none
3_3_maintenance junit code. Header was added to the new source file ccc: iplog+

Description Rosendo Martinez CLA 2012-02-07 15:19:15 EST
Build Identifier: 

Need to create junit to test the new target runtime filer rule support in validation framework.

See https://bugs.eclipse.org/bugs/show_bug.cgi?id=366065 for more details.

Reproducible: Always
Comment 1 Rosendo Martinez CLA 2012-02-08 12:33:16 EST
Created attachment 210746 [details]
3_3_maintenance junit code
Comment 2 Rosendo Martinez CLA 2012-02-08 16:40:51 EST
Created attachment 210756 [details]
3_3_maintenance junit code. Header was added to the new source file
Comment 3 Carl Anderson CLA 2012-02-08 16:46:27 EST
Please ensure that this JUnit runs properly before releasing.

Looks good- I approve.
Comment 4 Rosendo Martinez CLA 2012-02-08 17:33:13 EST
PMC Review requested due to junit change

Explain why you believe this is a stop-ship defect. Or, if it is a "hotbug"
(requested by an adopter) please document it as such.

This junit code is introduced to test new functionality in Validation Framework.

Is there a work-around? If so, why do you believe the work-around is
insufficient?

There is no workaround.


How has the fix been tested? Is there a test case attached to the bugzilla
record? Has a JUnit Test been added?

This has been tested by hand and by running all the Validation Framework junit test bucket.


Give a brief technical overview. Who has reviewed this fix?

Carl Anderson has reviewed this fix.

Target runtime filter rule support was added in Validation Framework.
This junit code will test this new functionality.


What is the risk associated with this fix?

Low - This is only to test new functionality in Validation Framework.
Comment 5 Roberto Sanchez Herrera CLA 2012-02-09 09:47:33 EST
Code committed to R3_3_maintenance and HEAD for WTP 3.3.2 and 3.4.