@Test public void testInitialValueOnFailure() { final SessionListWorker worker = new SessionListWorker(PathCache.empty(), new Path("/home/notfound", EnumSet.of(Path.Type.directory)), new DisabledListProgressListener()); assertSame(AttributedList.emptyList(), worker.initialize()); }
@Override public AttributedList<Path> initialize() { return AttributedList.emptyList(); }
SessionListWorker extends Worker<AttributedList<Path>> { @Override public AttributedList<Path> initialize() { return AttributedList.emptyList(); } }
SessionListWorker extends Worker<AttributedList<Path>> { @Override public AttributedList<Path> initialize() { return AttributedList.emptyList(); } SessionListWorker(final Cache<Path> cache, final Path directory, final ListProgressListener listener); }
SessionListWorker extends Worker<AttributedList<Path>> { @Override public AttributedList<Path> initialize() { return AttributedList.emptyList(); } SessionListWorker(final Cache<Path> cache, final Path directory, final ListProgressListener listener); @Override AttributedList<Path> run(final Session<?> session); @Override void cleanup(final AttributedList<Path> list); @Override String getActivity(); @Override AttributedList<Path> initialize(); @Override boolean equals(final Object o); @Override int hashCode(); @Override String toString(); }
SessionListWorker extends Worker<AttributedList<Path>> { @Override public AttributedList<Path> initialize() { return AttributedList.emptyList(); } SessionListWorker(final Cache<Path> cache, final Path directory, final ListProgressListener listener); @Override AttributedList<Path> run(final Session<?> session); @Override void cleanup(final AttributedList<Path> list); @Override String getActivity(); @Override AttributedList<Path> initialize(); @Override boolean equals(final Object o); @Override int hashCode(); @Override String toString();  }