mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-28 11:31:53 +01:00
formatting fixes
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
//
|
||||
// HTTPCookieTest.cpp
|
||||
//
|
||||
// $Id: //poco/1.4/Net/testsuite/src/HTTPCookieTest.cpp#1 $
|
||||
// $Id: //poco/1.4/Net/testsuite/src/HTTPCookieTest.cpp#2 $
|
||||
//
|
||||
// Copyright (c) 2005-2006, Applied Informatics Software Engineering GmbH.
|
||||
// and Contributors.
|
||||
@@ -44,6 +44,7 @@
|
||||
#include <cstdlib>
|
||||
#include <sstream>
|
||||
|
||||
|
||||
using Poco::Timestamp;
|
||||
using Poco::Timespan;
|
||||
using Poco::DateTimeFormatter;
|
||||
@@ -104,8 +105,7 @@ void HTTPCookieTest::testCookie()
|
||||
cookie.setPriority("Medium");
|
||||
assert (cookie.toString() == "name=\"value\"; Comment=\"comment\"; Domain=\"appinf.com\"; Path=\"/\"; Priority=\"Medium\"; Max-Age=\"100\"; HttpOnly; Version=\"1\"");
|
||||
cookie.setPriority("High");
|
||||
assert (cookie.toString() == "name=\"value\"; Comment=\"comment\"; Domain=\"appinf.com\"; Path=\"/\"; Priority=\"High\"; Max-Age=\"100\"; HttpOnly; Version=\"1\"");
|
||||
|
||||
assert (cookie.toString() == "name=\"value\"; Comment=\"comment\"; Domain=\"appinf.com\"; Path=\"/\"; Priority=\"High\"; Max-Age=\"100\"; HttpOnly; Version=\"1\"");
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
//
|
||||
// HTTPCookieTest.h
|
||||
//
|
||||
// $Id: //poco/1.4/Net/testsuite/src/HTTPCookieTest.h#1 $
|
||||
// $Id: //poco/1.4/Net/testsuite/src/HTTPCookieTest.h#2 $
|
||||
//
|
||||
// Definition of the HTTPCookieTest class.
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user