Searched refs:parseSpec (Results 1 – 2 of 2) sorted by relevance
39 CaptivePortalProbeSpec statusRegexSpec = CaptivePortalProbeSpec.parseSpec( in testGetResult_Regex()43 CaptivePortalProbeSpec redirectSpec = CaptivePortalProbeSpec.parseSpec( in testGetResult_Regex()70 CaptivePortalProbeSpec.parseSpec(""); in testParseSpec_Empty()75 CaptivePortalProbeSpec.parseSpec(null); in testParseSpec_Null()80 CaptivePortalProbeSpec.parseSpec("http://google.com/@@/@@123"); in testParseSpec_MissingParts()85 CaptivePortalProbeSpec.parseSpec("http://google.com/@@/@@123@@/@@456@@/@@extra"); in testParseSpec_TooManyParts()90 CaptivePortalProbeSpec.parseSpec("http://google.com/@@/@@unmatched(parenthesis@@/@@456"); in testParseSpec_InvalidStatusRegex()95 CaptivePortalProbeSpec.parseSpec("http://google.com/@@/@@123@@/@@unmatched[[]bracket"); in testParseSpec_InvalidLocationRegex()100 CaptivePortalProbeSpec.parseSpec("@@/@@123@@/@@123"); in testParseSpec_EmptyURL()105 CaptivePortalProbeSpec.parseSpec("invalid"); in testParseSpec_NoParts()[all …]
65 public static CaptivePortalProbeSpec parseSpec(@NonNull String spec) throws ParseException, in parseSpec() method in CaptivePortalProbeSpec107 return parseSpec(spec); in parseSpecOrNull()129 specs.add(parseSpec(spec)); in parseCaptivePortalProbeSpecs()