Skip to content

Commit

Permalink
Internal changes
Browse files Browse the repository at this point in the history
RELNOTES=N/A
PiperOrigin-RevId: 700064660
  • Loading branch information
bcorso authored and Dagger Team committed Nov 25, 2024
1 parent fdbc63e commit 9fe4824
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 13 deletions.
16 changes: 6 additions & 10 deletions java/dagger/hilt/android/testing/compile/HiltCompilerTests.java
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,6 @@
import dagger.hilt.processor.internal.aliasof.KspAliasOfProcessor;
import dagger.hilt.processor.internal.definecomponent.DefineComponentProcessor;
import dagger.hilt.processor.internal.definecomponent.KspDefineComponentProcessor;
import dagger.hilt.processor.internal.earlyentrypoint.EarlyEntryPointProcessor;
import dagger.hilt.processor.internal.earlyentrypoint.KspEarlyEntryPointProcessor;
import dagger.hilt.processor.internal.generatesrootinput.GeneratesRootInputProcessor;
import dagger.hilt.processor.internal.generatesrootinput.KspGeneratesRootInputProcessor;
import dagger.hilt.processor.internal.originatingelement.KspOriginatingElementProcessor;
Expand All @@ -54,8 +52,6 @@
import dagger.hilt.processor.internal.root.KspComponentTreeDepsProcessor;
import dagger.hilt.processor.internal.root.KspRootProcessor;
import dagger.hilt.processor.internal.root.RootProcessor;
import dagger.hilt.processor.internal.uninstallmodules.KspUninstallModulesProcessor;
import dagger.hilt.processor.internal.uninstallmodules.UninstallModulesProcessor;
import dagger.internal.codegen.ComponentProcessor;
import dagger.internal.codegen.KspComponentProcessor;
import dagger.testing.compile.CompilerTests;
Expand Down Expand Up @@ -182,11 +178,11 @@ static ImmutableList<Processor> defaultProcessors() {
new ComponentTreeDepsProcessor(),
new CustomTestApplicationProcessor(),
new DefineComponentProcessor(),
new EarlyEntryPointProcessor(),
new dagger.hilt.processor.internal.earlyentrypoint.EarlyEntryPointProcessor(),
new dagger.hilt.processor.internal.uninstallmodules.UninstallModulesProcessor(),
new GeneratesRootInputProcessor(),
new OriginatingElementProcessor(),
new RootProcessor(),
new UninstallModulesProcessor());
new RootProcessor());
}

private static ImmutableList<SymbolProcessorProvider> kspDefaultProcessors() {
Expand All @@ -199,11 +195,11 @@ private static ImmutableList<SymbolProcessorProvider> kspDefaultProcessors() {
new KspComponentTreeDepsProcessor.Provider(),
new KspCustomTestApplicationProcessor.Provider(),
new KspDefineComponentProcessor.Provider(),
new KspEarlyEntryPointProcessor.Provider(),
new dagger.hilt.processor.internal.earlyentrypoint.KspEarlyEntryPointProcessor.Provider(),
new dagger.hilt.processor.internal.uninstallmodules.KspUninstallModulesProcessor.Provider(),
new KspGeneratesRootInputProcessor.Provider(),
new KspOriginatingElementProcessor.Provider(),
new KspRootProcessor.Provider(),
new KspUninstallModulesProcessor.Provider());
new KspRootProcessor.Provider());
}

/** Used to compile Hilt sources and inspect the compiled results. */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ compiler_test(
"//java/dagger/hilt/android:hilt_android_app",
"@androidsdk//:platforms/android-32/android.jar",
],
tags = ["notap"], # TODO(b/380279766): Re-enable once the bug is fixed.
deps = [
"//java/dagger/hilt/android/testing/compile",
"//third_party/java/guava/collect",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ compiler_test(
"//java/dagger/hilt/android/components",
"@androidsdk//:platforms/android-32/android.jar",
],
tags = ["notap"], # TODO(b/380279766): Re-enable once the bug is fixed.
deps = [
"//java/dagger/hilt/android/testing/compile",
"//java/dagger/internal/codegen/xprocessing:xprocessing-testing",
Expand Down
1 change: 0 additions & 1 deletion javatests/dagger/hilt/processor/internal/root/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ compiler_test(
"@maven//:androidx_test_ext_junit",
"@maven//:androidx_test_core",
],
tags = ["notap"], # TODO(b/380279766): Re-enable once the bug is fixed.
deps = [
"//java/dagger/hilt/android/testing/compile",
"//java/dagger/internal/codegen/xprocessing:xprocessing-testing",
Expand Down
1 change: 1 addition & 0 deletions test_defs.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,7 @@ def _GenTestsWithVariants(

for test_file in test_files:
test_name = test_file.rsplit(".", 1)[0]

_GenTestWithVariant(
library_rule_type = library_rule_type,
test_rule_type = test_rule_type,
Expand Down

0 comments on commit 9fe4824

Please sign in to comment.