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

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

?? testimagetag8.java

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

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

    /*
     * Testing ImageTag.
     */

//--------Testing attributes using page------

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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





}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
蜜桃视频免费观看一区| 色综合色狠狠天天综合色| 东方aⅴ免费观看久久av| 中文字幕国产一区| 制服.丝袜.亚洲.中文.综合| 亚洲第一成人在线| 久久久久久久久久久99999| 91丨porny丨蝌蚪视频| 亚洲狠狠爱一区二区三区| 伦理电影国产精品| 日本国产一区二区| 国产欧美一区二区三区沐欲| 五月天激情小说综合| 成人动漫一区二区在线| 精品久久一区二区三区| 日韩一区欧美二区| 欧美色爱综合网| 亚洲自拍偷拍九九九| jizzjizzjizz欧美| 国产精品美女一区二区| 精品一区中文字幕| 日韩免费一区二区| 日韩精品五月天| 欧美日本韩国一区二区三区视频| 亚洲日本免费电影| 99视频超级精品| 中文字幕一区在线| av中文字幕不卡| 国产精品三级av| 99久久久精品免费观看国产蜜| 国产亚洲精品资源在线26u| 麻豆91精品视频| 欧美一级二级三级蜜桃| 麻豆91精品91久久久的内涵| 日韩欧美精品三级| 久久精品999| 精品粉嫩aⅴ一区二区三区四区| 日本不卡一区二区三区| 日韩一区二区三区四区| 蜜桃一区二区三区在线| 欧美成人午夜电影| 高清av一区二区| 激情综合色综合久久| 久久99热99| 国产成人在线影院| 91麻豆精品91久久久久久清纯| 色综合中文字幕| 丰满少妇久久久久久久| 91国内精品野花午夜精品| 欧美高清视频在线高清观看mv色露露十八 | 日韩欧美在线影院| 久久老女人爱爱| 国产精品美女久久久久av爽李琼 | 欧美aaaaa成人免费观看视频| 轻轻草成人在线| 午夜精品久久久久久久99水蜜桃| 亚洲一区二区三区四区五区黄| 亚洲激情一二三区| 亚洲地区一二三色| 天堂久久一区二区三区| 久久激情五月婷婷| 婷婷中文字幕一区三区| 一区二区三区欧美在线观看| 久久精品免视看| 欧美激情艳妇裸体舞| 日韩一区二区三区免费观看| 国产69精品久久777的优势| 青青草伊人久久| 在线观看视频91| 亚洲精品久久嫩草网站秘色| 久热成人在线视频| 99精品热视频| 国产欧美日韩精品一区| 久久国产免费看| 91精品国产福利| 日韩精品国产精品| 成人爱爱电影网址| 91精品国产一区二区三区蜜臀 | 97久久精品人人做人人爽50路| 欧美三级视频在线观看| 九九在线精品视频| 一区二区免费在线| 久久夜色精品国产欧美乱极品| 色婷婷精品久久二区二区蜜臀av| 精品一区免费av| 丝袜亚洲另类丝袜在线| 国产精品成人一区二区三区夜夜夜| 56国语精品自产拍在线观看| 99在线精品观看| 国产成人av福利| 理论片日本一区| 亚洲午夜精品一区二区三区他趣| 久久综合久久综合亚洲| 538在线一区二区精品国产| 色播五月激情综合网| 成人污视频在线观看| 精彩视频一区二区三区 | 欧美一级在线视频| 色94色欧美sute亚洲线路一ni| 国产精品中文欧美| 麻豆精品国产91久久久久久| 夜色激情一区二区| 综合欧美亚洲日本| 国产喷白浆一区二区三区| 在线不卡免费av| 欧美视频在线播放| 91丨九色porny丨蝌蚪| 成人免费va视频| 国产成人精品影院| 国产精品亚洲专一区二区三区 | 国产欧美一区二区三区在线看蜜臀 | 9i在线看片成人免费| 精品一区二区三区在线观看国产 | 一本色道久久综合亚洲aⅴ蜜桃 | 久久91精品国产91久久小草| 亚洲成人精品一区二区| 日韩亚洲电影在线| 欧美日韩日日摸| 国产sm精品调教视频网站| 国产成人丝袜美腿| 国产一区日韩二区欧美三区| 美女视频一区二区| 麻豆成人久久精品二区三区小说| 日韩成人免费在线| 看电影不卡的网站| 国产精品资源在线| 成av人片一区二区| 日本精品一级二级| 欧美性做爰猛烈叫床潮| 欧美一区二区三区免费| 精品国产乱码久久久久久浪潮| 2014亚洲片线观看视频免费| 中文字幕 久热精品 视频在线| 亚洲午夜在线电影| 亚洲成av人片在线| 免费观看91视频大全| 国产黄色成人av| 色综合久久综合网欧美综合网| 欧美视频日韩视频| 久久婷婷一区二区三区| 国产精品麻豆视频| 亚洲va天堂va国产va久| 国产精品自拍一区| 99久久精品国产导航| 欧美日韩国产另类不卡| 国产亚洲欧美日韩日本| 夜夜精品视频一区二区| 日韩高清一区在线| 国产成人精品免费看| 在线精品视频免费观看| 日韩欧美在线综合网| 中文字幕在线不卡国产视频| 天天色综合天天| 顶级嫩模精品视频在线看| 欧美日韩精品一区二区三区蜜桃 | 久久你懂得1024| 亚洲理论在线观看| 九色综合狠狠综合久久| 91蝌蚪porny| 精品999久久久| 日精品一区二区| 91伊人久久大香线蕉| 日韩午夜电影av| 中文字幕在线观看不卡| 久久国产精品第一页| 欧美性大战久久| 国产精品麻豆99久久久久久| 日韩1区2区日韩1区2区| 不卡av在线网| 精品捆绑美女sm三区| 亚洲午夜精品网| a4yy欧美一区二区三区| 欧美成人一区二区三区| 亚洲一区二区三区中文字幕在线| 粉嫩嫩av羞羞动漫久久久| 欧美成人性福生活免费看| 午夜av一区二区| 天天综合网 天天综合色| 欧美日韩精品综合在线| 日韩精品91亚洲二区在线观看| 欧美v国产在线一区二区三区| 波多野结衣中文字幕一区| 夜夜操天天操亚洲| 亚洲欧洲日韩综合一区二区| 欧美日韩成人在线| av激情综合网| 国产精品一区二区果冻传媒| 亚洲一卡二卡三卡四卡 | 久久蜜桃av一区二区天堂| 欧美午夜寂寞影院| 风间由美性色一区二区三区| 日韩国产欧美三级| 亚洲无人区一区| 亚洲色图制服诱惑 | 国产成a人亚洲精品| 蜜乳av一区二区三区| 亚洲国产成人av| 亚洲一区二区3| 亚洲国产精品欧美一二99| 亚洲激情第一区|