@Test public void messagesMatch() throws Exception { MessageComparator comparator = new MessageComparator(Messages.class); assertTrue(comparator.getDifferences(), comparator.isMatch()); comparator = new MessageComparator(Messages.class, Locale.FRENCH); assertTrue(comparator.getDifferences(), comparator.isMatch()); // Test files not tested because messages are intentionally // problematic. }
@Test public void messagesMatch() throws Exception { MessageComparator comparator = new MessageComparator(Messages.class); assertTrue(comparator.getDifferences(), comparator.isMatch()); }