亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? testmultiboxtag2.java

?? struts的源代碼
?? JAVA
字號:
/*
 * $Id: TestMultiboxTag2.java 54929 2004-10-16 16:38:42Z germuska $ 
 *
 * Copyright 1999-2004 The Apache Software Foundation.
 * 
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * 
 *      http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package org.apache.struts.taglib.html;

import java.util.Locale;

import javax.servlet.jsp.PageContext;
import junit.framework.Test;
import junit.framework.TestSuite;

import org.apache.cactus.JspTestCase;
import org.apache.struts.Globals;
import org.apache.struts.taglib.SimpleBeanForTesting;

/**
 * Suite of unit tests for the
 * <code>org.apache.struts.taglib.html.MultiboxTag</code> class.
 *  NOTE - These tests were separated into 4 files each because of the
 *         size of the jsp. (not playing well with Tomcat 3.3
 *
 *  These tests are numbered as such:
 *
 *  1 thru 4 test a single checkbox
 *  TestMultiboxTag1 - These test validate true (a value was in the array) on our form.
 *  TestMultiboxTag2 - Same as 1, but using BodyContent instead of value attribute
 *
 *  TestMultiboxTag3 - These test validate true (a value was in the array) on our form.
 *  TestMultiboxTag4 - Same as 3, but using BodyContent instead of value attribute
 *
 *  5 thru 8 test multiple checkboxes
 *  TestMultiboxTag5 - These test validate true (a value was in the array) on our form.
 *  TestMultiboxTag6 - Same as 5, but using BodyContent instead of value attribute
 *
 *  TestMultiboxTag7 - These test validate true (a value was in the array) on our form.
 *  TestMultiboxTag8 - Same as 7, but using BodyContent instead of value attribute
 *
 *
 */
public class TestMultiboxTag2 extends JspTestCase {

    /**
     * Defines the testcase name for JUnit.
     *
     * @param theName the testcase's name.
     */
    public TestMultiboxTag2(String theName) {
        super(theName);
    }

    /**
     * Start the tests.
     *
     * @param theArgs the arguments. Not used
     */
    public static void main(String[] theArgs) {
        junit.awtui.TestRunner.main(new String[] {TestMultiboxTag2.class.getName()});
    }

    /**
     * @return a test suite (<code>TestSuite</code>) that includes all methods
     *         starting with "test"
     */
    public static Test suite() {
        // All methods starting with "test" will be executed in the test suite.
        return new TestSuite(TestMultiboxTag2.class);
    }

    private void runMyTest(String whichTest, String locale) throws Exception {
        pageContext.setAttribute(Globals.LOCALE_KEY,
                        new Locale(locale, locale),
                        PageContext.SESSION_SCOPE);

                String[] s = new String[7];
                for(int i = 1; i < 7; i++){
                        s[i] = "value" + i;
                }
                SimpleBeanForTesting sbft = new SimpleBeanForTesting(s);

        pageContext.setAttribute(Constants.BEAN_KEY, sbft, PageContext.REQUEST_SCOPE);
        request.setAttribute("runTest", whichTest);
        pageContext.forward("/test/org/apache/struts/taglib/html/TestMultiboxTag2.jsp");
    }

    /*
     * Testing MultiboxTag.
     */
    public void testMultiboxBodyPropertyTrue() throws Exception {
        runMyTest("testMultiboxBodyPropertyTrue", "");
        }
    public void testMultiboxBodyPropertyTrueAccesskey() throws Exception {
        runMyTest("testMultiboxBodyPropertyTrueAccesskey", "");
        }
    public void testMultiboxBodyPropertyTrueAlt() throws Exception {
        runMyTest("testMultiboxBodyPropertyTrueAlt", "");
        }
    public void testMultiboxBodyPropertyTrueAltKey1() throws Exception {
        runMyTest("testMultiboxBodyPropertyTrueAltKey1", "");
        }
    public void testMultiboxBodyPropertyTrueAltKey2() throws Exception {
        runMyTest("testMultiboxBodyPropertyTrueAltKey2", "");
        }
    public void testMultiboxBodyPropertyTrueAltKey_fr1() throws Exception {
        runMyTest("testMultiboxBodyPropertyTrueAltKey1_fr", "fr");
        }
    public void testMultiboxBodyPropertyTrueAltKey_fr2() throws Exception {
        runMyTest("testMultiboxBodyPropertyTrueAltKey2_fr", "fr");
        }
    public void testMultiboxBodyPropertyTrueDisabled_True() throws Exception {
        runMyTest("testMultiboxBodyPropertyTrueDisabled_True", "");
        }
    public void testMultiboxBodyPropertyTrueDisabled_False1() throws Exception {
        runMyTest("testMultiboxBodyPropertyTrueDisabled_False1", "");
        }
    public void testMultiboxBodyPropertyTrueDisabled_False2() throws Exception {
        runMyTest("testMultiboxBodyPropertyTrueDisabled_False2", "");
        }
    public void testMultiboxBodyPropertyTrueOnblur() throws Exception {
        runMyTest("testMultiboxBodyPropertyTrueOnblur", "");
        }

    public void testMultiboxBodyPropertyTrueOnchange() throws Exception {
        runMyTest("testMultiboxBodyPropertyTrueOnchange", "");
        }

    public void testMultiboxBodyPropertyTrueOnclick() throws Exception {
        runMyTest("testMultiboxBodyPropertyTrueOnclick", "");
        }

    public void testMultiboxBodyPropertyTrueOndblclick() throws Exception {
        runMyTest("testMultiboxBodyPropertyTrueOndblclick", "");
        }

    public void testMultiboxBodyPropertyTrueOnfocus() throws Exception {
        runMyTest("testMultiboxBodyPropertyTrueOnfocus", "");
        }

    public void testMultiboxBodyPropertyTrueOnkeydown() throws Exception {
        runMyTest("testMultiboxBodyPropertyTrueOnkeydown", "");
        }

    public void testMultiboxBodyPropertyTrueOnkeypress() throws Exception {
        runMyTest("testMultiboxBodyPropertyTrueOnkeypress", "");
        }

    public void testMultiboxBodyPropertyTrueOnkeyup() throws Exception {
        runMyTest("testMultiboxBodyPropertyTrueOnkeyup", "");
        }

    public void testMultiboxBodyPropertyTrueOnmousedown() throws Exception {
        runMyTest("testMultiboxBodyPropertyTrueOnmousedown", "");
        }

    public void testMultiboxBodyPropertyTrueOnmousemove() throws Exception {
        runMyTest("testMultiboxBodyPropertyTrueOnmousemove", "");
        }

    public void testMultiboxBodyPropertyTrueOnmouseout() throws Exception {
        runMyTest("testMultiboxBodyPropertyTrueOnmouseout", "");
        }

    public void testMultiboxBodyPropertyTrueOnmouseover() throws Exception {
        runMyTest("testMultiboxBodyPropertyTrueOnmouseover", "");
        }

    public void testMultiboxBodyPropertyTrueOnmouseup() throws Exception {
        runMyTest("testMultiboxBodyPropertyTrueOnmouseup", "");
        }

}

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日韩欧美亚洲另类制服综合在线| 国产亚洲短视频| 亚洲色图视频免费播放| 成人精品在线视频观看| 久久精品人人做人人综合| 国产成人在线观看| 精品国产99国产精品| 极品少妇xxxx偷拍精品少妇| 欧美精品一区二区三区很污很色的 | 亚洲国产精品欧美一二99| 欧美午夜精品久久久久久超碰| 亚洲黄色小视频| 91精品国产91久久久久久最新毛片| 亚洲午夜在线电影| 欧美变态tickle挠乳网站| 成人黄色在线视频| 亚洲无线码一区二区三区| 欧美精品丝袜久久久中文字幕| 免费在线一区观看| 国产精品福利一区| 欧美亚洲免费在线一区| 黄一区二区三区| 亚洲图片一区二区| 久久久久久久国产精品影院| 欧美在线观看一区二区| 国产在线精品视频| 亚洲mv大片欧洲mv大片精品| 国产欧美综合色| 精品少妇一区二区三区在线视频 | 天天av天天翘天天综合网色鬼国产| ww亚洲ww在线观看国产| 欧美日韩综合色| av一区二区三区在线| 国产一区二区在线观看视频| 亚洲成av人片一区二区| 国产精品视频一二| 欧美色成人综合| 91同城在线观看| 丰满放荡岳乱妇91ww| 黄网站免费久久| 精品写真视频在线观看| 婷婷国产v国产偷v亚洲高清| 国产精品久久网站| 国产精品免费免费| 国产免费成人在线视频| 久久久久一区二区三区四区| 日韩欧美国产一区在线观看| 在线不卡一区二区| 欧美人妖巨大在线| 日韩一区二区在线免费观看| 日韩一二三四区| 精品久久人人做人人爰| 国产亚洲成年网址在线观看| 亚洲国产成人在线| 专区另类欧美日韩| 一区二区在线电影| 亚洲一区二区三区四区在线| 一区二区不卡在线播放| 日本在线不卡视频| 国产福利电影一区二区三区| 不卡影院免费观看| 欧美无人高清视频在线观看| 欧美一级艳片视频免费观看| 久久综合久久99| 亚洲精品国产无天堂网2021| 亚洲第一会所有码转帖| 麻豆国产精品一区二区三区| 国产成人精品一区二区三区网站观看| 99视频精品免费视频| 欧美日韩一卡二卡| 国产日韩欧美不卡在线| 亚洲福利视频一区二区| 高清免费成人av| 91精品一区二区三区在线观看| 欧美激情艳妇裸体舞| 午夜视频在线观看一区二区三区| 国产老肥熟一区二区三区| 欧美性大战久久| 国产精品美女一区二区在线观看| 美女爽到高潮91| 欧美日韩精品欧美日韩精品| 一级做a爱片久久| 99精品欧美一区二区蜜桃免费| 2020国产精品自拍| 亚洲黄色片在线观看| 9l国产精品久久久久麻豆| 精品卡一卡二卡三卡四在线| 亚洲一区二区三区视频在线| 99re热这里只有精品视频| 欧美激情综合在线| 婷婷亚洲久悠悠色悠在线播放 | 一本大道久久a久久精二百 | 国产精品久久久久久久浪潮网站| 九九在线精品视频| 欧美电影免费观看高清完整版在线| 日本在线播放一区二区三区| 欧美日韩大陆一区二区| 一区二区三区四区中文字幕| 色爱区综合激月婷婷| 香蕉加勒比综合久久| 欧美人与性动xxxx| 三级成人在线视频| 91麻豆精品国产综合久久久久久 | 成人免费在线视频| 色综合久久六月婷婷中文字幕| 亚洲欧洲国产日本综合| 日本丶国产丶欧美色综合| 午夜精品福利视频网站| 日韩精品一区二区三区中文精品| 久久99精品久久久久久国产越南| 久久亚洲二区三区| 97久久超碰精品国产| 亚洲在线中文字幕| 日韩一级黄色片| 丁香桃色午夜亚洲一区二区三区| 国产精品乱人伦| 欧美三级三级三级爽爽爽| 国内精品在线播放| 国产精品福利一区二区| 欧美日韩免费观看一区三区| 麻豆成人av在线| 亚洲女同ⅹxx女同tv| 91福利在线观看| 激情亚洲综合在线| 日韩美女久久久| 国产日韩欧美麻豆| 欧美亚一区二区| 国产一区二区美女诱惑| 亚洲成人黄色小说| 亚洲综合色视频| 国产精品久久久久影院色老大| 日韩一级二级三级精品视频| 成人精品一区二区三区中文字幕| 精品在线播放午夜| 亚洲地区一二三色| 亚洲色图欧美偷拍| 国产蜜臀97一区二区三区| 日韩欧美国产精品| 91成人看片片| 在线亚洲+欧美+日本专区| 成人aaaa免费全部观看| 成人综合在线视频| 高清不卡一二三区| 成人丝袜高跟foot| 成人一区二区三区中文字幕| 成人在线综合网| 99在线精品视频| 色婷婷综合久久久久中文一区二区 | 在线免费观看一区| 欧美系列日韩一区| 欧美色中文字幕| 91精品国产综合久久国产大片| 日韩欧美一级精品久久| 久久先锋影音av鲁色资源网| 国产欧美日韩精品在线| 亚洲欧美色一区| 日韩精品一二三| 国产精品99久久久久久久vr| aa级大片欧美| 欧美精品乱码久久久久久| 欧美成人免费网站| 国产精品视频一二三区| 亚洲一级在线观看| 久久爱www久久做| 91在线观看美女| 欧美不卡在线视频| 亚洲码国产岛国毛片在线| 日本不卡一二三| 色中色一区二区| 久久久久久久久一| 香蕉乱码成人久久天堂爱免费| 狠狠色丁香婷综合久久| 色噜噜夜夜夜综合网| 精品对白一区国产伦| 午夜精品福利一区二区三区av | 日韩一区二区三区三四区视频在线观看| 久久综合九色综合97婷婷女人| 亚洲欧洲精品成人久久奇米网| 激情伊人五月天久久综合| 国产suv精品一区二区883| 56国语精品自产拍在线观看| 亚洲麻豆国产自偷在线| 国产成人8x视频一区二区| 精品国产区一区| 精品影视av免费| 91精品国产91久久综合桃花| 亚洲国产一二三| 在线视频一区二区三区| 亚洲欧洲中文日韩久久av乱码| 丰满少妇在线播放bd日韩电影| 久久综合五月天婷婷伊人| 蜜芽一区二区三区| 日韩视频一区在线观看| 天天色天天爱天天射综合| 欧美一区欧美二区| 日韩精品一区第一页| 日韩美女一区二区三区四区| 六月丁香综合在线视频| 日韩欧美精品在线视频| 加勒比av一区二区|