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

Bug 402301

Summary: Migration: UI Independent tests
Product: z_Archived Reporter: Jeremie Bresson <jeremie.bresson>
Component: ScoutAssignee: Project Inbox <scout.core-inbox>
Status: CLOSED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: judith.gull
Version: unspecifiedFlags: judith.gull: kepler+
Target Milestone: ---   
Hardware: All   
OS: All   
See Also: https://git.eclipse.org/c/scout/org.eclipse.scout.rt.git/commit/?id=292726cde7a7703e706e3228b23ac1f4c9e9248c
https://git.eclipse.org/c/scout/org.eclipse.scout.rt.git/commit/?id=df88f7f69b6f65f60ef8eada6073bed649bd3be3
https://git.eclipse.org/c/scout/org.eclipse.scout.rt.git/commit/?id=12b821cfb7779b2d43f49011481e855bd1aca923
https://git.eclipse.org/c/scout/org.eclipse.scout.rt.git/commit/?id=a7ebc1084964c2e41fd84100765c26dec7fb0df5
Whiteboard:
Bug Depends on: 400240, 400541, 402901, 402925    
Bug Blocks:    

Description Jeremie Bresson CLA 2013-03-04 06:04:33 EST
Refactor and migrate the closed source test suite from BSI to Eclipse Repository

With this bug, the UI Independent tests should be migrated to the Eclipse Repository.
Comment 1 Jeremie Bresson CLA 2013-03-07 13:17:47 EST
Commit is ready:
https://github.com/BSI-Business-Systems-Integration-AG/scout.rt/commit/4da21d4f16cab366ed37f650b058de3d3789b266
=> 163 changed files with 17,817 additions and 431 deletions

Some tests are not contained:
org.eclipse.scout.rt.server.CancelTransactionTest
org.eclipse.scout.rt.server.http.HttpKeepAliveTest
org.eclipse.scout.rt.server.http.HttpServer
org.eclipse.scout.rt.server.services.common.file.RemoteFileServiceTest

They need to be rewritten.


Two other classes:
org.eclipse.scout.rt.ui.swing.basic.SwingScoutModelFinderTest
org.eclipse.scout.rt.ui.swing.window.desktop.layout.MultiSplitLayoutTest

belongs to bug 402304 (they need an UI Layer).
Comment 2 Jeremie Bresson CLA 2013-03-08 06:15:58 EST
Push with commit 7bde78fa89d5c7ee34a5d472080f4bbaa894e96e
Comment 3 Judith Gull CLA 2013-03-22 04:35:28 EDT
A few tests still need to be migrated. Moved to M7.
Comment 4 Jeremie Bresson CLA 2013-04-04 01:02:16 EDT
Review from JGU pushed with commit:
b798eeaf92983ae605fac0097cac27d7046faecb
Comment 5 Jeremie Bresson CLA 2013-04-04 01:41:13 EDT
Input CGU: 
BrowserInfoBuilderTest also belongs to this category. org.eclipse.scout.rt.ui.rap.test fragment added.

Pushed with commit: 961f3cea610b378532b07a8295dda682848114c4
Comment 6 Jeremie Bresson CLA 2013-04-04 04:10:50 EDT
Pushed commit 283ae7becfda9797b1347ec2b234422f8ed82e1e for the missing .project file.
Comment 7 Jeremie Bresson CLA 2013-04-10 06:36:28 EDT
Pushed commit b00f8cd7f129d8d8ad536e34d19c9f13049f84fb with additional tests.
Comment 8 Jeremie Bresson CLA 2013-04-11 10:44:20 EDT
Changed open:
https://git.eclipse.org/r/11815
Comment 9 Jeremie Bresson CLA 2013-04-17 09:12:56 EDT
Open change:
https://git.eclipse.org/r/11975

Additional test fragment and tests:
* org.eclipse.scout.jaxws216.test
* org.eclipse.scout.rt.testing.client.test
* org.eclipse.scout.rt.testing.server.test
Comment 10 Jeremie Bresson CLA 2013-04-22 03:23:36 EDT
Open change:
https://git.eclipse.org/r/12089

Add tests in:
* org.eclipse.scout.rt.testing.client.test
* org.eclipse.scout.rt.testing.server.test

Requires bug 405846 (junit > 4.9)
Comment 11 Jeremie Bresson CLA 2013-05-02 03:00:39 EDT
Open change:
https://git.eclipse.org/r/12445

Modifications:
* add fragment: org.eclipse.scout.rt.testing.shared.test
* some corrections from review
Comment 12 Jeremie Bresson CLA 2013-05-17 06:19:07 EDT
New and noteworthy section added:
http://wiki.eclipse.org/Scout/NewAndNoteworthy/3.9#JUnit_test_suite_for_Scout_RT

@Judith:
Can you verify please?
Comment 13 Matthias Zimmermann CLA 2013-07-08 17:25:34 EDT
Bug closed, shipped with 3.9.0 (Kepler)