-
Notifications
You must be signed in to change notification settings - Fork 0
/
test_httpconnection.h
executable file
·66 lines (54 loc) · 1.89 KB
/
test_httpconnection.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
/*
* Copyright 2012 Steven Gribble
*
* This file is part of the UW CSE 333 course project sequence
* (333proj).
*
* 333proj is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* 333proj is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with 333proj. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef _HW4_TEST_HTTPCONNECTION_H_
#define _HW4_TEST_HTTPCONNECTION_H_
#include "gtest/gtest.h"
namespace hw4 {
class Test_HttpConnection : public ::testing::Test {
protected:
Test_HttpConnection() {
// Do set-up work for each test here.
}
virtual ~Test_HttpConnection() {
// Do clean-up work for each test here.
}
virtual void SetUp() {
// Code here will be called after the constructor and
// right before each test.
}
virtual void TearDown() {
// Code here will be called after each test and
// right before the destructor.
}
static void SetUpTestCase() {
// Code here will be called once for the entire
// text fixture. Note it is a static member function
// (i.e., a class method, not an object instance method).
}
static void TearDownTestCase() {
// Code here will be called once for the entire
// text fixture. Note it is a static member function
// (i.e., a class method, not an object instance method).
}
// Objects declared here can be used by all tests in
// the test case.
}; // class Test_HttpConnection
} // namespace hw4
#endif // _HW4_TEST_HTTPCONNECTION_H_