static void parseMultipleLinearRandomRetry(String expected, String s) { final MultipleLinearRandomRetry r = MultipleLinearRandomRetry.parseCommaSeparatedString(s); LOG.info("input=" + s + ", parsed=" + r + ", expected=" + expected); if (r == null) { assertEquals(expected, null); } else { assertEquals("MultipleLinearRandomRetry" + expected, r.toString()); } }
static void parseMultipleLinearRandomRetry(String expected, String s) { final MultipleLinearRandomRetry r = MultipleLinearRandomRetry.parseCommaSeparatedString(s); LOG.info("input=" + s + ", parsed=" + r + ", expected=" + expected); if (r == null) { Assert.assertEquals(expected, null); } else { Assert.assertEquals("MultipleLinearRandomRetry" + expected, r.toString()); } }