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

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

?? testcheckboxtag2.java

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

    /**
     * Defines the testcase name for JUnit.
     *
     * @param theName the testcase's name.
     */
    public TestCheckboxTag2(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[] {TestCheckboxTag2.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(TestCheckboxTag2.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(true), PageContext.REQUEST_SCOPE);
        request.setAttribute("runTest", whichTest);
        pageContext.forward("/test/org/apache/struts/taglib/html/TestCheckboxTag2.jsp");
    }

    /*
     * Testing CheckboxTag.
     */

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

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

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

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

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

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

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

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

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

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

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

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

    public void testCheckboxPropertybooleanTrueIndexedArrayProperty() 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("testCheckboxPropertybooleanTrueIndexedArrayProperty", "");
        }

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

    public void testCheckboxPropertybooleanTrueIndexedMapProperty() 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("testCheckboxPropertybooleanTrueIndexedMapProperty", "");
        }

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

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



}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
在线国产电影不卡| 久久久精品免费免费| 91福利小视频| 色激情天天射综合网| 91福利资源站| 欧美日韩国产综合一区二区| 精品视频在线免费观看| 欧洲一区二区av| 欧美日韩久久一区| 91精品国产福利| 日韩一级黄色片| 日韩精品一区二区三区在线播放| 欧美成人精品二区三区99精品| 日韩欧美一区二区三区在线| 日韩欧美黄色影院| 久久精品人人做人人综合| 国产欧美视频一区二区三区| 国产精品乱人伦中文| 亚洲伦在线观看| 亚洲国产成人av好男人在线观看| 日韩影院免费视频| 久久爱www久久做| 国产精品一品二品| 色综合久久久久久久| 欧美卡1卡2卡| 久久夜色精品国产欧美乱极品| 国产女人18水真多18精品一级做| 中文字幕五月欧美| 亚洲国产婷婷综合在线精品| 毛片av一区二区| 成人毛片在线观看| 日本高清无吗v一区| 欧美一级片免费看| 中文字幕va一区二区三区| 亚洲视频一区二区免费在线观看| 亚洲成人免费电影| 国内精品嫩模私拍在线| hitomi一区二区三区精品| 欧美日韩亚洲综合| 国产午夜精品久久久久久久| 亚洲欧美另类在线| 日韩高清电影一区| 东方aⅴ免费观看久久av| 欧美亚一区二区| 欧美mv日韩mv| 亚洲男人的天堂在线aⅴ视频| 日韩av不卡一区二区| www.亚洲在线| 在线播放中文字幕一区| 欧美激情艳妇裸体舞| 天天综合色天天综合| 国产精品一区不卡| 欧美久久久久久久久久| 中文字幕第一区二区| 免费观看在线综合| 色呦呦网站一区| 久久伊人中文字幕| 日韩精品欧美成人高清一区二区| 成人国产视频在线观看| 欧美xxxxx牲另类人与| 亚洲免费在线电影| 国产黄色成人av| 日韩一区二区三区在线视频| 自拍偷拍亚洲综合| 国产精品一区在线观看乱码| 91精品国产乱码| 亚洲九九爱视频| 国产女人18毛片水真多成人如厕| 国产精品色眯眯| 人人精品人人爱| 91在线播放网址| 欧美国产日韩精品免费观看| 肉丝袜脚交视频一区二区| 91女神在线视频| 欧美国产精品中文字幕| 欧美aaaaaa午夜精品| 欧美性色欧美a在线播放| 欧美国产国产综合| 黄页视频在线91| 欧美浪妇xxxx高跟鞋交| 一区二区三区波多野结衣在线观看| 国产美女在线观看一区| 日韩欧美国产系列| 天天综合日日夜夜精品| 欧美性视频一区二区三区| 中文字幕一区二区三区四区不卡| 国产精品一线二线三线| 精品国产精品一区二区夜夜嗨| 天堂久久久久va久久久久| 欧美亚洲综合另类| 一区二区三区.www| 91电影在线观看| 亚洲美女在线国产| 色老汉一区二区三区| 亚洲青青青在线视频| 色综合色综合色综合色综合色综合 | 欧洲亚洲精品在线| 亚洲精品免费电影| 色视频成人在线观看免| 亚洲美女偷拍久久| 色哟哟在线观看一区二区三区| 日本一区二区三区在线不卡| 国产在线国偷精品产拍免费yy| 精品久久久久香蕉网| 久久99久久99精品免视看婷婷| 日韩一区二区电影网| 久久成人羞羞网站| 精品捆绑美女sm三区| 狠狠色丁香久久婷婷综合丁香| 日韩一级成人av| 老司机精品视频线观看86| 精品久久久久久最新网址| 久久99精品国产麻豆婷婷洗澡| 日韩免费电影一区| 蜜芽一区二区三区| 26uuu另类欧美亚洲曰本| 国产真实乱对白精彩久久| 久久久亚洲精品石原莉奈| 国产成人福利片| 亚洲欧洲色图综合| 欧美日韩在线一区二区| 日韩电影在线一区二区| 精品欧美一区二区三区精品久久| 国产精品自拍av| 亚洲视频1区2区| 欧美日韩国产免费一区二区 | 岛国av在线一区| 亚洲三级在线免费观看| 欧美日本一道本在线视频| 秋霞电影网一区二区| 久久尤物电影视频在线观看| 91在线播放网址| 婷婷丁香激情综合| 欧美精品一区视频| 色综合天天在线| 日韩黄色在线观看| 中文字幕免费不卡| 欧美日韩一区国产| 久久福利资源站| 亚洲欧美一区二区在线观看| 欧美色电影在线| 国产乱码精品一区二区三| 一区二区三区在线播| 欧美一区二区三区的| 成人性生交大片免费看在线播放 | 国产一区二区三区视频在线播放| 国产精品久久三区| 在线观看91av| 成人爽a毛片一区二区免费| 亚洲香肠在线观看| 国产亚洲精品免费| 欧美亚男人的天堂| 成人在线一区二区三区| 日日骚欧美日韩| 中文字幕一区在线观看视频| 91精品中文字幕一区二区三区| 国产成人久久精品77777最新版本| 一区二区在线观看免费| 欧美mv和日韩mv的网站| 欧美性高清videossexo| 国产成人aaaa| 日韩av一区二区三区四区| 国产精品乱码一区二区三区软件 | 亚洲精品高清在线| 久久综合一区二区| 欧美日韩国产一区二区三区地区| 一本大道久久a久久精二百| 久久不见久久见免费视频1| 亚洲一区在线观看视频| 欧美国产国产综合| 精品久久人人做人人爱| 欧美日韩一区二区三区免费看| 成人动漫在线一区| 久久国产精品色婷婷| 午夜欧美电影在线观看| 亚洲免费观看高清完整| 欧美不卡激情三级在线观看| 欧美人与z0zoxxxx视频| 色欧美片视频在线观看| 粉嫩高潮美女一区二区三区| 免费成人av在线播放| 亚洲成人1区2区| 依依成人综合视频| 亚洲女厕所小便bbb| 中文字幕乱码日本亚洲一区二区| 日韩视频一区二区| 91精品国产入口| 欧美日韩亚洲另类| 色8久久精品久久久久久蜜| 高清久久久久久| 国内精品嫩模私拍在线| 精品一区二区影视| 免费在线看一区| 日韩精品午夜视频| 日韩精品国产欧美| 五月婷婷色综合| 婷婷中文字幕综合| 午夜久久电影网| 日韩电影在线看| 天天综合色天天综合|