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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? testmultiboxtag1.java

?? struts的源代碼
?? JAVA
字號:
/*
 * $Id: TestMultiboxTag1.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 TestMultiboxTag1 extends JspTestCase {

    /**
     * Defines the testcase name for JUnit.
     *
     * @param theName the testcase's name.
     */
    public TestMultiboxTag1(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[] {TestMultiboxTag1.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(TestMultiboxTag1.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/TestMultiboxTag1.jsp");
    }

    /*
     * Testing MultiboxTag.
     */
    public void testMultiboxPropertyTrue() throws Exception {
        runMyTest("testMultiboxPropertyTrue", "");
        }
    public void testMultiboxPropertyTrueAccesskey() throws Exception {
        runMyTest("testMultiboxPropertyTrueAccesskey", "");
        }
    public void testMultiboxPropertyTrueAlt() throws Exception {
        runMyTest("testMultiboxPropertyTrueAlt", "");
        }
    public void testMultiboxPropertyTrueAltKey1() throws Exception {
        runMyTest("testMultiboxPropertyTrueAltKey1", "");
        }
    public void testMultiboxPropertyTrueAltKey2() throws Exception {
        runMyTest("testMultiboxPropertyTrueAltKey2", "");
        }
    public void testMultiboxPropertyTrueAltKey3() throws Exception {
        runMyTest("testMultiboxPropertyTrueAltKey3", "");
    }
    public void testMultiboxPropertyTrueAltKey_fr1() throws Exception {
        runMyTest("testMultiboxPropertyTrueAltKey1_fr", "fr");
        }
    public void testMultiboxPropertyTrueAltKey_fr2() throws Exception {
        runMyTest("testMultiboxPropertyTrueAltKey2_fr", "fr");
        }
    public void testMultiboxPropertyTrueDisabled_True() throws Exception {
        runMyTest("testMultiboxPropertyTrueDisabled_True", "");
        }
    public void testMultiboxPropertyTrueDisabled_False1() throws Exception {
        runMyTest("testMultiboxPropertyTrueDisabled_False1", "");
        }
    public void testMultiboxPropertyTrueDisabled_False2() throws Exception {
        runMyTest("testMultiboxPropertyTrueDisabled_False2", "");
        }
    public void testMultiboxPropertyTrueOnblur() throws Exception {
        runMyTest("testMultiboxPropertyTrueOnblur", "");
        }

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

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

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

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

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

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

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

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

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

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

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

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

}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
色综合 综合色| 久久国产精品区| 97久久超碰国产精品电影| 日本一区二区视频在线| 成人a免费在线看| 中文字幕中文字幕一区| 91麻豆国产福利精品| 亚洲精品成人天堂一二三| 91国内精品野花午夜精品 | a4yy欧美一区二区三区| 中文字幕av一区二区三区免费看 | 欧美一二三四区在线| 麻豆国产欧美一区二区三区| 国产亚洲一区二区在线观看| 不卡一区中文字幕| 亚洲6080在线| 久久久久久综合| 一本大道久久a久久综合| 午夜视频在线观看一区二区 | 欧美激情综合网| av电影一区二区| 日韩中文欧美在线| 久久久国产精品午夜一区ai换脸| 不卡一二三区首页| 天涯成人国产亚洲精品一区av| www欧美成人18+| 91热门视频在线观看| 日本不卡视频在线观看| 国产精品午夜在线观看| 欧美日韩在线不卡| 一本色道久久加勒比精品| 午夜激情综合网| 欧美国产视频在线| 欧美美女一区二区在线观看| 精品一区二区免费在线观看| 亚洲精品v日韩精品| 精品久久99ma| 色老汉一区二区三区| 久久99国产精品成人| 一区二区成人在线| 久久久三级国产网站| 欧美日韩卡一卡二| 成人激情av网| 久久成人精品无人区| 亚洲第一福利一区| 国产精品久久久久久久第一福利| 日韩色在线观看| 欧洲精品中文字幕| 成人国产免费视频| 美女在线一区二区| 亚洲国产视频在线| 国产精品国产三级国产aⅴ入口| 日韩欧美一卡二卡| 欧美男女性生活在线直播观看| 成人avav影音| 国产精品自拍一区| 免费人成黄页网站在线一区二区| 亚洲靠逼com| 中文字幕一区二区三区蜜月| 久久夜色精品一区| 精品国产一区久久| 欧美一级免费大片| 9191成人精品久久| 欧美四级电影网| 色综合久久99| 91片在线免费观看| 91免费在线视频观看| 99麻豆久久久国产精品免费 | 亚洲视频 欧洲视频| 欧美极品少妇xxxxⅹ高跟鞋 | 国产日韩综合av| 日韩欧美一二三| 欧美一二三四在线| 91精品国产品国语在线不卡| 欧美绝品在线观看成人午夜影视| 在线观看av一区二区| 色老综合老女人久久久| 在线观看一区不卡| 日本道色综合久久| 在线观看网站黄不卡| 色综合久久综合网欧美综合网 | 欧美亚洲另类激情小说| 色视频一区二区| 欧美视频第二页| 欧美精品在线观看播放| 欧美疯狂做受xxxx富婆| 欧美一卡二卡三卡四卡| 日韩精品一区二区三区视频| 亚洲精品在线网站| 久久久久久久久蜜桃| 国产精品视频yy9299一区| 成人免费在线播放视频| 亚洲精品欧美激情| 丝袜美腿高跟呻吟高潮一区| 蜜臀va亚洲va欧美va天堂| 久久精品99久久久| 成人动漫视频在线| 欧美专区在线观看一区| 欧美日本一区二区| 欧美精品一区二区三区一线天视频 | 日本三级韩国三级欧美三级| 麻豆91在线播放| 国产成人亚洲综合色影视| 99久久婷婷国产综合精品电影 | 欧美一区二区久久| 久久精品一区二区三区不卡| 综合久久国产九一剧情麻豆| 午夜精品福利一区二区蜜股av | 久久综合久久99| 亚洲欧洲精品一区二区三区不卡| 亚洲一区在线观看视频| 日本成人中文字幕在线视频| 国内欧美视频一区二区| 色视频成人在线观看免| 日韩午夜小视频| 一区精品在线播放| 日本伊人色综合网| av午夜一区麻豆| 欧美日韩精品免费| 国产视频一区二区在线| 亚洲电影你懂得| 国产一区二区精品久久99| 91黄色免费版| 国产三级精品视频| 午夜精品久久久久久久99水蜜桃| 国产一区欧美二区| 欧美日韩性生活| 国产日产欧美一区二区视频| 亚洲成人激情综合网| 成人精品视频一区| 日韩欧美高清dvd碟片| 亚洲另类春色校园小说| 国产精品一区免费视频| 欧美巨大另类极品videosbest| 国产色综合久久| 美女视频网站久久| 91色.com| 中文字幕第一区综合| 久久国产综合精品| 欧美日韩精品系列| 亚洲精品videosex极品| 国产99久久久国产精品免费看 | 欧美中文字幕一区二区三区| 久久久久久亚洲综合| 男人操女人的视频在线观看欧美| 在线精品视频免费观看| 国产精品理伦片| 国产在线观看免费一区| 日韩一卡二卡三卡国产欧美| 亚洲综合另类小说| 91首页免费视频| 国产欧美视频在线观看| 久久不见久久见中文字幕免费| 欧美久久久久久蜜桃| 亚洲黄色小视频| 色婷婷亚洲精品| 综合欧美一区二区三区| 成人免费毛片app| 国产亚洲欧美激情| 国产精品一区专区| 精品裸体舞一区二区三区| 日韩影院在线观看| 欧美乱妇一区二区三区不卡视频| 亚洲一区电影777| 欧美视频一区在线观看| 一卡二卡欧美日韩| 欧美天堂亚洲电影院在线播放| 亚洲精品乱码久久久久久久久 | 91亚洲国产成人精品一区二区三| 中文字幕欧美日韩一区| 成人性生交大合| 国产精品免费久久久久| jiyouzz国产精品久久| 国产精品久99| 99久久精品国产网站| 亚洲精品大片www| 欧美日韩一级黄| 日本亚洲最大的色成网站www| 欧美一级生活片| 精品在线你懂的| 久久久欧美精品sm网站| 成人精品国产免费网站| 亚洲三级在线免费| 欧美天堂亚洲电影院在线播放| 亚洲不卡av一区二区三区| 7777精品伊人久久久大香线蕉的| 美女视频黄频大全不卡视频在线播放| 日韩一区二区中文字幕| 久久国产精品免费| 中文字幕欧美日韩一区| 在线看日本不卡| 日韩一区欧美二区| 国产亚洲综合在线| 99九九99九九九视频精品| 亚洲综合色视频| 日韩精品一区在线观看| 福利电影一区二区| 亚洲精品国产高清久久伦理二区 | 日韩免费观看2025年上映的电影 | 精品制服美女丁香|