@Test public void testWebappPlaceholderWithoutSpaces2() throws SimplePrintfLikeIntegrityCheckerException { String source = "%1Tip%2: This option will only affect the HTML folder embed widget."; String target = "%1Совет%2. Эта настройка повлияет только на встроенный HTML-виджет папки."; checker.check(source, target); }
@Override public void check(String sourceContent, String targetContent) throws PrintfLikeIntegrityCheckerException { try { super.check(sourceContent, targetContent); } catch (RegexCheckerException rce) { throw new SimplePrintfLikeIntegrityCheckerException((rce.getMessage())); } }
SimplePrintfLikeIntegrityChecker extends RegexIntegrityChecker { @Override public void check(String sourceContent, String targetContent) throws PrintfLikeIntegrityCheckerException { try { super.check(sourceContent, targetContent); } catch (RegexCheckerException rce) { throw new SimplePrintfLikeIntegrityCheckerException((rce.getMessage())); } } }
SimplePrintfLikeIntegrityChecker extends RegexIntegrityChecker { @Override public void check(String sourceContent, String targetContent) throws PrintfLikeIntegrityCheckerException { try { super.check(sourceContent, targetContent); } catch (RegexCheckerException rce) { throw new SimplePrintfLikeIntegrityCheckerException((rce.getMessage())); } }  }
SimplePrintfLikeIntegrityChecker extends RegexIntegrityChecker { @Override public void check(String sourceContent, String targetContent) throws PrintfLikeIntegrityCheckerException { try { super.check(sourceContent, targetContent); } catch (RegexCheckerException rce) { throw new SimplePrintfLikeIntegrityCheckerException((rce.getMessage())); } }  @Override String getRegex(); @Override void check(String sourceContent, String targetContent); }
SimplePrintfLikeIntegrityChecker extends RegexIntegrityChecker { @Override public void check(String sourceContent, String targetContent) throws PrintfLikeIntegrityCheckerException { try { super.check(sourceContent, targetContent); } catch (RegexCheckerException rce) { throw new SimplePrintfLikeIntegrityCheckerException((rce.getMessage())); } }  @Override String getRegex(); @Override void check(String sourceContent, String targetContent);  }