Package net.sf.jabref.imports

Examples of net.sf.jabref.imports.IsiImporter.importEntries()


  }

  public void testImportEntries() throws IOException {
    IsiImporter importer = new IsiImporter();

    List<BibtexEntry> entries = importer.importEntries(IsiImporterTest.class
      .getResourceAsStream("IsiImporterTest1.isi"));
    assertEquals(1, entries.size());
    BibtexEntry entry = entries.get(0);
    assertEquals("Optical properties of MgO doped LiNbO$_3$ single crystals", entry
      .getField("title"));
View Full Code Here


  }

  public void testImportEntriesINSPEC() throws IOException {
    IsiImporter importer = new IsiImporter();

    List<BibtexEntry> entries = importer.importEntries(IsiImporterTest.class
      .getResourceAsStream("IsiImporterTestInspec.isi"));

    assertEquals(2, entries.size());
    BibtexEntry a = entries.get(0);
    BibtexEntry b = entries.get(1);
View Full Code Here

  }

  public void testImportEntriesWOS() throws IOException {
    IsiImporter importer = new IsiImporter();

    List<BibtexEntry> entries = importer.importEntries(IsiImporterTest.class
      .getResourceAsStream("IsiImporterTestWOS.isi"));

    assertEquals(2, entries.size());
    BibtexEntry a = entries.get(0);
    BibtexEntry b = entries.get(1);
View Full Code Here

  }

  public void testImportIEEEExport() throws IOException {
    IsiImporter importer = new IsiImporter();

    List<BibtexEntry> entries = importer.importEntries(IsiImporterTest.class
      .getResourceAsStream("IEEEImport1.txt"));

    assertEquals(1, entries.size());
    BibtexEntry a = entries.get(0);
   
View Full Code Here

  }
 
  public void testImportEntriesMedline() throws IOException {
    IsiImporter importer = new IsiImporter();

    List<BibtexEntry> entries = importer.importEntries(IsiImporterTest.class
      .getResourceAsStream("IsiImporterTestMedline.isi"));

    assertEquals(2, entries.size());
    BibtexEntry a = entries.get(0);
    BibtexEntry b = entries.get(1);
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.