summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAndras Timar <andras.timar@collabora.com>2019-10-08 11:23:29 +0200
committerAndras Timar <andras.timar@collabora.com>2019-10-08 11:49:45 +0200
commitd1ae1b36c203bf2a155e5fc760fd73cbc0afc2b6 (patch)
tree250c5504e4d8ded775b0f6b4728fd9b2565ccdd7 /test
parent63c1f323526f89921c4d7e6f573d2f3c4cb8f4e5 (diff)
typo fixes in comments and code
Change-Id: Idd98516d30d98dea18eda9bbec8ac9777063b553
Diffstat (limited to 'test')
-rw-r--r--test/TileCacheTests.cpp6
-rw-r--r--test/TileQueueTests.cpp2
-rw-r--r--test/UnitHTTP.cpp2
-rw-r--r--test/UnitLargePaste.cpp2
-rw-r--r--test/WhiteBoxTests.cpp2
-rw-r--r--test/httpwstest.cpp10
-rw-r--r--test/test.cpp2
-rw-r--r--test/test.hpp2
8 files changed, 14 insertions, 14 deletions
diff --git a/test/TileCacheTests.cpp b/test/TileCacheTests.cpp
index 12bd324e7..ba02e8d93 100644
--- a/test/TileCacheTests.cpp
+++ b/test/TileCacheTests.cpp
@@ -1253,7 +1253,7 @@ void TileCacheTests::testTileWireIDHandling()
sendChar(socket, 'x', skNone, testname);
assertResponseString(socket, "invalidatetiles:", testname);
- // For the second input wsd will send one tile, since some of them are indentical
+ // For the second input wsd will send one tile, since some of them are identical
arrivedTiles = 0;
do
{
@@ -1398,7 +1398,7 @@ void TileCacheTests::testTileBeingRenderedHandling()
CPPUNIT_ASSERT_MESSAGE("We expect two tiles at least!", arrivedTiles > 1);
- // For the later inputs wsd will send one tile, since other ones are indentical
+ // For the later inputs wsd will send one tile, since other ones are identical
for(int i = 0; i < 5; ++i)
{
// Type an other character
@@ -1461,7 +1461,7 @@ void TileCacheTests::testWireIDFilteringOnWSDSide()
sendChar(socket1, 'x', skNone, testname);
assertResponseString(socket1, "invalidatetiles:", testname);
- // For the second input wsd will send one tile, since other tiles are indentical
+ // For the second input wsd will send one tile, since other tiles are identical
arrivedTiles = 0;
do
{
diff --git a/test/TileQueueTests.cpp b/test/TileQueueTests.cpp
index 6ca1bf22f..13088cd72 100644
--- a/test/TileQueueTests.cpp
+++ b/test/TileQueueTests.cpp
@@ -432,7 +432,7 @@ void TileQueueTests::testCallbackInvalidation()
CPPUNIT_ASSERT_EQUAL(std::string("callback all 0 284, 1418, 11105, 275, 0"), payloadAsString(queue.get()));
- // invalidate everywhing with EMPTY, but keep the different part intact
+ // invalidate everything with EMPTY, but keep the different part intact
queue.put("callback all 0 284, 1418, 11105, 275, 0");
queue.put("callback all 0 4299, 1418, 7090, 275, 1");
queue.put("callback all 0 4299, 10418, 7090, 275, 0");
diff --git a/test/UnitHTTP.cpp b/test/UnitHTTP.cpp
index 70bda0733..8d03b311f 100644
--- a/test/UnitHTTP.cpp
+++ b/test/UnitHTTP.cpp
@@ -146,7 +146,7 @@ public:
"\n"
END_CHUNK
- " 4 room:for expansion!! cf. leading spaces and nasies <>!\"\'?=)\r\n"
+ " 4 room:for expansion!! cf. leading spaces and nasties <>!\"\'?=)\r\n"
"And "
END_CHUNK
diff --git a/test/UnitLargePaste.cpp b/test/UnitLargePaste.cpp
index 5665611e7..a0251a99e 100644
--- a/test/UnitLargePaste.cpp
+++ b/test/UnitLargePaste.cpp
@@ -56,7 +56,7 @@ void UnitLargePaste::invokeTest()
helpers::sendTextFrame(socket, "paste mimetype=text/html\n" + documentContents, testname);
// Check if the server is still alive.
- // This resulted first in a hang, as respose for the message never arrived, then a bit later in a Poco::TimeoutException.
+ // This resulted first in a hang, as response for the message never arrived, then a bit later in a Poco::TimeoutException.
helpers::sendTextFrame(socket, "uno .uno:SelectAll", testname);
helpers::sendTextFrame(socket, "gettextselection mimetype=text/plain;charset=utf-8", testname);
const auto selection = helpers::assertResponseString(socket, "textselectioncontent:", testname);
diff --git a/test/WhiteBoxTests.cpp b/test/WhiteBoxTests.cpp
index 6bb74f677..6ad9465ab 100644
--- a/test/WhiteBoxTests.cpp
+++ b/test/WhiteBoxTests.cpp
@@ -367,7 +367,7 @@ void WhiteBoxTests::testTokenizer()
CPPUNIT_ASSERT_EQUAL(std::string("tileheight=3840"), tokens[7]);
CPPUNIT_ASSERT_EQUAL(std::string("ver=-1"), tokens[8]);
- // With custom delimeters
+ // With custom delimiters
tokens = LOOLProtocol::tokenize(std::string("ABC:DEF"), ':');
CPPUNIT_ASSERT_EQUAL(std::string("ABC"), tokens[0]);
CPPUNIT_ASSERT_EQUAL(std::string("DEF"), tokens[1]);
diff --git a/test/httpwstest.cpp b/test/httpwstest.cpp
index b95a86842..1eba6cad2 100644
--- a/test/httpwstest.cpp
+++ b/test/httpwstest.cpp
@@ -1592,7 +1592,7 @@ void HTTPWSTest::testInsertAnnotationWriter()
sendTextFrame(socket, "gettextselection mimetype=text/plain;charset=utf-8", testname);
auto res = getResponseString(socket, "textselectioncontent:", testname);
CPPUNIT_ASSERT_EQUAL(std::string("textselectioncontent: xxx yyy zzzz"), res);
- // Can we edit the coment?
+ // Can we edit the comment?
sendTextFrame(socket, "paste mimetype=text/plain;charset=utf-8\naaa bbb ccc", testname);
sendTextFrame(socket, "uno .uno:SelectAll", testname);
sendTextFrame(socket, "gettextselection mimetype=text/plain;charset=utf-8", testname);
@@ -1617,7 +1617,7 @@ void HTTPWSTest::testInsertAnnotationWriter()
res = getResponseString(socket, "textselectioncontent:", testname);
CPPUNIT_ASSERT_EQUAL(std::string("textselectioncontent: aaa bbb ccc"), res);
- // Can we still edit the coment?
+ // Can we still edit the comment?
sendTextFrame(socket, "paste mimetype=text/plain;charset=utf-8\nand now for something completely different", testname);
sendTextFrame(socket, "uno .uno:SelectAll", testname);
sendTextFrame(socket, "gettextselection mimetype=text/plain;charset=utf-8", testname);
@@ -1651,7 +1651,7 @@ void HTTPWSTest::testInsertAnnotationWriter()
res = getResponseString(socket, "textselectioncontent:", testname);
CPPUNIT_ASSERT_EQUAL(std::string("textselectioncontent: and now for something completely different"), res);
- // Can we still edit the coment?
+ // Can we still edit the comment?
sendTextFrame(socket, "paste mimetype=text/plain;charset=utf-8\nblah blah xyz", testname);
sendTextFrame(socket, "uno .uno:SelectAll", testname);
sendTextFrame(socket, "gettextselection mimetype=text/plain;charset=utf-8", testname);
@@ -1685,7 +1685,7 @@ void HTTPWSTest::testEditAnnotationWriter()
res = getResponseString(socket, "textselectioncontent:", testname);
CPPUNIT_ASSERT_EQUAL(std::string("textselectioncontent: blah blah xyz"), res);
- // Can we still edit the coment?
+ // Can we still edit the comment?
sendTextFrame(socket, "paste mimetype=text/plain;charset=utf-8\nand now for something completely different", testname);
sendTextFrame(socket, "uno .uno:SelectAll", testname);
sendTextFrame(socket, "gettextselection mimetype=text/plain;charset=utf-8", testname);
@@ -1722,7 +1722,7 @@ void HTTPWSTest::testEditAnnotationWriter()
res = getResponseString(socket, "textselectioncontent:", testname);
CPPUNIT_ASSERT_EQUAL(std::string("textselectioncontent: and now for something completely different"), res);
- // Can we still edit the coment?
+ // Can we still edit the comment?
sendTextFrame(socket, "paste mimetype=text/plain;charset=utf-8\nnew text different", testname);
sendTextFrame(socket, "uno .uno:SelectAll", testname);
sendTextFrame(socket, "gettextselection mimetype=text/plain;charset=utf-8", testname);
diff --git a/test/test.cpp b/test/test.cpp
index d5c85710c..79565a526 100644
--- a/test/test.cpp
+++ b/test/test.cpp
@@ -301,7 +301,7 @@ std::vector<int> getForKitPids()
return pids;
}
-/// How many live lookit processes do we have ?
+/// How many live loolkit processes do we have ?
int getLoolKitProcessCount()
{
return getKitPids().size();
diff --git a/test/test.hpp b/test/test.hpp
index 7f907673b..29b6e76d3 100644
--- a/test/test.hpp
+++ b/test/test.hpp
@@ -31,7 +31,7 @@ std::vector<int> getDocKitPids();
/// Get the PID of the forkit
std::vector<int> getForKitPids();
-/// How many live lookit processes do we have ?
+/// How many live loolkit processes do we have ?
int getLoolKitProcessCount();
#endif