// Copyright 2014 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "net/http/http_auth_challenge_tokenizer.h" #include "testing/gtest/include/gtest/gtest.h" namespace net { TEST(HttpAuthChallengeTokenizerTest, Basic) { … } // Use a name=value property with no quote marks. TEST(HttpAuthChallengeTokenizerTest, NoQuotes) { … } // Use a name=value property with mismatching quote marks. TEST(HttpAuthChallengeTokenizerTest, MismatchedQuotes) { … } // Use a name= property without a value and with mismatching quote marks. TEST(HttpAuthChallengeTokenizerTest, MismatchedQuotesNoValue) { … } // Use a name=value property with mismatching quote marks and spaces in the // value. TEST(HttpAuthChallengeTokenizerTest, MismatchedQuotesSpaces) { … } // Use multiple name=value properties with mismatching quote marks in the last // value. TEST(HttpAuthChallengeTokenizerTest, MismatchedQuotesMultiple) { … } // Use a name= property which has no value. TEST(HttpAuthChallengeTokenizerTest, NoValue) { … } // Specify multiple properties, comma separated. TEST(HttpAuthChallengeTokenizerTest, Multiple) { … } // Use a challenge which has no property. TEST(HttpAuthChallengeTokenizerTest, NoProperty) { … } // Use a challenge with Base64 encoded token. TEST(HttpAuthChallengeTokenizerTest, Base64) { … } } // namespace net