#include "net/spdy/http2_priority_dependencies.h"
#include <algorithm>
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/platform_test.h"
ContainerEq;
namespace net {
bool operator==(const Http2PriorityDependencies::DependencyUpdate& a,
const Http2PriorityDependencies::DependencyUpdate& b) { … }
std::ostream& operator<<(
std::ostream& os,
const std::vector<Http2PriorityDependencies::DependencyUpdate>& v) { … }
class HttpPriorityDependencyTest : public PlatformTest { … };
TEST_F(HttpPriorityDependencyTest, SamePriority) { … }
TEST_F(HttpPriorityDependencyTest, DifferentPriorityIncreasing) { … }
TEST_F(HttpPriorityDependencyTest, DifferentPriorityDecreasing) { … }
TEST_F(HttpPriorityDependencyTest, CompletionBeforeIssue) { … }
TEST_F(HttpPriorityDependencyTest, SomeCompletions) { … }
TEST_F(HttpPriorityDependencyTest, Complex) { … }
TEST_F(HttpPriorityDependencyTest, UpdateSingleStream) { … }
TEST_F(HttpPriorityDependencyTest, UpdateThreeStreams) { … }
TEST_F(HttpPriorityDependencyTest, UpdateComplex) { … }
}