| Summary: | DrilldownOutlineUnitTest: ClassCastException while setting the value of a TreeBox field | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Mazda Mortasawi <mazda.mortasawi> |
| Component: | Scout | Assignee: | Project Inbox <scout.core-inbox> |
| Status: | CLOSED WONTFIX | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | jeremie.bresson, trekking09 |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows Vista | ||
| Whiteboard: | |||
| Bug Depends on: | 402308 | ||
| Bug Blocks: | |||
Improvment of Testing support. DrilldownOutlineUnitTest is deprecated with Scout 3.9, since it is not based on JUnit. Therefore this ticket should be closed. (In reply to comment #2) > DrilldownOutlineUnitTest is deprecated with Scout 3.9, since it is not based > on JUnit. Therefore this ticket should be closed. => WONTFIX. Add Target Milestone Is there a replacement for DrilldownOutlineUnitTest with junit? https://bugs.eclipse.org/bugs/show_bug.cgi?id=403310 will provide some similar functionality based on JUnit, but it will not be a drop-in replacement. ok looks good. Bug closed, shipped with 3.9.0 (Kepler) |
Build Identifier: 3.8.0 Bug in DrilldownOutlineUnitTest.fillTreeBox(): The argument of setValue is a single object. However, a Treebox expect an array of values. Workaround: Subclass DrilldownOutlineUnitTest and override fillTreeBox() correctly -> field.setValue(new Object[]{node.getPrimaryKey()}); Reproducible: Always Steps to Reproduce: Start a DrilldownOutline test on a SearchForm with a TreeBox field.