formatting fixes

This commit is contained in:
Guenter Obiltschnig
2014-03-07 18:01:48 +01:00
parent 005a5d7ee1
commit 3ed477ce10
4 changed files with 9 additions and 7 deletions

View File

@@ -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\"");
}

View File

@@ -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.
//