Skip to main content

Please review: Improved export of test sources

1 reply [Last post]
dtrounine
Offline
Joined: 2006-11-28
Points: 0

Hi all,

I've prepared new update which addresses some issues related to export of tests sources in test export mode.

Issue:

Java sources are copied into export directory with the same relative pathnames as they are stored in test suite. These pathnames don't always respect Java package names of copied sources. This makes difficult debugging, because most debugger looks for sources in locations corresponding the Java package names.

Fix:

Added simple Java source parser for extracting package names from copied sources. Exported test sources are now copied into right locations suitable for debugging.

This update include fixed ExportScript which copies the sources, new Java Source Model code including a simple Java parser and new unit tests.

Update is available in my branch:

https://cqme.dev.java.net/svn/cqme/branches/users/dtrounine/testExport/m...

from revision 419 to HEAD

I cannot give you a link to FishEye because it's currently out of sync with the Subversion repository, and my update is not visible on FishEye.

Will send patch with this update in next post.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Dmitri Trounine

[exportSources.patch]
---------------------------------------------------------------------
To unsubscribe, e-mail: meframework-unsubscribe@cqme.dev.java.net
For additional commands, e-mail: meframework-help@cqme.dev.java.net