Exemple #1
0
 @Test
 public void testMultipleFilesPickNonExistant() {
   ParamLayoutFormatter a = new FileLink();
   a.setArgument("doc");
   assertEquals("", a.format("paper:test.pdf:PDF;presentation:pres.ppt:PPT"));
 }
Exemple #2
0
 @Test
 public void testMultipleFiles() {
   ParamLayoutFormatter a = new FileLink();
   assertEquals("test.pdf", a.format("paper:test.pdf:PDF;presentation:pres.ppt:PPT"));
 }