forked from deltadev/bbi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhttp_session_test.cc
49 lines (36 loc) · 965 Bytes
/
http_session_test.cc
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
#include <iostream>
#include <fstream>
#include <sstream>
#include <iterator>
#include <iomanip>
#include <string>
#include "dpj_utils.h"
using namespace dpj;
#include "prettyprint.hpp"
#include "http_session.h"
using std::cerr;
using std::cout;
using std::boolalpha;
using std::vector;
using std::string;
using std::begin;
using std::streambuf;
using std::istream;
using std::left;
using std::setw;
using std::bind;
using std::function;
using namespace std::placeholders;
///
/////////////////////////////////////////////////////////////////////////////
//
// Tests for http_session
//
/////////////////////////////////////////////////////////////////////////////
bool test_get(http::session& conn)
{
cout << setw(50) << left << "doing test_getline()... NOT IMPLEMENTED... ";
return true;
}
/////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////