1
0
mirror of https://github.com/google/nomulus synced 2026-04-24 02:00:50 +00:00
Files
nomulus/javatests/google/registry/xml/XmlTestUtilsTest.java
Justine Tunney cf849bc073 Fix XmlTestUtilsTest in open source build
The ExpectedException @Rule does not appear to be be able to catch
AssertionError in the version of JUnit we're tracking in the open source
world. This caused the expected exceptions to get passed through and
treated as failures.

The solution is to just use our forked version of ExpectedException,
which is ExceptionRule.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=128988393
2016-08-02 19:14:57 -04:00

2.0 KiB