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

Bug 315717

Summary: [build] implement test cases for validation
Product: z_Archived Reporter: Steffen Pingel <steffen.pingel>
Component: MylynAssignee: Markus Knittig <markus>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3 Keywords: contributed
Version: unspecified   
Target Milestone: 0.7   
Hardware: PC   
OS: Linux   
Whiteboard:
Bug Depends on:    
Bug Blocks: 315716    
Attachments:
Description Flags
mylyn/context/zip
none
Simple test for validate
none
mylyn/context/zip
none
Test with fixture
steffen.pingel: iplog+
mylyn/context/zip none

Description Steffen Pingel CLA 2010-06-04 01:34:34 EDT
The repository validation tests should check basic things like a successful connection, invalid URLs, non Hudson URLs etc. similar to TracClientTest.testValidate().

Server configuration should be encapsulated in a HudsonFixture class similar to TracFixture. Initially, http://mylyn.eclipse.org/hudson can be used as a test environment.
Comment 1 Steffen Pingel CLA 2010-06-04 01:35:08 EDT
Created attachment 171066 [details]
mylyn/context/zip
Comment 2 Markus Knittig CLA 2010-06-07 18:02:08 EDT
Created attachment 171343 [details]
Simple test for validate
Comment 3 Markus Knittig CLA 2010-06-07 18:02:10 EDT
Created attachment 171344 [details]
mylyn/context/zip
Comment 4 Markus Knittig CLA 2010-06-07 18:57:05 EDT
Created attachment 171351 [details]
Test with fixture
Comment 5 Markus Knittig CLA 2010-06-07 18:57:08 EDT
Created attachment 171352 [details]
mylyn/context/zip
Comment 6 Steffen Pingel CLA 2010-06-07 22:29:19 EDT
Excellent! I have applied the patch and added an AllHudsonTests test suite. You can add all new test classes there and we'll include the suite in the nightly test builds at some point to run all Hudson tests regularly.