aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
authorGravatar Googler <noreply@google.com>2017-11-10 19:40:08 +0100
committerGravatar Damien Martin-Guillerez <dmarting@google.com>2017-11-10 23:28:08 +0100
commit694105dc2b6056c6c8330d9a0d3af9cff7edf7d5 (patch)
tree2de2a527317ed7b600e82a69f065a15143c007ff /tools
parent970dea8b62557c664f741be1718242218fc79d3c (diff)
Replace truth.FailureStrategy with truth.FailureMetadata in bazel's Subjects.
Also changed truth.SubjectFactory to truth.Subject.Factory (plain renaming) and use method reference instead of anonymous class to create the factory when applicable. FailureMetadata, an opaque object to its users, is introduced to replace FailureStrategy in in custom Subject in order to resolve some existing flaws of FailureStrategy as well as enable new features to be added to Truth. New API is available in Truth-0.36, if there is a build/pom.xml, it's also updated to use this version. PiperOrigin-RevId: 175308179
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions