@Test public void testGetHistory() throws Exception { assertNotNull("Couldn't read bitkeeper test repository.", bkRepo); for (final String bkFile : bkFiles) { final File file = new File(bkRepo.getDirectoryName(), bkFile); final History fullHistory = bkRepo.getHistory(file); final History partHistory = bkRepo.getHistory(file, "1.2"); validateHistory(fullHistory); validateHistory(partHistory); assertEquals("Partial file history is wrong size", fullHistory.getHistoryEntries().size(), (partHistory.getHistoryEntries().size() + 2)); } }
@Override History getHistory(File file) throws HistoryException { return getHistory(file, null); }
BitKeeperRepository extends Repository { @Override History getHistory(File file) throws HistoryException { return getHistory(file, null); } }
BitKeeperRepository extends Repository { @Override History getHistory(File file) throws HistoryException { return getHistory(file, null); } BitKeeperRepository(); }
BitKeeperRepository extends Repository { @Override History getHistory(File file) throws HistoryException { return getHistory(file, null); } BitKeeperRepository(); @Override boolean isWorking(); Version getVersion(); @Override boolean fileHasHistory(File file); @Override boolean fileHasAnnotation(File file); @Override Annotation annotate(File file, String revision); @Override void buildTagList(File directory, CommandTimeoutType cmdType); }
BitKeeperRepository extends Repository { @Override History getHistory(File file) throws HistoryException { return getHistory(file, null); } BitKeeperRepository(); @Override boolean isWorking(); Version getVersion(); @Override boolean fileHasHistory(File file); @Override boolean fileHasAnnotation(File file); @Override Annotation annotate(File file, String revision); @Override void buildTagList(File directory, CommandTimeoutType cmdType); static final String CMD_PROPERTY_KEY; static final String CMD_FALLBACK; }