[Libreoffice-commits] online.git: loolwsd/test
Miklos Vajna
vmiklos at collabora.co.uk
Tue Mar 1 08:57:22 UTC 2016
loolwsd/test/httpwstest.cpp | 17 ++++++++++-------
1 file changed, 10 insertions(+), 7 deletions(-)
New commits:
commit 34fc0baacc8d92e5c5997d18e24afa2c66fef936
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date: Tue Mar 1 09:55:06 2016 +0100
loolwsd: indentation fixes in httpwstest
This file had a consistent style up to recently, keep it that way.
diff --git a/loolwsd/test/httpwstest.cpp b/loolwsd/test/httpwstest.cpp
index d585db3..7ed1bb1 100644
--- a/loolwsd/test/httpwstest.cpp
+++ b/loolwsd/test/httpwstest.cpp
@@ -235,7 +235,8 @@ void HTTPWSTest::testRenderingOptions()
void HTTPWSTest::testPasswordProtectedDocument()
{
- try {
+ try
+ {
Poco::Net::WebSocket socket(_session, _request, _response);
@@ -268,7 +269,8 @@ void HTTPWSTest::testPasswordProtectedDocument()
void HTTPWSTest::testPasswordProtectedDocument2()
{
- try {
+ try
+ {
Poco::Net::WebSocket socket(_session, _request, _response);
@@ -302,7 +304,8 @@ void HTTPWSTest::testPasswordProtectedDocument2()
void HTTPWSTest::testPasswordProtectedDocument3()
{
- try {
+ try
+ {
Poco::Net::WebSocket socket(_session, _request, _response);
@@ -353,7 +356,7 @@ void HTTPWSTest::testImpressPartCountChanged()
}
// insert 10 slides
- for(unsigned it = 1; it <= 10; it++)
+ for (unsigned it = 1; it <= 10; it++)
{
sendTextFrame(socket, "uno .uno:InsertPage");
getResponseMessage(socket, "partscountchanged:", response, false);
@@ -367,7 +370,7 @@ void HTTPWSTest::testImpressPartCountChanged()
}
// delete 10 slides
- for(unsigned it = 1; it <= 10; it++)
+ for (unsigned it = 1; it <= 10; it++)
{
sendTextFrame(socket, "uno .uno:DeletePage");
getResponseMessage(socket, "partscountchanged:", response, false);
@@ -381,7 +384,7 @@ void HTTPWSTest::testImpressPartCountChanged()
}
// undo delete slides
- for(unsigned it = 1; it <= 10; it++)
+ for (unsigned it = 1; it <= 10; it++)
{
sendTextFrame(socket, "uno .uno:Undo");
getResponseMessage(socket, "partscountchanged:", response, false);
@@ -395,7 +398,7 @@ void HTTPWSTest::testImpressPartCountChanged()
}
// redo inserted slides
- for(unsigned it = 1; it <= 10; it++)
+ for (unsigned it = 1; it <= 10; it++)
{
sendTextFrame(socket, "uno .uno:Redo");
getResponseMessage(socket, "partscountchanged:", response, false);
More information about the Libreoffice-commits
mailing list