java-Djava.security.policy=<security-policy-property>-cp<classpath>com.sun.jini.compat.harness.Runner<full-path-to-config-file-name>[-categoriesc1,...] [-testst1,...] [-xcategoriesc1,...] [-xtestst1,...] [-noduplicates]
security-policy-property- The security policy file that is specified for the
Runnerprogram must be thepolicy.allfound in thepolicysubdirectory of the LDJ Kit installation directory.
classpath- The classpath will need to include the
compat.jarfile, located in thelibsubdirectory of the LDJ Kit installation directory, as well as any implementation(s) of Admin components that you've written.
full-path-to-config-file-name- Specifies the absolute path of the LDJ Kit configuration file. A sample configuration file (
ldj.prop) is in the LDJ Kit installation directory.
categories- Specifies a comma-separated list of test categories. When the test list is generated, only tests for the given categories will be included. This argument is optional, but if it is not provided, then the property
com.sun.jini.compat.categoriesmust exist in the config file and must specify a comma-separated list of test categories. Valid values for this property areclient,service, andlookup.
tests- Specifies a comma-separated list of tests or test sets to run. If
testsis not specified, all LDJ Kit tests which support the specifiedcategoriesare included. The tests in each category are:client
com.sun.jini.compat.test.RequestPacketTest
com.sun.jini.compat.test.UnicastRequestTest
com.sun.jini.compat.test.CodeDownloadTest
service
com.sun.jini.compat.test.RequestPacketTest
com.sun.jini.compat.test.UnicastRequestTest
com.sun.jini.compat.test.CodeDownloadTest
com.sun.jini.compat.test.AnnouncementResponseTest
com.sun.jini.compat.test.RegistrationTest
com.sun.jini.compat.test.MultiRegistrationTest
com.sun.jini.compat.test.PublicGroupTest
com.sun.jini.compat.test.NonPublicGroupTest
com.sun.jini.compat.test.MultiGroupTest
com.sun.jini.compat.test.LeaseTest
lookup
com.sun.jini.compat.test.LookupByServiceIDTest
com.sun.jini.compat.test.LookupByClassTest
com.sun.jini.compat.test.LookupBySuperClassTest
com.sun.jini.compat.test.LookupByInterfaceTest
com.sun.jini.compat.test.MultipleServiceLeaseRenewalTest
com.sun.jini.compat.test.ServiceIDTest
com.sun.jini.compat.test.ServiceLeaseExpirationTest
com.sun.jini.compat.test.MultipleEventLeaseRenewalTest
com.sun.jini.compat.test.EventLeaseExpirationTest
xtests- Specifies a comma-separated list of tests to exclude from the test list.
xcategories- Specifies a comma-separated list of categories to exclude from the test list.
noduplicates- Specifies that duplicate test entries are to be removed from the test list. By default, duplicates are retained.
com.sun.jini.compat.reggie.proxy.debug- If set to any value, this property indicates that debugging information related to the execution of the LDJ Kit's lookup service proxy should be printed to
System.err. Set this property on the LDJ Kit command line, if calls to the lookup service are unexpectedly returningnullvalues for service objects, service types, attribute set classes, attribute sets, or attribute values.
On UNIX platforms:
java -Djava.security.policy=<install dir>/policy/policy.all
-cp <install dir>/lib/compat.jar
com.sun.jini.compat.harness.Runner
<install dir>/ldj.prop
-categories service
On Microsoft Windows platforms:
java -Djava.security.policy=<install dir>\policy\policy.all
-cp <install dir>\lib\compat.jar
com.sun.jini.compat.harness.Runner
<install dir>\ldj.prop
-categories service
RegistrationTest (where <install dir> is the installation directory of the LDJ Kit)
On UNIX platforms:
java -Djava.security.policy=<install dir>/policy/policy.all
-cp <install dir>/lib/compat.jar
com.sun.jini.compat.harness.Runner
<install dir>/ldj.prop
-tests com.sun.jini.compat.test.RegistrationTest
On Microsoft Windows platform:
java -Djava.security.policy=<install dir>\policy\policy.all
-cp <install dir>\lib\compat.jar
com.sun.jini.compat.harness.Runner
<install dir>\ldj.prop
-tests com.sun.jini.compat.test.RegistrationTest
where com.sun.jini.compat.test.RegistrationTest
could be replaced with any of the individual LDJ Kit tests listed in the
Jini(TM)
Technology Lookup, Discovery, and Join Compatibility Kit Test Descriptions.