aboutsummaryrefslogtreecommitdiff
path: root/javatests/dagger/internal/codegen/MapKeyProcessorTest.java
diff options
context:
space:
mode:
authorAurimas Liutikas <aurimas@google.com>2021-05-12 22:53:00 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2021-05-12 22:53:00 +0000
commit8630738d0a775a2f8e5bc09c437556bd75d8b620 (patch)
tree6f59a75348d07612173246ac6c4fca04bde0df2c /javatests/dagger/internal/codegen/MapKeyProcessorTest.java
parent0cd6a8551365e02a1687415356215ba2061739cd (diff)
parent5480a6c05f0c4727b3dd154709f40fdae8d8b4a2 (diff)
downloaddagger2-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/MapKeyProcessorTest.java')
-rw-r--r--javatests/dagger/internal/codegen/MapKeyProcessorTest.java12
1 files changed, 8 insertions, 4 deletions
diff --git a/javatests/dagger/internal/codegen/MapKeyProcessorTest.java b/javatests/dagger/internal/codegen/MapKeyProcessorTest.java
index 85f5a5c64..ffdb2bc18 100644
--- a/javatests/dagger/internal/codegen/MapKeyProcessorTest.java
+++ b/javatests/dagger/internal/codegen/MapKeyProcessorTest.java
@@ -18,6 +18,8 @@ package dagger.internal.codegen;
import static com.google.common.truth.Truth.assertAbout;
import static com.google.testing.compile.JavaSourcesSubjectFactory.javaSources;
+import static dagger.internal.codegen.GeneratedLines.GENERATED_CODE_ANNOTATIONS;
+import static dagger.internal.codegen.GeneratedLines.IMPORT_GENERATED_ANNOTATION;
import com.google.auto.value.processor.AutoAnnotationProcessor;
import com.google.common.collect.ImmutableList;
@@ -68,9 +70,10 @@ public class MapKeyProcessorTest {
"test.PathKeyCreator",
"package test;",
"",
- GeneratedLines.generatedImports("import com.google.auto.value.AutoAnnotation;"),
+ "import com.google.auto.value.AutoAnnotation;",
+ IMPORT_GENERATED_ANNOTATION,
"",
- GeneratedLines.generatedAnnotations(),
+ GENERATED_CODE_ANNOTATIONS,
"public final class PathKeyCreator {",
" private PathKeyCreator() {}",
"",
@@ -116,9 +119,10 @@ public class MapKeyProcessorTest {
"test.Container_PathKeyCreator",
"package test;",
"",
- GeneratedLines.generatedImports("import com.google.auto.value.AutoAnnotation;"),
+ "import com.google.auto.value.AutoAnnotation;",
+ IMPORT_GENERATED_ANNOTATION,
"",
- GeneratedLines.generatedAnnotations(),
+ GENERATED_CODE_ANNOTATIONS,
"public final class Container_PathKeyCreator {",
" private Container_PathKeyCreator() {}",
"",