|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r58607 - in sandbox/SOC/2007/cgi/branches/pickmeup/libs/cgi: example/acgi example/cgi example/cgi/cookie_game2 example/cgi/cookies example/cgi/hello_world example/fcgi/echo example/xcgi/server1 test/compile test/run
From: lists.drrngrvy_at_[hidden]
Date: 2009-12-31 06:12:45
Author: drrngrvy
Date: 2009-12-31 06:12:42 EST (Thu, 31 Dec 2009)
New Revision: 58607
URL: http://svn.boost.org/trac/boost/changeset/58607
Log:
Updated examples (tested linux)
Added:
sandbox/SOC/2007/cgi/branches/pickmeup/libs/cgi/example/cgi/cookies/ (props changed)
- copied from r58479, /sandbox/SOC/2007/cgi/branches/pickmeup/libs/cgi/example/cgi/cookie_game2/
sandbox/SOC/2007/cgi/branches/pickmeup/libs/cgi/example/cgi/cookies/Jamfile.v2 (contents, props changed)
Removed:
sandbox/SOC/2007/cgi/branches/pickmeup/libs/cgi/example/acgi/
sandbox/SOC/2007/cgi/branches/pickmeup/libs/cgi/example/cgi/cookie_game2/
Text files modified:
sandbox/SOC/2007/cgi/branches/pickmeup/libs/cgi/example/cgi/Jamfile.v2 | 4 ++--
sandbox/SOC/2007/cgi/branches/pickmeup/libs/cgi/example/cgi/cookies/main.cpp | 3 ---
sandbox/SOC/2007/cgi/branches/pickmeup/libs/cgi/example/cgi/hello_world/main.cpp | 2 ++
sandbox/SOC/2007/cgi/branches/pickmeup/libs/cgi/example/fcgi/echo/main.cpp | 2 ++
sandbox/SOC/2007/cgi/branches/pickmeup/libs/cgi/example/xcgi/server1/Server.hpp | 9 +++------
sandbox/SOC/2007/cgi/branches/pickmeup/libs/cgi/test/compile/Jamfile.v2 | 3 ---
sandbox/SOC/2007/cgi/branches/pickmeup/libs/cgi/test/compile/async_stdio_connection.cpp | 4 ++--
sandbox/SOC/2007/cgi/branches/pickmeup/libs/cgi/test/compile/cgi_request.cpp | 2 +-
sandbox/SOC/2007/cgi/branches/pickmeup/libs/cgi/test/compile/cgi_service.cpp | 2 +-
sandbox/SOC/2007/cgi/branches/pickmeup/libs/cgi/test/compile/fcgi_acceptor.cpp | 4 ++--
sandbox/SOC/2007/cgi/branches/pickmeup/libs/cgi/test/compile/fcgi_request.cpp | 4 ++--
sandbox/SOC/2007/cgi/branches/pickmeup/libs/cgi/test/compile/fcgi_service.cpp | 2 +-
sandbox/SOC/2007/cgi/branches/pickmeup/libs/cgi/test/compile/response.cpp | 2 +-
sandbox/SOC/2007/cgi/branches/pickmeup/libs/cgi/test/compile/scgi_acceptor.cpp | 4 ++--
sandbox/SOC/2007/cgi/branches/pickmeup/libs/cgi/test/compile/scgi_request.cpp | 4 ++--
sandbox/SOC/2007/cgi/branches/pickmeup/libs/cgi/test/compile/scgi_service.cpp | 2 +-
sandbox/SOC/2007/cgi/branches/pickmeup/libs/cgi/test/compile/shareable_tcp_connection.cpp | 4 ++--
sandbox/SOC/2007/cgi/branches/pickmeup/libs/cgi/test/compile/stdio_connection.cpp | 2 +-
sandbox/SOC/2007/cgi/branches/pickmeup/libs/cgi/test/compile/tcp_connection.cpp | 4 ++--
sandbox/SOC/2007/cgi/branches/pickmeup/libs/cgi/test/run/Jamfile.v2 | 6 +++---
sandbox/SOC/2007/cgi/branches/pickmeup/libs/cgi/test/run/cookie.cpp | 13 +++++++------
sandbox/SOC/2007/cgi/branches/pickmeup/libs/cgi/test/run/has_key.cpp | 3 ++-
sandbox/SOC/2007/cgi/branches/pickmeup/libs/cgi/test/run/map_test.cpp | 2 +-
sandbox/SOC/2007/cgi/branches/pickmeup/libs/cgi/test/run/name_test.cpp | 2 +-
sandbox/SOC/2007/cgi/branches/pickmeup/libs/cgi/test/run/parse_options.cpp | 2 +-
sandbox/SOC/2007/cgi/branches/pickmeup/libs/cgi/test/run/response.cpp | 2 +-
sandbox/SOC/2007/cgi/branches/pickmeup/libs/cgi/test/run/stdio_connection.cpp | 2 +-
27 files changed, 46 insertions(+), 49 deletions(-)
Modified: sandbox/SOC/2007/cgi/branches/pickmeup/libs/cgi/example/cgi/Jamfile.v2
==============================================================================
--- sandbox/SOC/2007/cgi/branches/pickmeup/libs/cgi/example/cgi/Jamfile.v2 (original)
+++ sandbox/SOC/2007/cgi/branches/pickmeup/libs/cgi/example/cgi/Jamfile.v2 2009-12-31 06:12:42 EST (Thu, 31 Dec 2009)
@@ -7,8 +7,8 @@
# By default, just build the examples
build-project hello_world ;
build-project echo ;
+build-project cookies ;
build-project file_browser ;
-#build-project tracing_server ;
# If the user explicitly passes "install" on the command line, build the
# CGI examples and copy them to $(cgi-bin)
@@ -16,8 +16,8 @@
:
hello_world
echo
+ cookies
file_browser
- #tracing_server
:
<location>$(cgi-bin)
;
Added: sandbox/SOC/2007/cgi/branches/pickmeup/libs/cgi/example/cgi/cookies/Jamfile.v2
==============================================================================
--- (empty file)
+++ sandbox/SOC/2007/cgi/branches/pickmeup/libs/cgi/example/cgi/cookies/Jamfile.v2 2009-12-31 06:12:42 EST (Thu, 31 Dec 2009)
@@ -0,0 +1,23 @@
+# Copyright (c) 2009 Darren Garvey
+#
+# Distributed under the Boost Software License, Version 1.0.
+# (See accompanying file LICENSE_1_0.txt or copy
+# at http://www.boost.org/LICENSE_1_0.txt)
+
+project boost/cgi/example/cgi/cookies ;
+
+exe cgi_cookies
+ :
+ main.cpp /boost/regex/ /boost/cgi/
+ :
+ ;
+
+
+# Our install rule (builds binaries and copies them to <location>)
+install install
+ : cgi_cookies
+ : <location>$(cgi-bin)
+ ;
+
+# Only install example if you use `bjam install' or equivalent
+explicit install ;
Modified: sandbox/SOC/2007/cgi/branches/pickmeup/libs/cgi/example/cgi/cookies/main.cpp
==============================================================================
--- /sandbox/SOC/2007/cgi/branches/pickmeup/libs/cgi/example/cgi/cookie_game2/main.cpp (original)
+++ sandbox/SOC/2007/cgi/branches/pickmeup/libs/cgi/example/cgi/cookies/main.cpp 2009-12-31 06:12:42 EST (Thu, 31 Dec 2009)
@@ -101,9 +101,6 @@
try {
request_type req;
- // Load up the request data
- req.load(parse_all);
-
response_type resp;
// Check if we are resetting the user.
Modified: sandbox/SOC/2007/cgi/branches/pickmeup/libs/cgi/example/cgi/hello_world/main.cpp
==============================================================================
--- sandbox/SOC/2007/cgi/branches/pickmeup/libs/cgi/example/cgi/hello_world/main.cpp (original)
+++ sandbox/SOC/2007/cgi/branches/pickmeup/libs/cgi/example/cgi/hello_world/main.cpp 2009-12-31 06:12:42 EST (Thu, 31 Dec 2009)
@@ -31,7 +31,9 @@
// the response text.
resp<< "Hello there, universe."
<< cgi::cookie("test", "check")
+ << cgi::charset("ascii")
;
+ //resp.set(cgi::cookie("test", "check"));
// Leave this function, after sending the response and closing the request.
// Returns 0 on success.
Modified: sandbox/SOC/2007/cgi/branches/pickmeup/libs/cgi/example/fcgi/echo/main.cpp
==============================================================================
--- sandbox/SOC/2007/cgi/branches/pickmeup/libs/cgi/example/fcgi/echo/main.cpp (original)
+++ sandbox/SOC/2007/cgi/branches/pickmeup/libs/cgi/example/fcgi/echo/main.cpp 2009-12-31 06:12:42 EST (Thu, 31 Dec 2009)
@@ -23,6 +23,8 @@
#include "boost/cgi/fcgi.hpp"
//using namespace std;
+using std::cerr;
+using std::endl;
using namespace boost::fcgi;
// The styling information for the page, just to make things look nicer.
Modified: sandbox/SOC/2007/cgi/branches/pickmeup/libs/cgi/example/xcgi/server1/Server.hpp
==============================================================================
--- sandbox/SOC/2007/cgi/branches/pickmeup/libs/cgi/example/xcgi/server1/Server.hpp (original)
+++ sandbox/SOC/2007/cgi/branches/pickmeup/libs/cgi/example/xcgi/server1/Server.hpp 2009-12-31 06:12:42 EST (Thu, 31 Dec 2009)
@@ -2,7 +2,7 @@
#define BOOST_CGI_EXAMPLES_XCGI_SERVER2_SERVER_HPP_INCLUDED_
//[xcgi_server1_server
-#include <boost/cgi.hpp>
+#include <boost/cgi/cgi.hpp>
#include <boost/cgi/fcgi.hpp>
class Server
@@ -25,11 +25,8 @@
template<typename Handler>
int handle_cgi_request(Handler handler)
{
- // **FIXME**
- // Uses acgi - would be better if boost::cgi::request was asynchronous.
- boost::acgi::service srv;
- boost::acgi::request req(srv);
- boost::acgi::response resp;
+ boost::cgi::request req;
+ boost::cgi::response resp;
return handler(req, resp);
}
Modified: sandbox/SOC/2007/cgi/branches/pickmeup/libs/cgi/test/compile/Jamfile.v2
==============================================================================
--- sandbox/SOC/2007/cgi/branches/pickmeup/libs/cgi/test/compile/Jamfile.v2 (original)
+++ sandbox/SOC/2007/cgi/branches/pickmeup/libs/cgi/test/compile/Jamfile.v2 2009-12-31 06:12:42 EST (Thu, 31 Dec 2009)
@@ -44,12 +44,10 @@
[ compile shareable_tcp_connection.cpp ]
# services
- [ compile acgi_service.cpp ]
[ compile fcgi_service.cpp ]
# requests
[ compile cgi_request.cpp ]
- [ compile acgi_request.cpp ]
[ compile fcgi_request.cpp ]
# response
@@ -61,7 +59,6 @@
# misc tests
[ compile cgi_header_check.cpp ]
- [ compile is_async_test.cpp ]
:
<toolset>msvc:<define>_CRT_SECURE_NO_DEPRECATE=1
<toolset>msvc:<define>_CRT_NONSTDC_NO_DEPRECATE=1
Modified: sandbox/SOC/2007/cgi/branches/pickmeup/libs/cgi/test/compile/async_stdio_connection.cpp
==============================================================================
--- sandbox/SOC/2007/cgi/branches/pickmeup/libs/cgi/test/compile/async_stdio_connection.cpp (original)
+++ sandbox/SOC/2007/cgi/branches/pickmeup/libs/cgi/test/compile/async_stdio_connection.cpp 2009-12-31 06:12:42 EST (Thu, 31 Dec 2009)
@@ -2,8 +2,8 @@
int main()
{
- cgi::common::io_service ios;
- cgi::common::connections::async_stdio conn(ios);
+ boost::cgi::common::io_service ios;
+ boost::cgi::connections::async_stdio conn(ios);
return 0;
}
Modified: sandbox/SOC/2007/cgi/branches/pickmeup/libs/cgi/test/compile/cgi_request.cpp
==============================================================================
--- sandbox/SOC/2007/cgi/branches/pickmeup/libs/cgi/test/compile/cgi_request.cpp (original)
+++ sandbox/SOC/2007/cgi/branches/pickmeup/libs/cgi/test/compile/cgi_request.cpp 2009-12-31 06:12:42 EST (Thu, 31 Dec 2009)
@@ -2,7 +2,7 @@
int main()
{
- cgi::request req;
+ boost::cgi::request req;
return 0;
}
Modified: sandbox/SOC/2007/cgi/branches/pickmeup/libs/cgi/test/compile/cgi_service.cpp
==============================================================================
--- sandbox/SOC/2007/cgi/branches/pickmeup/libs/cgi/test/compile/cgi_service.cpp (original)
+++ sandbox/SOC/2007/cgi/branches/pickmeup/libs/cgi/test/compile/cgi_service.cpp 2009-12-31 06:12:42 EST (Thu, 31 Dec 2009)
@@ -2,7 +2,7 @@
int main()
{
- cgi::acgi::service s;
+ boost::acgi::service s;
return 0;
}
Modified: sandbox/SOC/2007/cgi/branches/pickmeup/libs/cgi/test/compile/fcgi_acceptor.cpp
==============================================================================
--- sandbox/SOC/2007/cgi/branches/pickmeup/libs/cgi/test/compile/fcgi_acceptor.cpp (original)
+++ sandbox/SOC/2007/cgi/branches/pickmeup/libs/cgi/test/compile/fcgi_acceptor.cpp 2009-12-31 06:12:42 EST (Thu, 31 Dec 2009)
@@ -2,8 +2,8 @@
int main()
{
- cgi::fcgi::service s;
- cgi::fcgi::acceptor a(s);
+ boost::fcgi::service s;
+ boost::fcgi::acceptor a(s);
return 0;
}
Modified: sandbox/SOC/2007/cgi/branches/pickmeup/libs/cgi/test/compile/fcgi_request.cpp
==============================================================================
--- sandbox/SOC/2007/cgi/branches/pickmeup/libs/cgi/test/compile/fcgi_request.cpp (original)
+++ sandbox/SOC/2007/cgi/branches/pickmeup/libs/cgi/test/compile/fcgi_request.cpp 2009-12-31 06:12:42 EST (Thu, 31 Dec 2009)
@@ -2,8 +2,8 @@
int main()
{
- cgi::fcgi::service s;
- cgi::fcgi::request req(s);
+ boost::fcgi::service s;
+ boost::fcgi::request req(s);
return 0;
}
Modified: sandbox/SOC/2007/cgi/branches/pickmeup/libs/cgi/test/compile/fcgi_service.cpp
==============================================================================
--- sandbox/SOC/2007/cgi/branches/pickmeup/libs/cgi/test/compile/fcgi_service.cpp (original)
+++ sandbox/SOC/2007/cgi/branches/pickmeup/libs/cgi/test/compile/fcgi_service.cpp 2009-12-31 06:12:42 EST (Thu, 31 Dec 2009)
@@ -2,7 +2,7 @@
int main()
{
- cgi::fcgi::service s;
+ boost::fcgi::service s;
return 0;
}
Modified: sandbox/SOC/2007/cgi/branches/pickmeup/libs/cgi/test/compile/response.cpp
==============================================================================
--- sandbox/SOC/2007/cgi/branches/pickmeup/libs/cgi/test/compile/response.cpp (original)
+++ sandbox/SOC/2007/cgi/branches/pickmeup/libs/cgi/test/compile/response.cpp 2009-12-31 06:12:42 EST (Thu, 31 Dec 2009)
@@ -2,7 +2,7 @@
int main(int, char**)
{
- cgi::common::response resp;
+ boost::cgi::common::response resp;
resp<< "blah";
Modified: sandbox/SOC/2007/cgi/branches/pickmeup/libs/cgi/test/compile/scgi_acceptor.cpp
==============================================================================
--- sandbox/SOC/2007/cgi/branches/pickmeup/libs/cgi/test/compile/scgi_acceptor.cpp (original)
+++ sandbox/SOC/2007/cgi/branches/pickmeup/libs/cgi/test/compile/scgi_acceptor.cpp 2009-12-31 06:12:42 EST (Thu, 31 Dec 2009)
@@ -3,8 +3,8 @@
int main()
{
- cgi::scgi::service s;
- cgi::scgi::acceptor a(s);
+ boost::scgi::service s;
+ boost::scgi::acceptor a(s);
return 0;
}
Modified: sandbox/SOC/2007/cgi/branches/pickmeup/libs/cgi/test/compile/scgi_request.cpp
==============================================================================
--- sandbox/SOC/2007/cgi/branches/pickmeup/libs/cgi/test/compile/scgi_request.cpp (original)
+++ sandbox/SOC/2007/cgi/branches/pickmeup/libs/cgi/test/compile/scgi_request.cpp 2009-12-31 06:12:42 EST (Thu, 31 Dec 2009)
@@ -3,8 +3,8 @@
int main()
{
- cgi::scgi::service s;
- cgi::scgi::request r(s);
+ boost::scgi::service s;
+ boost::scgi::request r(s);
return 0;
}
Modified: sandbox/SOC/2007/cgi/branches/pickmeup/libs/cgi/test/compile/scgi_service.cpp
==============================================================================
--- sandbox/SOC/2007/cgi/branches/pickmeup/libs/cgi/test/compile/scgi_service.cpp (original)
+++ sandbox/SOC/2007/cgi/branches/pickmeup/libs/cgi/test/compile/scgi_service.cpp 2009-12-31 06:12:42 EST (Thu, 31 Dec 2009)
@@ -2,7 +2,7 @@
int main()
{
- cgi::scgi::service s;
+ boost::scgi::service s;
return 0;
}
Modified: sandbox/SOC/2007/cgi/branches/pickmeup/libs/cgi/test/compile/shareable_tcp_connection.cpp
==============================================================================
--- sandbox/SOC/2007/cgi/branches/pickmeup/libs/cgi/test/compile/shareable_tcp_connection.cpp (original)
+++ sandbox/SOC/2007/cgi/branches/pickmeup/libs/cgi/test/compile/shareable_tcp_connection.cpp 2009-12-31 06:12:42 EST (Thu, 31 Dec 2009)
@@ -2,8 +2,8 @@
int main()
{
- cgi::common::io_service ios;
- cgi::common::connections::shareable_tcp conn(ios);
+ boost::cgi::common::io_service ios;
+ boost::cgi::connections::shareable_tcp conn(ios);
return 0;
}
Modified: sandbox/SOC/2007/cgi/branches/pickmeup/libs/cgi/test/compile/stdio_connection.cpp
==============================================================================
--- sandbox/SOC/2007/cgi/branches/pickmeup/libs/cgi/test/compile/stdio_connection.cpp (original)
+++ sandbox/SOC/2007/cgi/branches/pickmeup/libs/cgi/test/compile/stdio_connection.cpp 2009-12-31 06:12:42 EST (Thu, 31 Dec 2009)
@@ -2,7 +2,7 @@
int main()
{
- cgi::common::connections::stdio conn;
+ boost::cgi::connections::stdio conn;
return 0;
}
Modified: sandbox/SOC/2007/cgi/branches/pickmeup/libs/cgi/test/compile/tcp_connection.cpp
==============================================================================
--- sandbox/SOC/2007/cgi/branches/pickmeup/libs/cgi/test/compile/tcp_connection.cpp (original)
+++ sandbox/SOC/2007/cgi/branches/pickmeup/libs/cgi/test/compile/tcp_connection.cpp 2009-12-31 06:12:42 EST (Thu, 31 Dec 2009)
@@ -2,8 +2,8 @@
int main()
{
- cgi::common::io_service ios;
- cgi::common::connections::tcp conn(ios);
+ boost::cgi::common::io_service ios;
+ boost::cgi::connections::tcp conn(ios);
return 0;
}
Modified: sandbox/SOC/2007/cgi/branches/pickmeup/libs/cgi/test/run/Jamfile.v2
==============================================================================
--- sandbox/SOC/2007/cgi/branches/pickmeup/libs/cgi/test/run/Jamfile.v2 (original)
+++ sandbox/SOC/2007/cgi/branches/pickmeup/libs/cgi/test/run/Jamfile.v2 2009-12-31 06:12:42 EST (Thu, 31 Dec 2009)
@@ -5,8 +5,9 @@
project boost/cgi/tests/run
: requirements
- #<library>/boost/test//boost_unit_test_framework/
- #<library>/boost/system/
+ <library>/boost/test//boost_unit_test_framework/
+ <library>/boost/system/
+ <linkflags>-pthread
#<library>/boost/thread/
#<library>/boost/regex/
;
@@ -25,7 +26,6 @@
[ run cookie.cpp ]
[ run response.cpp ]
[ run cgi_simple_request.cpp ]
- [ run acgi_simple_request.cpp ]
[ run name_test.cpp ]
[ run map_test.cpp ]
[ run parse_options.cpp ]
Modified: sandbox/SOC/2007/cgi/branches/pickmeup/libs/cgi/test/run/cookie.cpp
==============================================================================
--- sandbox/SOC/2007/cgi/branches/pickmeup/libs/cgi/test/run/cookie.cpp (original)
+++ sandbox/SOC/2007/cgi/branches/pickmeup/libs/cgi/test/run/cookie.cpp 2009-12-31 06:12:42 EST (Thu, 31 Dec 2009)
@@ -17,8 +17,8 @@
// Constructing a cookie with only a name should be a valid way to
// delete the cookie. ie. set its value to NULL and give it a date
// in the past
- using namespace cgi;
- using cgi::common::cookie;
+ using namespace boost::cgi;
+ using boost::cgi::common::cookie;
using namespace std;
string ex("Fri, 05-Jun-1989 15:30:00 GMT");
@@ -38,8 +38,8 @@
BOOST_AUTO_TEST_CASE( cookie_constructor_full )
{
// Check the full version of the constructor works (simple test)
- using namespace cgi;
- using cgi::common::cookie;
+ using namespace boost::cgi;
+ using boost::cgi::common::cookie;
using namespace std;
string ex("Wed, 03-Oct-2007 16:26:06 GMT");
@@ -63,8 +63,8 @@
// Constructing a cookie with only a name should be a valid way to
// delete the cookie. ie. set its value to NULL and give it a date
// in the past
- using namespace cgi;
- using cgi::common::cookie;
+ using namespace boost::cgi;
+ using boost::cgi::common::cookie;
using namespace std;
string cookie_content(
@@ -96,3 +96,4 @@
string ostr(oss.str());
BOOST_CHECK_EQUAL(ostr, cookie_content);
}
+
Modified: sandbox/SOC/2007/cgi/branches/pickmeup/libs/cgi/test/run/has_key.cpp
==============================================================================
--- sandbox/SOC/2007/cgi/branches/pickmeup/libs/cgi/test/run/has_key.cpp (original)
+++ sandbox/SOC/2007/cgi/branches/pickmeup/libs/cgi/test/run/has_key.cpp 2009-12-31 06:12:42 EST (Thu, 31 Dec 2009)
@@ -27,7 +27,7 @@
BOOST_AUTO_TEST_CASE( map_test )
{
- typedef cgi::common::map map_type;
+ typedef boost::cgi::common::map map_type;
map_type m;
/// First check that upper case compares with lower case.
@@ -43,3 +43,4 @@
// Sanity check.
BOOST_CHECK_EQUAL( has_key(m,"nonfoo"), false );
}
+
Modified: sandbox/SOC/2007/cgi/branches/pickmeup/libs/cgi/test/run/map_test.cpp
==============================================================================
--- sandbox/SOC/2007/cgi/branches/pickmeup/libs/cgi/test/run/map_test.cpp (original)
+++ sandbox/SOC/2007/cgi/branches/pickmeup/libs/cgi/test/run/map_test.cpp 2009-12-31 06:12:42 EST (Thu, 31 Dec 2009)
@@ -7,7 +7,7 @@
BOOST_AUTO_TEST_CASE( map_test )
{
- cgi::common::map m;
+ boost::cgi::common::map m;
/// First check that upper case compares with lower case.
m["foo"] = "bar";
Modified: sandbox/SOC/2007/cgi/branches/pickmeup/libs/cgi/test/run/name_test.cpp
==============================================================================
--- sandbox/SOC/2007/cgi/branches/pickmeup/libs/cgi/test/run/name_test.cpp (original)
+++ sandbox/SOC/2007/cgi/branches/pickmeup/libs/cgi/test/run/name_test.cpp 2009-12-31 06:12:42 EST (Thu, 31 Dec 2009)
@@ -5,7 +5,7 @@
#define BOOST_TEST_MODULE name_test_suite
#include <boost/test/unit_test.hpp>
-using cgi::common::name;
+using boost::cgi::common::name;
BOOST_AUTO_TEST_CASE( case_insensitive_cmp )
{
Modified: sandbox/SOC/2007/cgi/branches/pickmeup/libs/cgi/test/run/parse_options.cpp
==============================================================================
--- sandbox/SOC/2007/cgi/branches/pickmeup/libs/cgi/test/run/parse_options.cpp (original)
+++ sandbox/SOC/2007/cgi/branches/pickmeup/libs/cgi/test/run/parse_options.cpp 2009-12-31 06:12:42 EST (Thu, 31 Dec 2009)
@@ -5,7 +5,7 @@
BOOST_AUTO_TEST_CASE( test_parse_options )
{
- using namespace cgi::common;
+ using namespace boost::cgi::common;
{
parse_options opt = parse_env;
Modified: sandbox/SOC/2007/cgi/branches/pickmeup/libs/cgi/test/run/response.cpp
==============================================================================
--- sandbox/SOC/2007/cgi/branches/pickmeup/libs/cgi/test/run/response.cpp (original)
+++ sandbox/SOC/2007/cgi/branches/pickmeup/libs/cgi/test/run/response.cpp 2009-12-31 06:12:42 EST (Thu, 31 Dec 2009)
@@ -52,7 +52,7 @@
BOOST_AUTO_TEST_CASE( response_test )
{
- using namespace cgi::common;
+ using namespace boost::cgi::common;
dummy_request req;
string s ("Hello, world.");
Modified: sandbox/SOC/2007/cgi/branches/pickmeup/libs/cgi/test/run/stdio_connection.cpp
==============================================================================
--- sandbox/SOC/2007/cgi/branches/pickmeup/libs/cgi/test/run/stdio_connection.cpp (original)
+++ sandbox/SOC/2007/cgi/branches/pickmeup/libs/cgi/test/run/stdio_connection.cpp 2009-12-31 06:12:42 EST (Thu, 31 Dec 2009)
@@ -4,7 +4,7 @@
int main()
{
- cgi::common::connections::stdio conn;
+ boost::cgi::common::connections::stdio conn;
boost::system::error_code ec;
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk