Package uk.ac.osswatch.simal.importData

Examples of uk.ac.osswatch.simal.importData.Ohloh.importProjects()


 
  @Test
  public void testProjectImport() throws FileNotFoundException, IOException, SimalRepositoryException, DuplicateURIException, URISyntaxException {
    File file = new File(ISimalRepository.class.getClassLoader().getResource(OHLOH_TEST_DATA).toURI());
    Ohloh ohloh = new Ohloh();
    ohloh.importProjects(file);
   
    Set<IProject> allProjects = repo.getAllProjects();
    int numProjectsbefore = allProjects.size();
    Iterator<IProject> projects = allProjects.iterator();
    IProject project;
View Full Code Here


   * @param file
   * @throws IOException
   */
  private static void importOhloh(File file) throws SimalException, IOException {
    Ohloh ohloh = new Ohloh();
    ohloh.importProjects(file);
  }

  /**
   * Import all the documents updated since the last time we updated from PTSW.
   *
 
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.