67 virtual void SetUp() {
68 start_time_ = time(NULL);
73 virtual void TearDown() {
75 const time_t end_time = time(NULL);
80 EXPECT_TRUE(end_time - start_time_ <= 5) <<
"The test took too long.";
91class IntegerFunctionTest :
public QuickTest {
144class QueueTest :
public QuickTest {
146 virtual void SetUp() {
173TEST_F(QueueTest, DefaultConstructor) {
178TEST_F(QueueTest, Dequeue) {
179 int* n = q0_.Dequeue();
#define TEST_F(test_fixture, test_name)
#define EXPECT_EQ(val1, val2)
#define EXPECT_GT(val1, val2)
#define EXPECT_TRUE(condition)
#define EXPECT_FALSE(condition)