Package com.google.singletondetector.output

Examples of com.google.singletondetector.output.OutputNode.separate()


public class OutputNodeTest extends TestCase {

  public void testChop() {
    OutputNode chopper = new OutputNode("chopper");
    assertEquals("sub1\\ntest/p1", chopper.separate("test/p1/sub1"));
    assertEquals("testp1", chopper.separate("testp1"));
  }

  public void testGetGraphMlEdges() {
    String expectedOutput =
View Full Code Here


public class OutputNodeTest extends TestCase {

  public void testChop() {
    OutputNode chopper = new OutputNode("chopper");
    assertEquals("sub1\\ntest/p1", chopper.separate("test/p1/sub1"));
    assertEquals("testp1", chopper.separate("testp1"));
  }

  public void testGetGraphMlEdges() {
    String expectedOutput =
        "    <edge source='source' target='dest1'>\n"
View Full Code Here

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.