use of org.jabref.logic.layout.ParamLayoutFormatter in project jabref by JabRef.
the class AuthorsTest method testStandardUsageThree.
@Test
public void testStandardUsageThree() {
ParamLayoutFormatter a = new Authors();
a.setArgument("fullname, LastFirst, Comma");
Assert.assertEquals("Bruce, Bob Croydon, Manson, Charles and Jumper, Jolly", a.format("Bob Croydon Bruce and Charles Manson and Jolly Jumper"));
}
use of org.jabref.logic.layout.ParamLayoutFormatter in project jabref by JabRef.
the class AuthorsTest method testStandardUsage.
@Test
public void testStandardUsage() {
ParamLayoutFormatter a = new Authors();
Assert.assertEquals("B. C. Bruce, C. Manson and J. Jumper", a.format("Bob Croydon Bruce and Charles Manson and Jolly Jumper"));
}
use of org.jabref.logic.layout.ParamLayoutFormatter in project jabref by JabRef.
the class AuthorsTest method testEtAl.
@Test
public void testEtAl() {
ParamLayoutFormatter a = new Authors();
a.setArgument("2,1");
Assert.assertEquals("B. C. Bruce et al.", a.format("Bruce, Bob Croydon and Charles Kermit von Manson and Jumper, Jolly"));
}
Aggregations