aboutsummaryrefslogtreecommitdiff
path: root/javatests/dagger/internal/codegen/MapKeyProcessorTest.java
diff options
context:
space:
mode:
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() {}",
"",