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 42721 - Document and test XML api
Summary: Document and test XML api
Status: CLOSED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Infrastructure (show other bugs)
Version: 4.x
Hardware: PC Linux
: P2 blocker (vote)
Assignee: Pavel Buzek
URL:
Keywords:
Depends on:
Blocks: 40771
  Show dependency tree
 
Reported: 2004-05-03 13:59 UTC by Jaroslav Tulach
Modified: 2006-03-24 10:08 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
commit log for tests (25.47 KB, text/plain)
2004-10-22 10:34 UTC, Pavel Buzek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jaroslav Tulach 2004-05-03 13:59:58 UTC
The XML API should be mentioned in arch*.xml
document using <api group"layer" /> tag and if
possible should be tested by appropriate unit tests.
Comment 1 Jaroslav Tulach 2004-05-03 14:05:47 UTC
Also please fix  other API categories: EJB is standard, OpenAPI
official, etc.
Comment 2 Pavel Buzek 2004-10-12 23:29:08 UTC
The documentation issues are fixed.

Checking in arch.xml;
/cvs/j2eeserver/arch.xml,v  <--  arch.xml
new revision: 1.3; previous revision: 1.2
done
Processing log script arguments...
More commits to come...
Removing
api/doc/org/netbeans/modules/j2ee/deployment/plugins/api/doc-files/package.html;
/cvs/j2eeserver/api/doc/org/netbeans/modules/j2ee/deployment/plugins/api/doc-files/package.html,v
 <--  package.html
new revision: delete; previous revision: 1.1
done
Checking in
api/doc/org/netbeans/modules/j2ee/deployment/plugins/api/doc-files/plugin-layer-file.html;
/cvs/j2eeserver/api/doc/org/netbeans/modules/j2ee/deployment/plugins/api/doc-files/plugin-layer-file.html,v
 <--  plugin-layer-file.html
new revision: 1.2; previous revision: 1.1
done
Processing log script arguments...
More commits to come...
RCS file:
/cvs/j2eeserver/api/doc/org/netbeans/modules/j2ee/deployment/plugins/api/package.html,v
done
Checking in
api/doc/org/netbeans/modules/j2ee/deployment/plugins/api/package.html;
/cvs/j2eeserver/api/doc/org/netbeans/modules/j2ee/deployment/plugins/api/package.html,v
 <--  package.html
initial revision: 1.1
done
Processing log script arguments...
More commits to come...
Checking in nbproject/project.properties;
/cvs/j2eeserver/nbproject/project.properties,v  <--  project.properties
new revision: 1.3; previous revision: 1.2
done
Checking in nbproject/project.xml;
/cvs/j2eeserver/nbproject/project.xml,v  <--  project.xml
new revision: 1.3; previous revision: 1.2
done
Comment 3 Pavel Buzek 2004-10-22 10:34:52 UTC
Created attachment 18446 [details]
commit log for tests
Comment 4 Pavel Buzek 2004-10-22 10:38:52 UTC
I have added basic unit tests for registration of various factories in
layer and in deployment xml file (ServerRegistryTest). Most tests are
reincarnation of existing tests but the way they were built is
simplified (standard unit tests instead of 2 modules). 
More tests may be added in future but this should be enough for now.
Comment 5 Jaroslav Tulach 2004-10-26 17:00:04 UTC
ServerRegistryTestBase is really advanced. Ok, that is good start,
just keep your work in this direction.