diff options
author | Aurimas Liutikas <aurimas@google.com> | 2021-05-12 22:53:00 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2021-05-12 22:53:00 +0000 |
commit | 8630738d0a775a2f8e5bc09c437556bd75d8b620 (patch) | |
tree | 6f59a75348d07612173246ac6c4fca04bde0df2c /javatests/dagger/internal/codegen/MapBindingComponentProcessorTest.java | |
parent | 0cd6a8551365e02a1687415356215ba2061739cd (diff) | |
parent | 5480a6c05f0c4727b3dd154709f40fdae8d8b4a2 (diff) | |
download | dagger2-8630738d0a775a2f8e5bc09c437556bd75d8b620.tar.gz |
Merge "Revert "Merge commit 'upstream/dagger-2.35.1^'"" am: 5882ce8935 am: 5480a6c05f
Original change: https://android-review.googlesource.com/c/platform/external/dagger2/+/1705751
Change-Id: I2f7a4d61b9f48965273925620a8dc0afc43c9bef
Diffstat (limited to 'javatests/dagger/internal/codegen/MapBindingComponentProcessorTest.java')
-rw-r--r-- | javatests/dagger/internal/codegen/MapBindingComponentProcessorTest.java | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/javatests/dagger/internal/codegen/MapBindingComponentProcessorTest.java b/javatests/dagger/internal/codegen/MapBindingComponentProcessorTest.java index aa2a0ff6b..ed9dd658a 100644 --- a/javatests/dagger/internal/codegen/MapBindingComponentProcessorTest.java +++ b/javatests/dagger/internal/codegen/MapBindingComponentProcessorTest.java @@ -19,6 +19,7 @@ package dagger.internal.codegen; import static com.google.testing.compile.CompilationSubject.assertThat; import static dagger.internal.codegen.Compilers.compilerWithOptions; import static dagger.internal.codegen.Compilers.daggerCompiler; +import static dagger.internal.codegen.GeneratedLines.GENERATED_CODE_ANNOTATIONS; import com.google.testing.compile.Compilation; import com.google.testing.compile.JavaFileObjects; @@ -128,7 +129,7 @@ public class MapBindingComponentProcessorTest { "test.DaggerTestComponent", "package test;", "", - GeneratedLines.generatedAnnotations(), + GENERATED_CODE_ANNOTATIONS, "final class DaggerTestComponent implements TestComponent {", " private final MapModuleOne mapModuleOne;", " private final MapModuleTwo mapModuleTwo;", @@ -205,7 +206,7 @@ public class MapBindingComponentProcessorTest { "test.DaggerTestComponent", "package test;", "", - GeneratedLines.generatedAnnotations(), + GENERATED_CODE_ANNOTATIONS, "final class DaggerTestComponent implements TestComponent {", " private Provider<Handler> provideAdminHandlerProvider;", " private Provider<Handler> provideLoginHandlerProvider;", @@ -356,7 +357,7 @@ public class MapBindingComponentProcessorTest { "test.DaggerTestComponent", "package test;", "", - GeneratedLines.generatedAnnotations(), + GENERATED_CODE_ANNOTATIONS, "final class DaggerTestComponent implements TestComponent {", " private Provider<Map<Class<?>, Integer>> mapOfClassOfAndIntegerProvider;", "", @@ -442,7 +443,7 @@ public class MapBindingComponentProcessorTest { "mapkeys.MapModule_ComplexKeyWithInaccessibleAnnotationValueMapKey", "package mapkeys;", "", - GeneratedLines.generatedAnnotations(), + GENERATED_CODE_ANNOTATIONS, "public final class MapModule_ComplexKeyWithInaccessibleAnnotationValueMapKey {", " public static MapKeys.ComplexKey create() {", " return MapKeys_ComplexKeyCreator.createComplexKey(", @@ -458,7 +459,7 @@ public class MapBindingComponentProcessorTest { "mapkeys.MapModule_ClassKeyMapKey", "package mapkeys;", "", - GeneratedLines.generatedAnnotations(), + GENERATED_CODE_ANNOTATIONS, "public final class MapModule_ClassKeyMapKey {", " public static Class<?> create() {", " return MapKeys.Inaccessible.class;", @@ -535,7 +536,7 @@ public class MapBindingComponentProcessorTest { "test.DaggerTestComponent", "package test;", "", - GeneratedLines.generatedAnnotations(), + GENERATED_CODE_ANNOTATIONS, "final class DaggerTestComponent implements TestComponent {", " private final MapModuleOne mapModuleOne;", " private final MapModuleTwo mapModuleTwo;", @@ -612,7 +613,7 @@ public class MapBindingComponentProcessorTest { "test.DaggerTestComponent", "package test;", "", - GeneratedLines.generatedAnnotations(), + GENERATED_CODE_ANNOTATIONS, "final class DaggerTestComponent implements TestComponent {", " private Provider<Handler> provideAdminHandlerProvider;", " private Provider<Handler> provideLoginHandlerProvider;", @@ -735,7 +736,7 @@ public class MapBindingComponentProcessorTest { "test.DaggerTestComponent", "package test;", "", - GeneratedLines.generatedAnnotations(), + GENERATED_CODE_ANNOTATIONS, "final class DaggerTestComponent implements TestComponent {", " private final MapModuleOne mapModuleOne;", " private final MapModuleTwo mapModuleTwo;", @@ -821,7 +822,7 @@ public class MapBindingComponentProcessorTest { "test.DaggerTestComponent", "package test;", "", - GeneratedLines.generatedAnnotations(), + GENERATED_CODE_ANNOTATIONS, "final class DaggerTestComponent implements TestComponent {", " private Provider<Handler> provideAdminHandlerProvider;", " private Provider<Handler> provideLoginHandlerProvider;", @@ -948,7 +949,7 @@ public class MapBindingComponentProcessorTest { "test.DaggerTestComponent", "package test;", "", - GeneratedLines.generatedAnnotations(), + GENERATED_CODE_ANNOTATIONS, "final class DaggerTestComponent implements TestComponent {", " private final MapModuleOne mapModuleOne;", " private final MapModuleTwo mapModuleTwo;", @@ -999,7 +1000,7 @@ public class MapBindingComponentProcessorTest { "test.DaggerTestComponent", "package test;", "", - GeneratedLines.generatedAnnotations(), + GENERATED_CODE_ANNOTATIONS, "final class DaggerTestComponent implements TestComponent {", " private Provider<Handler> provideAdminHandlerProvider;", " private Provider<Handler> provideLoginHandlerProvider;", @@ -1076,7 +1077,7 @@ public class MapBindingComponentProcessorTest { "test.DaggerTestComponent", "package test;", "", - GeneratedLines.generatedAnnotations(), + GENERATED_CODE_ANNOTATIONS, "final class DaggerTestComponent implements TestComponent {", " private final MapModule mapModule;", "", |