#ifndef NET_COOKIES_CANONICAL_COOKIE_TEST_HELPERS_H_
#define NET_COOKIES_CANONICAL_COOKIE_TEST_HELPERS_H_
#include <string>
#include <utility>
#include <vector>
#include "base/strings/string_split.h"
#include "net/cookies/canonical_cookie.h"
#include "testing/gmock/include/gmock/gmock-matchers.h"
#include "testing/gmock/include/gmock/gmock.h"
namespace net {
MATCHER_P(MatchesCookieLine, cookie_line, "") { … }
MATCHER_P(MatchesCookieWithName, name, "") { … }
MATCHER_P2(MatchesCookieNameValue, name, value, "") { … }
MATCHER_P2(MatchesCookieWithNameSourceType, name, source_type, "") { … }
MATCHER_P(MatchesCookieAccessWithName, name, "") { … }
MATCHER_P3(WhenKVSplit, pair_delim, kv_delim, inner_matcher, "") { … }
MATCHER_P(CookieStringIs, inner_matcher, "") { … }
MATCHER_P2(MatchesCookieWithAccessResult, cookie, access_result, "") { … }
MATCHER(IsInclude, "") { … }
MATCHER(HasSchemefulDowngradeWarning, "") { … }
MATCHER_P(HasWarningReason, reason, "") { … }
MATCHER_P(HasExclusionReason, reason, "") { … }
MATCHER_P(HasExactlyExemptionReason, reason, "") { … }
MATCHER_P(HasExactlyExclusionReasonsForTesting, reasons, "") { … }
MATCHER_P(HasExactlyWarningReasonsForTesting, reasons, "") { … }
MATCHER(ShouldWarn, "") { … }
MATCHER_P4(MatchesCookieAccessResult,
status,
effective_same_site,
access_semantics,
is_allowed_to_access_secure_cookies,
"") { … }
MATCHER_P3(MatchesCookieAndLineWithAccessResult,
cookie,
line,
access_result,
"") { … }
MATCHER(NameIs, "") { … }
MATCHER(CanonicalCookieNameIs, "") { … }
}
#endif