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.
Summary: | Move ValidateLayer*Test to ide/test/qa-functional/ or to general build harness | ||
---|---|---|---|
Product: | apisupport | Reporter: | Jesse Glick <jglick> |
Component: | Harness | Assignee: | pgebauer <pgebauer> |
Status: | NEW --- | ||
Severity: | blocker | CC: | issues, jskrivanek, jtulach, pjiricka |
Priority: | P3 | Keywords: | TEST |
Version: | 4.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | TASK | Exception Reporter: |
Description
Jesse Glick
2004-03-25 15:29:17 UTC
Ok, I will move them to ide and merge them with "clicking" validation tests, so the IDE starts only once during commit-validation. From issue 55077, by jglick: ValidateLayerJavaHelpTest.java should not be in core/javahelp/test/unit/src; it should be in ide/test/qa-functional/src. It is not a unit test of the JavaHelp API; it is a functional test of the complete IDE build. (Yes I know there are ValidateLayer*Test.java in core/test/unit/src but those should be moved too, we just haven't gotten to it yet.) There validation tests should probably be moved to harness as they are valuable for everyone building on top of NetBeans platform. Do you want to do it Jesse? If not, then please suggest where could in your opinion be the right place and reassign back. Interesting idea. For that I might want to convert them to Ant tasks though. Ant tasks are ok, but they will need access to various NetBeans APIs. So either you put all of these APIs on the ant task classpath or you create a ant task that will start the NetBeans and then execute validation actions provided by real modules. I would suggest to provide: ie org.netbeans.modules.apisupport.Validate { public String getName (); public void validate () throws AssertionError; } which could be registered into META-INF/services by various modules and which would then do the actual verification. The ant task would just start the IDE in nongui mode and checked for all Validate objects and reported success/failure. Relevant to recently discussed ideas for aggregating AU from multiple binary sources - would like to run some sanity checks on resulting applications. |