This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 17154 - XTest code should be repackaged and refactored
Summary: XTest code should be repackaged and refactored
Status: NEW
Alias: None
Product: obsolete
Classification: Unclassified
Component: xtest (show other bugs)
Version: 3.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@obsolete
URL:
Keywords:
: 31948 (view as bug list)
Depends on:
Blocks:
 
Reported: 2001-10-31 09:32 UTC by Martin Brehovsky
Modified: 2006-12-04 08:47 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Brehovsky 2001-10-31 09:32:43 UTC
Currently almost all XTest classes reside in one package. This state is becoming
unreadable and it should be revamped. Three new packages should be created:
org.netbeans.xtest.harness - for harness itself
org.netbeans.xtest.driver - for driver classes
org.netbeans.xtest.pe - for publishing engine

Because of compatibility, the current code can stay in the place as it is today,
but if possible, it should be moved to appropriate package as soon as possible.

Also some classes have very interesting names (like NbTestConfig and
NbTestConfig2). This should be avoided and refactored.
Comment 1 Milan Kubec 2001-10-31 12:34:29 UTC
NbTestConfig2 just needs to be renamed, hopefully not refactored. Or
NbTestConfig can be just deleted ;-)
Comment 2 Martin Brehovsky 2001-10-31 13:11:05 UTC
Ok :-). We might eventually delete all the classes we don't use
anymore.  We should make a public statement, that only new way of test
configuration is supported (via config files) and if nobody will
complain, we might delete the unused files and rename the new ones.
Comment 3 Martin Brehovsky 2003-04-15 16:11:36 UTC
Adding one more requirement - XTest should not implement business
logic in Ant's build scripts -> this basically means to reimplement
most of the logic from module_harness.xml, harness.xml and driver.xml
in pure Java.
Comment 4 Martin Brehovsky 2003-04-15 16:11:50 UTC
*** Issue 31948 has been marked as a duplicate of this issue. ***