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

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

?? testtextareatag2.java

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

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

    /*
     * Testing TextareaTag.
     */

    public void testTextareaPropertyReadonly() throws Exception {
        runMyTest("testTextareaPropertyReadonly", "");
    }
    public void testTextareaPropertyRows() throws Exception {
        runMyTest("testTextareaPropertyRows", "");
    }
    public void testTextareaPropertyStyle() throws Exception {
        runMyTest("testTextareaPropertyStyle", "");
    }
    public void testTextareaPropertyErrorStyle() throws Exception {
        runMyTest("testTextareaPropertyErrorStyle", "");
    }
    public void testTextareaPropertyStyleClass() throws Exception {
        runMyTest("testTextareaPropertyStyleClass", "");
    }
    public void testTextareaPropertyErrorStyleClass() throws Exception {
        runMyTest("testTextareaPropertyErrorStyleClass", "");
    }
    public void testTextareaPropertyStyleId() throws Exception {
        runMyTest("testTextareaPropertyStyleId", "");
    }
    public void testTextareaPropertyErrorStyleId() throws Exception {
        runMyTest("testTextareaPropertyErrorStyleId", "");
    }
    public void testTextareaPropertyTitle() throws Exception {
        runMyTest("testTextareaPropertyTitle", "");
    }
    public void testTextareaPropertyTitleKey() throws Exception {
        runMyTest("testTextareaPropertyTitleKey", "");
    }
    public void testTextareaPropertyTitleKey_fr() throws Exception {
        runMyTest("testTextareaPropertyTitleKey_fr", "fr");
    }
    public void testTextareaPropertyValue() throws Exception {
        runMyTest("testTextareaPropertyValue", "");
    }
    public void testTextareaPropertyIndexedArray() throws Exception {
        ArrayList lst = new ArrayList();
        lst.add("Test Message");
        pageContext.setAttribute("lst", lst, PageContext.REQUEST_SCOPE);
        runMyTest("testTextareaPropertyIndexedArray", "");
    }
    public void testTextareaPropertyIndexedArrayProperty() 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("testTextareaPropertyIndexedArrayProperty", "");
    }
    public void testTextareaPropertyIndexedMap() throws Exception {
        HashMap map = new HashMap();
        map.put("tst1", "Test Message");
        pageContext.setAttribute("lst", map, PageContext.REQUEST_SCOPE);
        runMyTest("testTextareaPropertyIndexedMap", "");
    }
    public void testTextareaPropertyIndexedMapProperty() 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("testTextareaPropertyIndexedMapProperty", "");
    }
    public void testTextareaPropertyIndexedEnumeration() throws Exception {
        StringTokenizer st = new StringTokenizer("Test Message");
        pageContext.setAttribute("lst", st, PageContext.REQUEST_SCOPE);
        runMyTest("testTextareaPropertyIndexedEnumeration", "");
    }
    public void testTextareaPropertyIndexedEnumerationProperty() throws Exception {
        SimpleBeanForTesting sbft = new SimpleBeanForTesting();
        StringTokenizer st = new StringTokenizer("Test Message");
        sbft.setEnumeration(st);
        pageContext.setAttribute("lst", sbft, PageContext.REQUEST_SCOPE);
        runMyTest("testTextareaPropertyIndexedEnumerationProperty", "");
    }

}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲人成在线观看一区二区| 国产日韩欧美电影| 欧美成人福利视频| 亚洲人快播电影网| 狠狠色综合日日| 欧美午夜不卡视频| 国产女人水真多18毛片18精品视频 | 蜜臀久久99精品久久久画质超高清| 国产精品自拍在线| 欧美一区二区日韩| 一区二区三区四区精品在线视频| 国产精品资源站在线| 日韩视频一区二区三区 | 精品久久久久久久人人人人传媒| 1区2区3区精品视频| 韩国三级在线一区| 日韩一级欧美一级| 午夜视频一区在线观看| 欧洲精品一区二区三区在线观看| 久久综合成人精品亚洲另类欧美| 男男视频亚洲欧美| 欧美一区二区性放荡片| 亚洲成人动漫在线观看| 色吊一区二区三区| 亚洲三级免费观看| 成人av在线电影| 国产欧美精品国产国产专区| 国产成人在线视频网址| 久久精品人人做人人爽97| 久久99精品国产麻豆不卡| 91精品国产全国免费观看| 亚洲国产精品一区二区www在线| 99久久精品免费精品国产| 国产精品欧美极品| 91色.com| 亚洲一区二区三区爽爽爽爽爽| 99vv1com这只有精品| 亚洲欧美日韩成人高清在线一区| 99久久精品国产导航| 亚洲人精品午夜| 欧美日韩综合在线| 婷婷亚洲久悠悠色悠在线播放| 9191久久久久久久久久久| 日本欧美久久久久免费播放网| 欧美一区永久视频免费观看| 久久99热这里只有精品| 久久精品人人爽人人爽| 成人黄色综合网站| 亚洲午夜久久久久久久久电影院| 91精品国产麻豆国产自产在线 | 激情丁香综合五月| 国产亚洲视频系列| 色婷婷综合久久久久中文 | 欧美美女一区二区三区| 热久久一区二区| 国产日韩欧美高清| 91福利精品第一导航| 日韩精品欧美精品| 久久综合九色综合欧美98| 成+人+亚洲+综合天堂| 亚洲综合无码一区二区| 欧美一区二区精品在线| 成人免费福利片| 午夜视频在线观看一区二区| 久久亚洲一区二区三区明星换脸| www.亚洲精品| 日本欧美一区二区在线观看| 欧美国产精品中文字幕| 欧美日韩综合在线| 国产河南妇女毛片精品久久久 | 国产日韩成人精品| 欧美三级资源在线| 国产精品一二三区在线| 亚洲一卡二卡三卡四卡| 国产日本欧洲亚洲| 884aa四虎影成人精品一区| 高清免费成人av| 日本欧美一区二区| 一区二区三区四区激情| 精品国产乱码久久久久久1区2区| 91九色02白丝porn| 国产精品影音先锋| 亚洲成av人片一区二区| 欧美激情综合在线| 欧美一级片免费看| 色综合久久综合中文综合网| 蜜桃91丨九色丨蝌蚪91桃色| 樱花影视一区二区| 国产日产精品一区| 精品伦理精品一区| 9191精品国产综合久久久久久| 99久久精品国产精品久久| 国产一区二区三区香蕉| 舔着乳尖日韩一区| 一区二区三区四区五区视频在线观看 | 亚洲女同女同女同女同女同69| 777午夜精品视频在线播放| 99精品久久免费看蜜臀剧情介绍| 奇米一区二区三区av| 夜夜嗨av一区二区三区网页| 国产精品毛片久久久久久久| 久久精品一区四区| 精品人伦一区二区色婷婷| 91麻豆精品国产自产在线| 欧美性受极品xxxx喷水| 色综合天天综合给合国产| bt7086福利一区国产| 国产激情偷乱视频一区二区三区| 久久电影网站中文字幕| 美女网站在线免费欧美精品| 久久精品免费观看| 丝袜亚洲另类欧美| 亚洲3atv精品一区二区三区| 夜夜嗨av一区二区三区四季av | 蜜臀av性久久久久蜜臀aⅴ| 午夜精彩视频在线观看不卡| 亚洲第一激情av| 午夜亚洲国产au精品一区二区| 亚洲国产你懂的| 丝袜国产日韩另类美女| 日韩一区精品字幕| 欧美aaaaa成人免费观看视频| 婷婷久久综合九色国产成人| 日韩精品一二三| 麻豆精品视频在线观看视频| 麻豆精品视频在线| 国产精品系列在线观看| 成人综合婷婷国产精品久久| 粉嫩蜜臀av国产精品网站| 成人激情校园春色| 色婷婷久久综合| 欧美精品在线一区二区| 欧美tk—视频vk| 亚洲国产精品精华液2区45| 国产精品初高中害羞小美女文| 中文字幕在线播放不卡一区| 亚洲一线二线三线视频| 美女视频一区二区三区| 国产精品12区| 在线精品国精品国产尤物884a| 欧美少妇xxx| 久久综合狠狠综合久久激情| 1区2区3区欧美| 男人操女人的视频在线观看欧美 | 中文子幕无线码一区tr| 亚洲欧美日韩小说| 热久久国产精品| 成人高清免费在线播放| 欧美日韩一卡二卡| 久久蜜臀精品av| 亚洲国产精品影院| 国产成人综合在线播放| 欧美日韩在线精品一区二区三区激情| 日韩三级中文字幕| 中文字幕一区av| 麻豆精品视频在线观看| 色综合久久天天| 精品伦理精品一区| 亚洲高清在线视频| 成人app在线| 日韩精品在线网站| 亚洲愉拍自拍另类高清精品| 国产专区欧美精品| 欧美视频在线观看一区二区| 国产日韩欧美高清| 蜜臀av性久久久久蜜臀aⅴ| 色综合天天综合网天天看片| 欧美大片国产精品| 亚洲成人综合网站| 99久久99久久综合| 久久九九全国免费| 日精品一区二区三区| 在线观看亚洲精品| 久久久www成人免费毛片麻豆| 亚洲影视资源网| 色综合天天综合网天天狠天天| 久久先锋资源网| 麻豆91在线看| 欧美另类久久久品| 一区二区三区四区五区视频在线观看| 国产九色精品成人porny| 91精品在线麻豆| 午夜日韩在线电影| 欧美在线观看18| 亚洲黄色免费网站| 99精品视频中文字幕| 国产女人aaa级久久久级| 激情欧美一区二区| 精品99久久久久久| 久久成人羞羞网站| 欧美一区二区视频免费观看| 亚洲成av人片在线观看无码| 在线免费观看日本欧美| 亚洲三级视频在线观看| 97久久精品人人做人人爽 | 久久亚洲一区二区三区明星换脸| 日韩av在线免费观看不卡| 欧美丰满嫩嫩电影| 日韩成人一级片| 国产欧美一区二区三区鸳鸯浴|