Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 368158 - DrilldownOutlineUnitTest: ClassCastException while setting the value of a TreeBox field
Summary: DrilldownOutlineUnitTest: ClassCastException while setting the value of a Tre...
Status: CLOSED WONTFIX
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Scout (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows Vista
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 402308
Blocks:
  Show dependency tree
 
Reported: 2012-01-09 08:39 EST by Mazda Mortasawi CLA
Modified: 2021-08-19 11:20 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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)