proxygen
|
Go to the source code of this file.
Functions | |
TEST (WindowTest, Basic) | |
TEST (WindowTest, ChangeCapacity) | |
TEST (WindowTest, ExceedWindow) | |
TEST (WindowTest, Overflow) | |
TEST (WindowTest, Underflow) | |
TEST (WindowTest, HugeReserve) | |
TEST (WindowTest, HugeFree) | |
TEST (WindowTest, HugeFree2) | |
TEST (WindowTest, BytesOutstanding) | |
TEST (WindowTest, BytesOutstandingAfterFail) | |
TEST (WindowTest, NonStrict) | |
TEST (WindowTest, NewCapacityOverflow) | |
TEST | ( | WindowTest | , |
Basic | |||
) |
Definition at line 15 of file WindowTest.cpp.
References ASSERT_EQ, ASSERT_TRUE, proxygen::Window::free(), proxygen::Window::getCapacity(), proxygen::Window::getSize(), and proxygen::Window::reserve().
TEST | ( | WindowTest | , |
ChangeCapacity | |||
) |
Definition at line 30 of file WindowTest.cpp.
References ASSERT_EQ, ASSERT_TRUE, proxygen::Window::free(), proxygen::Window::getCapacity(), proxygen::Window::getOutstanding(), proxygen::Window::getSize(), proxygen::Window::reserve(), and proxygen::Window::setCapacity().
TEST | ( | WindowTest | , |
ExceedWindow | |||
) |
Definition at line 50 of file WindowTest.cpp.
References ASSERT_EQ, ASSERT_FALSE, ASSERT_TRUE, proxygen::Window::getSize(), and proxygen::Window::reserve().
TEST | ( | WindowTest | , |
Overflow | |||
) |
Definition at line 58 of file WindowTest.cpp.
References ASSERT_FALSE, max, and proxygen::Window::reserve().
TEST | ( | WindowTest | , |
Underflow | |||
) |
Definition at line 63 of file WindowTest.cpp.
References ASSERT_EQ, ASSERT_FALSE, ASSERT_TRUE, proxygen::Window::free(), proxygen::Window::getSize(), and max.
TEST | ( | WindowTest | , |
HugeReserve | |||
) |
Definition at line 71 of file WindowTest.cpp.
References ASSERT_FALSE, max, and proxygen::Window::reserve().
TEST | ( | WindowTest | , |
HugeFree | |||
) |
Definition at line 76 of file WindowTest.cpp.
References ASSERT_FALSE, ASSERT_TRUE, proxygen::Window::free(), and max.
TEST | ( | WindowTest | , |
HugeFree2 | |||
) |
Definition at line 83 of file WindowTest.cpp.
References ASSERT_FALSE, ASSERT_TRUE, proxygen::Window::free(), i, and max.
TEST | ( | WindowTest | , |
BytesOutstanding | |||
) |
Definition at line 91 of file WindowTest.cpp.
References ASSERT_EQ, ASSERT_TRUE, proxygen::Window::free(), proxygen::Window::getOutstanding(), and proxygen::Window::reserve().
TEST | ( | WindowTest | , |
BytesOutstandingAfterFail | |||
) |
Definition at line 101 of file WindowTest.cpp.
References ASSERT_EQ, ASSERT_FALSE, proxygen::Window::getOutstanding(), and proxygen::Window::reserve().
TEST | ( | WindowTest | , |
NonStrict | |||
) |
Definition at line 108 of file WindowTest.cpp.
References ASSERT_EQ, ASSERT_TRUE, proxygen::Window::getOutstanding(), proxygen::Window::getSize(), and proxygen::Window::reserve().
TEST | ( | WindowTest | , |
NewCapacityOverflow | |||
) |
Definition at line 115 of file WindowTest.cpp.
References ASSERT_EQ, ASSERT_FALSE, ASSERT_TRUE, proxygen::Window::free(), proxygen::Window::getOutstanding(), proxygen::Window::getSize(), max, and proxygen::Window::setCapacity().