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

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

?? testbuttontag2.java

?? struts的源代碼
?? JAVA
字號:
/*
 * $Id: TestButtonTag2.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.ArrayList;
import java.util.HashMap;
import java.util.Locale;
import java.util.StringTokenizer;

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.ButtonTag</code> class.
 *
 */
public class TestButtonTag2 extends JspTestCase {

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

    private void runMyTest(String whichTest, String locale) throws Exception {
        pageContext.setAttribute(Globals.LOCALE_KEY, new Locale(locale, locale), PageContext.SESSION_SCOPE);
        request.setAttribute("runTest", whichTest);
        pageContext.forward("/test/org/apache/struts/taglib/html/TestButtonTag2.jsp");
    }

    /*
     * Testing ButtonTag.
     */

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

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

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

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

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

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

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

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

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

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

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

    public void testButtonPropertyIndexedArray() throws Exception {
        ArrayList lst = new ArrayList();
        lst.add("Test Message");
        pageContext.setAttribute("lst", lst, PageContext.REQUEST_SCOPE);
        runMyTest("testButtonPropertyIndexedArray", "");
        }

    public void testButtonPropertyIndexedArrayProperty() throws Exception {
        SimpleBeanForTesting sbft = new SimpleBeanForTesting();
        ArrayList lst = new ArrayList();
        lst.add("Test Message");
        sbft.setList(lst);
        pageContext.setAttribute("lst", sbft, PageContext.REQUEST_SCOPE);
        runMyTest("testButtonPropertyIndexedArrayProperty", "");
        }

    public void testButtonPropertyIndexedMap() throws Exception {
        HashMap map = new HashMap();
        map.put("tst1", "Test Message");
        pageContext.setAttribute("lst", map, PageContext.REQUEST_SCOPE);
        runMyTest("testButtonPropertyIndexedMap", "");
        }

    public void testButtonPropertyIndexedMapProperty() throws Exception {
        SimpleBeanForTesting sbft = new SimpleBeanForTesting();
        HashMap map = new HashMap();
        map.put("tst1", "Test Message");
        sbft.setMap(map);
        pageContext.setAttribute("lst", sbft, PageContext.REQUEST_SCOPE);
        runMyTest("testButtonPropertyIndexedMapProperty", "");
        }

    public void testButtonPropertyIndexedEnumeration() throws Exception {
        StringTokenizer st = new StringTokenizer("Test Message");
        pageContext.setAttribute("lst", st, PageContext.REQUEST_SCOPE);
        runMyTest("testButtonPropertyIndexedEnumeration", "");
        }

    public void testButtonPropertyIndexedEnumerationProperty() throws Exception {
        SimpleBeanForTesting sbft = new SimpleBeanForTesting();
        StringTokenizer st = new StringTokenizer("Test Message");
        sbft.setEnumeration(st);
        pageContext.setAttribute("lst", sbft, PageContext.REQUEST_SCOPE);
        runMyTest("testButtonPropertyIndexedEnumerationProperty", "");
        }



}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲色图丝袜美腿| 久久久久久一二三区| 91在线观看成人| 成人精品视频一区| 99精品视频中文字幕| 99国产精品国产精品毛片| 国产真实乱对白精彩久久| 日韩中文欧美在线| 日日夜夜免费精品视频| 久久精品国产77777蜜臀| 美国毛片一区二区三区| 国产剧情一区二区三区| av资源站一区| 51久久夜色精品国产麻豆| 欧美一级日韩免费不卡| 久久久不卡网国产精品一区| 国产精品欧美久久久久一区二区| 一区二区三区不卡视频在线观看 | 亚洲欧美激情小说另类| 伊人色综合久久天天人手人婷| 午夜国产精品一区| 国产91精品露脸国语对白| 91蜜桃免费观看视频| 欧美岛国在线观看| 亚洲国产色一区| 国产白丝精品91爽爽久久| 777xxx欧美| 亚洲精品欧美专区| 国产高清不卡二三区| 欧美精品 国产精品| 亚洲免费在线观看| 国产99久久久国产精品免费看| 在线观看一区二区精品视频| 中文字幕av在线一区二区三区| 国产成人综合亚洲91猫咪| 国产清纯在线一区二区www| 久久久不卡网国产精品二区| 亚洲国产美女搞黄色| 99综合影院在线| 国产欧美中文在线| 国产麻豆精品视频| 国产丝袜欧美中文另类| 免费人成网站在线观看欧美高清| 91麻豆123| 亚洲一区二区美女| 99国产精品国产精品久久| 国产精品国产三级国产aⅴ原创 | 99re视频这里只有精品| 26uuu国产在线精品一区二区| 日韩精品电影在线观看| 制服丝袜亚洲色图| 男人的天堂久久精品| 亚洲精品一区二区精华| 国产精品18久久久久久vr| 国产色一区二区| 91在线你懂得| 污片在线观看一区二区| 欧美va亚洲va国产综合| 成人黄色av电影| 亚洲成人av电影在线| www日韩大片| 91久久香蕉国产日韩欧美9色| 日韩中文字幕区一区有砖一区| 2020国产精品自拍| 91久久精品日日躁夜夜躁欧美| 捆绑紧缚一区二区三区视频| 久久先锋影音av| 色av成人天堂桃色av| 日韩精品高清不卡| 国产精品久久综合| 欧美一区二区三区白人| 99热在这里有精品免费| 日日嗨av一区二区三区四区| 日韩网站在线看片你懂的| youjizz国产精品| 久久国产福利国产秒拍| 亚洲乱码国产乱码精品精小说| 精品国产一区二区在线观看| 99久久精品费精品国产一区二区 | 色94色欧美sute亚洲13| 国内精品免费在线观看| 日本aⅴ免费视频一区二区三区| 一区二区三区视频在线观看| 中文字幕在线观看不卡视频| 欧美成人福利视频| 精品福利在线导航| 在线不卡一区二区| 91精品国产综合久久久蜜臀图片| 成人免费av在线| 91看片淫黄大片一级在线观看| 国产电影精品久久禁18| 国产一区二区美女| 成人av网址在线观看| 99精品欧美一区二区三区综合在线| eeuss鲁片一区二区三区在线看| 国产尤物一区二区| 99这里只有久久精品视频| 欧美最猛性xxxxx直播| 欧美一区二区三区四区视频 | 亚洲综合激情小说| 日韩中文字幕区一区有砖一区| 日韩激情一二三区| 国产自产v一区二区三区c| 91亚洲大成网污www| 777奇米四色成人影色区| 久久久亚洲精华液精华液精华液 | 蜜桃久久久久久| 97se亚洲国产综合自在线| 在线影视一区二区三区| 日韩欧美在线综合网| 五月天一区二区三区| 精品88久久久久88久久久| 欧洲在线/亚洲| 久久久久久免费毛片精品| 亚洲欧美日韩国产手机在线 | 亚洲成a人v欧美综合天堂下载| 男女男精品网站| 色综合亚洲欧洲| 国产精品日日摸夜夜摸av| 午夜精品久久久久久久久久久 | 欧美激情综合五月色丁香小说| 亚洲一区二区高清| 99久久精品免费看| 久久久亚洲精品一区二区三区| 五月天丁香久久| 欧美三级中文字幕| 一区二区三区自拍| 色婷婷香蕉在线一区二区| 中文字幕高清一区| 成人黄色在线视频| 国产精品国产a| 9色porny自拍视频一区二区| 国产精品乱人伦| eeuss鲁片一区二区三区在线观看 eeuss鲁片一区二区三区在线看 | 9色porny自拍视频一区二区| 国产亚洲va综合人人澡精品| 国产91对白在线观看九色| 国产欧美一区视频| 91看片淫黄大片一级| 亚洲午夜在线电影| 日韩一级片网址| 成人综合在线视频| 亚洲欧美日韩国产成人精品影院| 色八戒一区二区三区| 亚洲国产精品久久不卡毛片| 欧美喷水一区二区| 国产精品资源在线观看| 国产精品国产三级国产普通话三级| 色婷婷久久久亚洲一区二区三区 | 一本到一区二区三区| 午夜a成v人精品| 亚洲日本欧美天堂| 日韩一级在线观看| 色综合中文字幕国产| 亚洲18女电影在线观看| 26uuu国产一区二区三区| 欧美在线|欧美| 成人性色生活片| 蜜臀a∨国产成人精品| 国产精品久久久久天堂| 7777精品伊人久久久大香线蕉完整版 | 91麻豆精品在线观看| 国模一区二区三区白浆| 亚洲激情图片qvod| 国产女主播一区| 欧美r级电影在线观看| 欧美日韩一区二区三区高清| 成人av网站在线观看| 国产91丝袜在线播放0| 久久99久久精品| 精品亚洲成a人| 国产综合久久久久久鬼色| 久久国产精品99精品国产 | 3atv一区二区三区| 欧美日韩亚洲综合在线| 欧美狂野另类xxxxoooo| 91免费视频网| 在线视频一区二区三区| 欧美性受xxxx黑人xyx性爽| 91官网在线免费观看| 色狠狠色噜噜噜综合网| 日本丶国产丶欧美色综合| 色成人在线视频| 欧美一区二区三区四区视频| 日韩欧美成人一区| 国产欧美日韩另类视频免费观看| 精品国产乱码久久| 欧美国产乱子伦| 亚洲一区二区免费视频| 日韩成人午夜电影| 欧美成人一区二区| 欧美一区二区精品| 国产喂奶挤奶一区二区三区| 日韩美女久久久| 老司机免费视频一区二区| 成人免费av在线| 欧美日韩国产综合久久| 欧美国产1区2区| 免费不卡在线视频| 91视频一区二区三区|