Package net.sf.jabref.export.layout.format

Examples of net.sf.jabref.export.layout.format.RemoveTilde


public class RemoveTildeTest extends TestCase {

  public void testFormatString() {

    LayoutFormatter l = new RemoveTilde();

    assertEquals("", l.format(""));
   
    assertEquals("simple", l.format("simple"));
   
    assertEquals(" ", l.format("~"));
   
    assertEquals("   ", l.format("~~~"));
   
    assertEquals(" \\~ ", l.format("~\\~~"));
   
    assertEquals("\\\\ ", l.format("\\\\~"));
   
    assertEquals("Doe Joe and Jane, M. and Kamp, J. A.", l
        .format("Doe Joe and Jane, M. and Kamp, J.~A."));
   
    assertEquals("T\\~olkien, J. R. R.", l
        .format("T\\~olkien, J.~R.~R."));
  }
View Full Code Here

TOP

Related Classes of net.sf.jabref.export.layout.format.RemoveTilde

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.