commit | ccf3392c728ec1231b91d1b6ef3f8fe47d471944 | [log] [tgz] |
---|---|---|
author | Pete Bentley <prb@google.com> | Mon Mar 01 13:27:52 2021 +0000 |
committer | Pete Bentley <prb@google.com> | Mon Mar 08 10:41:51 2021 +0000 |
tree | 5f13700c05f7270d7579d8b277d5ae60202ab0da | |
parent | 5f6d28a01ed4321d2cf88bd1f8ca3acca8856f28 [diff] |
Don't convert assumption failures into errors in ErrorCollector.addError(). Cherry-picking to mainline-prod for consistency with other branches. It makes more sense to pass assumption failures through this path unchanged (unlike ErrorCollector.checkSucceeds) and converting them to errors breaks tests which use ErrorCollector in a wrapper Rule. Upstream issue: https://github.com/junit-team/junit4/issues/1703 Bug: 129054170 Test: m checkbuild Change-Id: I578a2676e52882c7d25d99061310ea38101883f6 Merged-In: I578a2676e52882c7d25d99061310ea38101883f6 (cherry picked from commit d3857e49835c77c9f8000af18904d05b43b24ce1)