#include "net/websockets/websocket_extension_parser.h"
#include <string>
#include "net/websockets/websocket_extension.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace net {
namespace {
TEST(WebSocketExtensionParserTest, ParseEmpty) { … }
TEST(WebSocketExtensionParserTest, ParseSimple) { … }
TEST(WebSocketExtensionParserTest, ParseMoreThanOnce) { … }
TEST(WebSocketExtensionParserTest, ParseOneExtensionWithOneParamWithoutValue) { … }
TEST(WebSocketExtensionParserTest, ParseOneExtensionWithOneParamWithValue) { … }
TEST(WebSocketExtensionParserTest, ParseOneExtensionWithParams) { … }
TEST(WebSocketExtensionParserTest, ParseTwoExtensions) { … }
TEST(WebSocketExtensionParserTest, InvalidPatterns) { … }
TEST(WebSocketExtensionParserTest, QuotedParameterValue) { … }
TEST(WebSocketExtensionParserTest, InvalidToken) { … }
}
}