| Summary: | [Compatibility] we need to fix up 122 errors in our org.eclipse.ui.tests bundle | ||
|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Paul Webster <pwebster> |
| Component: | UI | Assignee: | Paul Webster <pwebster> |
| Status: | VERIFIED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | daniel_megert, dean.t.roberts, emoffatt, ob1.eclipse, remy.suen |
| Version: | 4.1 | ||
| Target Milestone: | 4.2 M5 | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | |||
|
Description
Paul Webster
Sounds like we want both branches of the bundle to be identical, correct? Since we have R3_development and R4_development we'd have to push fixes to one branch and then cherry pick them over to the other one, correct? (In reply to comment #1) > Sounds like we want both branches of the bundle to be identical, correct? > > Since we have R3_development and R4_development we'd have to push fixes to one > branch and then cherry pick them over to the other one, correct? I'm interested in ideas here. One option is to hide certain operations and assertions behind a facade, and have each stream provide the facade that would actually compile. Another option is to factor out specific tests to the different implementations into extra test bundles. I prefer the first option, as even though those tests are testing internals, they also capture 3.x behaviour that we need to emulate in the compatibility layer. PW (In reply to comment #2) > One option is to hide certain operations and assertions behind a facade, and > have each stream provide the facade that would actually compile. > > Another option is to factor out specific tests to the different implementations > into extra test bundles. Well, either way they'd have to be kept in synch in both branches. I would fine with going with the first option as that is probably the least amount of work as well as being less disruptive than the latter. OK, we decided to split the tests between 3.8 and 4.2. Dean has done the work based off of 4.2 to remove the tweaklet and to get the UITestSuite running (even with the compile errors). See http://git.eclipse.org/c/platform/eclipse.platform.ui.git/log/?h=droberts/bug351851 PW The plan on Monday: We'll merge Dean's changes into master, after 4.2 M4 ships. Tests that aren't using API will represent as compile errors. We need to convert them to new API (check presentation against the model/widgets/renderers). We're not going to leave it as open-ended, but work on this for 3 days. The goal is to 1) remove all compile errors in prep for the 4.2 long builds in M5, 2) convert as many tests to meaningful 4.2 tests as possible, and 3) when our 3 days are up, make sure the other tests are marked so we can find them but do not show up in the results as pass *or* fail. I've broken the packages up amongst us. Eric: org.eclipse.ui.tests.dnd org.eclipse.ui.tests.zoom Remy: org.eclipse.ui.tests.multieditor org.eclipse.ui.tests.quickaccess Paul: org.eclipse.ui.tests.dynamicplugins org.eclipse.ui.tests.services Oleg: org.eclipse.ui.tests.session Dean: org.eclipse.ui.tests.internal org.eclipse.ui.parts.tests.util Please run the test files and/or test suites that you fix (not the full UITestSuite for the moment, that's too slow) Other bundles you need: :extssh:pwebster@dev.eclipse.org:/cvsroot/eclipse org.eclipse.test.performance git.eclipse.org/gitroot/platform/eclipse.platform.runtime.git org.eclipse.core.tests.harness The bundles like ui.tests.performance and ui.test.harness are in our eclipse.platform.ui git repo. PW Just FYI: The easiest way to run the tests is to use context menu>Run As>Junit Plugin tests. But I usually have to bump the test JVM to 1.6 to get reasonable results. PW (In reply to comment #5) > org.eclipse.ui.tests.session I fixed compile errors in session tests. The fixed tests are going to fail due to a number of reasons, most immediate being: - The Bug95357Test: editor area is reported as not being visible (obscured by "Welcome"?), then DragOperations#drag() has this: Assert.fail("DND needs some updating"); - The Bug108033Test: "History" view is present that it does not expect (could be due to Git?) http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=0d98115edaf95f17982215d3c9d54e435d26d1dd Pushed in >20111212. commit 88771cf53356ffabfbeab67c9db3ff068e2b60e5 This removes the compile errors from 'dnd' and 'zoom'. We have mostly failures when running (not really a surprise). compiles at least PW Still compiles in I20120123-2200 :-) PW |