TestReducedParser.java | 56 * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 96 private static final boolean STRICT = true; 138 // Parse data and values that are consistent whether strict or lenient 214 // Parse data and values in strict and lenient modes. 216 // Strict Pair(endPos, value), Lenient Pair(endPos, value) 222 {YEAR, 2, 2, 2010, "3", 0, strict(0, null), lenient(1, 3)}, 223 {YEAR, 2, 2, 2010, "4", 0, strict(0, null), lenient(1, 4)}, 224 {YEAR, 2, 2, 2010, "5", 1, strict(1, null), lenient(1, null)}, 225 {YEAR, 2, 2, 2010, "6-2", 0, strict(0, null), lenient(1, 6)}, 226 {YEAR, 2, 2, 2010, "9", 0, strict(0, null), lenient(1, 9)} 498 private static Pair strict(int parseLen, Integer parseVal) { method in class:TestReducedParser 508 private final boolean strict; field in class:TestReducedParser.Pair [all...] |