Skip to content

Replace calls to deprecated com.google.errorprone.CompilationTestHelper#addSourceFile in tests #1425

@msridhar

Description

@msridhar

E.g., here:

.addSourceFile("testdata/Shape_Stuff.java")

We should call com.google.errorprone.CompilationTestHelper#addSourceLines instead and copy the relevant source into a text block, and then delete the separate source files. We can also remove any related @SuppressWarnings("deprecation") annotations.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions