Migrate from old *Verb* classes to new *SubjectBuilder* classes

This migration does not change any behavior.

More information: []

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=168248439
This commit is contained in:
jijiang 2017-09-11 10:26:13 -07:00 committed by jianglai
parent 985d14b51f
commit 211d89695a
9 changed files with 22 additions and 19 deletions

View file

@ -19,9 +19,9 @@ import static com.google.common.truth.Truth.assertThat;
import com.google.common.collect.ImmutableList;
import com.google.common.testing.TestLogHandler;
import com.google.common.truth.AbstractVerb.DelegatedVerb;
import com.google.common.truth.Correspondence;
import com.google.common.truth.FailureStrategy;
import com.google.common.truth.SimpleSubjectBuilder;
import com.google.common.truth.StringSubject;
import com.google.common.truth.Subject;
import google.registry.testing.TruthChainer.Which;
@ -87,7 +87,7 @@ public class LogsSubject extends Subject<LogsSubject, TestLogHandler> {
throw new AssertionError("Message check passed yet matching message not found");
}
public static DelegatedVerb<LogsSubject, TestLogHandler> assertAboutLogs() {
public static SimpleSubjectBuilder<LogsSubject, TestLogHandler> assertAboutLogs() {
return assertAbout(new SubjectFactory());
}
}