Package align.splitter

Examples of align.splitter.Splitter


import align.splitter.SplitterMock;

public class SimpleTaskTest extends TestCase {
 
  public void testUseDifferentSplitters() throws AlignmentImpossibleException {
    Splitter sourceSplitter = new SplitterMock(1);
    Splitter targetSplitter = new SplitterMock(2);
    Aligner aligner = new AlignerMock();   
    SimpleTask task =
      new SimpleTask(sourceSplitter, targetSplitter, aligner);
    List<Alignment> alignmentList = task.run("abcd", "efgh");
    assertEquals(1, alignmentList.size());
View Full Code Here


public class SimpleTaskTest extends TestCase {
 
  private SimpleTask task;
 
  public void setUp() {
    Splitter sourceSplitter = new SplitterMock(1);
    Splitter targetSplitter = new SplitterMock(2);
    Aligner aligner = new AlignerMock();   
    task = new SimpleTask(sourceSplitter, targetSplitter, aligner);
  }
View Full Code Here

TOP

Related Classes of align.splitter.Splitter

Copyright © 2018 www.massapicom. 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.