AMX Unit Tests
Author: lloyd.chambers@sun.com

AMX Unit Tests FAQ
Questions? lloyd.chambers@sun.com
Last updated: 23 June 2005
NOTE: some of the links in this document refer to an internal sun server and thus may not work. This will be fixed.
1. Introduction
When developing for AMX, please also refer to the AMX Internal Developer's Guide (glassfish/admin-core/mbeanapi/src/java/com/sun/enterprise/management
/doc-files/amx-internal-developer-guide.html).
The unit tests for AMX are written using JUnit as the framework. When you introduce a new AMX MBean, or modify an existing one, you must write a new unit test and/or add/change existing unit tests to correspond to the changes you've made. This is a requirement before you check in changes to the AMX interfaces or implementation. Code should also be reviewed by amx-dev@sun.com.
2. Checkin procedure
See the procedure in admin-core/mbeanapi/src/java/com/sun/enterpise/management/doc-files/amx-internal-developer-guide.html.
3. Reference

Item | Discussion
AddingAMXUnitTests.html | How to modify an existing unit test and/or add a new unit test for AMX or its support code. glassfish/admin/mbeanapi-impl/tests/ com/sun/enterprise/management/doc-files/AddingAMXUnitTests.html
RunningUnitTests.html | How to run the AMX unit tests.. glassfish/admin/mbeanapi-impl/tests/ com/sun/enterprise/management/doc-files/RunningUnitTests.html
AMX Internal Developer's Guide | How to write new AMX MBeans. glassfish/admin-core/mbeanapi/src/java/com/sun/enterprise/management/doc-files/ amx-internal-developer-guide.html