Return-Path: Mailing-List: contact watchdog-dev-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list watchdog-dev@jakarta.apache.org Received: (qmail 19085 invoked by uid 500); 4 Oct 2000 00:24:22 -0000 Delivered-To: apmail-jakarta-watchdog-4.0-cvs@apache.org Received: (qmail 19072 invoked by uid 1193); 4 Oct 2000 00:24:21 -0000 Date: 4 Oct 2000 00:24:21 -0000 Message-ID: <20001004002421.19071.qmail@locus.apache.org> From: santosh@locus.apache.org To: jakarta-watchdog-4.0-cvs@apache.org Subject: cvs commit: jakarta-watchdog-4.0/src/server/jsp-tests/jsp/tagext/LifeCycle tag_attr_setting_1.jsp tag_attr_setting_2.jsp tag_attr_setting_3.jsp tag_check_BodyContent_1.jsp tag_check_BodyContent_2.jsp tag_check_BodyContent_3.jsp tag_check_BodyContent_4.jsp tag_check_BodyContent_5.jsp tag_check_comments_1.jsp tag_check_comments_2.jsp tag_doEndTag_skip_page.jsp tag_doStart_eval_body_include.jsp tag_doStart_skip_body.jsp tag_doStart_skip_page.jsp tag_ignoreBody.jsp tag_int.jsp tag_negative_1.jsp tag_negative_2.jsp tag_negative_3.jsp tag_negative_4.jsp tag_nonempty_body_1.jsp tag_nonempty_body_2.jsp tag_positiveBody.jsp tag_translationtime_verify_1.jsp santosh 00/10/03 17:24:21 Added: src/server/jsp-tests/jsp/tagext/LifeCycle tag_attr_setting_1.jsp tag_attr_setting_2.jsp tag_attr_setting_3.jsp tag_check_BodyContent_1.jsp tag_check_BodyContent_2.jsp tag_check_BodyContent_3.jsp tag_check_BodyContent_4.jsp tag_check_BodyContent_5.jsp tag_check_comments_1.jsp tag_check_comments_2.jsp tag_doEndTag_skip_page.jsp tag_doStart_eval_body_include.jsp tag_doStart_skip_body.jsp tag_doStart_skip_page.jsp tag_ignoreBody.jsp tag_int.jsp tag_negative_1.jsp tag_negative_2.jsp tag_negative_3.jsp tag_negative_4.jsp tag_nonempty_body_1.jsp tag_nonempty_body_2.jsp tag_positiveBody.jsp tag_translationtime_verify_1.jsp Log: watchdog 4.0 Revision Changes Path 1.1 jakarta-watchdog-4.0/src/server/jsp-tests/jsp/tagext/LifeCycle/tag_attr_setting_1.jsp Index: tag_attr_setting_1.jsp =================================================================== <%-- Test that attribute setting is as wanted --%> <%@ taglib uri="/TestLib.tld" prefix="x" %> one two 1.1 jakarta-watchdog-4.0/src/server/jsp-tests/jsp/tagext/LifeCycle/tag_attr_setting_2.jsp Index: tag_attr_setting_2.jsp =================================================================== <%-- Test that attribute setting is as wanted Intermix some different tags --%> <%@ taglib uri="/TestLib.tld" prefix="x" %> one two 1.1 jakarta-watchdog-4.0/src/server/jsp-tests/jsp/tagext/LifeCycle/tag_attr_setting_3.jsp Index: tag_attr_setting_3.jsp =================================================================== <%-- Test that attribute setting is as wanted Intermix some different tags --%> <%@ taglib uri="/TestLib.tld" prefix="x" %> one two 1.1 jakarta-watchdog-4.0/src/server/jsp-tests/jsp/tagext/LifeCycle/tag_check_BodyContent_1.jsp Index: tag_check_BodyContent_1.jsp =================================================================== <%-- Check that BodyContent provides access to the proper information --%> <%@ taglib uri="/TestLib.tld" prefix="x" %> once upon a time once upon a time once upon a time 1.1 jakarta-watchdog-4.0/src/server/jsp-tests/jsp/tagext/LifeCycle/tag_check_BodyContent_2.jsp Index: tag_check_BodyContent_2.jsp =================================================================== <%-- Check that BodyContent provides access to the proper information --%> <%@ taglib uri="/TestLib.tld" prefix="x" %> one two three four five 1.1 jakarta-watchdog-4.0/src/server/jsp-tests/jsp/tagext/LifeCycle/tag_check_BodyContent_3.jsp Index: tag_check_BodyContent_3.jsp =================================================================== <%-- Check that BodyContent provides access to the proper information --%> <%@ taglib uri="/TestLib.tld" prefix="x" %> one two three four five 1.1 jakarta-watchdog-4.0/src/server/jsp-tests/jsp/tagext/LifeCycle/tag_check_BodyContent_4.jsp Index: tag_check_BodyContent_4.jsp =================================================================== <%-- Check that BodyContent provides access to the proper information --%> <%@ taglib uri="/TestLib.tld" prefix="x" %> one two three four five 1.1 jakarta-watchdog-4.0/src/server/jsp-tests/jsp/tagext/LifeCycle/tag_check_BodyContent_5.jsp Index: tag_check_BodyContent_5.jsp =================================================================== <%-- Check that BodyContent provides access to the proper information --%> <%@ taglib uri="/TestLib.tld" prefix="x" %> one two three four five 1.1 jakarta-watchdog-4.0/src/server/jsp-tests/jsp/tagext/LifeCycle/tag_check_comments_1.jsp Index: tag_check_comments_1.jsp =================================================================== <%-- Test that comments are processed correctly... --%> <%@ taglib uri="/TestLib.tld" prefix="x" %> <%-- --%> Correct count and correct processing of a JSP comment 1.1 jakarta-watchdog-4.0/src/server/jsp-tests/jsp/tagext/LifeCycle/tag_check_comments_2.jsp Index: tag_check_comments_2.jsp =================================================================== <%-- Test that comments are processed correctly... --%> <%@ taglib uri="/TestLib.tld" prefix="x" %> <%-- <%-- --%> Correct count and handling of JSP comments 1.1 jakarta-watchdog-4.0/src/server/jsp-tests/jsp/tagext/LifeCycle/tag_doEndTag_skip_page.jsp Index: tag_doEndTag_skip_page.jsp =================================================================== <%-- Test for doEndTag SKIP_PAGE --%> <%@ taglib uri="/TestLib.tld" prefix="x" %> once upon a time <% if(true) throw new Error("Should not happen!"); %> 1.1 jakarta-watchdog-4.0/src/server/jsp-tests/jsp/tagext/LifeCycle/tag_doStart_eval_body_include.jsp Index: tag_doStart_eval_body_include.jsp =================================================================== <%-- Test for doStartTag EVAL_BODY_INCLUDE --%> <%@ taglib uri="/TestLib.tld" prefix="x" %> once upon a time this will not show up in a far far away kingdom... 1.1 jakarta-watchdog-4.0/src/server/jsp-tests/jsp/tagext/LifeCycle/tag_doStart_skip_body.jsp Index: tag_doStart_skip_body.jsp =================================================================== <%-- Test for doStartTag SKIP_BODY --%> <%@ taglib uri="/TestLib.tld" prefix="x" %> once upon a time <% if(true) throw new Error("Call the errorpage"); %> in a far far away kingdom... 1.1 jakarta-watchdog-4.0/src/server/jsp-tests/jsp/tagext/LifeCycle/tag_doStart_skip_page.jsp Index: tag_doStart_skip_page.jsp =================================================================== <%-- Test for doEndTag SKIP_PAGE. This should get the error page --%> <%@ taglib uri="/TestLib.tld" prefix="x" %> once upon a time <% if(true) throw new Error("Go to the Error page!"); %> 1.1 jakarta-watchdog-4.0/src/server/jsp-tests/jsp/tagext/LifeCycle/tag_ignoreBody.jsp Index: tag_ignoreBody.jsp =================================================================== <%-- Test for translation-time verification. Test that a tag is passed (at translation time) correct TagInfo data. Body will be ignored. --%> <%@ taglib uri="/TestLib.tld" prefix="x" %> HI! 1.1 jakarta-watchdog-4.0/src/server/jsp-tests/jsp/tagext/LifeCycle/tag_int.jsp Index: tag_int.jsp =================================================================== <%-- Test for defining an int variable. --%> <%@ taglib uri="/TestLib.tld" prefix="x" %> <%! public static Integer increment(Integer i) { if (i != null) return new Integer(i.intValue()+1); return new Integer(0); } %> <%! public static int valueof(Integer i) { if (i != null) return i.intValue(); return 0; } %> (1) i was <%= i %>; <% i = increment(i); %> i is now <%= valueof(i) %> (2) i was <%= i %>; <% i = increment(i); %> i is now <%= valueof(i) %> (3) i was <%= i %>; <% i = increment(i); %> i is now <%= valueof(i) %> (4) i was <%= i %>; <% i = increment(i); %> i is now <%= valueof(i) %> 1.1 jakarta-watchdog-4.0/src/server/jsp-tests/jsp/tagext/LifeCycle/tag_negative_1.jsp Index: tag_negative_1.jsp =================================================================== <%-- Test for translation-time verification Fails because 3+2 != 6. --%> <%@ taglib uri="/TestLib.tld" prefix="x" %> 1.1 jakarta-watchdog-4.0/src/server/jsp-tests/jsp/tagext/LifeCycle/tag_negative_2.jsp Index: tag_negative_2.jsp =================================================================== <%-- Test for translation-time verification Should fail (at translation time) because the attributes are illegal (a is not an integer) --%> <%@ taglib uri="/TestLib.tld" prefix="x" %> 1.1 jakarta-watchdog-4.0/src/server/jsp-tests/jsp/tagext/LifeCycle/tag_negative_3.jsp Index: tag_negative_3.jsp =================================================================== <%-- Test for translation-time verification Should fail because there is one attribute missing. --%> <%@ taglib uri="/TestLib.tld" prefix="x" %> 1.1 jakarta-watchdog-4.0/src/server/jsp-tests/jsp/tagext/LifeCycle/tag_negative_4.jsp Index: tag_negative_4.jsp =================================================================== <%-- Test for translation-time verification Should fail because required arguments are not passed. --%> <%@ taglib uri="/TestLib.tld" prefix="x" %> 1.1 jakarta-watchdog-4.0/src/server/jsp-tests/jsp/tagext/LifeCycle/tag_nonempty_body_1.jsp Index: tag_nonempty_body_1.jsp =================================================================== <%-- Test for translation-time verification Verify that a non-empty body can be passed The body will be ignored. --%> <%@ taglib uri="/TestLib.tld" prefix="x" %> HI! 1.1 jakarta-watchdog-4.0/src/server/jsp-tests/jsp/tagext/LifeCycle/tag_nonempty_body_2.jsp Index: tag_nonempty_body_2.jsp =================================================================== <%-- Test for translation-time verification Verify that single and double quotes can be used. Verify that a non-empty body can be passed The body will be ignored --%> <%@ taglib uri="/TestLib.tld" prefix="x" %> HI! 1.1 jakarta-watchdog-4.0/src/server/jsp-tests/jsp/tagext/LifeCycle/tag_positiveBody.jsp Index: tag_positiveBody.jsp =================================================================== <%-- Test for translation-time verification Test that a tag is passed (at translation time) correct TagInfo data --%> <%@ taglib uri="/TestLib.tld" prefix="x" %> HI! 1.1 jakarta-watchdog-4.0/src/server/jsp-tests/jsp/tagext/LifeCycle/tag_translationtime_verify_1.jsp Index: tag_translationtime_verify_1.jsp =================================================================== <%-- Test for translation-time verification Succeed. 2+3 == 5. --%> <%@ taglib uri="/TestLib.tld" prefix="x" %> sucess!