@Test public void ignoresProjectNonAssetFiles() { fileData = FakeFileData.builder(JAVA_FILE).setSize(LARGE_FILE_SIZE).build(); assertThat( new LargeFilesSuggester() .processBundleZipEntry(BundleContext.create(1, false), fileData)) .isEmpty(); }
@Override public ImmutableList<Suggestion> processBundleZipEntry(BundleContext context, FileData fileData) { return processFileEntry(context, fileData, isBundleAssetFile(fileData)); }
LargeFilesSuggester implements BundleEntrySuggester, ProjectTreeSuggester { @Override public ImmutableList<Suggestion> processBundleZipEntry(BundleContext context, FileData fileData) { return processFileEntry(context, fileData, isBundleAssetFile(fileData)); } }
LargeFilesSuggester implements BundleEntrySuggester, ProjectTreeSuggester { @Override public ImmutableList<Suggestion> processBundleZipEntry(BundleContext context, FileData fileData) { return processFileEntry(context, fileData, isBundleAssetFile(fileData)); } LargeFilesSuggester(); }
LargeFilesSuggester implements BundleEntrySuggester, ProjectTreeSuggester { @Override public ImmutableList<Suggestion> processBundleZipEntry(BundleContext context, FileData fileData) { return processFileEntry(context, fileData, isBundleAssetFile(fileData)); } LargeFilesSuggester(); @Override ImmutableList<Suggestion> processBundleZipEntry(BundleContext context, FileData fileData); @Override ImmutableList<Suggestion> processProjectEntry(GradleContext context, FileData fileData); }
LargeFilesSuggester implements BundleEntrySuggester, ProjectTreeSuggester { @Override public ImmutableList<Suggestion> processBundleZipEntry(BundleContext context, FileData fileData) { return processFileEntry(context, fileData, isBundleAssetFile(fileData)); } LargeFilesSuggester(); @Override ImmutableList<Suggestion> processBundleZipEntry(BundleContext context, FileData fileData); @Override ImmutableList<Suggestion> processProjectEntry(GradleContext context, FileData fileData);  }