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

Bug 368158

Summary: DrilldownOutlineUnitTest: ClassCastException while setting the value of a TreeBox field
Product: z_Archived Reporter: Mazda Mortasawi <mazda.mortasawi>
Component: ScoutAssignee: 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:    

Description Mazda Mortasawi CLA 2012-01-09 08:39:28 EST
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.
Comment 1 Jeremie Bresson CLA 2013-03-04 06:37:39 EST
Improvment of Testing support.
Comment 2 Adrian Moser CLA 2013-03-08 02:59:23 EST
DrilldownOutlineUnitTest is deprecated with Scout 3.9, since it is not based on JUnit. Therefore this ticket should be closed.
Comment 3 Jeremie Bresson CLA 2013-03-08 07:51:15 EST
(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.
Comment 4 Jeremie Bresson CLA 2013-03-08 08:11:43 EST
Add Target Milestone
Comment 5 Judith Gull CLA 2013-03-12 09:05:21 EDT
Is there a replacement for DrilldownOutlineUnitTest with junit?
Comment 6 Adrian Moser CLA 2013-03-14 06:35:26 EDT
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.
Comment 7 Judith Gull CLA 2013-03-15 03:09:39 EDT
ok looks good.
Comment 8 Matthias Zimmermann CLA 2013-07-08 17:26:00 EDT
Bug closed, shipped with 3.9.0 (Kepler)