~clint-fewbar/ubuntu/precise/squid3/ignore-sighup-early

« back to all changes in this revision

Viewing changes to src/tests/testURLScheme.cc

  • Committer: Bazaar Package Importer
  • Author(s): Luigi Gangitano
  • Date: 2010-05-04 11:15:49 UTC
  • mfrom: (1.3.1 upstream)
  • mto: (20.3.1 squeeze) (21.2.1 sid)
  • mto: This revision was merged to the branch mainline in revision 21.
  • Revision ID: james.westby@ubuntu.com-20100504111549-1apjh2g5sndki4te
Tags: upstream-3.1.3
ImportĀ upstreamĀ versionĀ 3.1.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#define SQUID_UNIT_TEST 1
2
2
 
3
3
#include "squid.h"
4
 
#include <sstream>
 
4
 
5
5
#include <cppunit/TestAssert.h>
6
6
 
7
7
#include "Mem.h"
8
8
#include "testURLScheme.h"
9
9
#include "URLScheme.h"
10
10
 
 
11
#if HAVE_SSTREAM
 
12
#include <sstream>
 
13
#endif
11
14
 
12
15
CPPUNIT_TEST_SUITE_REGISTRATION( testURLScheme );
13
16
 
26
29
}
27
30
 
28
31
/*
29
 
 * We can also parse precise ranges of characters 
 
32
 * We can also parse precise ranges of characters
30
33
 */
31
34
void
32
35
testHttpRequestMethod::testConstructCharStartEnd()
113
116
}
114
117
 
115
118
/*
116
 
 * a URLScheme replaces protocol_t, so we should be able to test for equality on 
 
119
 * a URLScheme replaces protocol_t, so we should be able to test for equality on
117
120
 * either the left or right hand side seamlessly.
118
121
 */
119
122
void