Examples of AlignerMock


Examples of align.aligner.AlignerMock

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());
    Alignment alignment = alignmentList.get(0);
View Full Code Here

Examples of align.aligner.AlignerMock

  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
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.