libreoffice-online/loolwsd/test
Tor Lillqvist bfcf9756f5 Don't assert on PING frames that we send
UnitPrefork got what I assume is one of those PING frames that
ChildProcess::isAlive() sends before the actual reply when it sent the
"unit-memdump" message, and did not like it. Uncommenting the line
that outputs the "memory stats" message it expects showed:

Got memory stats 'PING'

Followed by:

Assertion `tokens.count() == 2' failed.

Fix by factoring out the handling of PING frames, PONG frames, and the
pseudo-PONG frames that we send ourselves in reply to PING frames into
a new function IoUtil::receiveFrame(). Use that in a couple of
places. (Probably should use in many more places.)

Getting past this then leads to later cppunit tests again being run,
and their failures then again showing up...
2016-05-03 09:50:38 +03:00
..
data loolwsd: test: add testClientPartCalc 2016-04-27 16:48:30 -04:00
.gitignore loolwsd: no need to sleep before running tests 2016-04-30 14:37:36 +00:00
countloolkits.hpp loolwsd: improved LoKit process counting 2016-04-29 21:19:46 +00:00
helpers.hpp Make this unit test running without SSL too. 2016-05-02 15:03:16 +02:00
httpcrashtest.cpp loolwsd: always run the lokit process count tests 2016-04-30 14:37:06 +00:00
httpwstest.cpp Reduce #ifdef ENABLE_SSL's. 2016-05-02 18:41:57 +02:00
integration-http-server.cpp Reduce #ifdef ENABLE_SSL's. 2016-05-02 18:41:57 +02:00
Makefile.am loolwsd: bin_PROGRAMS -> noinst_PROGRAMS 2016-05-02 23:54:50 +00:00
run_unit.sh.in Update the gdb command to match reality. 2016-05-02 15:03:16 +02:00
test.cpp loolwsd: test: add testParams 2016-04-24 21:00:44 -04:00
TileCacheTests.cpp loolwsd: TileCache whitebox tests 2016-05-01 17:18:35 +00:00
UnitAdmin.cpp Centralize the server URI. 2016-05-02 18:19:08 +02:00
UnitFonts.cpp Initial font unit test. 2016-04-14 09:34:52 +01:00
UnitPrefork.cpp Don't assert on PING frames that we send 2016-05-03 09:50:38 +03:00
UnitStorage.cpp Add infrastructure to inject test pieces into loolforkit. 2016-04-09 18:17:12 +01:00
UnitTileCache.cpp loolwsd: more support for TileCache unittest 2016-05-01 17:17:05 +00:00
UnitTimeout.cpp Add infrastructure to inject test pieces into loolforkit. 2016-04-09 18:17:12 +01:00
WhiteBoxTests.cpp loolwsd: initialization and resetting support in RegexListMatcher 2016-04-19 01:41:00 +00:00