use of ch.cyberduck.core.local.FinderSidebarService in project cyberduck by iterate-ch.
the class SharedFileListApplicationLoginRegistryTest method testRegister.
@Test
@Ignore
public void testRegister() {
final SharedFileListApplicationLoginRegistry registry = new SharedFileListApplicationLoginRegistry(new LaunchServicesApplicationFinder());
final Application application = new Application("ch.sudo.cyberduck");
assertTrue(registry.register(application));
assertTrue(new FinderSidebarService(SidebarService.List.login).contains(new FinderLocal(NSWorkspace.sharedWorkspace().absolutePathForAppBundleWithIdentifier(application.getIdentifier()))));
assertTrue(registry.unregister(application));
}
Aggregations