To use the Rational PureAPI functions in managed code programs:
Call PureAPI functions from a Java program (for PureCoverage only):
1. Add import Rational.PureAPI to any source file in which you want to use the PureAPI functions.
2. Call the PureAPI functions in your code as appropriate.
Call PureAPI functions from a .NET program:
1. Add a reference to PureAPI.dll to the project in which you want to use the PureAPI functions.
2. Specify namespace Rational in your program. PureAPI functionality is implemented in this namespace in the managed class PureAPI.
3. Call the PureAPI functions in your code as appropriate.
Notes:
§ All methods in the PureAPI class are static.
§ The PureAPI functions are not supported in native-compiled program code.
Notes that apply to PureCoverage only:
§ The PureAPI functions support JVM version 1.2.2 and above.
§ For Java programs, you can import the PureAPI class from the package <JRE folder>\lib\ext\Rational.jar. Since this folder is exposed by the Java Runtime Environment by default, you do not have to add it to your CLASSPATH.
§ In IBM WebSphere Studio, add Rational.jar as an external JAR to your project properties.
§ For assistance and information about configuring your Java Runtime Environment for PureCoverage, click .
§
(C) Copyright IBM Corporation 1993, 2010.