You must make a custom assertion available to the model editor before you can use it in a LISA test case.
To deploy a custom assertion:
asserts=com.mycompany.lisa.AssertFileStartsWith com.mycompany.lisa.AssertFileStartsWith=com.itko.lisa.editor.DefaultAssertController,com.itko.lisa.editor.DefaultAssertEditor
You can also add this assertion to the wizards in the wizards.xml file.
If your custom assertion depends on any third-party libraries, copy those libraries to the LISA_HOME/hotDeploy directory.
In this example, the AssertionFileStartsWith described previously has already been packaged for you at LISA_HOME/doc/DevGuide/lisaint-examples.jar. This custom assertion does not depend on any third-party libraries.
|
Copyright © 2014 CA Technologies.
Tous droits réservés.
|
|