Package com.rometools.rome.unittest.issues

Source Code of com.rometools.rome.unittest.issues.Issue134Test

package com.rometools.rome.unittest.issues;

import com.rometools.rome.feed.synd.SyndFeed;
import com.rometools.rome.unittest.FeedTest;

/**
* Test for #134: Incorrect handling of CDATA sections.
*
* @author Martin Kurz
*
*/
public class Issue134Test extends FeedTest {

    public Issue134Test() {
        super("CDATATestFeed.xml");
    }

    public void testCDataLinks() throws Exception {
        final SyndFeed feed = this.getCachedSyndFeed();
        assertEquals("links differ", feed.getEntries().get(0).getLink(), feed.getEntries().get(1).getLink());
    }

}
TOP

Related Classes of com.rometools.rome.unittest.issues.Issue134Test

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.