You are viewing a plain text version of this content. The canonical link for it is here.
Posted to watchdog-dev@jakarta.apache.org by ar...@locus.apache.org on 2000/01/27 19:50:19 UTC
cvs commit: jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/tagext/VariableInfo positiveGetClassName.html positiveGetDeclare.html positiveGetScope.html positiveGetVarName.html
arun 00/01/27 10:50:18
Added: src/clients/org/apache/jcheck/jsp/client HelloWorld.html
src/clients/org/apache/jcheck/jsp/client/core_syntax/beantests/getProperty
GetpropertyTest.html positiveGetProps.html
src/clients/org/apache/jcheck/jsp/client/core_syntax/beantests/setProperty
SetpropertyTest.html positiveSetBooleanObj.html
positiveSetBooleanPrim.html positiveSetByteObj.html
positiveSetBytePrim.html positiveSetCharObj.html
positiveSetCharPrim.html positiveSetDoubleObj.html
positiveSetDoublePrim.html positiveSetFloatObj.html
positiveSetFloatPrim.html
positiveSetIndexedProp.html positiveSetIntObj.html
positiveSetIntPrim.html positiveSetLongObj.html
positiveSetLongPrim.html positiveSetPropAll.html
positiveSetPropNoParam.html
positiveSetPropParam.html
positiveSetPropSingleQuotes.html
positiveSetPropValue.html positiveUseBeanInit.html
positiveUseBeanNext.html
src/clients/org/apache/jcheck/jsp/client/core_syntax/beantests/useBean
UsebeanTest.html negativeDupIDSession1.html
negativeDupIDSession2.html
positiveBeanNameClass.html positiveBeanNameRes.html
positiveBodyExists.html positiveBodyNew.html
positiveDupIDPage1.html positiveDupIDPage2.html
positiveDupIDRequest1.html
positiveDupIDRequest2.html positiveNoBody.html
positivePageScope.html positiveTypeAssignable.html
src/clients/org/apache/jcheck/jsp/client/core_syntax/directives/forward
ForwardTest.html negativeForwardNoBuff.html
negativeForwardUsedStream.html
positiveDoubleQuotes.html
positiveForwardAbsHtml.html
positiveForwardRelHtml.html
positiveSingleQuotes.html
src/clients/org/apache/jcheck/jsp/client/core_syntax/directives/include
IncludeTest.html includecommon.html
positiveDoubleQuotes.html positiveInclude.html
positiveIncludeAbs.html
positiveIncludeDynamicAbs.html
positiveIncludeDynamicRel.html
positiveIncludeRel.html
positiveIncludeStaticAbs.html
positiveIncludeStaticRel.html
positiveSingleQuotes.html
src/clients/org/apache/jcheck/jsp/client/core_syntax/directives/page/buffer
BufferTest.html
src/clients/org/apache/jcheck/jsp/client/core_syntax/directives/page/content
ContenttypeTest.html positiveContenttype.html
src/clients/org/apache/jcheck/jsp/client/core_syntax/directives/page/errorpage
ErrorpageTest.html positiveErrorPage.html
src/clients/org/apache/jcheck/jsp/client/core_syntax/directives/page/extend
ExtendsTest.html positiveExtends.html
src/clients/org/apache/jcheck/jsp/client/core_syntax/directives/page/imports
ImportTest.html implicitImportHttp.html
implicitImportJsp.html implicitImportLang.html
implicitImportServlet.html negativeImport.html
positiveImport.html
src/clients/org/apache/jcheck/jsp/client/core_syntax/directives/page/info
InfoTest.html positiveInfo.html
src/clients/org/apache/jcheck/jsp/client/core_syntax/directives/page/language
LanguageTest.html positiveLang.html
src/clients/org/apache/jcheck/jsp/client/core_syntax/directives/page/session
SessionTest.html
src/clients/org/apache/jcheck/jsp/client/core_syntax/directives/taglib
positiveTagLib.html
src/clients/org/apache/jcheck/jsp/client/core_syntax/implicitobjects
ImplicitObjectsTest.html checkApplication.html
checkConfig.html checkException.html checkOut.html
checkPage.html checkPageContext.html
checkRequest.html checkResponse.html
checkSession.html
src/clients/org/apache/jcheck/jsp/client/core_syntax/scripting/declaration
DeclarationTest.html positiveDeclaration.html
src/clients/org/apache/jcheck/jsp/client/core_syntax/scripting/expressions
ExpressionsTest.html positiveExpr.html
positiveExprBean.html positiveExprComment.html
positiveExprSyntax.html
src/clients/org/apache/jcheck/jsp/client/core_syntax/scripting/scriptlet
ScriptletTest.html positiveScriptlet.html
positiveScriptletComment.html
positiveScriptletLiteral.html
positiveScriptletMultiline.html
positiveScriptletMultiline2.html
positiveScriptletUseBean.html
src/clients/org/apache/jcheck/jsp/client/engine/HttpJspPage
HttpJspPageTest.html positiveJSPInitExtends.html
positiveJSPInitJSP.html
src/clients/org/apache/jcheck/jsp/client/engine/JspFactory
JspFactoryTest.html positiveGetDefaultFactory.html
positiveGetPageContext.html
positiveReleasePageContext.html
positiveSetDefaultFactory.html
src/clients/org/apache/jcheck/jsp/client/engine/JspWriter
JspWriterTest.html
src/clients/org/apache/jcheck/jsp/client/engine/JspWriter/misc
MiscTest.html positiveClear.html positiveFlush.html
positiveGetBufferSize.html
positiveGetBufferSizeUnBuffered.html
positiveGetRemaining.html
positiveGetRemainingBufferUnset.html
positiveIsAutoFlush.html
src/clients/org/apache/jcheck/jsp/client/engine/JspWriter/print
PrintTest.html positivePrintBoolean.html
positivePrintChar.html positivePrintCharArray.html
positivePrintDouble.html
positivePrintDoubleMaxBound.html
positivePrintDoubleMinBound.html
positivePrintFloat.html
positivePrintFloatMaxBound.html
positivePrintFloatMinBound.html
positivePrintInt.html positivePrintIntMaxBound.html
positivePrintIntMinBound.html
positivePrintLong.html
positivePrintLongMaxBound.html
positivePrintLongMinBound.html
positivePrintObj.html positivePrintStr.html
positivePrintln.html positivePrintlnBoolean.html
positivePrintlnChar.html
positivePrintlnCharArray.html
positivePrintlnDouble.html
positivePrintlnFloat.html positivePrintlnInt.html
positivePrintlnLong.html positivePrintlnObj.html
positivePrintlnStr.html
src/clients/org/apache/jcheck/jsp/client/engine/JspWriter/write
WriteTest.html positiveWriteCharArray1.html
positiveWriteCharArray2.html positiveWriteInt.html
positiveWriteIntExt.html
positiveWriteIntLowBit.html
positiveWriteIntMaxValue.html positiveWriteStr.html
positiveWriteStrOffset.html
src/clients/org/apache/jcheck/jsp/client/engine/PageContext
PageContextTest.html checkGetOut.html
checkGetRequest.html checkGetResponse.html
checkGetServlet.html checkGetServletConfig.html
checkGetServletContext.html checkGetSession.html
forGetException.html negativeRemoveAttribute.html
positiveForward.html positiveGetAttributeAvbl.html
positiveGetAttributeNamesInScope.html
positiveGetAttributeNotAvbl.html
positiveGetAttributeScope.html positiveInclude.html
positivePopBody.html positivePushBody.html
positiveRemoveAttribute.html
positiveSetAttribute.html
positiveSetAttributeInScope.html
src/clients/org/apache/jcheck/jsp/client/tagext/BodyContent
positiveGetEnclosingWriter.html
positiveGetReader.html positiveGetString.html
src/clients/org/apache/jcheck/jsp/client/tagext/BodyTagSupport
positiveDoAfterBody.html positiveDoEndTag.html
positiveDoInitBody.html positiveLifeCycle.html
positiveRelease.html
src/clients/org/apache/jcheck/jsp/client/tagext/TagData
positiveTagGetAttribute.html
positiveTagGetAttributeString.html
positiveTagSetAttribute.html
src/clients/org/apache/jcheck/jsp/client/tagext/TagInfo
positiveGetAttributesWithNoInfo.html
positiveGetBodyContent.html
positiveGetInfoString.html
positiveGetTagClassName.html
positiveGetTagName.html
src/clients/org/apache/jcheck/jsp/client/tagext/TagSupport
positiveDoStartTag.html positiveGetParent.html
positiveGetValue.html positiveGetValues.html
positiveRemoveValue.html
positiveSetPageContext.html positiveSetValue.html
src/clients/org/apache/jcheck/jsp/client/tagext/VariableInfo
positiveGetClassName.html positiveGetDeclare.html
positiveGetScope.html positiveGetVarName.html
Log:
Moved Golden files from the server side to the client side.
Revision Changes Path
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/HelloWorld.html
Index: HelloWorld.html
===================================================================
<html>
HelloWorld
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/core_syntax/beantests/getProperty/GetpropertyTest.html
Index: GetpropertyTest.html
===================================================================
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<TITLE>
Getproperty test
</TITLE>
</HEAD>
<BODY>
<H1>
Getproperty test
</H1>
<H3>
Summary
</H3>
The getproperty action sets the value of properties in a Bean.
<H3>Positive Tests</H3>
<A NAME="positiveGetProps"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>GetpropertyTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="GetpropertyTest.java">GetpropertyTest.java</A>
<A HREF="StringBean.java">StringBean.java</A>
</TD>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>core_syntax.beantests.getProperty.GetpropertyTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID positiveGetProps -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
<H3>Negative Tests</H3>
<A NAME="negativeGetProps"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>GetpropertyTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="GetpropertyTest.java">GetpropertyTest.java</A>
<A HREF="StringBean.java">StringBean.java</A>
</TD>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>core_syntax.beantests.getProperty.GetpropertyTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID negativeGetProps -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
</BODY>
</HTML>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/core_syntax/beantests/getProperty/positiveGetProps.html
Index: positiveGetProps.html
===================================================================
<html>
<title>positiveGetProps</title>
<body>
<!-- Declaring the bean with out body -->
hello
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/core_syntax/beantests/setProperty/SetpropertyTest.html
Index: SetpropertyTest.html
===================================================================
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<TITLE>
Setproperty test
</TITLE>
</HEAD>
<BODY>
<H1>
Setproperty test
</H1>
<H3>
Summary
</H3>
The 'jsp:setProperty' action sets the value of the properties in
the bean.The 'name' attribute denotes an object that must be defined
before this action appears.
<h2>
Positive tests
</h2>
<p><b>positiveUseBeanInit:</b>Try to create a valid useBean action.In the action,
add a setProperty statement to set a specific property of the bean. Ensure that
the bean class does not exist before calling the page.Calling the page for the
first time.</p>
<A NAME="positiveUseBeanInit" ></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>SetpropertyTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="SetpropertyTest.java">SetpropertyTest.java</A>
<A HREF="SetpropBean.java">SetpropBean.java</A>
</TD>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>core_syntax.beantests.setProperty.SetpropertyTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID positiveUseBeanInit -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
<p><b>positiveSetPropParam:</b>Try to create a valid useBean.Set a specific
property of that bean from the request.</p>
<A NAME="positiveSetPropParam" ></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>SetpropertyTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="SetpropertyTest.java">SetpropertyTest.java</A>
<A HREF="SetpropBean.java">SetpropBean.java</A>
</TD>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>core_syntax.beantests.setProperty.SetpropertyTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID positiveSetPropParam -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
<p><b>positiveSetPropValue:</b>Try to create a useBean action in JSP.Set a specific
property of that bean .
</p>
<A NAME="positiveSetPropValue" ></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>SetpropertyTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="SetpropertyTest.java">SetpropertyTest.java</A>
<A HREF="SetpropBean.java">SetpropBean.java</A>
</TD>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>core_syntax.beantests.setProperty.SetpropertyTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID positiveSetPropValue -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
<p><b>positiveSetPropAll:</b>Try to create a valid useBean action.Set all the
properties of the bean from the request.</p>
<A NAME="positiveSetPropAll" ></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>SetpropertyTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="SetpropertyTest.java">SetpropertyTest.java</A>
<A HREF="SetpropBean.java">SetpropBean.java</A>
</TD>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>core_syntax.beantests.setProperty.SetpropertyTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID positiveSetPropAll -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
<p><b>positiveUseBeanNext:</b>Try to create a valid useBean.In the body of the action, put
setProperty statements to set the specific properties of the bean.Ensured that the bean
exists already.</p>
<A NAME="positiveUseBeanNext" ></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>SetpropertyTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="SetpropertyTest.java">SetpropertyTest.java</A>
<A HREF="SetpropBean.java">SetpropBean.java</A>
</TD>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>core_syntax.beantests.setProperty.SetpropertyTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID positiveUseBeanNext -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
<br>
<p><b>positiveSingleQuotes:</b> check whether a value in the setProperty given as a single quoted expression works</p>
<A NAME="positiveSingleQuotes" ></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>SetpropertyTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="SetpropertyTest.java">SetpropertyTest.java</A>
<A HREF="MiscBean.java">MiscBean.java</A>
</TD>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>core_syntax.beantests.setProperty.SetpropertyTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID positiveSingleQuotes -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
<p><b>positiveSetBooleanObj:</b> To check whether setProperty with a Boolean (object) is working in the bean.</p>
<A NAME="positiveSetBooleanObj" ></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>SetpropertyTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="SetpropertyTest.java">SetpropertyTest.java</A>
<A HREF="MiscBean.java">MiscBean.java</A>
</TD>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>core_syntax.beantests.setProperty.SetpropertyTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID positiveSetBooleanObj -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
<p><b>positiveSetBooleanPrim:</b> To check whether setProperty with a Boolean (Primitive Type) is working in the bean.</p>
<A NAME="positiveSetBooleanPrim" ></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>SetpropertyTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="SetpropertyTest.java">SetpropertyTest.java</A>
<A HREF="MiscBean.java">MiscBean.java</A>
</TD>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>core_syntax.beantests.setProperty.SetpropertyTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID positiveSetBooleanPrim -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
<p><b>positiveSetByteObj:</b> To check whether setProperty with a Byte (object) is working in the bean.</p>
<A NAME="positiveSetByteObj" ></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>SetpropertyTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="SetpropertyTest.java">SetpropertyTest.java</A>
<A HREF="MiscBean.java">MiscBean.java</A>
</TD>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>core_syntax.beantests.setProperty.SetpropertyTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID positiveSetByteObj -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
<p><b>positiveSetBytePrim:</b> To check whether setProperty with a Byte (Primitive Type) is working in the bean.</p>
<A NAME="positiveSetBytePrim" ></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>SetpropertyTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="SetpropertyTest.java">SetpropertyTest.java</A>
<A HREF="MiscBean.java">MiscBean.java</A>
</TD>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>core_syntax.beantests.setProperty.SetpropertyTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID positiveSetBytePrim -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
<p><b>positiveSetCharObj:</b> To check whether setProperty with a Char (object) is working in the bean.</p>
<A NAME="positiveSetCharObj" ></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>SetpropertyTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="SetpropertyTest.java">SetpropertyTest.java</A>
<A HREF="MiscBean.java">MiscBean.java</A>
</TD>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>core_syntax.beantests.setProperty.SetpropertyTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID positiveSetCharObj -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
<p><b>positiveSetCharPrim:</b> To check setProperty with a Char (Primitive Type) is working in the bean.</p>
<A NAME="positiveSetCharPrim" ></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>SetpropertyTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="SetpropertyTest.java">SetpropertyTest.java</A>
<A HREF="MiscBean.java">MiscBean.java</A>
</TD>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>core_syntax.beantests.setProperty.SetpropertyTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID positiveSetCharPrim -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
<p><b>positiveSetDoubleObj:</b> To check setProperty with a Double (object) is working in the bean.</p>
<A NAME="positiveSetDoubleObj" ></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>SetpropertyTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="SetpropertyTest.java">SetpropertyTest.java</A>
<A HREF="MiscBean.java">MiscBean.java</A>
</TD>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>core_syntax.beantests.setProperty.SetpropertyTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID positiveSetDoubleObj -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
<p><b>positiveSetDoublePrim:</b> To check setProperty with a Double (Primitive Type) is working in the bean.</p>
<A NAME="positiveSetDoublePrim" ></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>SetpropertyTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="SetpropertyTest.java">SetpropertyTest.java</A>
<A HREF="MiscBean.java">MiscBean.java</A>
</TD>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>core_syntax.beantests.setProperty.SetpropertyTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID positiveSetDoublePrim -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
<p><b>positiveSetIntObj:</b> To check setProperty with an Int (object) is working in the bean.</p>
<A NAME="positiveSetIntObj" ></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>SetpropertyTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="SetpropertyTest.java">SetpropertyTest.java</A>
<A HREF="MiscBean.java">MiscBean.java</A>
</TD>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>core_syntax.beantests.setProperty.SetpropertyTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID positiveSetIntObj -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
<p><b>positiveSetIntPrim:</b> To check setProperty with an Int (Primitive Type) is working in the bean.</p>
<A NAME="positiveSetIntPrim" ></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>SetpropertyTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="SetpropertyTest.java">SetpropertyTest.java</A>
<A HREF="MiscBean.java">MiscBean.java</A>
</TD>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>core_syntax.beantests.setProperty.SetpropertyTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID positiveSetIntPrim -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
<p><b>positiveSetFloatObj:</b> To check setProperty with a Float (object) is working in the bean.</p>
<A NAME="positiveSetFloatObj" ></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>SetpropertyTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="SetpropertyTest.java">SetpropertyTest.java</A>
<A HREF="MiscBean.java">MiscBean.java</A>
</TD>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>core_syntax.beantests.setProperty.SetpropertyTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID positiveSetFloatObj -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
<p><b>positiveSetFloatPrim:</b> To check setProperty with a Float (Primitive Type) is working in the bean.</p>
<A NAME="positiveSetFloatPrim" ></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>SetpropertyTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="SetpropertyTest.java">SetpropertyTest.java</A>
<A HREF="MiscBean.java">MiscBean.java</A>
</TD>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>core_syntax.beantests.setProperty.SetpropertyTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID positiveSetFloatPrim -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
<p><b>positiveSetLongObj:</b> To check setProperty with a Long (object) is working in the bean.</p>
<A NAME="positiveSetLongObj" ></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>SetpropertyTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="SetpropertyTest.java">SetpropertyTest.java</A>
<A HREF="MiscBean.java">MiscBean.java</A>
</TD>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>core_syntax.beantests.setProperty.SetpropertyTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID positiveSetLongObj -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
<p><b>positiveSetLongPrim:</b> To check setProperty with a Long (Primitive Type) is working in the bean.</p>
<A NAME="positiveSetLongPrim" ></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>SetpropertyTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="SetpropertyTest.java">SetpropertyTest.java</A>
<A HREF="MiscBean.java">MiscBean.java</A>
</TD>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>core_syntax.beantests.setProperty.SetpropertyTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID positiveSetLongPrim -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
<p><b>positiveSetPropNoParam:</b> A bean is instantiated and its property is
set from the request.</p>
<A NAME="positiveSetPropNoParam" ></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>SetpropertyTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="SetpropertyTest.java">SetpropertyTest.java</A>
<A HREF="SetpropBean.java">SetpropBean.java</A>
</TD>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>core_syntax.beantests.setProperty.SetpropertyTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID positiveSetPropNoParam -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
<p><b>positiveSetIndexedProp:</b>Here, the setProperty tag is used to set the value for
an indexed property.An array is declared and defined in a
scriptlet and then assigned through the setProperty tag, with
an expression.</p>
<A NAME="positiveSetIndexedProp" ></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>SetpropertyTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="SetpropertyTest.java">SetpropertyTest.java</A>
<A HREF="SetpropBean.java">SetpropBean.java</A>
</TD>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>core_syntax.beantests.setProperty.SetpropertyTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID positiveSetIndexedProp -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
<h2>Negative tests</h2>
<p><b>negativePropSyntax:</b> Try to create a valid useBean tag.Use both param and
value in the setProperty action.Expected for translation error.</p>
<A NAME="negativePropSyntax" ></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>SetpropertyTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="SetpropertyTest.java">SetpropertyTest.java</A>
<A HREF="SetpropBean.java">SetpropBean.java</A>
</TD>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>core_syntax.beantests.setProperty.SetpropertyTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID negativePropSyntax -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
</BODY>
</HTML>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/core_syntax/beantests/setProperty/positiveSetBooleanObj.html
Index: positiveSetBooleanObj.html
===================================================================
<html>
<title>positiveSetBooleanObj</title>
<body>
<!-- We are testing if are able to set a Boolean property and get it -->
true
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/core_syntax/beantests/setProperty/positiveSetBooleanPrim.html
Index: positiveSetBooleanPrim.html
===================================================================
<html>
<title>positiveSetBooleanPrim</title>
<body>
<!-- We are testing if are able to set a PrimitiveBoolean property and get it -->
false
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/core_syntax/beantests/setProperty/positiveSetByteObj.html
Index: positiveSetByteObj.html
===================================================================
<html>
<title>positiveSetByteObj</title>
<body>
<!-- We are testing if are able to set a byte property and get it -->
123
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/core_syntax/beantests/setProperty/positiveSetBytePrim.html
Index: positiveSetBytePrim.html
===================================================================
<html>
<title>positiveSetBytePrim</title>
<body>
<!-- We are testing if are able to set a primitiveByte property and get it -->
123
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/core_syntax/beantests/setProperty/positiveSetCharObj.html
Index: positiveSetCharObj.html
===================================================================
<html>
<title>positiveSetCharObj</title>
<body>
<!-- We are testing if are able to set a Character property and get it -->
A
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/core_syntax/beantests/setProperty/positiveSetCharPrim.html
Index: positiveSetCharPrim.html
===================================================================
<html>
<title>positiveSetCharPrim</title>
<body>
<!-- We are testing if are able to set a Primitive Character property and get it -->
R
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/core_syntax/beantests/setProperty/positiveSetDoubleObj.html
Index: positiveSetDoubleObj.html
===================================================================
<html>
<title>positiveSetDoubleObj</title>
<body>
<!-- We are testing if are able to set a Double property and get it -->
123456.0
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/core_syntax/beantests/setProperty/positiveSetDoublePrim.html
Index: positiveSetDoublePrim.html
===================================================================
<html>
<title>positiveSetDoublePrim</title>
<body>
<!-- We are testing if are able to set a PrimitiveDouble property and get it -->
123456.0
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/core_syntax/beantests/setProperty/positiveSetFloatObj.html
Index: positiveSetFloatObj.html
===================================================================
<html>
<title>positiveSetFloatObj</title>
<body>
<!-- We are testing if are able to set a Float property and get it -->
15.0
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/core_syntax/beantests/setProperty/positiveSetFloatPrim.html
Index: positiveSetFloatPrim.html
===================================================================
<html>
<title>positiveSetFloatPrim</title>
<body>
<!-- We are testing if are able to set a primitiveFloat property and get it -->
123.0
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/core_syntax/beantests/setProperty/positiveSetIndexedProp.html
Index: positiveSetIndexedProp.html
===================================================================
<html>
<title>positiveSetIndexedProp</title>
<body>
<!-- Declaring the bean without body -->
<!-- Accessing the property through a scriptlet -->
24
25
26
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/core_syntax/beantests/setProperty/positiveSetIntObj.html
Index: positiveSetIntObj.html
===================================================================
<html>
<title>positiveSetIntObj</title>
<body>
<!-- We are testing if are able to set an int property and get it -->
21
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/core_syntax/beantests/setProperty/positiveSetIntPrim.html
Index: positiveSetIntPrim.html
===================================================================
<html>
<title>positiveSetIntPrim</title>
<body>
<!-- We are testing if are able to set a PrimitiveInt property and get it -->
12
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/core_syntax/beantests/setProperty/positiveSetLongObj.html
Index: positiveSetLongObj.html
===================================================================
<html>
<title>positiveSetLongObj</title>
<body>
<!-- We are testing if are able to set a Long property and get it -->
12345
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/core_syntax/beantests/setProperty/positiveSetLongPrim.html
Index: positiveSetLongPrim.html
===================================================================
<html>
<title>positiveSetLongPrim</title>
<body>
<!-- We are testing if are able to set a Long property and get it -->
54321
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/core_syntax/beantests/setProperty/positiveSetPropAll.html
Index: positiveSetPropAll.html
===================================================================
<html>
<title>positiveSetPropAll</title>
<body>
<!-- Declaring the bean with out body -->
<!-- Accessing the properties thru a scriptlet -->
MANGO <br> hello
<br> 90336
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/core_syntax/beantests/setProperty/positiveSetPropNoParam.html
Index: positiveSetPropNoParam.html
===================================================================
<html>
<title>positiveSetPropNoParam</title>
<body>
<!-- Declaring the bean with body -->
<!-- Accessing the property thru a scriptlet -->
SAPPOTA
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/core_syntax/beantests/setProperty/positiveSetPropParam.html
Index: positiveSetPropParam.html
===================================================================
<html>
<title>positiveSetPropParam</title>
<body>
<!-- Declaring the bean with out body -->
<!-- Accessing the property thru a scriptlet -->
MANGO
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/core_syntax/beantests/setProperty/positiveSetPropSingleQuotes.html
Index: positiveSetPropSingleQuotes.html
===================================================================
<html>
<title>positiveSetPropSingleQuotes</title>
<body>
<!- testing if are able to set a property using single quoted expression -->
HTTP/1.0
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/core_syntax/beantests/setProperty/positiveSetPropValue.html
Index: positiveSetPropValue.html
===================================================================
<html>
<title>positiveSetPropValue</title>
<body>
<!-- Declaring the bean with out body -->
<!-- Accessing the property thru a scriptlet -->
KHATTA-MEETHA
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/core_syntax/beantests/setProperty/positiveUseBeanInit.html
Index: positiveUseBeanInit.html
===================================================================
<html>
<title>positiveUseBeanInit</title>
<body>
<!-- Declaring the bean -->
<!-- Accessing the property thru a scriptlet -->
Tony
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/core_syntax/beantests/setProperty/positiveUseBeanNext.html
Index: positiveUseBeanNext.html
===================================================================
<html>
<title>positiveUseBeanNext</title>
<body>
<!-- Declaring the bean with out body -->
<!-- Accessing the property thru a scriptlet -->
90336
APPLE
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/core_syntax/beantests/useBean/UsebeanTest.html
Index: UsebeanTest.html
===================================================================
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<TITLE> UsebeanTest </TITLE>
</HEAD>
<BODY>
<H1> UsebeanTest </H1>
<H3> Summary </H3>
The useBean action is used to instantiate a Bean which can be retrieved.
<H3> Positive Tests </H3>
<P><b> positiveBodyNew Test: </b> Try to create a valid useBean tag in the JSP page with a
non-empty body. Ensure that the classname specified does not
exist.</P>
<A NAME="positiveBodyNew"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>UsebeanTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="UsebeanTest.java">UsebeanTest.java</A>
<A HREF="Counter.java">Counter.java</A>
<A HREF="String_IntBean.java">String_IntBean.java</A>
<A HREF="IntBean.java">IntBean.java</A>
</TD>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>core_syntax.beantests.useBean.UsebeanTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID positiveBodyNew -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
<P><b> positiveNoBody Test: </b> Try to create a valid useBean tag in the JSP page with no body.</P>
<A NAME="positiveNoBody"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>UsebeanTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="UsebeanTest.java">UsebeanTest.java</A>
<A HREF="Counter.java">Counter.java</A>
<A HREF="String_IntBean.java">String_IntBean.java</A>
<A HREF="IntBean.java">IntBean.java</A>
</TD>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>core_syntax.beantests.useBean.UsebeanTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID positiveNoBody -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
<P><b> positiveBodyExists Test: </b> Try to create a valid useBean tag in the JSP page with a
non-empty body and with a class name that has already been
created.</P>
<A NAME="positiveBodyExists"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>UsebeanTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="UsebeanTest.java">UsebeanTest.java</A>
<A HREF="Counter.java">Counter.java</A>
<A HREF="String_IntBean.java">String_IntBean.java</A>
<A HREF="IntBean.java">IntBean.java</A>
</TD>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>core_syntax.beantests.useBean.UsebeanTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID positiveBodyExists -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
<P><b> positiveDupIDRequest Test: </b> Try to create two useBean tags on different JSP pages with
same ID, but with scope attribute being set to "request".</P>
<A NAME="positiveDupIDRequest"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>UsebeanTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="UsebeanTest.java">UsebeanTest.java</A>
<A HREF="Counter.java">Counter.java</A>
<A HREF="String_IntBean.java">String_IntBean.java</A>
<A HREF="IntBean.java">IntBean.java</A>
</TD>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>core_syntax.beantests.useBean.UsebeanTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID positiveDupIDRequest -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
<P><b> positiveSessionScope Test: </b> Create the JSP page with useBean scope set to "session". Load the
CounterBean. Try to reload the page multiple times.</P>
<A NAME="positiveSessionScope"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>UsebeanTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="UsebeanTest.java">UsebeanTest.java</A>
<A HREF="Counter.java">Counter.java</A>
<A HREF="String_IntBean.java">String_IntBean.java</A>
<A HREF="IntBean.java">IntBean.java</A>
</TD>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>core_syntax.beantests.useBean.UsebeanTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID positiveSessionScope -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
<P><b> positiveDupIDPage Test: </b> Try to create two useBean tags on <B><I>different</I></B> JSP
pages with the same ID, with the scope attribute of each being set
to "page". Thereafter Access each page one after the other.</P>
<A NAME="positiveDupIDPage"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>UsebeanTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="UsebeanTest.java">UsebeanTest.java</A>
<A HREF="Counter.java">Counter.java</A>
<A HREF="String_IntBean.java">String_IntBean.java</A>
<A HREF="IntBean.java">IntBean.java</A>
</TD>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>core_syntax.beantests.useBean.UsebeanTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID positiveDupIDPage -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
<P><b> positivePageScope Test: </b> Create the JSP page with useBean scope set to "page". Load the
CounterBean. Try to reload the page multiple times.</P>
<A NAME="positivePageScope"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>UsebeanTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="UsebeanTest.java">UsebeanTest.java</A>
<A HREF="Counter.java">Counter.java</A>
<A HREF="String_IntBean.java">String_IntBean.java</A>
<A HREF="IntBean.java">IntBean.java</A>
</TD>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>core_syntax.beantests.useBean.UsebeanTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID positivePageScope -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
<P><b> positiveTypeAssignable </b> we are using 'class' and 'type' together and 'class' is assignable
to type. This should return the expected page without error.</P>
<A NAME="positiveTypeAssignable"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>UsebeanTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="UsebeanTest.java">UsebeanTest.java</A>
<A HREF="Counter.java">Counter.java</A>
<A HREF="NewCounter.java">NewCounter.java</A>
</TD>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>core_syntax.beantests.useBean.UsebeanTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID positiveTypeAssignable -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
<P><b> positiveBeanNameClass</b> Declaring the bean with bean name as the class file.
We should get the page output without error.</P>
<A NAME="positiveBeanNameClass"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>UsebeanTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="UsebeanTest.java">UsebeanTest.java</A>
<A HREF="Counter.java">Counter.java</A>
<A HREF="NewCounter.java">NewCounter.java</A>
</TD>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>core_syntax.beantests.useBean.UsebeanTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID positiveBeanNameClass -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
<P><b> positiveBeanNameClass</b> Declaring the bean with bean name as the resource file.
We should get page output without error.</P>
<A NAME="positiveBeanNameRes"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>UsebeanTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="UsebeanTest.java">UsebeanTest.java</A>
<A HREF="Counter.java">Counter.java</A>
<A HREF="NewCounter.java">NewCounter.java</A>
</TD>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>core_syntax.beantests.useBean.UsebeanTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID positiveBeanNameRes -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
<H3> Negative Tests </H3>
<P><b> negativeDupIDSession Test: </b> Try to create two useBean tags on different JSP pages with
same ID, but with scope attribute being set to "session"</P>
<A NAME="negativeDupIDSession"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>UsebeanTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="UsebeanTest.java">UsebeanTest.java</A>
<A HREF="Counter.java">Counter.java</A>
<A HREF="String_IntBean.java">String_IntBean.java</A>
<A HREF="IntBean.java">IntBean.java</A>
</TD>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>core_syntax.beantests.useBean.UsebeanTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID negativeDupIDSession -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
<P><b> negativeInvalidClass Test: </b> Try to create a JSP with useBean tag that contains a
non-implicit class reference and no source file for that class.</P>
<A NAME="negativeInvalidClass"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>UsebeanTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="UsebeanTest.java">UsebeanTest.java</A>
<A HREF="Counter.java">Counter.java</A>
<A HREF="String_IntBean.java">String_IntBean.java</A>
<A HREF="IntBean.java">IntBean.java</A>
</TD>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>core_syntax.beantests.useBean.UsebeanTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID negativeInvalidClass -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
<P><b> negativeDupID Test: </b> Try to create two useBean tags in the same JSP page with the same
ID.</P>
<A NAME="negativeDupID"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>UsebeanTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="UsebeanTest.java">UsebeanTest.java</A>
<A HREF="Counter.java">Counter.java</A>
<A HREF="String_IntBean.java">String_IntBean.java</A>
<A HREF="IntBean.java">IntBean.java</A>
</TD>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>core_syntax.beantests.useBean.UsebeanTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID negativeDupID -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
<P><b> negativeBody Test: </b> Try to create an invalid useBean tag with body (i.e. the tag
has a body, but the closing tag does not exist)</P>
<A NAME="negativeBody"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>UsebeanTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="UsebeanTest.java">UsebeanTest.java</A>
<A HREF="Counter.java">Counter.java</A>
<A HREF="String_IntBean.java">String_IntBean.java</A>
<A HREF="IntBean.java">IntBean.java</A>
</TD>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>core_syntax.beantests.useBean.UsebeanTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID negativeBody -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
<P><b> negativeNoBody Test: </b> Try to create an invalid useBean tag (i.e. tag that is not
closed)</P>
<A NAME="negativeNoBody"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>UsebeanTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="UsebeanTest.java">UsebeanTest.java</A>
<A HREF="Counter.java">Counter.java</A>
<A HREF="String_IntBean.java">String_IntBean.java</A>
<A HREF="IntBean.java">IntBean.java</A>
</TD>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>core_syntax.beantests.useBean.UsebeanTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID negativeNoBody -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
<P><b> negativeTypeNonAssignable</b> We are using 'class' and 'type' together and 'class' is not assignable
to type. This should return ClassCastException.</P>
<A NAME="negativeTypeNonAssignable"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>UsebeanTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="UsebeanTest.java">UsebeanTest.java</A>
<A HREF="Counter.java">Counter.java</A>
<A HREF="NewCounter.java">NewCounter.java</A>
</TD>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>core_syntax.beantests.useBean.UsebeanTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID negativeTypeNonAssignable -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
</BODY>
</HTML>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/core_syntax/beantests/useBean/negativeDupIDSession1.html
Index: negativeDupIDSession1.html
===================================================================
<html>
<title>negativeDupIDSession1</title>
<body>
<!-- Declaring the bean with out body -->
<!-- accessing the bean thru a scriptlet -->
hello
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/core_syntax/beantests/useBean/negativeDupIDSession2.html
Index: negativeDupIDSession2.html
===================================================================
<html>
<title>negativeDupIDSession2</title>
<body>
<!-- Declaring the bean with out body -->
<!-- accessing the bean thru a scriptlet -->
0
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/core_syntax/beantests/useBean/positiveBeanNameClass.html
Index: positiveBeanNameClass.html
===================================================================
<html>
<title>positiveBeanNameClass</title>
<body>
<!-- Declaring the bean with bean name as a class file -->
<!-- accessing the bean thru a scriptlet -->
0
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/core_syntax/beantests/useBean/positiveBeanNameRes.html
Index: positiveBeanNameRes.html
===================================================================
<html>
<title>positiveBeanNameRes</title>
<body>
<!-- Declaring the bean with beanName as a resource -->
<!-- accessing the bean thru a scriptlet -->
0
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/core_syntax/beantests/useBean/positiveBodyExists.html
Index: positiveBodyExists.html
===================================================================
<html>
<title>positiveBodyExists</title>
<body>
<!-- Declaring the bean with body -->
APPLE
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/core_syntax/beantests/useBean/positiveBodyNew.html
Index: positiveBodyNew.html
===================================================================
<html>
<title>positiveBodyNew</title>
<body>
<!-- Declaring the bean with body -->
APPLE
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/core_syntax/beantests/useBean/positiveDupIDPage1.html
Index: positiveDupIDPage1.html
===================================================================
<html>
<title>positiveDupIDPage1</title>
<body>
<!-- Declaring the bean with out body -->
<!-- accessing the bean thru a scriptlet -->
hello
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/core_syntax/beantests/useBean/positiveDupIDPage2.html
Index: positiveDupIDPage2.html
===================================================================
<html>
<title>positiveDupIDPage2</title>
<body>
<!-- Declaring the bean with out body -->
<!-- accessing the bean thru a scriptlet -->
hello
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/core_syntax/beantests/useBean/positiveDupIDRequest1.html
Index: positiveDupIDRequest1.html
===================================================================
<html>
<title>positiveDupIDRequest1</title>
<body>
<!-- Declaring the bean with out body -->
<!-- accessing the bean thru a scriptlet -->
hello
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/core_syntax/beantests/useBean/positiveDupIDRequest2.html
Index: positiveDupIDRequest2.html
===================================================================
<html>
<title>positiveDupIDRequest2</title>
<body>
<!-- Declaring the bean with out body -->
<!-- accessing the bean thru a scriptlet -->
hello
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/core_syntax/beantests/useBean/positiveNoBody.html
Index: positiveNoBody.html
===================================================================
<html>
<title>positiveNoBody</title>
<body>
<!-- Declaring the bean with out body -->
<!-- accessing the bean thru a scriptlet -->
hello
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/core_syntax/beantests/useBean/positivePageScope.html
Index: positivePageScope.html
===================================================================
<html>
<title>positivePageScope</title>
<body>
<!-- Declaring the bean with out body -->
<!-- accessing the bean thru a scriptlet -->
0
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/core_syntax/beantests/useBean/positiveTypeAssignable.html
Index: positiveTypeAssignable.html
===================================================================
<html>
<title>positiveTypeAssignable</title>
<body>
<!- we are using 'class' and 'type' together and 'class' is assignable to type->
0
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/core_syntax/directives/forward/ForwardTest.html
Index: ForwardTest.html
===================================================================
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<TITLE>
ForwardTest
</TITLE>
</HEAD>
<BODY>
<H1>
ForwardTest
</H1>
<H3>
Summary
</H3>
The forward directive is used for runtime dispatch of current request to a
static resource, JSP or servlet.
<H3> Positive Tests </H3>
<b>positiveForwardRelHtml: </b>We are testing for forwarding to static resources. We use relative
path from current context as url
<A NAME="positiveForwardRelHtml"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>ForwardTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="ForwardTest.java">ForwardTest.java</A>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>core_syntax.directives.forward.ForwardTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID positiveForwardRelHtml -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
<b>positiveForwardAbsHtml: </b>We are testing for forwarding to static resources.we use absolute
path from doc root url
<A NAME="positiveForwardAbsHtml"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>ForwardTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="ForwardTest.java">ForwardTest.java</A>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>core_syntax.directives.forward.ForwardTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID positiveForwardAbsHtml -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
<b>positiveSingleQuotes </b>We check if request time attribute work with forward
with a scriptlet expression given in single quotes.
We expect the output with the file forwarded without error.
<A NAME="positiveSingleQuotes"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>ForwardTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="ForwardTest.java">ForwardTest.java</A>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>core_syntax.directives.forward.ForwardTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID positiveSingleQuotes -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
<b>positiveDoubleQuotes </b>We check if request time attribute work with forward
with a scriptlet expression given in double quotes.
We expect the output with the file forwarded without error.
<A NAME="positiveDoubleQuotes"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>ForwardTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="ForwardTest.java">ForwardTest.java</A>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>core_syntax.directives.forward.ForwardTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID positiveDoubleQuotes -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
<H3> Negative Tests </H3>
<p><b> negativeForwardNoBuff: </b>We are testing for forwarding to static pages using
jsp:forward page tag without a buffer. we should get
IllegalStateException
</p>
<A NAME="negativeForwardNoBuff"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>ForwardTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="ForwardTest.java">ForwardTest.java</A>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>core_syntax.directives.forward.ForwardTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID negativeForwardNoBuff -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
<p><b> negativeForwardUsedStream: </b>We are testing for forwarding to static pages using
jsp:forward page tag after writing to the stream. we should get
IllegalStateException
</p>
<A NAME="negativeForwardUsedStream"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>ForwardTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="ForwardTest.java">ForwardTest.java</A>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>core_syntax.directives.forward.ForwardTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID negativeForwardUsedStream -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
</BODY>
</HTML>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/core_syntax/directives/forward/negativeForwardNoBuff.html
Index: negativeForwardNoBuff.html
===================================================================
<html>
<title>negativeForwardNoBuff</title>
<body>
<!-- testing whether forwarding works if we stream is unbuffered->
IllegalState
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/core_syntax/directives/forward/negativeForwardUsedStream.html
Index: negativeForwardUsedStream.html
===================================================================
<html>
<title>negativeForwardUsedStream</title>
<body>
<!-- testing whether forwarding works if we stream is already used->
IllegalState
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/core_syntax/directives/forward/positiveDoubleQuotes.html
Index: positiveDoubleQuotes.html
===================================================================
<html>
<title>included</title>
<body>
This is included file
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/core_syntax/directives/forward/positiveForwardAbsHtml.html
Index: positiveForwardAbsHtml.html
===================================================================
<html>
<title>included</title>
<body>
This is included file
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/core_syntax/directives/forward/positiveForwardRelHtml.html
Index: positiveForwardRelHtml.html
===================================================================
<html>
<title>included</title>
<body>
This is included file
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/core_syntax/directives/forward/positiveSingleQuotes.html
<<Binary file>>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/core_syntax/directives/include/IncludeTest.html
Index: IncludeTest.html
===================================================================
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<TITLE>
IncludeTest
</TITLE>
</HEAD>
<BODY>
<H1>
IncludeTest
</H1>
<H3>
Summary
</H3>
The include directive is used to substitute text and/or code to
a page.
<H3> Positive Tests </H3>
<p><b> positiveIncludeRel Test: </b> Create a JSP page with an include directive which includes a file based on a relative URL. The included file should exist in the location specified. </p>
<A NAME="positiveIncludeRel"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>IncludeTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="IncludeTest.java">IncludeTest.java</A>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>core_syntax.directives.include.IncludeTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID positiveIncludeRel -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
<b> positiveIncludeAbs:</b>Create a JSP with an include directive which has a path from the docroot
of the Application in which the JSP page belongs . Included file should
be in the location specified.
<A NAME="positiveIncludeAbs"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>IncludeTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="IncludeTest.java">IncludeTest.java</A>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>core_syntax.directives.include.IncludeTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID positiveIncludeAbs -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
<b>positiveIncludeDynamicAbs: </b> We are testing for request time dynamic inclusion using
jsp:include page tag. We test whether we get the included JSP parsed at request time and included JSP is send to the output. we use absolute
path from doc root as url
<A NAME="positiveIncludeDynamicAbs"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>IncludeTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="IncludeTest.java">IncludeTest.java</A>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>core_syntax.directives.include.IncludeTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID positiveIncludeDynamicAbs -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
<b>positiveIncludeStaticAbs: </b>We are testing for request time Static inclusion using
jsp:include page tag. We test whether we get the included static content
got included in the output. Here we use absolute path from doc root as
url.
<A NAME="positiveIncludeStaticAbs"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>IncludeTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="IncludeTest.java">IncludeTest.java</A>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>core_syntax.directives.include.IncludeTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID positiveIncludeStaticAbs -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
<b>positiveIncludeDynamicRel: </b> We are testing for request time dynamic inclusion using
jsp:include page tag. We test wether we get the included JSP parsed at request time and included JSP is send to the output. we use relative
path from current context as url
<A NAME="positiveIncludeDynamicRel"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>IncludeTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="IncludeTest.java">IncludeTest.java</A>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>core_syntax.directives.include.IncludeTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID positiveIncludeDynamicRel -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
<b>positiveIncludeStaticRel: </b>We are testing for request time Static inclusion using
jsp:include page tag. We test whether we get the included static content
got included in the output.we use relative
path from current context as url
<A NAME="positiveIncludeStaticRel"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>IncludeTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="IncludeTest.java">IncludeTest.java</A>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>core_syntax.directives.include.IncludeTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID positiveIncludeStaticRel -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
<b>positiveSingleQuotes: </b>We check whether request time attribute works with include
with a scriptlet expression given in single quotes.
We expect the output with the file included without error.
<A NAME="positiveSingleQuotes"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>IncludeTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="IncludeTest.java">IncludeTest.java</A>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>core_syntax.directives.include.IncludeTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID positiveSingleQuotes -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
<b>positiveDoubleQuotes: </b>We check if request time attribute work with include
with a scriptlet expression given in double quotes. We expect the output with the file included without error.
<A NAME="positiveDoubleQuotes"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>IncludeTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="IncludeTest.java">IncludeTest.java</A>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>core_syntax.directives.include.IncludeTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID positiveDoubleQuotes -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
<H3> Negative Tests </H3>
<p><b> negativeInclude Test: </b> Create a JSP page with an include directive which includes a file that does not exist in the location specified.
</p>
<A NAME="negativeInclude"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>IncludeTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="IncludeTest.java">IncludeTest.java</A>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>core_syntax.directives.include.IncludeTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID negativeInclude -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
</BODY>
</HTML>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/core_syntax/directives/include/includecommon.html
Index: includecommon.html
===================================================================
<html>
<title>included</title>
<body>
This is included file
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/core_syntax/directives/include/positiveDoubleQuotes.html
Index: positiveDoubleQuotes.html
===================================================================
<html>
<title>positiveDoubleQuotes</title>
<body>
<html>
<title>included</title>
<body>
This is included file
</body>
</html>
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/core_syntax/directives/include/positiveInclude.html
Index: positiveInclude.html
===================================================================
<html>
</body>
<!-- testing for include directive -->
<html>
<title>included</title>
<body>
This is included file
</body>
</html>
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/core_syntax/directives/include/positiveIncludeAbs.html
Index: positiveIncludeAbs.html
===================================================================
<html>
<title>positiveIncludeAbs</title>
<body>
<!-- testing whether including works when we use absolute url relative to the-->
<!-- docroot of the application -->
<html>
<title>includedAbs</title>
<body>
<!-- this is included by positiveIncludeAbs.jsp -->
This is included file
</body>
</html>
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/core_syntax/directives/include/positiveIncludeDynamicAbs.html
Index: positiveIncludeDynamicAbs.html
===================================================================
<html>
<title>positiveIncludeDynamicAbs</title>
<body>
<!-- Request-time Dynamic inclusion,with absolute url from doc root -->
<html>
<title>included</title>
<body>
This is included file
</body>
</html>
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/core_syntax/directives/include/positiveIncludeDynamicRel.html
Index: positiveIncludeDynamicRel.html
===================================================================
<html>
<title>positiveIncludeDynamicRel</title>
<body>
<!-- Request-time Dynamic inclusion url relative to current context. -->
<html>
<title>included</title>
<body>
This is included file
</body>
</html>
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/core_syntax/directives/include/positiveIncludeRel.html
Index: positiveIncludeRel.html
===================================================================
<html>
<title>positiveIncludeRel</title>
<body>
<!-- testing if including of files work -->
<html>
<title>included</title>
<body>
<!-- this is included by positiveIncludeRel.jsp -->
This is included file
</body>
</html>
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/core_syntax/directives/include/positiveIncludeStaticAbs.html
Index: positiveIncludeStaticAbs.html
===================================================================
<html>
<title>positiveIncludeStaticAbs</title>
<body>
<!- testing Request-time static inclusion with absolute url from docroot -->
<html>
<title>included</title>
<body>
This is included file
</body>
</html>
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/core_syntax/directives/include/positiveIncludeStaticRel.html
Index: positiveIncludeStaticRel.html
===================================================================
<html>
<title>positiveIncludeStaticRel</title>
<body>
<!- testing Request-time static inclusion relative to from current context->
<html>
<title>included</title>
<body>
This is included file
</body>
</html>
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/core_syntax/directives/include/positiveSingleQuotes.html
Index: positiveSingleQuotes.html
===================================================================
<html>
<title>positiveSingleQuotes</title>
<body>
<html>
<title>included</title>
<body>
This is included file
</body>
</html>
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/core_syntax/directives/page/buffer/BufferTest.html
Index: BufferTest.html
===================================================================
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<TITLE>
BufferTest
</TITLE>
</HEAD>
<BODY>
<H1>
BufferTest
</H1>
<H3>
Summary
</H3>
The default buffer size of 8kb. It writes out to the implicit object.
<H3> Positive Tests </H3>
<p><b>positiveBuffCreate Test: </b> Create a buffer size of say 12kb. Keep autoflush set to "false" (default). Write characters to the out object. Invoke the flush() method on out to flush the output to the client.</p>
<A NAME="positiveBuffCreate"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>BufferTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="BufferTest.java">BufferTest.java</A>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>core_syntax.directives.page.buffer.BufferTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID positiveBuffCreate -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
<p><b>positiveBuffAutoflush Test: </b>Set autoflush to "true". Use default buffer size of 8kb. Write more than 8kb of data to out object.</p>
<A NAME="positiveBuffAutoflush"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>BufferTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="BufferTest.java">BufferTest.java</A>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>core_syntax.directives.page.buffer.BufferTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID positiveBuffAutoflush -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
<H3> Negative Tests </H3>
<p><b>negativeBuffOverflow Test: </b>Use the default buffer size of 8kb. Write more than 8kb of characters to the implicit out object, with
autoFlush set to "false".</p>
<A NAME="negativeBuffOverflow"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>BufferTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="BufferTest.java">BufferTest.java</A>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>core_syntax.directives.page.buffer.BufferTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID negativeBuffOverflow -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
</BODY>
</HTML>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/core_syntax/directives/page/content/ContenttypeTest.html
Index: ContenttypeTest.html
===================================================================
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<TITLE> contentType </TITLE>
</HEAD>
<BODY>
<H1> contentType directive </H1>
<P>
The <b>contentType</b> directive defines the character encoding for the JSP page
,for the response of the JSP page and for the MIME type for the response of the
JSP page.
</P>
<H3> Summary </H3>
<P> contentType cases </P>
<H3> Positive Test(s) </H3>
<P><b> positiveContenttype: </b> Here, the directive is used to set the TYPE and charset.
Check is done from javatest side , to check whether the set one has returned or not.</p>
<A NAME="positiveContenttype"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>ExtendsTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="ContenttypeTest.java">ContenttypeTest.java</A>
</TD>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>core_syntax.directives.page.content.ContenttypeTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID positiveContenttype -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
</BODY>
</HTML>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/core_syntax/directives/page/content/positiveContenttype.html
Index: positiveContenttype.html
===================================================================
<html>
<title>positiveContenttype</title>
<body>
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/core_syntax/directives/page/errorpage/ErrorpageTest.html
Index: ErrorpageTest.html
===================================================================
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<TITLE>
ErrorpageTest
</TITLE>
</HEAD>
<BODY>
<H1>
ErrorpageTest
</H1>
<H3>
Summary
</H3>
iserrorpage action is used to set true/false on a jsp page.
<H3> Positive Tests </H3>
<p><b> positiveErrorPage Test: </b> Set the value of iserrorpage to "true" on this page. Ensure that this page returns the value of the stackTrace of the Throwable from an error page. Now access a page that throws a specific exception. The second page's errorpage attribute should be set to the first page.
</p>
<A NAME="positiveErrorPage"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>ErrorpageTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="ErrorpageTest.java">ErrorpageTest.java</A>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>core_syntax.directives.page.errorpage.ErrorpageTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID positiveErrorPage -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
<H3> Negative Tests </H3>
<p><b> negativeIsErrorPage Test: </b> Set the value of iserrorpage to "false" in a page. Now try to access the "exception" variable of this page in a scriptlet.
</p>
<A NAME="negativeIsErrorPage"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>ErrorpageTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="ErrorpageTest.java">ErrorpageTest.java</A>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>core_syntax.directives.page.errorpage.ErrorpageTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID negativeIsErrorPage -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
<p><b> negativeNoErrorPageBuff Test: </b>
Create a jsp page that contains an exception. Set its errorpage attribute to a second page. On the second page, set the buffer to "false" and iserrorpage to "true". Access the first page.
</p>
<A NAME="negativeNoErrorPageBuff"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>ErrorpageTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="ErrorpageTest.java">ErrorpageTest.java</A>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>core_syntax.directives.page.errorpage.ErrorpageTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID negativeNoErrorPageBuff -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
</BODY>
</HTML>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/core_syntax/directives/page/errorpage/positiveErrorPage.html
Index: positiveErrorPage.html
===================================================================
<html>
<title>myErrorpage</title>
<body>
<!-- error page for positiveErrorPage.jsp -->
This is test error page
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/core_syntax/directives/page/extend/ExtendsTest.html
Index: ExtendsTest.html
===================================================================
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<TITLE> JSPextends </TITLE>
</HEAD>
<BODY>
<H1> JSP extends </H1>
<P>
The extends directive is a fully qualified java class file name,that names the
super class of the java class to which this Jsp page is transformed.
</P>
<H3> Summary </H3>
<P> JSP extends cases </P>
<H3> Positive Test(s) </H3>
<P><b> positiveExtends: </b> Extend from a valid class file and then checking the object type</P>
<A NAME="positiveExtends"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>ExtendsTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="ExtendsTest.java">ExtendsTest.java</A>
</TD>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>core_syntax.directives.page.extend.ExtendsTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID positiveExtends -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
</BODY>
</HTML>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/core_syntax/directives/page/extend/positiveExtends.html
Index: positiveExtends.html
===================================================================
<html>
<title>positiveExtends</title>
<body>
true
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/core_syntax/directives/page/imports/ImportTest.html
Index: ImportTest.html
===================================================================
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<TITLE>
ImportTest
</TITLE>
</HEAD>
<BODY>
<H1>
ImportTest
</H1>
<H3>
Summary
</H3>
This value is defined when the "language" is java. The value is a comma
separated list of one or more java package names.
<H3> Positive Tests </H3>
<b>positiveImport:</b>Use a jsp directive with language="java" and a valid
import attribute. Use the imported package in the page.<br>
<A NAME="positiveImport"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>ImportTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="ImportTest.java">ImportTest.java</A>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>core_syntax.directives.page.imports.ImportTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID positiveImport -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
<H3> Negative Tests </H3>
<b>negativeImport:</b> Use a jsp directive with language attribute
set to something other than java. Create an import statement with any package
<A NAME="negativeImport"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>ImportTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="ImportTest.java">ImportTest.java</A>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>core_syntax.directives.page.imports.ImportTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID negativeImport -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
</BODY>
</HTML>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/core_syntax/directives/page/imports/implicitImportHttp.html
Index: implicitImportHttp.html
===================================================================
<html>
<body>
<!-- language =java and we check if implicit import works-->
true
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/core_syntax/directives/page/imports/implicitImportJsp.html
Index: implicitImportJsp.html
===================================================================
<html>
<body>
<!-- language =java and we check if implicit import works-->
true
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/core_syntax/directives/page/imports/implicitImportLang.html
Index: implicitImportLang.html
===================================================================
<html>
<title>implicitImportLang</title>
<body>
<!-- language =java and check if implicit import works-->
sun
5
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/core_syntax/directives/page/imports/implicitImportServlet.html
Index: implicitImportServlet.html
===================================================================
<html>
<body>
HTTP/1.0
</body>
</html><html>
<body>
<!-- language =java and we check if implicit import works-->
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/core_syntax/directives/page/imports/negativeImport.html
Index: negativeImport.html
===================================================================
<html>
<title>negativeImport</title>
<body>
<!-language defined to something other than java and we import a java -->
<!--package to chek if import works-->
harry
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/core_syntax/directives/page/imports/positiveImport.html
Index: positiveImport.html
===================================================================
<html>
<title>positiveImport</title>
<body>
<!-- language =java and we import a java package to check if import works-->
harry
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/core_syntax/directives/page/info/InfoTest.html
Index: InfoTest.html
===================================================================
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<TITLE> JSPInfoTest </TITLE>
</HEAD>
<BODY>
<H1> JSPInfoTest </H1>
<P>
The info directive provides a string that will be available as the value for
jspServletInfoString.
</P>
<H3> Summary </H3>
<P> JSPInfoTest cases </P>
<H3> Positive Tests </H3>
<P><b> positiveInfo Test: </b> Set the value of the info attribute to a specific value.
Then invoke the getServletInfo method on the current page's Servlet object.</P>
<A NAME="positiveInfo"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>JSPInfoTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="InfoTest.java">InfoTest.java</A>
</TD>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>core_syntax.directives.page.info.InfoTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID positiveInfo -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
</BODY>
</HTML>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/core_syntax/directives/page/info/positiveInfo.html
Index: positiveInfo.html
===================================================================
<html>
<title>positiveInfo</title>
<body>
<!--- testing whether the info directive is working ---!>
positiveInfo of JCK
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/core_syntax/directives/page/language/LanguageTest.html
Index: LanguageTest.html
===================================================================
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<TITLE> LanguageTest </TITLE>
</HEAD>
<BODY>
<H1> LanguageTest </H1>
<H3> Summary</H3>
Defines the scripting language to be used. In JSP1.0 , the only defined and
required scripting language is "java".
<H3> Positive Tests </H3>
<p><b>positiveLang Test: </b>Use a jsp directive in the page with the language attribute set to "java".</p>
<A NAME="positiveLang"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>LanguageTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="LanguageTest.java">LanguageTest.java</A>
</TD>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>core_syntax.directives.page.language.LanguageTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID positiveLang -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
<H3> Negative Tests </H3>
<p><b>negativeLangJava Test: </b>Create two jsp directives on the same page with language attribute set to "java" in both cases.</p>
<A NAME="negativeLangJava"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>LanguageTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="LanguageTest.java">LanguageTest.java</A>
</TD>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>core_syntax.directives.page.language.LanguageTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID negativeLangJava -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
<p><b>negativeLangAny Test: </b>Create two jsp directives on the same page with language attribute set to "java" in the first case and anything other than "java" in the second.</p>
<A NAME="negativeLangAny"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>LanguageTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="LanguageTest.java">LanguageTest.java</A>
</TD>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>core_syntax.directives.page.language.LanguageTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID negativeLangAny -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
<p><b>negativeNonJava Test: </b>Create a page with a scriptlet (before a jsp directive). Then put a jsp directive <B><I>after</I></B><SPAN STYLE="font-weight: medium"><SPAN STYLE="font-style: normal"> the scriptlet with language </SPAN></SPAN><B><I>not</I></B><SPAN STYLE="font-weight: medium"><SPAN STYLE="font-style: normal"> set to java.</SPAN></SPAN></p>
<A NAME="negativeNonJava"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>LanguageTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="LanguageTest.java">LanguageTest.java</A>
</TD>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>core_syntax.directives.page.language.LanguageTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID negativeNonJava -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
<p><b>negativeLangIncludeAny Test: </b>Create a page with the language attribute set to "java" and with an include attribute. The included page should have a jsp directive with language attribute <B><I>not</I></B><SPAN STYLE="font-weight: medium"><SPAN STYLE="font-style: normal"> set to java.</SPAN></SPAN></p>
<A NAME="negativeLangIncludeAny"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>LanguageTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="LanguageTest.java">LanguageTest.java</A>
</TD>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>core_syntax.directives.page.language.LanguageTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID negativeLangIncludeAny -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
<p><b>negativeLangIncludeJava Test: </b>Create a page with the language attribute set to "java" and with an include attribute. The included page should have a jsp directive with language attribute <SPAN STYLE="font-weight: medium"><SPAN STYLE="font-style: normal">set to java.</SPAN></SPAN></p>
<A NAME="negativeLangIncludeJava"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>LanguageTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="LanguageTest.java">LanguageTest.java</A>
</TD>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>core_syntax.directives.page.language.LanguageTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID negativeLangIncludeJava -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
</BODY>
</HTML>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/core_syntax/directives/page/language/positiveLang.html
Index: positiveLang.html
===================================================================
<html>
<title>positiveLang</title>
<body>
<!-- testing if the language directive set to java cause any problem -->
hello
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/core_syntax/directives/page/session/SessionTest.html
Index: SessionTest.html
===================================================================
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<TITLE> SessionTest </TITLE>
</HEAD>
<BODY>
<H1> SessionTest </H1>
<H3> Summary </H3>
The session directive indicates whether the page participates in an http session.
Session is an implicit object and it is of type javax.servlet.http.HttpSession.
<H3> Positive Tests </H3>
<p><b>positiveSession Test: </b>Set the value of the session attribute to "true".Then try to access the implicit session object and call one of its methods.</p>
<A NAME="positiveSession"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>SessionTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="SessionTest.java">SessionTest.java</A>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>core_syntax.directives.page.session.SessionTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID positiveSession -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
<p><b>positiveSessionDefault Test: </b>Do not set the value of session at all. Try to invoke a method on the implicit session object.</p>
<A NAME="positiveSessionDefault"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>SessionTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="SessionTest.java">SessionTest.java</A>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>core_syntax.directives.page.session.SessionTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID positiveSessionDefault -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
<H3> Negative Tests </H3>
<p><b>negativeSession Test: </b>Set the value of the session attribute to "false".Then try to invoke a method on the implicit session object.</p>
<A NAME="negativeSession"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>SessionTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="SessionTest.java">SessionTest.java</A>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>core_syntax.directives.page.session.SessionTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID negativeSession -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
</BODY>
</HTML>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/core_syntax/directives/taglib/positiveTagLib.html
Index: positiveTagLib.html
===================================================================
<html>
<title>positiveTagLib</title>
<body>
Positive Test taglib directive
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/core_syntax/implicitobjects/ImplicitObjectsTest.html
Index: ImplicitObjectsTest.html
===================================================================
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<TITLE>
ImplicitObjectsTest
</TITLE>
</HEAD>
<BODY>
<H1>
ImplicitObjectsTest
</H1>
<H3>
Summary
</H3>
All the JSPs have the access to certain implicit Java objects that are
always available for use within the scriptlets and expressions,without
being declared first.All scripting languages are required to provide
access to these objects.
<H3> Positive Tests </H3>
<b>checkRequest :</b>checking 'request' is of type javax.servlet.ServletRequest<br>
<A NAME="checkRequest"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>ImplicitObjectsTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="ImplicitObjectsTest.java">ImplicitObjectsTest.java</A>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>core_syntax.implicitobjects.ImplicitObjectsTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID checkRequest -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
<b>checkResponse :</b>checking 'response' is of type javax.servlet.ServletResponse<br>
<A NAME="checkResponse"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>ImplicitObjectsTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="ImplicitObjectsTest.java">ImplicitObjectsTest.java</A>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>core_syntax.implicitobjects.ImplicitObjectsTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID checkResponse -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
<b>checkPageContext :</b>checking 'pageContext' is of type javax.servlet.jsp.PageContext<br>
<A NAME="checkPageContext"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>ImplicitObjectsTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="ImplicitObjectsTest.java">ImplicitObjectsTest.java</A>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>core_syntax.implicitobjects.ImplicitObjectsTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID checkPageContext -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
<b>checkSession :</b>checking 'session' is of type javax.servlet.http.HttpSession<br>
<A NAME="checkSession"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>ImplicitObjectsTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="ImplicitObjectsTest.java">ImplicitObjectsTest.java</A>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>core_syntax.implicitobjects.ImplicitObjectsTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID checkSession -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
<b>checkApplication :</b>checking 'application' is of type javax.servlet.ServletContext<br>
<A NAME="checkApplication"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>ImplicitObjectsTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="ImplicitObjectsTest.java">ImplicitObjectsTest.java</A>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>core_syntax.implicitobjects.ImplicitObjectsTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID checkApplication -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
<b>checkOut :</b>checking 'out' is of type javax.servlet.jsp.JspWriter<br>
<A NAME="checkOut"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>ImplicitObjectsTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="ImplicitObjectsTest.java">ImplicitObjectsTest.java</A>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>core_syntax.implicitobjects.ImplicitObjectsTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID checkOut -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
<b>checkConfig :</b>checking 'config' is of type javax.servlet.ServletConfig<br>
<A NAME="checkConfig"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>ImplicitObjectsTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="ImplicitObjectsTest.java">ImplicitObjectsTest.java</A>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>core_syntax.implicitobjects.ImplicitObjectsTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID checkConfig -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
<b>checkPage :</b>checking 'page' is of type java.lang.Object<br>
<A NAME="checkPage"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>ImplicitObjectsTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="ImplicitObjectsTest.java">ImplicitObjectsTest.java</A>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>core_syntax.implicitobjects.ImplicitObjectsTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID checkPage -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
<b>checkException :</b>checking 'exception' is of type java.lang.Throwable<br>
<A NAME="checkException"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>ImplicitObjectsTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="ImplicitObjectsTest.java">ImplicitObjectsTest.java</A>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>core_syntax.implicitobjects.ImplicitObjectsTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID checkException -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
</BODY>
</HTML>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/core_syntax/implicitobjects/checkApplication.html
Index: checkApplication.html
===================================================================
<html>
<title>checkApplication Test </title>
<body>
<!-- checking for application object state -->
true
<br>
true
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/core_syntax/implicitobjects/checkConfig.html
Index: checkConfig.html
===================================================================
<html>
<title>checkConfig Test </title>
<body>
<!-- checking for config object state -->
true
<br>
true
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/core_syntax/implicitobjects/checkException.html
Index: checkException.html
===================================================================
<html>
<title>checkException Test </title>
<body>
<!-- checking for exception object state -->
true
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/core_syntax/implicitobjects/checkOut.html
Index: checkOut.html
===================================================================
<html>
<title>checkOut</title>
<body>
<!-- checking for out object type -->
true
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/core_syntax/implicitobjects/checkPage.html
Index: checkPage.html
===================================================================
<html>
<title>checkPage</title>
<body>
<!-- checking for page object type -->
true
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/core_syntax/implicitobjects/checkPageContext.html
Index: checkPageContext.html
===================================================================
<html>
<title>checkPageContext</title>
<body>
<!-- checking for pageContext object type -->
true
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/core_syntax/implicitobjects/checkRequest.html
Index: checkRequest.html
===================================================================
<html>
<title>checkRequest</title>
<body>
<!-- checking for request object type -->
true
<br>
<!-- request object used to access getProtocol -->
HTTP/1.0
<br>
<!-- request object used to access getParameter -->
<!-- Parameter "Years" is passed to request object -->
2
<br>
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/core_syntax/implicitobjects/checkResponse.html
Index: checkResponse.html
===================================================================
<html>
<title>checkResponse</title>
<body>
<!-- checking for response object type -->
true
<br>
true
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/core_syntax/implicitobjects/checkSession.html
Index: checkSession.html
===================================================================
<html>
<title>checkSession Test </title>
<body>
<!-- checking for Session object state -->
true
<br>
<br>
true
<br>
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/core_syntax/scripting/declaration/DeclarationTest.html
Index: DeclarationTest.html
===================================================================
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<TITLE>
DeclarationTest
</TITLE>
</HEAD>
<BODY>
<H1>
DeclarationTest
</H1>
<H3>
Summary
</H3>
Declarations are used to declare variables and methods in the scripting
language used in the JSP page. Declarations do not produce any output
into the current "out" stream.Declarations are initialised when the
JSP page is initialised and made available to other declarations,
scriptlets and expressions.
<H3> Positive Tests </H3>
<p><b>positiveDeclaration Test: </b> Create a JSP page with a valid Java declaration element. Use the declared variable in the page in a scriptlet.
</p>
<A NAME="positiveDeclaration"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>DeclarationTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="DeclarationTest.java">DeclarationTest.java</A>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>core_syntax.scripting.declaration.DeclarationTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID positiveDeclaration -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
<H3> Negative Tests </H3>
<p><b> negativeDeclarationSyn Test: </b> Create a JSP page which has a syntax error in the declaration statement. Try to use the declared variable in the rest of the page.</p>
<A NAME="negativeDeclarationSyn"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>DeclarationTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="DeclarationTest.java">DeclarationTest.java</A>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>core_syntax.scripting.declaration.DeclarationTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID negativeDeclarationSyn -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
</BODY>
</HTML>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/core_syntax/scripting/declaration/positiveDeclaration.html
Index: positiveDeclaration.html
===================================================================
<html>
<title>positiveDeclaration</title>
<body>
<!-- correct syntax is used in the declaration statement -->
627
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/core_syntax/scripting/expressions/ExpressionsTest.html
Index: ExpressionsTest.html
===================================================================
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<TITLE>
ExpressionsTest
</TITLE>
</HEAD>
<BODY>
<H1>
ExpressionsTest
</H1>
<H3>
Summary
</H3>
JSP expression element is a scripting language expression , which is
evaluated and the result is coerced to 'String' which is subsequently
emitted into the current "out" PrintWriter object.
<H3> Positive Tests </H3>
<p><b> positiveExpr Test: </b> Create a valid JSP expression. Call the JSP page.</p>
<A NAME="positiveExpr"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>ExpressionsTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="ExpressionsTest.java">ExpressionsTest.java</A>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>core_syntax.scripting.expressions.ExpressionsTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID positiveExpr -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
<p><b> positiveExprComment Test: </b>Create a JSP page with a JSP expression inserted into a HTML comment.</p>
<A NAME="positiveExprComment"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>ExpressionsTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="ExpressionsTest.java">ExpressionsTest.java</A>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>core_syntax.scripting.expressions.ExpressionsTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID positiveExprComment -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
<p><b> positiveExprBean Test: </b>Use a bean with the useBean action in the page. Then try to retrieve one of its properties with an expression.</p>
<A NAME="positiveExprBean"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>ExpressionsTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="ExpressionsTest.java">ExpressionsTest.java</A>
<A HREF="Counter.java">Counter.java</A>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>core_syntax.scripting.expressions.ExpressionsTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID positiveExprBean -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
<p><b> positiveExprSyntax Test: </b> Create an expression in the page with no space between the start tag and the expression. Similarly have no space between the end of the expression and the end tag.</p>
<A NAME="positiveExprSyntax"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>ExpressionsTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="ExpressionsTest.java">ExpressionsTest.java</A>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>core_syntax.scripting.expressions.ExpressionsTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID positiveExprSyntax -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
<H3> Negative Tests </H3>
<p><b> negativeExprBean Test: </b>Use a bean with the useBean action in the page. Now try to set one of its properties using an expression.</p>
<A NAME="negativeExprBean"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>ExpressionsTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="ExpressionsTest.java">ExpressionsTest.java</A>
<A HREF="Counter.java">Counter.java</A>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>core_syntax.scripting.expressions.ExpressionsTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID negativeExprBean -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
<p><b> negativeExprSyntax Test: </b>Create an invalid expression element. Try to call the JSP page.</p>
<A NAME="negativeExprSyntax"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>ExpressionsTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="ExpressionsTest.java">ExpressionsTest.java</A>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>core_syntax.scripting.expressions.ExpressionsTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID negativeExprSyntax -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
</BODY>
</HTML>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/core_syntax/scripting/expressions/positiveExpr.html
Index: positiveExpr.html
===================================================================
<html>
<title>positiveExpr</title>
<body>
<!-- declarations -->
<!-- using valid expression -->
50
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/core_syntax/scripting/expressions/positiveExprBean.html
Index: positiveExprBean.html
===================================================================
<html>
<title>positiveExprBean</title>
<body>
<!-- using scriptlet setCounter to set counter value 10 -->
<!-- using getcounterValue method in bean -->
10
</body>
<html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/core_syntax/scripting/expressions/positiveExprComment.html
Index: positiveExprComment.html
===================================================================
<html>
<title>positiveExprComment </title>
<body>
<!-- expecting a value 50 in the html comments tag -->
<!-- 50-->
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/core_syntax/scripting/expressions/positiveExprSyntax.html
Index: positiveExprSyntax.html
===================================================================
<html>
<title>positiveExprSyntax</title>
<body>
<!-- with no space between expression tags -->
<!-- expecting a value 100 -->
100
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/core_syntax/scripting/scriptlet/ScriptletTest.html
Index: ScriptletTest.html
===================================================================
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<TITLE>
ScriptletTest
</TITLE>
</HEAD>
<BODY>
<H1>
ScriptletTest
</H1>
<H3>
Summary
</H3>
Scriptlets can contain any code fragment that are valid for the scripting
language specified in the 'language' directive.These are executed at
request-processing time.
<H3> Positive Tests </H3>
<p><b> positiveScriptlet Test: </b> Create a valid scriptlet in the JSP page. Assume a scriptlet where the value of a variable is incremented. Send the value of the variable to the out stream.</p>
<A NAME="positiveScriptlet"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>ScriptletTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="ScriptletTest.java">ScriptletTest.java</A>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>core_syntax.scripting.scriptlet.ScriptletTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID positiveScriptlet -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
<p><b> positiveScriptletMultiline Test: </b>Create a valid scriptlet in the JSP page that spans multiple lines.</p>
<A NAME="positiveScriptletMultiline"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>ScriptletTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="ScriptletTest.java">ScriptletTest.java</A>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>core_syntax.scripting.scriptlet.ScriptletTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID positiveScriptletMultiline -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
<p><b> positiveScriptletMultiline2 Test: </b>Test with a valid scriptlet that has multiple tags in a single line.</p>
<A NAME="positiveScriptletMultiline2"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>ScriptletTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="ScriptletTest.java">ScriptletTest.java</A>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>core_syntax.scripting.scriptlet.ScriptletTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID positiveScriptletMultiline2 -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
<p><b> positiveScriptletUseBean Test: </b>Create a valid useBean action in the JSP. After that, use a scriptlet to change the value of a specific bean property. Send the new value of the property to the out stream.</p>
<A NAME="positiveScriptletUseBean"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>ScriptletTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="ScriptletTest.java">ScriptletTest.java</A>
<A HREF="Counter.java">Counter.java</A>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>core_syntax.scripting.scriptlet.ScriptletTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID positiveScriptletUseBean -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
<p><b> positiveScriptletComment Test: </b>Create a scriptlet which contains only a Java comment in it on a JSP page.</p>
<A NAME="positiveScriptletComment"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>ScriptletTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="ScriptletTest.java">ScriptletTest.java</A>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>core_syntax.scripting.scriptlet.ScriptletTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID positiveScriptletComment -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
<p><b> positiveScriptletLiteral Test: </b>Use the scriptlet end tag as a literal within the scriptlet (say in a out.println() statement.</p>
<A NAME="positiveScriptletLiteral"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>ScriptletTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="ScriptletTest.java">ScriptletTest.java</A>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>core_syntax.scripting.scriptlet.ScriptletTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID positiveScriptletLiteral -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
<H3> Negative Tests </H3>
<p><b> negativeScriptletSyntax Test: </b>Create an invalid scriptlet by not terminating the java statement with a semicolon (;)</p>
<A NAME="negativeScriptletSyntax"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>ScriptletTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="ScriptletTest.java">ScriptletTest.java</A>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>core_syntax.scripting.scriptlet.ScriptletTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID negativeScriptletSyntax -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
</BODY>
</HTML>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/core_syntax/scripting/scriptlet/positiveScriptlet.html
Index: positiveScriptlet.html
===================================================================
<html>
<title>positiveScriptlet </title>
<body>
<!--variable i=5 is incremented -->
6
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/core_syntax/scripting/scriptlet/positiveScriptletComment.html
Index: positiveScriptletComment.html
===================================================================
<html>
<title>positiveScriptletComment</title>
<body>
<!-- using java comments in jsp page -->
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/core_syntax/scripting/scriptlet/positiveScriptletLiteral.html
Index: positiveScriptletLiteral.html
===================================================================
<html>
<title>positiveScripletLiteral</title>
<body>
<!-- scriplet end tag is used as a literal within the scriptlet -->
%>
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/core_syntax/scripting/scriptlet/positiveScriptletMultiline.html
Index: positiveScriptletMultiline.html
===================================================================
<html>
<title>positiveScriptletMultiline</title>
<body>
<!-- multiple lines scriptlet -->
10
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/core_syntax/scripting/scriptlet/positiveScriptletMultiline2.html
Index: positiveScriptletMultiline2.html
===================================================================
<html>
<title>positiveScriptletMultiline2</title>
<body>
<!-- multiple lines scriptlet -->
10
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/core_syntax/scripting/scriptlet/positiveScriptletUseBean.html
Index: positiveScriptletUseBean.html
===================================================================
<html>
<title>positiveScriptletUseBean</title>
<body>
<!-- we use scriptlet to access the property of a bean --!>
<!-- setCounter method is used in Bean and send to out stream -->
10
</body>
<html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/engine/HttpJspPage/HttpJspPageTest.html
Index: HttpJspPageTest.html
===================================================================
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<TITLE>
HttpJspPageTest
</TITLE>
</HEAD>
<BODY>
<H1>
HttpJspPageTest
</H1>
<H3>
Summary
</H3>
The contract between the JSP engine and JSP author is that the
Servlet class corresponding to the JSP page must implement
the HttpJspPage interface ( if protocol is HTTP)
<H3>
Tests
</H3>
<b><u>positiveJSPInitExtends:</u></b>
define a class which implements the HttpJspPage and in the
jsp page use extends directive to make the defined java class
as the super class. now we check the result of
getServletConfig
if we get a non null value we pass the test
<br>
<A NAME="positiveJSPInitExtends"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>HttpJspPageTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="HttpJspPageTest.java">HttpJspPageTest.java</A>
<A HREF="SuperPage.java">SuperPage.java</A>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>engine.HttpJspPage.HttpJspPageTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID positiveJSPInitExtends -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive JSP extensionAPI</TD>
</TR>
</TABLE>
<b><u>positiveJSPInitJSP:</u></b>
here we override the jspInit method in the JSP page itself
now we check the result of getServletConfig
if we get a non null value we pass the test
<br>
<A NAME="positiveJSPInitJSP"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>HttpJspPageTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="HttpJspPageTest.java">HttpJspPageTest.java</A>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>engine.HttpJspPage.HttpJspPageTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID positiveJSPInitJSP -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive JSP extensionAPI</TD>
</TR>
</TABLE>
</BODY>
</HTML>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/engine/HttpJspPage/positiveJSPInitExtends.html
Index: positiveJSPInitExtends.html
===================================================================
<html>
<title>positiveJSPInitExtends</title>
<body>
<!-- to test HttpJspPage implementation -->
it works
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/engine/HttpJspPage/positiveJSPInitJSP.html
Index: positiveJSPInitJSP.html
===================================================================
<html>
<title>positiveJSPInitJSP</title>
<body>
<!-- to test HttpJspPage implementation -->
it works
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/engine/JspFactory/JspFactoryTest.html
Index: JspFactoryTest.html
===================================================================
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<TITLE>
JspFactoryTest
</TITLE>
</HEAD>
<BODY>
<H1>
JspFactoryTest
</H1>
<H3>
Summary
</H3>
The JspFactory provides a mechanism to instantiate platform dependent objects in a platform
independent manner.
<H3>
Tests
</H3>
<b><u>positiveGetDefaultFactory:</u></b>
we call the static method getDefault factory in the jsp
we expect a non value for the default factory
<br>
<A NAME="positiveGetDefaultFactory"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>JspFactoryTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="JspFactoryTest.java">JspFactoryTest.java</A>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>engine.JspFactory.JspFactoryTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID positiveGetDefaultFactory -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive JSP extensionAPI</TD>
</TR>
</TABLE>
<b><u>positiveSetDefaultFactory:</u></b>
use getDefaultFactory to get a factory object. use the same object for
setting as default
page should get compiled without error and we should get the output
<br>
<A NAME="positiveSetDefaultFactory"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>JspFactoryTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="JspFactoryTest.java">JspFactoryTest.java</A>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>engine.JspFactory.JspFactoryTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID positiveSetDefaultFactory -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive JSP extensionAPI</TD>
</TR>
</TABLE>
<b><u>positiveGetPageContext:</u></b>
we use getDefaultFactory to get a valid factory object and call
getPageContext and on the obtained object call a pagecontext method
we should get no compile time error and pagecontext method should
work
<br>
<A NAME="positiveGetPageContext"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>JspFactoryTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="JspFactoryTest.java">JspFactoryTest.java</A>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>engine.JspFactory.JspFactoryTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID positiveGetPageContext -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive JSP extensionAPI</TD>
</TR>
</TABLE>
<b><u>positiveReleasePageContext:</u></b>
use getDefaultFactory and use it to create a pageContext object.use the
method releasePageContext with the pageContext created and then call
getServletResponse method
we should get null as result of getServletResponse for the pageContext
after release method
<br>
<A NAME="positiveReleasePageContext"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>JspFactoryTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="JspFactoryTest.java">JspFactoryTest.java</A>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>engine.JspFactory.JspFactoryTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID positiveReleasePageContext -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive JSP extensionAPI</TD>
</TR>
</TABLE>
</BODY>
</HTML>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/engine/JspFactory/positiveGetDefaultFactory.html
Index: positiveGetDefaultFactory.html
===================================================================
<html>
<title>positiveGetDefaultFactory</title>
<body>
it works
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/engine/JspFactory/positiveGetPageContext.html
Index: positiveGetPageContext.html
===================================================================
<html>
<title>positiveGetPageContext</title>
<body>
it works
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/engine/JspFactory/positiveReleasePageContext.html
Index: positiveReleasePageContext.html
===================================================================
<html>
<title>positiveReleasePageContext</title>
<body>
it works
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/engine/JspFactory/positiveSetDefaultFactory.html
Index: positiveSetDefaultFactory.html
===================================================================
<html>
<title>positiveSetDefaultFactory</title>
<body>
it works
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/engine/JspWriter/JspWriterTest.html
Index: JspWriterTest.html
===================================================================
<html>
<title>JspWriter</title>
<body>
<h2>Summary</h2>
The tests in JspWriter are divided into three categories. <br>
<A HREF="print/PrintTest.html">print</A><br>
<A HREF="write/WriteTest.html">write</A><br>
<A HREF="misc/MiscTest.html">miscellaneous</A><br>
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/engine/JspWriter/misc/MiscTest.html
Index: MiscTest.html
===================================================================
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<TITLE>
MiscTest
</TITLE>
</HEAD>
<BODY>
<H1>
MiscTest
</H1>
<H3>
Summary
</H3>
The javax.servlet.jsp.JspWriter interface emulates some of the functionality found in java.io.Writer,java.io.BufferedWriter and
java.io.PrintWriter, however it differs in throwing the java.io.IOException from the print methods.
<H3> Positive Tests </H3>
<p><b> positiveClear Test: </b>Initially we write something to the buffer and later we call the clear
�method. If we get a blank page output, clear works.</p>
<A NAME="positiveClear"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>MiscTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="MiscTest.java">MiscTest.java</A>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>engine.JspWriter.misc.MiscTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID positiveClear -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
<p><b> positiveClose Test: </b>Write something to the stream and then close it. After closing try to write something to the stream.</p>
<A NAME="positiveClose"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>MiscTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="MiscTest.java">MiscTest.java</A>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>engine.JspWriter.misc.MiscTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID positiveClose -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
<p><b> positiveFlush Test: </b> Write some thing into the buffer and then call the method. </p>
<A NAME="positiveFlush"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>MiscTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="MiscTest.java">MiscTest.java</A>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>engine.JspWriter.misc.MiscTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID positiveFlush -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
<p><b> positiveGetBufferSize Test: </b> Set the buffer size,with buffer directive,then use the getBufferSize() method. </p>
<A NAME="positiveGetBufferSize"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>MiscTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="MiscTest.java">MiscTest.java</A>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>engine.JspWriter.misc.MiscTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID positiveGetBufferSize -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
<p><b> positiveGetBufferSizeUnBuffered Test: </b> Set the buffer directive to 'none'. Then call the method </p>
<A NAME="positiveGetBufferSizeUnBuffered"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>MiscTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="MiscTest.java">MiscTest.java</A>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>engine.JspWriter.misc.MiscTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID positiveGetBufferSizeUnBuffered -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
<p><b> positiveGetRemaining Test: </b> Set the buffer using the buffer directive and then call the method. </p>
<A NAME="positiveGetRemaining"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>MiscTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="MiscTest.java">MiscTest.java</A>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>engine.JspWriter.misc.MiscTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID positiveGetRemaining -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
<p><b> positiveGetRemainingBufferUnset Test: </b> Set the buffer directive to 'none' and call the method getRemaining() in the JSP page. </p>
<A NAME="positiveGetRemainingBufferUnset"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>MiscTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="MiscTest.java">MiscTest.java</A>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>engine.JspWriter.misc.MiscTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID positiveGetRemainingBufferUnset -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
<p><b> positiveIsAutoFlush Test: </b> Set the autoflush directive to 'true' and then call the method(Should work with out setting this directive , as it is true by default)</p>
<A NAME="positiveIsAutoFlush"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>MiscTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="MiscTest.java">MiscTest.java</A>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>engine.JspWriter.misc.MiscTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID positiveIsAutoFlush -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
<p><b> positiveNewLine Test: </b> Call the method in the JSP page.Check for number of new lines in the code generated. </p>
<A NAME="positiveNewLine"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>MiscTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="MiscTest.java">MiscTest.java</A>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>engine.JspWriter.misc.MiscTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID positiveNewLine -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
<H3> Negative Tests </H3>
<p><b> negativeClose Test: </b>We are closing the stream. After closing
we trying to write to the output stream.It throws IOException.</p>
<A NAME="negativeClose"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>MiscTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="MiscTest.java">MiscTest.java</A>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>engine.JspWriter.misc.MiscTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID negativeClose -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
<p><b> negativeClearUnbuffered Test: </b>We are unbuffering using
directive(buffer="none"),we expecting IllegalStateException as error </p>
<A NAME="negativeClearUnbuffered"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>MiscTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="MiscTest.java">MiscTest.java</A>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>engine.JspWriter.misc.MiscTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID negativeClearUnbuffered -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
<p><b> negativeClearIOExpr Test: </b>We closing stream before clear method
is called,This results in IOException as error message </p>
<A NAME="negativeClearIOExpr"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>MiscTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="MiscTest.java">MiscTest.java</A>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>engine.JspWriter.misc.MiscTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID negativeClearIOExpr -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
<p><b> negativeFlush Test: </b>We are testing if method flush() flushes
the contents of the buffer.Initially we write something into buffer and
later call the flush method.</p>
<A NAME="negativeFlush"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>MiscTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="MiscTest.java">MiscTest.java</A>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>engine.JspWriter.misc.MiscTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID negativeFlush -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
</BODY>
</HTML>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/engine/JspWriter/misc/positiveClear.html
Index: positiveClear.html
===================================================================
<!-- expecting blank page -->
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/engine/JspWriter/misc/positiveFlush.html
Index: positiveFlush.html
===================================================================
<html>
<title>positiveFlush</title>
<body>
<!-- this is to test if flush() method works -->
hello
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/engine/JspWriter/misc/positiveGetBufferSize.html
Index: positiveGetBufferSize.html
===================================================================
<html>
<title>positiveGetBufferSize</title>
<body>
<!-- this is to test if getBufferSize method works -->
<!-- setting buffer size to 5kb using directive -->
<!-- calling getBufferSize() method -->
5120
<!-- expected to return 5120 as buffer size -->
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/engine/JspWriter/misc/positiveGetBufferSizeUnBuffered.html
Index: positiveGetBufferSizeUnBuffered.html
===================================================================
<html>
<title>positiveGetBufferSizeUnBuffered</title>
<body>
<!-- this is to test if getBufferSize method works with no buffer-->
<!-- setting buffer size to 'none' using directive -->
got=0
<!-- expected to return 0 as buffer is set 'none' -->
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/engine/JspWriter/misc/positiveGetRemaining.html
Index: positiveGetRemaining.html
===================================================================
<html>
<title>positiveGetRemaining</title>
<body>
<!-- this is to test if getRemaining method works with no buffer-->
<!-- setting buffer size to 5kb using directive -->
got=4939
<!-- expected to return remaining buffer size -->
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/engine/JspWriter/misc/positiveGetRemainingBufferUnset.html
Index: positiveGetRemainingBufferUnset.html
===================================================================
<html>
<title>positiveGetRemainingBufferUnset</title>
<body>
<!-- this is to test positiveGetRemainingBufferUnset -->
<!-- setting buffer size to none -->
<!-- using getRemaining() method to get the buffer size -->
0
<!-- expected to return 1 -->
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/engine/JspWriter/misc/positiveIsAutoFlush.html
Index: positiveIsAutoFlush.html
===================================================================
<html>
<title>positiveIsAutoFlush</title>
<body>
<!-- this is to test positiveIsAutoFlush -->
<!-- using isAutoFlush() method to get check flush state -->
true
<!-- expected to return true -->
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/engine/JspWriter/print/PrintTest.html
Index: PrintTest.html
===================================================================
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<TITLE>
PrintTest
</TITLE>
</HEAD>
<BODY>
<H1>
PrintTest
</H1>
<H3>
Summary
</H3>
The javax.servlet.jsp.JspWriter interface emulates some of the functionality found in java.io.Writer,java.io.BufferedWriter and
java.io.PrintWriter, however it differs in throwing the java.io.IOException from the print methods.
<H3> Positive Tests </H3>
<p><b> positivePrintBoolean Test: </b> Call the method in the jsp page </p>
<A NAME="positivePrintBoolean"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>PrintTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="PrintTest.java">PrintTest.java</A>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>engine.JspWriter.print.PrintTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID positivePrintBoolean -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
<p><b> positivePrintChar Test: </b> Call the method print(char c) in thu jsp page�</p>
<A NAME="positivePrintChar"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>PrintTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="PrintTest.java">PrintTest.java</A>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>engine.JspWriter.print.PrintTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID positivePrintChar -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
<p><b> positivePrintCharArray Test: </b> Call the method print(char[] c) in the jsp page�</p>
<A NAME="positivePrintCharArray"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>PrintTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="PrintTest.java">PrintTest.java</A>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>engine.JspWriter.print.PrintTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID positivePrintCharArray -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
<p><b> positivePrintDouble Test: </b> Call the method print(double d) in the jsp page</p>
<A NAME="positivePrintDouble"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>PrintTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="PrintTest.java">PrintTest.java</A>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>engine.JspWriter.print.PrintTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID positivePrintDouble -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
<p><b> positivePrintFloat Test: </b> Call the method print(float f) in the jsp page. </p>
<A NAME="positivePrintFloat"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>PrintTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="PrintTest.java">PrintTest.java</A>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>engine.JspWriter.print.PrintTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID positivePrintFloat -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
<p><b> positivePrintInt Test: </b> Call the method print(int i) in the jsp page.</p>
<A NAME="positivePrintInt"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>PrintTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="PrintTest.java">PrintTest.java</A>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>engine.JspWriter.print.PrintTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID positivePrintInt -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
<p><b>positivePrintLong Test: </b> Call the method print(long l) in JSP page.</p>
<A NAME="positivePrintLong"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>PrintTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="PrintTest.java">PrintTest.java</A>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>engine.JspWriter.print.PrintTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID positivePrintLong -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
<p><b>positivePrintObj Test: </b>Create an Object (say an Integer object) and pass to the method print(java.lang.Object obj).</p>
<A NAME="positivePrintObj"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>PrintTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="PrintTest.java">PrintTest.java</A>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>engine.JspWriter.print.PrintTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID positivePrintObj -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
<p><b>positivePrintStr Test: </b>Create a String object and call the method, print(java.lang.String str).</p>
<A NAME="positivePrintStr"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>PrintTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="PrintTest.java">PrintTest.java</A>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>engine.JspWriter.print.PrintTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID positivePrintStr -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
<p><b>positivePrintln Test: </b> Call the method println() after calling print method for one (or more) times and then call the print method.</p>
<A NAME="positivePrintln"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>PrintTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="PrintTest.java">PrintTest.java</A>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>engine.JspWriter.print.PrintTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID positivePrintln -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
<p><b>positivePrintlnBoolean Test: </b> Declare a boolean value and Call the method println(boolean b) in jsp page and check for line.seperator at client end.</p>
<A NAME="positivePrintlnBoolean"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>PrintTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="PrintTest.java">PrintTest.java</A>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>engine.JspWriter.print.PrintTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID positivePrintlnBoolean -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
<p><b>positivePrintlnChar Test: </b> Declare a char variable and call the method println(char c) , in thu jsp page.</p>
<A NAME="positivePrintlnChar"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>PrintTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="PrintTest.java">PrintTest.java</A>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>engine.JspWriter.print.PrintTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID positivePrintlnChar -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
<p><b>positivePrintlnCharArray Test: </b>Declare a char array and then call the method println(char[] c).</p>
<A NAME="positivePrintlnCharArray"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>PrintTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="PrintTest.java">PrintTest.java</A>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>engine.JspWriter.print.PrintTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID positivePrintlnCharArray -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
<p><b>positivePrintlnDouble Test: </b> Declare a double variable and then call the method println(double d)</p>
<A NAME="positivePrintlnDouble"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>PrintTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="PrintTest.java">PrintTest.java</A>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>engine.JspWriter.print.PrintTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID positivePrintlnDouble -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
<p><b>positivePrintlnFloat Test: </b> Declare a float variable and then call the method println(float f) in the jsp page.</p>
<A NAME="positivePrintlnFloat"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>PrintTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="PrintTest.java">PrintTest.java</A>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>engine.JspWriter.print.PrintTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID positivePrintlnFloat -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
<p><b>positivePrintlnInt Test: </b> Declare an int variable and then call the method println(int i) in the jsp page.</p>
<A NAME="positivePrintlnInt"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>PrintTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="PrintTest.java">PrintTest.java</A>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>engine.JspWriter.print.PrintTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID positivePrintlnInt -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
<p><b>positivePrintlnLong Test: </b> Declare a long variable and then call the method println(long l) in the jsp page.</p>
<A NAME="positivePrintlnLong"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>PrintTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="PrintTest.java">PrintTest.java</A>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>engine.JspWriter.print.PrintTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID positivePrintlnLong -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
<p><b>positivePrintlnObj Test: </b> Declare an Object variable and then call the method println(java.lang.Object obj) in the jsp page.</p>
<A NAME="positivePrintlnObj"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>PrintTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="PrintTest.java">PrintTest.java</A>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>engine.JspWriter.print.PrintTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID positivePrintlnObj -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
<p><b>positivePrintlnStr Test: </b> Declare a String variable and then call the method println(java.lang.String str) in the jsp page.</p>
<A NAME="positivePrintlnStr"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>PrintTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="PrintTest.java">PrintTest.java</A>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>engine.JspWriter.print.PrintTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID positivePrintlnStr -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
<p><b>positivePrintDoubleMaxBound Test: </b>We are declaring a double variable
and set maximum value using Double.MAX_VALUE, Try to print using
print(double d).</p>
<A NAME="positivePrintDoubleMaxBound"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>PrintTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="PrintTest.java">PrintTest.java</A>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>engine.JspWriter.print.PrintTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID positivePrintDoubleMaxBound -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
<p><b>positivePrintDoubleMinBound Test: </b>We are declaring a double variable
and set minimum value using Double.MIN_VALUE, Try to print using
print(double d).</p>
<A NAME="positivePrintDoubleMinBound"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>PrintTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="PrintTest.java">PrintTest.java</A>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>engine.JspWriter.print.PrintTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID positivePrintDoubleMinBound -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
<p><b>positivePrintFloatMaxBound Test: </b>We are declaring a float variable
and set maximum value using Float using Float.MAX_VALUE,Try to print using
print(float f).</p>
<A NAME="positivePrintFloatMaxBound"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>PrintTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="PrintTest.java">PrintTest.java</A>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>engine.JspWriter.print.PrintTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID positivePrintFloatMaxBound -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
<p><b>positivePrintFloatMinBound Test: </b>We are declaring a float variable
and set minimum value using Float using Float.MIN_VALUE,Try to print using
print(float f).</p>
<A NAME="positivePrintFloatMinBound"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>PrintTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="PrintTest.java">PrintTest.java</A>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>engine.JspWriter.print.PrintTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID positivePrintFloatMinBound -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
<p><b>positivePrintIntMaxBound Test: </b>We are declaring a int variable
and set maximum value using Integer.MAX_VALUE, Try to print using
print().</p>
<A NAME="positivePrintIntMaxBound"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>PrintTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="PrintTest.java">PrintTest.java</A>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>engine.JspWriter.print.PrintTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID positivePrintIntMaxBound -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
<p><b>positivePrintIntMinBound Test: </b>We are declaring a int variable
and set minimum value using Integer.MIN_VALUE, Try to print using
print().</p>
<A NAME="positivePrintIntMinBound"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>PrintTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="PrintTest.java">PrintTest.java</A>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>engine.JspWriter.print.PrintTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID positivePrintIntMinBound -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
<p><b>positivePrintLongMaxBound Test: </b>We are declaring a long variable
and set maximum value using Long.MAX_VALUE, Try to print using
print(long l).</p>
<A NAME="positivePrintLongMaxBound"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>PrintTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="PrintTest.java">PrintTest.java</A>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>engine.JspWriter.print.PrintTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID positivePrintLongMaxBound -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
<p><b>positivePrintLongMinBound Test: </b>We are declaring a long variable
and set minimum value using Long.MIN_VALUE, Try to print using
print(long l).</p>
<A NAME="positivePrintLongMinBound"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>PrintTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="PrintTest.java">PrintTest.java</A>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>engine.JspWriter.print.PrintTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID positivePrintLongMinBound -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
<H3> Negative Tests </H3>
<p><b>negativePrintBoolean Test: </b> Declare a boolean variable in the JSP page.Then call the close method.
Now call the method print(boolean b).This should result in IOException.
If 'out' is closed response stream wont be there to get our result.
So the jsp writes the output to a file following a naming convention.
We read that and check if the test passed </p>
<A NAME="negativePrintBoolean"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>PrintTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="PrintTest.java">PrintTest.java</A>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>engine.JspWriter.print.PrintTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID negativePrintBoolean -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
</BODY>
</HTML>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/engine/JspWriter/print/positivePrintBoolean.html
Index: positivePrintBoolean.html
===================================================================
<html>
<title>positivePrintBoolean</title>
<body>
<!-- this is to test if print(boolean b) method works -->
true
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/engine/JspWriter/print/positivePrintChar.html
Index: positivePrintChar.html
===================================================================
<html>
<title>positivePrintChar</title>
<body>
<!-- this is to test if print(char c) method works -->
A
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/engine/JspWriter/print/positivePrintCharArray.html
Index: positivePrintCharArray.html
===================================================================
<html>
<title>positivePrintCharArray</title>
<body>
<!-- this is to test if print(char[] c) method works -->
ABC
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/engine/JspWriter/print/positivePrintDouble.html
Index: positivePrintDouble.html
===================================================================
<html>
<title>positivePrintDouble</title>
<body>
<!-- this is to test if print(double d) method works -->
234567.0
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/engine/JspWriter/print/positivePrintDoubleMaxBound.html
Index: positivePrintDoubleMaxBound.html
===================================================================
<html>
<title>positivePrintDoubleMaxBound</title>
<body>
<!-- Get the max. boundary for double for checking -->
1.7976931348623157E308
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/engine/JspWriter/print/positivePrintDoubleMinBound.html
Index: positivePrintDoubleMinBound.html
===================================================================
<html>
<title>positivePrintDoubleMinBound</title>
<body>
<!-- Get the min. boundary for double for checking -->
4.9E-324
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/engine/JspWriter/print/positivePrintFloat.html
Index: positivePrintFloat.html
===================================================================
<html>
<title>positivePrintFloat</title>
<body>
<!-- this is to test if print(float f) method works -->
45.0
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/engine/JspWriter/print/positivePrintFloatMaxBound.html
Index: positivePrintFloatMaxBound.html
===================================================================
<html>
<title>positivePrintFloatMaxBound</title>
<body>
<!-- Get the max. boundary for float for checking -->
3.4028235E38
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/engine/JspWriter/print/positivePrintFloatMinBound.html
Index: positivePrintFloatMinBound.html
===================================================================
<html>
<title>positivePrintFloatMinBound</title>
<body>
<!-- Get the min. boundary for float for checking -->
1.4E-45
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/engine/JspWriter/print/positivePrintInt.html
Index: positivePrintInt.html
===================================================================
<html>
<title>positivePrintInt</title>
<body>
<!-- this is to test if print(Int i) method works -->
234
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/engine/JspWriter/print/positivePrintIntMaxBound.html
Index: positivePrintIntMaxBound.html
===================================================================
<html>
<title>positivePrintIntMaxBound</title>
<body>
<!-- Get the max. boundary for int for checking -->
2147483647
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/engine/JspWriter/print/positivePrintIntMinBound.html
Index: positivePrintIntMinBound.html
===================================================================
<html>
<title>positivePrintIntMinBound</title>
<body>
<!-- Get the min. boundary for int for checking -->
-2147483648
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/engine/JspWriter/print/positivePrintLong.html
Index: positivePrintLong.html
===================================================================
<html>
<title>positivePrintLong</title>
<body>
<!-- this is to test if print(long l) method works -->
123456789
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/engine/JspWriter/print/positivePrintLongMaxBound.html
Index: positivePrintLongMaxBound.html
===================================================================
<html>
<title>positivePrintLongMaxBound</title>
<body>
<!-- Get the max. boundary for long for checking -->
9223372036854775807
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/engine/JspWriter/print/positivePrintLongMinBound.html
Index: positivePrintLongMinBound.html
===================================================================
<html>
<title>positivePrintLongMinBound</title>
<body>
<!-- Get the min. boundary for long for checking -->
-9223372036854775808
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/engine/JspWriter/print/positivePrintObj.html
Index: positivePrintObj.html
===================================================================
<html>
<title>positivePrintObj</title>
<body>
<!-- this is to test if print(java.lang.Object obj) method works -->
123
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/engine/JspWriter/print/positivePrintStr.html
Index: positivePrintStr.html
===================================================================
<html>
<title>positivePrintStr</title>
<body>
<!-- this is to test if print(java.lang.String str) method works -->
india
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/engine/JspWriter/print/positivePrintln.html
Index: positivePrintln.html
===================================================================
<html>
<title>positivePrintln</title>
<body>
<!-- this is to test if println method works -->
<!-- trying to print each character in an array, in a new line -->
A
B
C
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/engine/JspWriter/print/positivePrintlnBoolean.html
Index: positivePrintlnBoolean.html
===================================================================
<html>
<title>positivePrintlnBoolean</title>
<body>
<!-- this is to test if println(boolean b) method works -->
true
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/engine/JspWriter/print/positivePrintlnChar.html
Index: positivePrintlnChar.html
===================================================================
<html>
<title>positivePrintlnChar</title>
<body>
<!-- this is to test if println(char c) method works -->
m
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/engine/JspWriter/print/positivePrintlnCharArray.html
Index: positivePrintlnCharArray.html
===================================================================
<html>
<title>positivePrintlnCharArray</title>
<body>
<!-- this is to test if println(char c[]) method works -->
m
a
d
r
a
s
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/engine/JspWriter/print/positivePrintlnDouble.html
Index: positivePrintlnDouble.html
===================================================================
<html>
<title>positivePrintlnDouble</title>
<body>
<!-- this is to test if println(double d) method works -->
1234.56789
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/engine/JspWriter/print/positivePrintlnFloat.html
Index: positivePrintlnFloat.html
===================================================================
<html>
<title>positivePrintlnFloat</title>
<body>
<!-- this is to test if println(float f) method works -->
1234.0
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/engine/JspWriter/print/positivePrintlnInt.html
Index: positivePrintlnInt.html
===================================================================
<html>
<title>positivePrintlnInt</title>
<body>
<!-- this is to test if println(int i) method works -->
12
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/engine/JspWriter/print/positivePrintlnLong.html
Index: positivePrintlnLong.html
===================================================================
<html>
<title>positivePrintlnLong</title>
<body>
<!-- this is to test if println(long l) method works -->
123456789
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/engine/JspWriter/print/positivePrintlnObj.html
Index: positivePrintlnObj.html
===================================================================
<html>
<title>positivePrintlnObj</title>
<body>
<!-- this is to test if println(java.lang.Object obj) method works -->
123
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/engine/JspWriter/print/positivePrintlnStr.html
Index: positivePrintlnStr.html
===================================================================
<html>
<title>positivePrintlnStr</title>
<body>
<!-- this is to test if println(java.lang.String str) method works -->
india
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/engine/JspWriter/write/WriteTest.html
Index: WriteTest.html
===================================================================
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<TITLE>
WriteTest
</TITLE>
</HEAD>
<BODY>
<H1>
WriteTest
</H1>
<H3>
Summary
</H3>
The javax.servlet.jsp.JspWriter interface emulates some of the functionality found in java.io.Writer,java.io.BufferedWriter and
java.io.PrintWriter, however it differs in throwing the java.io.IOException from the print methods.
<H3>Positive Tests </H3>
<p><b>positiveWriteCharArray1 Test: </b> Declare an character array variable and then call the method write(char[] c) in the jsp page.</p>
<A NAME="positiveWriteCharArray1"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>WriteTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="WriteTest.java">WriteTest.java</A>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>engine.JspWriter.write.WriteTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID positiveWriteCharArray1 -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
<p><b>positiveWriteCharArray2 Test: </b> Declare an character array variable and then call the method write(char[] c,off,len) in the jsp page.</p>
<A NAME="positiveWriteCharArray2"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>WriteTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="WriteTest.java">WriteTest.java</A>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>engine.JspWriter.write.WriteTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID positiveWriteCharArray2 -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
<p><b>positiveWriteInt Test: </b> Declare an int variable and then call the method write(int i) in the jsp page.</p>
<A NAME="positiveWriteInt"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>WriteTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="WriteTest.java">WriteTest.java</A>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>engine.JspWriter.write.WriteTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID positiveWriteInt -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
<p><b>positiveWriteStr Test: </b> Declare a String variable and then call the method write(java.lang.String str) in the jsp page.</p>
<A NAME="positiveWriteStr"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>WriteTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="WriteTest.java">WriteTest.java</A>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>engine.JspWriter.write.WriteTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID positiveWriteStr -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
<p><b>positiveWriteStrOffset Test: </b> Declare a String variable and then call the method write(java.lang.String str,offset of,length len) in the jsp page.</p>
<A NAME="positiveWriteStrOffset"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>WriteTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="WriteTest.java">WriteTest.java</A>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>engine.JspWriter.write.WriteTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID positiveWriteStrOffset -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
<p><b>positiveWriteIntExt Test: </b>We are declaring an variable and assigning
it to a value between 128 and 255.When write(int i) method is called then it
should print the ASCII Character</p>
<A NAME="positiveWriteIntExt"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>WriteTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="WriteTest.java">WriteTest.java</A>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>engine.JspWriter.write.WriteTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID positiveWriteIntExt -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
<p><b>positiveWriteIntMaxValue Test: </b>We are declaring an integer value using
Integer.MAX_VALUE and use write() method to print it.</p>
<A NAME="positiveWriteIntMaxValue"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>WriteTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="WriteTest.java">WriteTest.java</A>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>engine.JspWriter.write.WriteTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID positiveWriteIntMaxValue -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
<p><b>positiveWriteIntLowBit Test: </b>Call the method write(int i) in a JSP
page and pass the integer ,where the upper two bytes are non-zero and lower
two bytes constitute a valid ASCII character,as an argument.Character corresponding
to the value of lower two bytes. </p>
<A NAME="positiveWriteIntLowBit"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>WriteTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="WriteTest.java">WriteTest.java</A>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>engine.JspWriter.write.WriteTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID positiveWriteIntLowBit -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive extensionAPI</TD>
</TR>
</TABLE>
</BODY>
</HTML>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/engine/JspWriter/write/positiveWriteCharArray1.html
Index: positiveWriteCharArray1.html
===================================================================
<html>
<title>positiveWriteCharArray1</title>
<body>
<!-- this is to test if write(char c[]) method works -->
madras
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/engine/JspWriter/write/positiveWriteCharArray2.html
Index: positiveWriteCharArray2.html
===================================================================
<html>
<title>positiveWriteCharArray2</title>
<body>
<!-- this is to test if write(char[] c,int off,int len) method works -->
ras
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/engine/JspWriter/write/positiveWriteInt.html
Index: positiveWriteInt.html
===================================================================
<html>
<title>positiveWriteInt</title>
<body>
A
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/engine/JspWriter/write/positiveWriteIntExt.html
Index: positiveWriteIntExt.html
===================================================================
<html>
<title>positiveWriteIntExt</title>
<body>
<!-- calling the method write(int i), where i lies in between 128 and 255 -->
�
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/engine/JspWriter/write/positiveWriteIntLowBit.html
Index: positiveWriteIntLowBit.html
===================================================================
<html>
<title>positiveWriteIntLowBit</title>
<body>
<!-- calling the method write(int i) -->
B
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/engine/JspWriter/write/positiveWriteIntMaxValue.html
Index: positiveWriteIntMaxValue.html
===================================================================
<html>
<title>positiveWriteIntMaxValue</title>
<body>
<!-- calling the method write(int i) -->
?
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/engine/JspWriter/write/positiveWriteStr.html
Index: positiveWriteStr.html
===================================================================
<html>
<title>positiveWriteStr</title>
<body>
ABC
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/engine/JspWriter/write/positiveWriteStrOffset.html
Index: positiveWriteStrOffset.html
===================================================================
<html>
<title>positiveWriteStrOffset</title>
<body>
racte
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/engine/PageContext/PageContextTest.html
Index: PageContextTest.html
===================================================================
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<TITLE>
PageContextTest
</TITLE>
</HEAD>
<BODY>
<H1>
PageContextTest
</H1>
<H3>
Summary
</H3>
A PageContext instance provides access to all the namespaces associated with a JSP page,
provides to several page attributes as well as a layer above the implementation details.
<H3>
Positive Tests
</H3>
<br>
<b><u>positiveForward:</u></b>The forward method is used to re-direct the current ServletRequest and ServletResponse
to another active component in the application.Here, we are forwarding to a jsp page named forward.jsp.
<br>
<A NAME="positiveForward"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>PageContextTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="PageContextTest.java">PageContextTest.java</A>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>engine.PageContext.PageContextTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID positiveForward -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive JSP extensionAPI</TD>
</TR>
</TABLE>
<b><u>positiveGetAttributeAvbl:</u></b>Here,the method getAttribute(java.lang.String name) is tested.This returns an java.lang.Object.
In the test, we are declaring a useBean action tag ,and the same is testsd.
<br>
<A NAME="positiveGetAttributeAvbl"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>PageContextTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="PageContextTest.java">PageContextTest.java</A>
<A HREF="TestBean.java">TestBean.java</A>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>engine.PageContext.PageContextTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID positiveGetAttributeAvbl -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive JSP extensionAPI</TD>
</TR>
</TABLE>
<b><u>positiveGetAttributeNotAvbl:</u></b>Here,the method getAttribute(java.lang.String name) is tested.This returns an java.lang.Object.
It returns <i>null</i> if the attribute specified is not available.We are testing for this.
<br>
<A NAME="positiveGetAttributeNotAvbl"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>PageContextTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="PageContextTest.java">PageContextTest.java</A>
<A HREF="TestBean.java">TestBean.java</A>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>engine.PageContext.PageContextTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID positiveGetAttributeNotAvbl -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive JSP extensionAPI</TD>
</TR>
</TABLE>
<b><u>positiveGetAttributeNamesInScope:</u></b>Here,the method getAttributeNameInScope(int scope).This returns an java.util.Enumeration.
<br>
<A NAME="positiveGetAttributeNamesInScope"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>PageContextTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="PageContextTest.java">PageContextTest.java</A>
<A HREF="TestBean.java">TestBean.java</A>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>engine.PageContext.PageContextTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID positiveGetAttributeNamesInScope -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive JSP extensionAPI</TD>
</TR>
</TABLE>
<b><u>positiveGetAttributeScope:</u></b>Here,the method getAttributesScope().An integer value of the scope is returned.
<br>
<A NAME="positiveGetAttributeScope"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>PageContextTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="PageContextTest.java">PageContextTest.java</A>
<A HREF="TestBean.java">TestBean.java</A>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>engine.PageContext.PageContextTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID positiveGetAttributeScope -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive JSP extensionAPI</TD>
</TR>
</TABLE>
<b><u>checkGetException:</u></b>This method tests for the method getException() of the PageContext class.
It is expected to return an object of type java.lang.Exception.This test is testing for the return type.
</br>
<A NAME="checkGetException"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>PageContextTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="PageContextTest.java">PageContextTest.java</A>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>engine.PageContext.PageContextTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID checkGetException -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive JSP extensionAPI</TD>
</TR>
</TABLE>
<b><u>checkGetOut:</u></b>This method tests for the method getOut() of the PageContext class.This is expected to return an
object of type javax.servlet.jsp.JspWriter.This test tests for this return type.
<br>
<A NAME="checkGetOut"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>PageContextTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="PageContextTest.java">PageContextTest.java</A>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>engine.PageContext.PageContextTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID checkGetOut -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive JSP extensionAPI</TD>
</TR>
</TABLE>
<b><u>checkGetServletConfig:</u></b>This method tests for the method getServletConfig() of the PageContext class.This is expected to return an
object of type javax.servlet.ServletConfig.This test tests for this return type.
<br>
<A NAME="checkGetServletConfig"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>PageContextTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="PageContextTest.java">PageContextTest.java</A>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>engine.PageContext.PageContextTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID checkGetServletConfig -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive JSP extensionAPI</TD>
</TR>
</TABLE>
<b><u>checkGetServletContext:</u></b>This method tests for the method getServletContext() of the PageContext class.This is expected to return an
object of type javax.servlet.ServletContext.This test tests for this return type.
<br>
<A NAME="checkGetServletContext"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>PageContextTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="PageContextTest.java">PageContextTest.java</A>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>engine.PageContext.PageContextTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID checkGetServletContext -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive JSP extensionAPI</TD>
</TR>
</TABLE>
<b><u>checkGetRequest:</u></b>This method tests for the method getRequest() of the PageContext class.This is expected to return an
object of type javax.servlet.ServletRequest.This test tests for this return type.
<br>
<A NAME="checkGetRequest"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>PageContextTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="PageContextTest.java">PageContextTest.java</A>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>engine.PageContext.PageContextTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID checkGetRequest -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive JSP extensionAPI</TD>
</TR>
</TABLE>
<b><u>checkGetResponse:</u></b>This method tests for the method getResponse() of the PageContext class.This is expected to return an
object of type javax.servlet.ServletResponse.This test tests for this return type.
<br>
<A NAME="checkGetResponse"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>PageContextTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="PageContextTest.java">PageContextTest.java</A>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>engine.PageContext.PageContextTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID checkGetResponse -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive JSP extensionAPI</TD>
</TR>
</TABLE>
<b><u>checkGetSession:</u></b>This method tests for the method getSession() of the PageContext class.This is expected to return an
object of type javax.servlet.http.HttpSession.This test tests for this return type.
<br>
<A NAME="checkGetSession"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>PageContextTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="PageContextTest.java">PageContextTest.java</A>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>engine.PageContext.PageContextTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID checkGetSession -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive JSP extensionAPI</TD>
</TR>
</TABLE>
<b><u>positiveInclude:</u></b> This method test for the include() method.
This causes the resource specified to be processed as part the current
ServletRequest and ServletResponse being processed by the calling thread.
<br>
<A NAME="positiveInclude"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>PageContextTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="PageContextTest.java">PageContextTest.java</A>
<A HREF="TestBean.java">TestBean.java</A>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>engine.PageContext.PageContextTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID positiveInclude -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive JSP extensionAPI</TD>
</TR>
</TABLE>
<b><u>positiveRemoveAttribute:</u></b>This tests for the removeAttribute method of the PageContext class.
It removes the object reference associated with the specified name.
<br>
<A NAME="positiveRemoveAttribute"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>PageContextTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="PageContextTest.java">PageContextTest.java</A>
<A HREF="TestBean.java">TestBean.java</A>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>engine.PageContext.PageContextTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID positiveRemoveAttribute -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive JSP extensionAPI</TD>
</TR>
</TABLE>
<b><u>positiveSetAttribute:</u></b> This method registers the name and object specified with page scope
<br>
<A NAME="positiveSetAttribute"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>PageContextTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="PageContextTest.java">PageContextTest.java</A>
<A HREF="TestBean.java">TestBean.java</A>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>engine.PageContext.PageContextTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID positiveSetAttribute -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive JSP extensionAPI</TD>
</TR>
</TABLE>
<b><u>positiveSetAttributeInScope:</u></b>This method registers the name and object specified with appropriate scope
<br>
<A NAME="positiveSetAttributeInScope"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>PageContextTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="PageContextTest.java">PageContextTest.java</A>
<A HREF="TestBean.java">TestBean.java</A>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>engine.PageContext.PageContextTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID positiveSetAttributeInScope -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive JSP extensionAPI</TD>
</TR>
</TABLE>
<H3>
Negative Tests
</H3>
<b><u>negativeForwardIllegalState:</u></b>Here the forward method is tested for IllegalStateException.
<br>
<A NAME="negativeForwardIllegalState"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>PageContextTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="PageContextTest.java">PageContextTest.java</A>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>engine.PageContext.PageContextTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID negativeForwardIllegalState -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive JSP extensionAPI</TD>
</TR>
</TABLE>
<b><u>negativeForwardIllegalArg:</u></b>Here the forward method is tested for IllegalArgumentException
<br>
<A NAME="negativeForwardIllegalArg"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>PageContextTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="PageContextTest.java">PageContextTest.java</A>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>engine.PageContext.PageContextTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID negativeForwardIllegalArg -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive JSP extensionAPI</TD>
</TR>
</TABLE>
<b><u>negativeInclude:</u></b>The method tests for include() method.
we are passing an unavailable JSP page as an parameter.
<br>
<A NAME="negativeInclude"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>PageContextTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="PageContextTest.java">PageContextTest.java</A>
<A HREF="TestBean.java">TestBean.java</A>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>engine.PageContext.PageContextTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID negativeInclude -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive JSP extensionAPI</TD>
</TR>
</TABLE>
<b><u>negativeRemoveAttribute:</u></b>This tests for the removeAttribute method of the
PageContext class.It trys to remove unavailable the attribute.
<br>
<A NAME="negativeRemoveAttribute"></A>
<TABLE BORDER CLASS="TestDescription">
<TR>
<TD><B>title</B></TD>
<TD>PageContextTest</TD>
</TR>
<TR>
<TD><B>source</B></TD>
<TD>
<A HREF="PageContextTest.java">PageContextTest.java</A>
<A HREF="TestBean.java">TestBean.java</A>
</TR>
<TR>
<TD><B>executeClass</B></TD>
<TD>engine.PageContext.PageContextTest</TD>
</TR>
<TR>
<TD><B>executeArgs</B></TD>
<TD>-TestCaseID negativeRemoveAttribute -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps</TD>
</TR>
<TR>
<TD><B>keywords</B></TD>
<TD>positive JSP extensionAPI</TD>
</TR>
</TABLE>
</BODY>
</HTML>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/engine/PageContext/checkGetOut.html
Index: checkGetOut.html
===================================================================
<html>
<title>checkGetOut</title>
<body>
<!-- checking for getOut method -->
true
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/engine/PageContext/checkGetRequest.html
Index: checkGetRequest.html
===================================================================
<html>
<title>checkGetRequest</title>
<body>
<!-- checking for getRequest method -->
true
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/engine/PageContext/checkGetResponse.html
Index: checkGetResponse.html
===================================================================
<html>
<title>checkGetResponse</title>
<body>
<!-- checking for getResponse method -->
true
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/engine/PageContext/checkGetServlet.html
Index: checkGetServlet.html
===================================================================
<html>
<title>checkGetServlet</title>
<body>
<!-- checking for getServlet method -->
true
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/engine/PageContext/checkGetServletConfig.html
Index: checkGetServletConfig.html
===================================================================
<html>
<title>checkGetServletConfig</title>
<body>
<!-- checking for getServletConfig method -->
true
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/engine/PageContext/checkGetServletContext.html
Index: checkGetServletContext.html
===================================================================
<html>
<title>checkGetServletContext</title>
<body>
<!-- checking for getServletContext method -->
true
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/engine/PageContext/checkGetSession.html
Index: checkGetSession.html
===================================================================
<html>
<title>checkGetSession</title>
<body>
<!-- checking for getSession method -->
true
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/engine/PageContext/forGetException.html
Index: forGetException.html
===================================================================
<html>
<title>checkGetException</title>
<body>
<!-- checking for getException method -->
true
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/engine/PageContext/negativeRemoveAttribute.html
Index: negativeRemoveAttribute.html
===================================================================
<html>
<title>negativeRemoveAttribute</title>
<body>
<!-- this is to test if removetAttribute() method works -->
<!-- using pageContext object to setAttribute -->
<!-- using pageContext object to removeAttribute unavailable attruibute -->
<!-- Trying to access removed attribute by getAttribute() method-->
null
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/engine/PageContext/positiveForward.html
Index: positiveForward.html
===================================================================
<html>
<title>forward</title>
<body>
SUCCESS
</body>
</html><html>
<title>positiveForward</title>
<body>
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/engine/PageContext/positiveGetAttributeAvbl.html
Index: positiveGetAttributeAvbl.html
===================================================================
<html>
<title>positiveGetAttributeAvbl</title>
<body>
<!-- calling the getAttribute method in a scriptlet -->
engine.PageContext.TestBean
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/engine/PageContext/positiveGetAttributeNamesInScope.html
Index: positiveGetAttributeNamesInScope.html
===================================================================
<html>
<title>positiveGetAttributeNamesInScope</title>
<body>
<!-- declaring a bean in page scope -->
<!-- calling the getAttributeNamesInScope method in a scriptlet.Here we are checking for the
return type of the method.Then checking for the name of an object, bean in this case, in the
output.-->
SUCCESS
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/engine/PageContext/positiveGetAttributeNotAvbl.html
Index: positiveGetAttributeNotAvbl.html
===================================================================
<html>
<title>positiveGetAttributeNotAvbl</title>
<body>
<!-- calling the getAttribute method in a scriptlet -->
SUCCESS
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/engine/PageContext/positiveGetAttributeScope.html
Index: positiveGetAttributeScope.html
===================================================================
<html>
<title>positiveGetAttributeScope</title>
<body>
<!-- this is to test if getAttributeScope() method works -->
<!-- using pageContext object to getAttributeScope -->
<!-- using pageContext object to getAttribute, to obtain value of "Country"-->
1
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/engine/PageContext/positiveInclude.html
Index: positiveInclude.html
===================================================================
<html>
<title>forward</title>
<body>
SUCCESS
</body>
</html><html>
<title>positiveInclude</title>
<body>
<!-- this is to test if include() method works -->
<!-- using pageContext object to include -->
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/engine/PageContext/positivePopBody.html
Index: positivePopBody.html
===================================================================
<html>
<title>positivePopBody</title>
<body>
sun
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/engine/PageContext/positivePushBody.html
Index: positivePushBody.html
===================================================================
<html>
<title>positivePushBody</title>
<body>
.com
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/engine/PageContext/positiveRemoveAttribute.html
Index: positiveRemoveAttribute.html
===================================================================
<html>
<title>positiveRemoveAttribute</title>
<body>
<!-- this is to test if removetAttribute() method works -->
<!-- using pageContext object to setAttribute -->
<!-- using pageContext object to removeAttribute "Name" attruibute -->
<!-- Trying to access removed "Name" attribute by getAttribute() method-->
null
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/engine/PageContext/positiveSetAttribute.html
Index: positiveSetAttribute.html
===================================================================
<html>
<title>positiveSetAttribute</title>
<body>
<!-- this is to test if setAttribute() method works -->
<!-- using pageContext object to setAttribute -->
<!-- using pageContext object to getAttribute, to obtain value of "Country"-->
india
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/engine/PageContext/positiveSetAttributeInScope.html
Index: positiveSetAttributeInScope.html
===================================================================
<html>
<title>positiveSetAttributeInScope</title>
<body>
<!-- this is to test if setAttribute() method works -->
<!-- using pageContext object to setAttribute -->
<!-- using pageContext object to getAttributeScope,
to obtain value of "Country"-->
1
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/tagext/BodyContent/positiveGetEnclosingWriter.html
Index: positiveGetEnclosingWriter.html
===================================================================
<html>
<title>positiveGetEnclosingWriter</title>
<body>
<!-- Using pageContext.pushBody() to create a BodyContent object -->
<!-- checking for JspWriter object -->
true
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/tagext/BodyContent/positiveGetReader.html
Index: positiveGetReader.html
===================================================================
<html>
<title>positiveGetReader</title>
<body>
<!-- checking for Reader object -->
true
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/tagext/BodyContent/positiveGetString.html
Index: positiveGetString.html
===================================================================
<html>
<title>positiveGetString</title>
<body>
Checking For getString() method
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/tagext/BodyTagSupport/positiveDoAfterBody.html
Index: positiveDoAfterBody.html
===================================================================
<html>
<title>positiveDoAfterBody</title>
<body>
Test For doAfterBody
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/tagext/BodyTagSupport/positiveDoEndTag.html
Index: positiveDoEndTag.html
===================================================================
<html>
<title>positiveDoEndTag</title>
<body>
Test For doEndTag
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/tagext/BodyTagSupport/positiveDoInitBody.html
Index: positiveDoInitBody.html
===================================================================
<html>
<title>positiveDoInitBody</title>
<body>
Test For doInitBody
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/tagext/BodyTagSupport/positiveLifeCycle.html
Index: positiveLifeCycle.html
===================================================================
<html>
<title>positiveLifeCycle</title>
<body>
doStartTag method <br>doInitBody method <br>doAfterBody method <br>doEndTag method <br>release method <br>
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/tagext/BodyTagSupport/positiveRelease.html
Index: positiveRelease.html
===================================================================
<html>
<title>positiveRelease</title>
<body>
Test For release
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/tagext/TagData/positiveTagGetAttribute.html
Index: positiveTagGetAttribute.html
===================================================================
<html>
<title>positiveTagGetAttribute</title>
<body>
Colors are red
<br> Colors are green
<br> Colors are yellow
<br> Colors are orange
<br>
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/tagext/TagData/positiveTagGetAttributeString.html
Index: positiveTagGetAttributeString.html
===================================================================
<html>
<title>positiveTagGetAttributeString</title>
<body>
Colors are red
<br> Colors are green
<br> Colors are yellow
<br> Colors are orange
<br>
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/tagext/TagData/positiveTagSetAttribute.html
Index: positiveTagSetAttribute.html
===================================================================
<html>
<title>positiveTagSetAttribute</title>
<body>
Colors are red
<br> Colors are green
<br> Colors are yellow
<br> Colors are orange
<br>
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/tagext/TagInfo/positiveGetAttributesWithNoInfo.html
Index: positiveGetAttributesWithNoInfo.html
===================================================================
<html>
<title>positiveGetAttributesWithNoInfo</title>
<body>
<!-- Calling getAttribute() method without any attributes set -->
null
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/tagext/TagInfo/positiveGetBodyContent.html
Index: positiveGetBodyContent.html
===================================================================
<html>
<title>positiveGetBodyContent</title>
<body>
To Browser
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/tagext/TagInfo/positiveGetInfoString.html
Index: positiveGetInfoString.html
===================================================================
<html>
<body>
info
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/tagext/TagInfo/positiveGetTagClassName.html
Index: positiveGetTagClassName.html
===================================================================
<html>
<title>positiveGetTagClassName</title>
<body>
examples.FooTag
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/tagext/TagInfo/positiveGetTagName.html
Index: positiveGetTagName.html
===================================================================
<html>
<title>positiveGetTagName</title>
<body>
foo
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/tagext/TagSupport/positiveDoStartTag.html
Index: positiveDoStartTag.html
===================================================================
<html>
<title>positiveDoStartTag</title>
<body>
Test For doStartTag
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/tagext/TagSupport/positiveGetParent.html
Index: positiveGetParent.html
===================================================================
<html>
<title>positiveGetParent</title>
<body>
getParent method Pass
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/tagext/TagSupport/positiveGetValue.html
Index: positiveGetValue.html
===================================================================
<html>
<title>positiveGetValue</title>
<body>
Colors are red
<br> Colors are green
<br>
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/tagext/TagSupport/positiveGetValues.html
Index: positiveGetValues.html
===================================================================
<html>
<title>positiveGetValues</title>
<body>
<!-- Returns only keys names -->
Color2
Color1
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/tagext/TagSupport/positiveRemoveValue.html
Index: positiveRemoveValue.html
===================================================================
<html>
<title>positiveRemoveValue</title>
<body>
Colors are red
<br> Colors are green
<br>
<br>
null
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/tagext/TagSupport/positiveSetPageContext.html
Index: positiveSetPageContext.html
===================================================================
<html>
<title>positiveSetPageContext</title>
<body>
Test for PageContext
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/tagext/TagSupport/positiveSetValue.html
Index: positiveSetValue.html
===================================================================
<html>
<title>positiveSetValue</title>
<body>
Colors are red
<br> Colors are green
<br>
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/tagext/VariableInfo/positiveGetClassName.html
Index: positiveGetClassName.html
===================================================================
<html>
<title>positiveGetClassName</title>
<body>
Test For getClassName -- String
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/tagext/VariableInfo/positiveGetDeclare.html
Index: positiveGetDeclare.html
===================================================================
<html>
<title>positiveGetDeclare</title>
<body>
Test For getDeclare -- true
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/tagext/VariableInfo/positiveGetScope.html
Index: positiveGetScope.html
===================================================================
<html>
<title>positiveGetScope</title>
<body>
Test For getScope method -- 0
</body>
</html>
1.1 jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/tagext/VariableInfo/positiveGetVarName.html
Index: positiveGetVarName.html
===================================================================
<html>
<title>positiveGetVarName</title>
<body>
Test For getVarName -- member
</body>
</html>