Package com.softsizo.test.mock

Examples of com.softsizo.test.mock.MockSvnClientProvider


    }
   
    @Test
  public void testExplore() throws RepositoryExplorerException, IOException {
      RepositoryExplorer explorer = new RepositoryExplorer();
      explorer.setSvnClientProvider(new MockSvnClientProvider());
    ExtractedData data = explorer.explore(config);
    assertEquals(2, data.getAuthors().size());
    Collection<VersionedFile> files = data.getFiles();
    int initialLoc = 0;
    int currentLoc = 0;
View Full Code Here


    }
   
    @Test
    public void testGetRepositoryInfoHeadRevision() throws Exception {
        RepositoryExplorer explorer = new RepositoryExplorer();
        explorer.setSvnClientProvider(new MockSvnClientProvider());
        ExtractedData data = new ExtractedData();
        config.setToRevision(ConfigParameters.HEAD_REVISION);
        explorer.setConfig(config);
        explorer.getRepositoryInfo(data);
        assertEquals(999, data.getRepository().getLatestRevision());
View Full Code Here

TOP

Related Classes of com.softsizo.test.mock.MockSvnClientProvider

Copyright © 2018 www.massapicom. 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.