Add firefox 20 support.

This commit is contained in:
Paulo Gustavo Veiga
2013-04-04 20:39:11 -03:00
parent 8915e7eddf
commit 96cb014a6e
3 changed files with 5 additions and 2 deletions

View File

@@ -16,13 +16,13 @@ import org.testng.annotations.Test;
import java.io.*;
@Test
public class FreemindImportExportTest {
public class FreeMindImportExportTest {
private static final String DATA_DIR_PATH = "src/test/resources/data/freemind/";
private static final String UTF_8 = "UTF-8";
final private Importer importer;
final private FreemindExporter exporter;
public FreemindImportExportTest() throws ImporterException {
public FreeMindImportExportTest() throws ImporterException {
ImporterFactory exporterFactory = ImporterFactory.getInstance();
importer = exporterFactory.getImporter(ImportFormat.FREEMIND);
exporter = new FreemindExporter();

View File

@@ -49,6 +49,8 @@ public class UserAgentTest {
final SupportedUserAgent mediapartners = SupportedUserAgent.create("Mediapartners-Google/2.1");
Assert.assertEquals(mediapartners.isBrowserSupported(), true);
final SupportedUserAgent firefox20 = SupportedUserAgent.create("Mozilla/5.0 (Windows NT 6.1; WOW64; rv:20.0) Gecko/20121215 Firefox/20.0 AppEngine-Google; (+http://code.google.com/appengine; appid: slubuntuk)");
Assert.assertEquals(firefox20.isBrowserSupported(), true);
}