#include "net/websockets/websocket_deflater.h"
#include <string>
#include "net/base/io_buffer.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace net {
namespace {
std::string ToString(IOBufferWithSize* buffer) { … }
TEST(WebSocketDeflaterTest, Construct) { … }
TEST(WebSocketDeflaterTest, DeflateHelloTakeOverContext) { … }
TEST(WebSocketDeflaterTest, DeflateHelloDoNotTakeOverContext) { … }
TEST(WebSocketDeflaterTest, MultipleAddBytesCalls) { … }
TEST(WebSocketDeflaterTest, GetMultipleDeflatedOutput) { … }
TEST(WebSocketDeflaterTest, WindowBits8) { … }
TEST(WebSocketDeflaterTest, WindowBits10) { … }
}
}