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

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

?? linenumberassignedbynodereadertest.java

?? 本程序用于對頁面信息進行提取并分析
?? JAVA
字號:
// HTMLParser Library $Name: v1_6_20060319 $ - A java-based parser for HTML// http://sourceforge.org/projects/htmlparser// Copyright (C) 2004 Marc Novakowski//// Revision Control Information//// $Source: /cvsroot/htmlparser/htmlparser/src/org/htmlparser/tests/LineNumberAssignedByNodeReaderTest.java,v $// $Author: derrickoswald $// $Date: 2004/01/02 16:24:55 $// $Revision: 1.31 $//// This library is free software; you can redistribute it and/or// modify it under the terms of the GNU Lesser General Public// License as published by the Free Software Foundation; either// version 2.1 of the License, or (at your option) any later version.//// This library is distributed in the hope that it will be useful,// but WITHOUT ANY WARRANTY; without even the implied warranty of// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU// Lesser General Public License for more details.//// You should have received a copy of the GNU Lesser General Public// License along with this library; if not, write to the Free Software// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA//package org.htmlparser.tests;import java.util.Arrays;import junit.framework.TestSuite;import org.htmlparser.PrototypicalNodeFactory;import org.htmlparser.tests.scannersTests.CompositeTagScannerTest.CustomTag;import org.htmlparser.util.ParserException;/** * @author Somik Raha * * To change the template for this generated type comment go to * Window>Preferences>Java>Code Generation>Code and Comments */public class LineNumberAssignedByNodeReaderTest extends ParserTestCase {    static    {        System.setProperty ("org.htmlparser.tests.LineNumberAssignedByNodeReaderTest", "LineNumberAssignedByNodeReaderTest");    }    public LineNumberAssignedByNodeReaderTest(String name) {        super(name);    }    /**     * Test to ensure that the <code>Tag</code> being created by the     * <code>CompositeTagScanner</code> has the correct startLine and endLine     * information in the <code>TagData</code> it is constructed with.     * @throws ParserException if there is a problem parsing the test data     */    public void testLineNumbers1() throws ParserException    {        testLineNumber("<Custom/>", 1, 0, 0, 0);    }    public void testLineNumbers2() throws ParserException    {        testLineNumber("<Custom />", 1, 0, 0, 0);    }    public void testLineNumbers3() throws ParserException    {        testLineNumber("<Custom></Custom>", 1, 0, 0, 0);    }    public void testLineNumbers4() throws ParserException    {        testLineNumber("<Custom>Content</Custom>", 1, 0, 0, 0);    }    public void testLineNumbers5() throws ParserException    {        testLineNumber("<Custom>Content<Custom></Custom>", 1, 0, 0, 0);    }    public void testLineNumbers6() throws ParserException    {        testLineNumber(            "<Custom>\n" +            "   Content\n" +            "</Custom>",            1, 0, 0, 2        );    }    public void testLineNumbers7() throws ParserException    {        testLineNumber(            "Foo\n" +            "<Custom>\n" +            "   Content\n" +            "</Custom>",            2, 1, 1, 3        );    }    public void testLineNumbers8() throws ParserException    {        testLineNumber(            "Foo\n" +            "<Custom>\n" +            "   <Custom>SubContent</Custom>\n" +            "</Custom>",            2, 1, 1, 3        );    }    public void testLineNumbers9() throws ParserException    {        char[] oneHundredNewLines = new char[100];        Arrays.fill(oneHundredNewLines, '\n');        testLineNumber(            "Foo\n" +            new String(oneHundredNewLines) +            "<Custom>\n" +            "   <Custom>SubContent</Custom>\n" +            "</Custom>",            2, 1, 101, 103        );    }    /**     * Helper method to ensure that the <code>Tag</code> being created by the     * <code>CompositeTagScanner</code> has the correct startLine and endLine     * information in the <code>TagData</code> it is constructed with.     * @param xml String containing HTML or XML to parse, containing a Custom tag     * @param numNodes int number of expected nodes returned by parser     * @param useNode int index of the node to test (should be of type CustomTag)     * @param startLine int the expected start line number of the tag     * @param endLine int the expected end line number of the tag     * @throws ParserException if there is an exception during parsing     */    private void testLineNumber(String xml, int numNodes, int useNode, int expectedStartLine, int expectedEndLine) throws ParserException {        createParser(xml);        parser.setNodeFactory (new PrototypicalNodeFactory (new CustomTag ()));        parseAndAssertNodeCount(numNodes);        assertType("custom node",CustomTag.class,node[useNode]);        CustomTag tag = (CustomTag)node[useNode];        assertEquals("start line", expectedStartLine, tag.getStartingLineNumber ());        assertEquals("end line", expectedEndLine, tag.getEndTag ().getEndingLineNumber ());    }    public static TestSuite suite() {        TestSuite suite = new TestSuite("Line Number Tests");        suite.addTestSuite(LineNumberAssignedByNodeReaderTest.class);        return (suite);    }}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美亚洲国产一区二区三区| 99麻豆久久久国产精品免费| 亚洲狼人国产精品| 国产精品视频免费看| 久久精品亚洲精品国产欧美 | 日韩一区欧美二区| 亚洲午夜在线视频| 午夜视频久久久久久| 午夜精品一区在线观看| 视频一区二区三区在线| 美女爽到高潮91| 久久不见久久见中文字幕免费| 久久99精品一区二区三区| 韩日欧美一区二区三区| 国产精品综合网| eeuss鲁片一区二区三区在线观看| av一区二区三区在线| 色吊一区二区三区| 欧美日韩久久不卡| 91精品啪在线观看国产60岁| 7777精品伊人久久久大香线蕉 | 91蜜桃网址入口| 色婷婷精品久久二区二区蜜臂av | 欧美一区二区三区喷汁尤物| 精品国产一区二区三区忘忧草 | 床上的激情91.| 欧美综合亚洲图片综合区| 6080午夜不卡| 国产精品亲子伦对白| 亚洲国产综合91精品麻豆| 久久国产精品一区二区| 91猫先生在线| 精品伦理精品一区| 亚洲丝袜另类动漫二区| 日本午夜一区二区| 高清av一区二区| 欧美在线高清视频| 久久影院视频免费| 亚洲激情男女视频| 久久成人免费网站| 色综合天天做天天爱| 欧美一级xxx| 日韩美女精品在线| 免费不卡在线视频| 一本一道久久a久久精品| 日韩欧美综合一区| 亚洲精品国产无套在线观| 男女激情视频一区| 在线观看国产一区二区| 国产精品久久午夜夜伦鲁鲁| 老司机精品视频线观看86| 在线一区二区观看| 亚洲国产精华液网站w| 麻豆91在线看| 91麻豆精品久久久久蜜臀| 亚洲欧美自拍偷拍色图| 国产美女娇喘av呻吟久久| 91精品蜜臀在线一区尤物| 最好看的中文字幕久久| 国产一区二区不卡| 日韩精品专区在线影院观看| 天堂精品中文字幕在线| 欧美性感一区二区三区| 依依成人精品视频| 99视频精品在线| 欧美国产1区2区| 粉嫩嫩av羞羞动漫久久久| 精品88久久久久88久久久| 日本不卡不码高清免费观看 | 日韩av中文字幕一区二区 | 三级欧美在线一区| 色视频一区二区| 亚洲精品大片www| 一本大道久久a久久综合| 亚洲人成小说网站色在线| jizzjizzjizz欧美| 日韩美女视频一区| 日本久久一区二区三区| 亚洲美女精品一区| 91丨porny丨国产入口| 亚洲手机成人高清视频| 99re在线精品| 亚洲综合另类小说| 欧美精品一级二级| 青娱乐精品视频在线| 欧美电影免费提供在线观看| 国模冰冰炮一区二区| 久久久国产精品麻豆| 国产a视频精品免费观看| 亚洲婷婷综合色高清在线| 91女神在线视频| 午夜精品久久久久久久久| 91精品国产欧美一区二区18| 久久aⅴ国产欧美74aaa| 欧美国产成人在线| 欧美自拍偷拍午夜视频| 亚洲国产欧美另类丝袜| 欧美一卡2卡三卡4卡5免费| 国内外精品视频| 国产精品成人在线观看| 欧美日韩在线播放三区| 久久成人综合网| 中文字幕一区二区三区乱码在线| 色网综合在线观看| 免费欧美高清视频| 国产精品久久看| 欧美放荡的少妇| 成人午夜av在线| 亚洲成人三级小说| 国产欧美日韩亚州综合| 欧美性色欧美a在线播放| 久久99精品久久久久久国产越南| 日韩理论片网站| 日韩午夜电影在线观看| 97aⅴ精品视频一二三区| 日本亚洲视频在线| 亚洲私人影院在线观看| 精品1区2区在线观看| 欧美亚洲国产一区在线观看网站| 国产成人亚洲综合色影视| 午夜精品一区二区三区电影天堂 | 日本不卡一区二区| 中文一区一区三区高中清不卡| 欧洲av在线精品| 国产精品一区二区久激情瑜伽| 一区二区三区在线视频播放| 久久久久久麻豆| 欧美一级理论片| 91久久国产最好的精华液| 国产专区综合网| 日韩av在线播放中文字幕| 亚洲三级在线播放| 国产欧美精品一区二区色综合 | 亚洲品质自拍视频| 久久久噜噜噜久久中文字幕色伊伊| 欧美影片第一页| 色婷婷综合久久久久中文| 成人黄色电影在线| 国产一区二区三区四| 日韩av不卡一区二区| 亚洲国产一二三| 一区二区三区欧美在线观看| 国产女人水真多18毛片18精品视频 | 久久日韩粉嫩一区二区三区| 6080日韩午夜伦伦午夜伦| 日本韩国欧美一区| 99久久综合国产精品| 国产1区2区3区精品美女| 久久se精品一区二区| 日本欧美大码aⅴ在线播放| 亚洲一区二区三区中文字幕在线 | 欧美夫妻性生活| 精品毛片乱码1区2区3区| 欧美日韩免费观看一区二区三区| 91黄色激情网站| 色999日韩国产欧美一区二区| 91视频在线观看| 91视频观看视频| 欧美丝袜丝交足nylons图片| 欧美日韩日本视频| 7777精品伊人久久久大香线蕉的 | 欧美午夜影院一区| 亚洲激情在线播放| 一区二区久久久久久| 欧美日韩国产成人在线免费| 精品一区二区三区免费毛片爱| 偷拍日韩校园综合在线| 偷拍日韩校园综合在线| 男人操女人的视频在线观看欧美| 久久国产精品72免费观看| 韩国精品免费视频| 成人免费高清在线| 91免费视频网| 日韩一级免费一区| 欧美高清一级片在线观看| 欧美激情在线一区二区| 日韩毛片精品高清免费| 亚洲图片欧美色图| 免费成人av在线| 国产91精品精华液一区二区三区| 福利一区在线观看| 欧美在线观看视频在线| 日韩欧美一级特黄在线播放| 国产亚洲一区字幕| 亚洲自拍偷拍九九九| 美女精品一区二区| 99久久国产综合精品色伊| 欧美浪妇xxxx高跟鞋交| 久久理论电影网| 一区二区三区在线观看国产| 免费视频最近日韩| 91麻豆免费观看| 精品国产sm最大网站| 亚洲在线免费播放| 国产一区二区91| 欧美在线观看视频一区二区| 国产亚洲污的网站| 亚洲va在线va天堂| av在线播放一区二区三区| 日韩区在线观看|