Skip to content

Commit

Permalink
Automatic code cleanup.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 605217009
  • Loading branch information
java-team-github-bot authored and Error Prone Team committed Feb 8, 2024
1 parent 68badf0 commit b799927
Showing 1 changed file with 7 additions and 7 deletions.
Expand Up @@ -29,8 +29,8 @@
import com.google.common.truth.extensions.proto.ProtoSubject;
import com.google.errorprone.CompilationTestHelper;
import com.google.testing.junit.testparameterinjector.TestParameter;
import com.google.testing.junit.testparameterinjector.TestParameter.TestParameterValuesProvider;
import com.google.testing.junit.testparameterinjector.TestParameterInjector;
import com.google.testing.junit.testparameterinjector.TestParameterValuesProvider;
import java.lang.reflect.Method;
import java.lang.reflect.Modifier;
import org.junit.Test;
Expand Down Expand Up @@ -668,23 +668,23 @@ private static String getOffensiveLine(Method method) {
}
}

private static final class SubjectMethods implements TestParameterValuesProvider {
private static final class SubjectMethods extends TestParameterValuesProvider {
@Override
public ImmutableList<Method> provideValues() {
public ImmutableList<Method> provideValues(Context context) {
return getAssertionMethods(Subject.class);
}
}

private static final class IterableSubjectMethods implements TestParameterValuesProvider {
private static final class IterableSubjectMethods extends TestParameterValuesProvider {
@Override
public ImmutableList<Method> provideValues() {
public ImmutableList<Method> provideValues(Context context) {
return getAssertionMethods(IterableSubject.class);
}
}

private static final class ProtoTruthSubjectMethods implements TestParameterValuesProvider {
private static final class ProtoTruthSubjectMethods extends TestParameterValuesProvider {
@Override
public ImmutableList<Method> provideValues() {
public ImmutableList<Method> provideValues(Context context) {
return getAssertionMethods(ProtoSubject.class);
}
}
Expand Down

0 comments on commit b799927

Please sign in to comment.