@Test public void testCheckOut_SingleVersionedAndNotCheckedOutFile() { DummyPluginTool tool = new DummyPluginTool(); VersionControlCheckOutAction action = new VersionControlCheckOutAction("owner", tool); spyLogger.reset(); spyDisplay.reset(); Set<DomainFile> file = new HashSet<>(); file.add(CollectionUtils.any(notCheckedOut)); checkout(action, file); waitForTasks(); spyLogger.assertLogMessage("Checkout", "completed", "1"); assertNoDisplayedMessages(); }
protected void checkOut(Collection<DomainFile> providedList) { if (!checkRepositoryConnected()) { return; } doCheckOut(providedList); }
VersionControlCheckOutAction extends VersionControlAction { protected void checkOut(Collection<DomainFile> providedList) { if (!checkRepositoryConnected()) { return; } doCheckOut(providedList); } }
VersionControlCheckOutAction extends VersionControlAction { protected void checkOut(Collection<DomainFile> providedList) { if (!checkRepositoryConnected()) { return; } doCheckOut(providedList); } VersionControlCheckOutAction(Plugin plugin);   VersionControlCheckOutAction(String owner, PluginTool tool); }
VersionControlCheckOutAction extends VersionControlAction { protected void checkOut(Collection<DomainFile> providedList) { if (!checkRepositoryConnected()) { return; } doCheckOut(providedList); } VersionControlCheckOutAction(Plugin plugin);   VersionControlCheckOutAction(String owner, PluginTool tool); @Override void actionPerformed(DomainFileProvider context); @Override boolean isEnabledForContext(DomainFileProvider context); }
VersionControlCheckOutAction extends VersionControlAction { protected void checkOut(Collection<DomainFile> providedList) { if (!checkRepositoryConnected()) { return; } doCheckOut(providedList); } VersionControlCheckOutAction(Plugin plugin);   VersionControlCheckOutAction(String owner, PluginTool tool); @Override void actionPerformed(DomainFileProvider context); @Override boolean isEnabledForContext(DomainFileProvider context);  }