Description: check the behaviour of the inside and outside PRE handlers This test is designed to be automatic; it cannot be performed manually.

run this test

The TestFixturePlugin has all the handlers defined. For each handler call, it will replace the text "%handlerNameN%" (where handlerName is the name of the handler and N is a digit) with a unique identifier. The identifier is composed as:

NXXXM_lineL

where N is the digit from %handleNameN%, XXX is OPH for outsidePreHandler etc, and L is the number of the line processed in this call to the handler.

Designed by: Crawford Currie

Actual

%outsidePreHandler1%
%insidePreHandler1%
%outsidePreHandler2%
%insidePreHandler2%
%insidePreHandler3%
%outsidePreHandler3%

Expected

1OPH1_line1 1OPH1_line2 1OPH1_line3
1IPH1_line1
1IPH1_line2
1IPH1_line3
2OPH2_line1 2OPH2_line2 2OPH2_line3
2IPH2_line1
2IPH2_line2
2IPH2_line3

3IPH3_line1
3IPH3_line2
3IPH3_line3

3OPH3_line1 3OPH3_line2 3OPH3_line3


This topic: TestCases > TestCaseAutoInOutPre
Topic revision: r0 - 2005-03-27 - TWikiContributor
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback