rlubke 02/01/28 15:47:41 Added: src/server/jsp-tests/jsp/core_syntax/directives/page/buffer negativeBufferOverflowException.jsp negativeDuplicateBufferFatalTranslationError.jsp Log: - new negative tests for page buffer functionality Revision Changes Path 1.1 jakarta-watchdog-4.0/src/server/jsp-tests/jsp/core_syntax/directives/page/buffer/negativeBufferOverflowException.jsp Index: negativeBufferOverflowException.jsp =================================================================== <html> <title>negativeBufferOverflowException</title> <body> <% /** Name: negativeBufferOverflowException Description: Set autoflush to false. Write more date out than the 8KB buffer can handle. Result: An exception should be thrown. **/ %> <%@ page autoFlush="false" %> <% try { for (int d = 0; d < 60000; d++ ) { out.print(d+" "); } } catch ( Throwable t ) { out.clear(); out.println( "Buffer overflow occurred. Exception successfully caught." ); out.println( "Test status: PASS" ); } %> </body> </html> 1.1 jakarta-watchdog-4.0/src/server/jsp-tests/jsp/core_syntax/directives/page/buffer/negativeDuplicateBufferFatalTranslationError.jsp Index: negativeDuplicateBufferFatalTranslationError.jsp =================================================================== <html> <title>negativeDuplicateBufferFatalTranslationError</title> <body> <% /** Name: negativeDuplicateBufferFatalTranslationError Description: Verify that multiple uses of buffer attribute result in a fatal translation error. Result: A fatal translation error **/ %> <%@ page buffer="12kb" buffer="8kb" %> </body> </html>
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>