This page describe the detail of non-unit-test of instrument.

How to build a test

A.Create a test class, e.g, "". Do something in method main().

B.Create a class with a method "Premain":

C.Create a jar file, e.g, "test.jar", with Premain-class attribute which denotes the class "PreMain" in the manifest. It is convenience to pack "PreMain.class" in it.

D.lauch Java VM with the following options:

Here VMPath is the path of InstrumentDLLName; InstrumentDLLName is the name(without suffix) of a instrument dll file

Test descriptions