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

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

?? testlinktag6.java

?? struts的源代碼
?? JAVA
字號:
/*
 * $Id: TestLinkTag6.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.Locale;

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

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

    /*
     * Testing FrameTag.
     */

//--------Testing attributes using forward------
    public void testLinkHrefOnblur() throws Exception {
        runMyTest("testLinkHrefOnblur", "");
    }

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

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

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

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

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

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

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

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

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

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

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

    public void testLinkHrefParamIdParamNameNoScope() throws Exception {
                pageContext.setAttribute("paramName", "paramValue", PageContext.REQUEST_SCOPE);
        runMyTest("testLinkHrefParamIdParamNameNoScope", "");
    }

    public void testLinkHrefParamIdParamNameParamPropertyNoScope() throws Exception {
        SimpleBeanForTesting sbft = new SimpleBeanForTesting("paramPropertyValue");
                pageContext.setAttribute("testingParamProperty", sbft, PageContext.REQUEST_SCOPE);
        runMyTest("testLinkHrefParamIdParamNameParamPropertyNoScope", "");
    }

    public void testLinkHrefParamIdParamNameApplicationScope() throws Exception {
                pageContext.setAttribute("paramName", "paramValue", PageContext.APPLICATION_SCOPE);
        runMyTest("testLinkHrefParamIdParamNameApplicationScope", "");
    }

    public void testLinkHrefParamIdParamNameParamPropertyApplicationScope() throws Exception {
        SimpleBeanForTesting sbft = new SimpleBeanForTesting("paramPropertyValue");
                pageContext.setAttribute("testingParamProperty", sbft, PageContext.APPLICATION_SCOPE);
        runMyTest("testLinkHrefParamIdParamNameParamPropertyApplicationScope", "");
    }

    public void testLinkHrefParamIdParamNameSessionScope() throws Exception {
                pageContext.setAttribute("paramName", "paramValue", PageContext.SESSION_SCOPE);
        runMyTest("testLinkHrefParamIdParamNameSessionScope", "");
    }

    public void testLinkHrefParamIdParamNameParamPropertySessionScope() throws Exception {
        SimpleBeanForTesting sbft = new SimpleBeanForTesting("paramPropertyValue");
                pageContext.setAttribute("testingParamProperty", sbft, PageContext.SESSION_SCOPE);
        runMyTest("testLinkHrefParamIdParamNameParamPropertySessionScope", "");
    }

    public void testLinkHrefParamIdParamNameRequestScope() throws Exception {
                pageContext.setAttribute("paramName", "paramValue", PageContext.REQUEST_SCOPE);
        runMyTest("testLinkHrefParamIdParamNameRequestScope", "");
    }

    public void testLinkHrefParamIdParamNameParamPropertyRequestScope() throws Exception {
        SimpleBeanForTesting sbft = new SimpleBeanForTesting("paramPropertyValue");
                pageContext.setAttribute("testingParamProperty", sbft, PageContext.REQUEST_SCOPE);
        runMyTest("testLinkHrefParamIdParamNameParamPropertyRequestScope", "");
    }


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

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

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

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

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







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

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

    public void testLinkHrefTransaction() throws Exception {
        pageContext.setAttribute(Globals.TRANSACTION_TOKEN_KEY, "Some_Token_Here", PageContext.SESSION_SCOPE);
        runMyTest("testLinkHrefTransaction", "");
    }





}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲视频一区二区在线| 青青青伊人色综合久久| 成人午夜视频网站| 中文文精品字幕一区二区| 国产高清久久久久| 国产精品午夜免费| 91麻豆精品一区二区三区| 伊人婷婷欧美激情| 欧美日韩国产综合一区二区三区| 亚洲第一精品在线| 日韩精品一区二区三区蜜臀| 国产成人在线电影| 亚洲欧洲综合另类在线 | 精品一区二区三区的国产在线播放| 6080国产精品一区二区| 久久疯狂做爰流白浆xx| 国产精品国产三级国产aⅴ入口| 93久久精品日日躁夜夜躁欧美| 亚洲成人激情综合网| 欧美精品一区二区三区在线| 99久久久久免费精品国产| 亚洲午夜精品久久久久久久久| 精品国产一区二区国模嫣然| 99热这里都是精品| 美女网站色91| 亚洲日本中文字幕区| 日韩天堂在线观看| 色综合一个色综合| 久久99精品久久久久久国产越南 | 这里只有精品99re| 夫妻av一区二区| 天天综合色天天综合色h| 国产日韩欧美在线一区| 欧美美女一区二区三区| 成人爱爱电影网址| 日韩和欧美的一区| 国产精品久久看| 精品va天堂亚洲国产| 色综合久久中文综合久久97| 国产一区二区三区蝌蚪| 亚洲福利视频导航| 国产精品久久久久久久久免费桃花| 在线电影院国产精品| 91最新地址在线播放| 激情欧美一区二区| 五月婷婷综合在线| 亚洲欧美综合色| 久久丝袜美腿综合| 91精品国产综合久久国产大片| av中文字幕在线不卡| 国产自产视频一区二区三区| 日日噜噜夜夜狠狠视频欧美人 | 欧美日韩激情在线| 91麻豆文化传媒在线观看| 国产在线精品不卡| 日韩高清不卡一区二区| 亚洲日本va午夜在线电影| 久久久久99精品一区| 精品美女一区二区三区| 制服丝袜在线91| 欧美三级午夜理伦三级中视频| 99免费精品在线| 成人a免费在线看| 国产不卡高清在线观看视频| 精品一区二区三区免费观看| 麻豆91在线播放| 亚洲成人中文在线| 亚洲日本丝袜连裤袜办公室| 中文字幕一区二区三区蜜月| 国产农村妇女精品| 国产女人aaa级久久久级| 国产亚洲精品免费| 国产欧美一区二区三区在线看蜜臀| 日韩精品中文字幕在线不卡尤物 | 久久国产尿小便嘘嘘| 免费观看一级特黄欧美大片| 日本午夜一本久久久综合| 午夜视频在线观看一区二区 | 日本午夜一本久久久综合| 日韩激情av在线| 免费的成人av| 国产精品亚洲成人| 成人午夜大片免费观看| 成人性视频免费网站| 成人h版在线观看| 91国产免费观看| 欧美日韩国产乱码电影| 91精品国产黑色紧身裤美女| 日韩女优电影在线观看| 国产网站一区二区三区| 国产精品色哟哟| 亚洲综合在线第一页| 午夜视频在线观看一区二区| 久久黄色级2电影| 国产精品白丝jk白祙喷水网站| 成人在线一区二区三区| 在线视频欧美精品| 日韩一区二区三区三四区视频在线观看| 日韩一区二区在线免费观看| 亚洲精品在线电影| 国产精品免费视频网站| 亚洲精选视频在线| 免费在线观看一区二区三区| 国产揄拍国内精品对白| 95精品视频在线| 日韩午夜av一区| 亚洲天堂精品视频| 日本91福利区| 成人成人成人在线视频| 欧美日本韩国一区二区三区视频| 国产精品福利在线播放| 成人免费av网站| 国产精品国产三级国产aⅴ中文| 色综合天天综合| 欧美无乱码久久久免费午夜一区| 欧美日韩国产成人在线91| 日韩精品一区二区三区中文不卡| 欧美国产1区2区| 日韩av二区在线播放| 国产成人精品免费网站| 欧美探花视频资源| 久久久久国产精品人| 亚洲第四色夜色| 国产很黄免费观看久久| 欧美日韩成人一区二区| 欧美国产日韩亚洲一区| 亚洲bt欧美bt精品| 成人精品小蝌蚪| 日韩视频一区二区三区 | 欧美羞羞免费网站| 国产精品网曝门| 奇米色一区二区三区四区| 色综合天天性综合| 精品国产伦一区二区三区免费| 亚洲黄色性网站| 国产不卡视频一区| 精品免费99久久| 丝袜亚洲另类丝袜在线| 91免费版在线| 久久久精品2019中文字幕之3| 亚洲mv大片欧洲mv大片精品| 成人高清视频在线观看| 精品对白一区国产伦| 亚洲电影在线免费观看| av毛片久久久久**hd| 久久人人97超碰com| 日韩**一区毛片| 欧美亚洲一区二区在线观看| 一区免费观看视频| 成人免费视频国产在线观看| 久久免费视频色| 狠狠色丁香婷综合久久| 91精品在线一区二区| 一区二区三区在线不卡| 99在线精品视频| 中文字幕制服丝袜一区二区三区| 国产大陆精品国产| 久久久蜜臀国产一区二区| 久久精品国产99久久6| 日韩精品一区在线| 蜜臀av性久久久久蜜臀aⅴ四虎| 欧美日本韩国一区| 天天综合色天天| 日韩一二三四区| 日本欧美久久久久免费播放网| 777奇米成人网| 日本免费在线视频不卡一不卡二| 欧美一区二区三区在| 偷拍一区二区三区四区| 91精品婷婷国产综合久久性色| 午夜精品免费在线观看| 欧美人与性动xxxx| 日韩av中文字幕一区二区三区| 欧美美女网站色| 久久99精品一区二区三区三区| 精品少妇一区二区三区在线播放| 精品一区二区三区的国产在线播放| 精品久久久久久无| 国产成人综合在线观看| 国产精品麻豆网站| 一本色道久久综合亚洲精品按摩 | 日韩精品1区2区3区| 欧美一区日韩一区| 美国十次综合导航| 国产日韩精品视频一区| www.欧美日韩| 亚洲一区二区欧美激情| 欧美人xxxx| 国产一区二区三区最好精华液| 国产欧美一区二区三区在线老狼| 91热门视频在线观看| 亚洲国产精品一区二区久久恐怖片 | 欧美日韩精品一区二区三区四区 | 欧美性视频一区二区三区| 强制捆绑调教一区二区| 欧美激情一区二区三区四区| 欧美优质美女网站| 精品夜夜嗨av一区二区三区| 中文字幕国产精品一区二区| 欧美性大战久久|