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

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

?? testtexttag2.java

?? struts的源代碼
?? JAVA
字號(hào):
/*
 * $Id: TestTextTag2.java 54929 2004-10-16 16:38:42Z germuska $ 
 *
 * Copyright 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.TextTag</code> class.
 *
 */
public class TestTextTag2 extends JspTestCase {

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

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

    /*
     * Testing TextTag.
     */

    public void testTextPropertyReadonly() throws Exception {
        runMyTest("testTextPropertyReadonly", "");
    }
    public void testTextPropertySize() throws Exception {
        runMyTest("testTextPropertySize", "");
    }
    public void testTextPropertyStyle() throws Exception {
        runMyTest("testTextPropertyStyle", "");
    }
    public void testTextPropertyErrorStyle() throws Exception {
        runMyTest("testTextPropertyErrorStyle", "");
    }
    public void testTextPropertyStyleClass() throws Exception {
        runMyTest("testTextPropertyStyleClass", "");
    }
    public void testTextPropertyErrorStyleClass() throws Exception {
        runMyTest("testTextPropertyErrorStyleClass", "");
    }
    public void testTextPropertyStyleId() throws Exception {
        runMyTest("testTextPropertyStyleId", "");
    }
    public void testTextPropertyErrorStyleId() throws Exception {
        runMyTest("testTextPropertyErrorStyleId", "");
    }
    public void testTextPropertyTitle() throws Exception {
        runMyTest("testTextPropertyTitle", "");
    }
    public void testTextPropertyTitleKey() throws Exception {
        runMyTest("testTextPropertyTitleKey", "");
    }
    public void testTextPropertyTitleKey_fr() throws Exception {
        runMyTest("testTextPropertyTitleKey_fr", "fr");
    }
    public void testTextPropertyValue() throws Exception {
        runMyTest("testTextPropertyValue", "");
    }
    public void testTextPropertyIndexedArray() throws Exception {
        ArrayList lst = new ArrayList();
        lst.add("Test Message");
        pageContext.setAttribute("lst", lst, PageContext.REQUEST_SCOPE);
        runMyTest("testTextPropertyIndexedArray", "");
    }
    public void testTextPropertyIndexedArrayProperty() 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("testTextPropertyIndexedArrayProperty", "");
    }
    public void testTextPropertyIndexedMap() throws Exception {
        HashMap map = new HashMap();
        map.put("tst1", "Test Message");
        pageContext.setAttribute("lst", map, PageContext.REQUEST_SCOPE);
        runMyTest("testTextPropertyIndexedMap", "");
    }
    public void testTextPropertyIndexedMapProperty() 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("testTextPropertyIndexedMapProperty", "");
    }
    public void testTextPropertyIndexedEnumeration() throws Exception {
        StringTokenizer st = new StringTokenizer("Test Message");
        pageContext.setAttribute("lst", st, PageContext.REQUEST_SCOPE);
        runMyTest("testTextPropertyIndexedEnumeration", "");
    }
    public void testTextPropertyIndexedEnumerationProperty() throws Exception {
        SimpleBeanForTesting sbft = new SimpleBeanForTesting();
        StringTokenizer st = new StringTokenizer("Test Message");
        sbft.setEnumeration(st);
        pageContext.setAttribute("lst", sbft, PageContext.REQUEST_SCOPE);
        runMyTest("testTextPropertyIndexedEnumerationProperty", "");
    }

}

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日韩国产在线观看一区| 欧美精品一区二区精品网| 欧美一区二区视频在线观看| 精品乱人伦小说| 国产精品不卡一区| 天天色天天操综合| 国产成人夜色高潮福利影视| 91麻豆高清视频| 日韩一级在线观看| 国产精品三级在线观看| 亚洲最大的成人av| 国产一区二区三区黄视频 | 欧美精品久久99久久在免费线| 欧美一级二级三级蜜桃| 中文字幕一区免费在线观看| 天天影视涩香欲综合网| 成人在线视频一区二区| 7878成人国产在线观看| 国产精品久久久久久亚洲毛片 | 欧美精品国产精品| 欧美国产一区在线| 日韩激情av在线| 不卡一区二区在线| 日韩欧美一区二区久久婷婷| 亚洲天堂2014| 国产综合久久久久久久久久久久| 91精品办公室少妇高潮对白| 精品国产在天天线2019| 亚洲自拍另类综合| 国产成人av电影在线| 91麻豆精品国产91久久久久久| 国产精品午夜在线| 韩国成人在线视频| 欧美日韩精品综合在线| 国产婷婷色一区二区三区四区| 五月天欧美精品| 97久久精品人人爽人人爽蜜臀| 精品国产伦理网| 亚洲国产精品影院| 色素色在线综合| 久久久噜噜噜久久中文字幕色伊伊| 亚洲一区二区精品视频| 成人精品在线视频观看| 欧美精品一区二区三| 亚洲va国产va欧美va观看| 97久久精品人人做人人爽 | 国产91精品入口| 精品免费视频.| 日本在线不卡一区| 欧美三级视频在线播放| 亚洲女人的天堂| 大胆欧美人体老妇| 久久久www成人免费毛片麻豆| 久久综合综合久久综合| 欧美精品久久久久久久久老牛影院| 亚洲男人的天堂网| 99精品视频在线播放观看| 欧美—级在线免费片| 国产精品一二三区| 精品91自产拍在线观看一区| 免费欧美在线视频| 日韩午夜在线影院| 日本欧美一区二区在线观看| 欧美性猛片xxxx免费看久爱| 亚洲狠狠丁香婷婷综合久久久| 99国产精品国产精品毛片| 国产精品你懂的| 成人高清视频免费观看| 中文字幕成人网| 成人福利视频网站| 国产精品国产三级国产aⅴ中文| 粉嫩绯色av一区二区在线观看| 久久久久久久久免费| 国产成人av一区二区三区在线| 欧美精品一区二| 国产精一区二区三区| 国产精品三级在线观看| 99麻豆久久久国产精品免费优播| 国产精品久久网站| 91免费国产在线观看| 亚洲精品写真福利| 精品视频在线看| 日韩av一级电影| 精品免费国产二区三区| 精品系列免费在线观看| 久久只精品国产| 国产成人精品亚洲午夜麻豆| 中文一区二区在线观看| 91亚洲国产成人精品一区二三| 亚洲日本欧美天堂| 欧美日韩精品电影| 美女一区二区视频| 久久久久久久国产精品影院| 在线日韩国产精品| 一区二区三区欧美视频| 欧美精品亚洲一区二区在线播放| 欧美96一区二区免费视频| 亚洲精品一区二区三区香蕉 | 欧美极品aⅴ影院| 91蝌蚪porny| 丝袜亚洲另类欧美综合| 日韩一区二区免费在线观看| 国产aⅴ综合色| 一区二区久久久| 欧美成人女星排名| 99久久精品99国产精品| 天堂精品中文字幕在线| 欧美草草影院在线视频| 成人网页在线观看| 亚洲伊人色欲综合网| 日韩丝袜情趣美女图片| 成人av中文字幕| 日韩精品一卡二卡三卡四卡无卡| 精品美女一区二区三区| 91免费精品国自产拍在线不卡| 奇米综合一区二区三区精品视频| 国产日韩欧美a| 色久综合一二码| 久久99热99| 亚洲欧美乱综合| 日韩一区二区免费在线电影 | 亚洲精品videosex极品| 欧美一区二区三区色| 成人av午夜影院| 日本一不卡视频| 国产精品灌醉下药二区| 欧美v亚洲v综合ⅴ国产v| 一本大道久久a久久综合婷婷| 人人爽香蕉精品| 亚洲精品视频在线| 久久综合色一综合色88| 欧美性做爰猛烈叫床潮| 国产高清精品久久久久| 天天影视色香欲综合网老头| 一色桃子久久精品亚洲| 日韩女优av电影在线观看| 日本国产一区二区| 国产风韵犹存在线视精品| 天堂蜜桃91精品| 一区二区三区丝袜| 国产午夜精品美女毛片视频| 日韩一级精品视频在线观看| 91麻豆swag| 成人免费毛片a| 韩国视频一区二区| 日韩电影在线看| 樱花草国产18久久久久| 亚洲国产经典视频| 精品少妇一区二区三区在线视频| 91成人免费在线| eeuss国产一区二区三区| 狠狠色伊人亚洲综合成人| 亚洲bt欧美bt精品777| 综合久久久久综合| 欧美激情综合五月色丁香| 日韩欧美国产一区二区三区| 欧美裸体bbwbbwbbw| 色综合久久99| 99久久伊人精品| 成人午夜视频免费看| 国产乱色国产精品免费视频| 奇米888四色在线精品| 五月激情综合网| 一区二区免费在线播放| 亚洲色图视频网| 国产精品三级在线观看| 国产亚洲一本大道中文在线| 欧美电影免费观看高清完整版在| 欧美日韩激情一区二区| 在线看日韩精品电影| 日本高清无吗v一区| 色av成人天堂桃色av| av激情综合网| 99精品久久99久久久久| eeuss影院一区二区三区| 成人爽a毛片一区二区免费| 国产激情视频一区二区在线观看 | 国产精品视频免费看| 国产日韩欧美一区二区三区乱码 | 国产成人精品午夜视频免费| 国产一区美女在线| 国产一区二区三区日韩| 韩国欧美国产1区| 国产精品白丝av| 成人av在线资源| 91一区二区在线观看| 91女厕偷拍女厕偷拍高清| 色综合视频在线观看| 97久久人人超碰| 欧洲亚洲精品在线| 欧美性高清videossexo| 欧美美女一区二区| 欧美日韩久久一区| 日韩精品一区二区三区四区视频| 日韩欧美一级二级三级| 久久综合九色综合97_久久久| 久久久国产精品麻豆| 亚洲欧美在线高清| 一区二区三区免费网站| 午夜久久久久久久久|