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

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

?? testlinktag2.java

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

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

    /*
     * Testing FrameTag.
     */

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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

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

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

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

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







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

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

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





}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美精品一区二区三区在线| 国产精品美女久久久久久久| 国产高清不卡一区二区| 亚洲高清一区二区三区| 国产欧美日韩在线视频| 欧美日韩国产综合一区二区三区 | 欧美亚日韩国产aⅴ精品中极品| 免费人成黄页网站在线一区二区| 中文无字幕一区二区三区| 在线不卡欧美精品一区二区三区| 豆国产96在线|亚洲| 秋霞午夜鲁丝一区二区老狼| 1024成人网| 欧美激情一区二区三区| 制服视频三区第一页精品| 91免费小视频| 国产·精品毛片| 美女网站色91| 天天av天天翘天天综合网| 一区二区中文字幕在线| 久久久久久久网| 日韩欧美亚洲国产另类| 欧美日韩成人一区二区| 色伊人久久综合中文字幕| 福利电影一区二区三区| 精品亚洲成av人在线观看| 午夜国产精品一区| 洋洋av久久久久久久一区| 中文字幕一区二区视频| 国产清纯美女被跳蛋高潮一区二区久久w | 国产福利一区二区三区| 麻豆精品新av中文字幕| 三级欧美韩日大片在线看| 亚洲精品中文字幕在线观看| 国产女主播一区| 久久免费看少妇高潮| 久久久久久久久一| 久久综合成人精品亚洲另类欧美| 欧美一区二区三区在| 欧美精品日韩综合在线| 欧美日韩大陆一区二区| 欧美日韩精品一区二区三区蜜桃| 91福利视频网站| 欧美日韩精品一区二区| 7777精品伊人久久久大香线蕉超级流畅| 91福利在线导航| 欧美精品亚洲二区| 欧美一区二区观看视频| 日韩精品一区二区三区蜜臀| 欧美大胆人体bbbb| 2020国产成人综合网| 国产无遮挡一区二区三区毛片日本| 久久久久一区二区三区四区| 国产女同互慰高潮91漫画| 国产欧美日本一区视频| 日韩理论片中文av| 亚洲最新视频在线观看| 无码av免费一区二区三区试看| 午夜精品一区二区三区免费视频| 日韩电影在线一区二区| 麻豆精品蜜桃视频网站| 国产精品一区二区在线观看不卡 | 欧美日韩日日夜夜| 欧美一区二区三区爱爱| 久久伊99综合婷婷久久伊| 久久久久88色偷偷免费| 亚洲天堂av一区| 亚洲第一综合色| 久草在线在线精品观看| 丁香激情综合五月| 色老综合老女人久久久| 69av一区二区三区| 国产午夜亚洲精品理论片色戒 | 日韩不卡一区二区三区| 国产精品一区专区| 日本高清成人免费播放| 欧美一区二区成人6969| 欧美激情一区二区三区| 亚洲一卡二卡三卡四卡五卡| 极品美女销魂一区二区三区| av电影在线观看完整版一区二区| 欧美日韩一区二区在线观看视频| 日韩一级在线观看| 日韩码欧中文字| 欧美日韩视频在线观看一区二区三区 | 91精品蜜臀在线一区尤物| 欧美一区二区三区性视频| 欧美福利视频一区| 偷拍亚洲欧洲综合| 国产精品一区二区在线观看网站| 亚洲福利视频三区| 成人免费观看av| 亚洲人成小说网站色在线| 一区二区三国产精华液| 国内精品视频666| 91官网在线观看| 国产婷婷一区二区| 午夜精品一区二区三区电影天堂| 国产成人精品在线看| 欧美日韩高清一区| 中文字幕一区二区三| 免费不卡在线视频| 日本道在线观看一区二区| 久久久久99精品一区| 日韩成人一级大片| 在线观看视频一区二区| 国产午夜精品一区二区三区嫩草| 午夜成人免费电影| 色综合久久天天| 久久精品男人的天堂| 天堂久久久久va久久久久| 在线一区二区三区四区五区| 中文字幕巨乱亚洲| 国产一区二区0| 91精品在线免费| 亚洲高清免费一级二级三级| 国产调教视频一区| 欧美精品在线一区二区三区| 欧美色区777第一页| 中文一区二区在线观看| 国产一区二区福利| 欧美大片免费久久精品三p| 亚洲国产成人av网| 色综合久久九月婷婷色综合| 国产片一区二区三区| 久久99热这里只有精品| 日韩亚洲欧美综合| 午夜精品一区二区三区免费视频| 91精品福利视频| 亚洲视频网在线直播| 成人av网址在线观看| 中文字幕第一区综合| 国产大陆a不卡| 国产色婷婷亚洲99精品小说| 国产一区二区三区综合| 精品国产91洋老外米糕| 久久99久久99| 精品美女在线播放| 久久97超碰国产精品超碰| 日韩一区二区在线观看视频| 亚洲123区在线观看| 欧美日韩国产一级片| 午夜精彩视频在线观看不卡| 欧美日韩aaaaaa| 日本女人一区二区三区| 日韩欧美中文字幕精品| 九九热在线视频观看这里只有精品| 日韩一区二区三区视频在线观看| 奇米精品一区二区三区在线观看一| 欧美日韩一区二区三区视频| 欧美专区亚洲专区| 美女看a上一区| 亚洲国产中文字幕在线视频综合| 日韩欧美一二区| 欧美少妇一区二区| 欧美视频三区在线播放| 国产色婷婷亚洲99精品小说| 日本亚洲电影天堂| 欧美成人aa大片| 亚洲一区二区三区中文字幕| 丝袜美腿亚洲综合| 国产一区二区视频在线播放| 理论电影国产精品| 性久久久久久久久久久久| 精品国产一区二区三区四区四| 日日嗨av一区二区三区四区| 国产精品白丝jk黑袜喷水| 亚洲一区二区三区三| 国产欧美一区在线| 91精品国产手机| 精品视频999| 欧美日韩一级大片网址| 成人免费高清视频在线观看| 蜜臀av性久久久久蜜臀aⅴ四虎| 蜜桃视频在线观看一区二区| 中文字幕在线观看不卡视频| 国产欧美日韩精品一区| 国产精品蜜臀在线观看| 欧美激情一区不卡| 亚洲国产精品久久不卡毛片| 亚洲一区在线播放| 天使萌一区二区三区免费观看| 日韩毛片精品高清免费| 麻豆国产精品视频| 成人手机在线视频| 日韩欧美亚洲国产另类| 中文字幕免费观看一区| 久久机这里只有精品| 国产大陆精品国产| 欧美精品日韩精品| 欧美精品自拍偷拍| 亚洲欧洲国产日本综合| 免费成人在线影院| 色婷婷久久久久swag精品| 欧美日韩在线三级| 欧美日韩dvd在线观看| 欧美日韩日日骚| 91精品久久久久久久91蜜桃| 日韩视频一区二区| 一区二区三区91|