[Libreoffice-commits] online.git: loolwsd/test

Tor Lillqvist tml at collabora.com
Wed Apr 13 10:24:04 UTC 2016


 loolwsd/test/httpwstest.cpp |    6 ++++++
 1 file changed, 6 insertions(+)

New commits:
commit 726fd1f66d68c12a09484e73a0ce157eae0e35b1
Author: Tor Lillqvist <tml at collabora.com>
Date:   Wed Apr 13 13:22:35 2016 +0300

    The CPPUNIT_TESTs I added a moment ago should be first and last in the list

diff --git a/loolwsd/test/httpwstest.cpp b/loolwsd/test/httpwstest.cpp
index 4a288ad..e064ab2 100644
--- a/loolwsd/test/httpwstest.cpp
+++ b/loolwsd/test/httpwstest.cpp
@@ -44,7 +44,10 @@ class HTTPWSTest : public CPPUNIT_NS::TestFixture
     static int _initialLoolKitCount;
 
     CPPUNIT_TEST_SUITE(HTTPWSTest);
+
+    // This should be the first test:
     CPPUNIT_TEST(testCountHowManyLoolkits);
+
     CPPUNIT_TEST(testBadRequest);
     CPPUNIT_TEST(testLoad);
     CPPUNIT_TEST(testBadLoad);
@@ -59,7 +62,10 @@ class HTTPWSTest : public CPPUNIT_NS::TestFixture
     CPPUNIT_TEST(testPasswordProtectedDocumentWithCorrectPassword);
     CPPUNIT_TEST(testPasswordProtectedDocumentWithCorrectPasswordAgain);
     CPPUNIT_TEST(testImpressPartCountChanged);
+
+    // This should be the last test:
     CPPUNIT_TEST(testNoExtraLoolKitsLeft);
+
     CPPUNIT_TEST_SUITE_END();
 
     void testCountHowManyLoolkits();


More information about the Libreoffice-commits mailing list