summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2017-01-11Integrate googletest and googlemock libraries to 3rdPartyTobias Markmann
googletest and googlemock from release 1.8.0 have been copied to the 3rdParty folder. With this commit tests for Swift project can also written using googletest and googlemock APIs. The test runners will execute test suites written to either test library. Passing —-xml to a test runner will now create two test report XML files, namely $programName-report.cppunit.xml and $programName-report.gtest.xml. The ByteArrayTest has been converted to use googletest instead of googlemock to serve as an example and test the integration. Test-Information: Build all tests via ‘./scons test=all’ and verified all tests are run. Build all tests via ‘./scons test=all checker_report=1’ and verified that two report XML files are generated per test runner executed. Change-Id: I81a9fb2c7ea5612fc1b34eef70ed7e711bfeea81
2016-04-25Convert hard tabs to four spaces in all our SConscript/*.py filesTobias Markmann
Test-Information: Test that it still builds and unit test pass on OS X 10.11.4. Change-Id: I2eb4a0b707991aee553db36a8cd1ae28b813acab
2016-03-31Convert tabs to 4 spaces for all source filesTobias Markmann
Removed trailing spaces and whitespace on empty lines in the process. Changed CheckTabs.py tool to disallow hard tabs in source files. Test-Information: Manually checked 30 random files that the conversion worked as expected. Change-Id: I874f99d617bd3d2bb55f02d58f22f58f9b094480
2014-12-15Update Copyright In QAKevin Smith
Change-Id: I235c4d866897db7e47de3c505ed6adecfa577c91
2014-08-03Allow injection of flags into unit test checkerKevin Smith
Some projects (e.g. Eve-Xin) piggy-back on Swift's build system, but are unable to do the same with unit tests until this patch (because the checker will need to link against the unknown library to test it). This patch allows them to set INJECTED_UNITTEST_FLAGS, which will get included in the checker's compilation if set. Test-Information: Added unit test to Eve-Xin, which builds and runs. Change-Id: I58ffb2043b968144ad10096b83ac9d88f54f72f3
2013-04-19Avoid 'test' phase when parsing SConscripts.Remko Tronçon
Change-Id: I504fa7d33b8cb6572f05ba8478d277ddc7705483
2012-09-17Support for building swiften as a DLLRemko Tronçon
Added missing SWIFTEN_API declarations. Changed test infrastructure to extend path before running tests.
2012-07-12Use DYLD_LIBRARY_PATH instead of DYLD_FALLBACK_LIBRARY_PATH for running tests.Remko Tronçon
2012-06-05Added ICU support.Remko Tronçon
2011-06-18Merge branch 'swift-1.x'Remko Tronçon
* swift-1.x: Fixed compilation of Slimber/Qt. Fixed flag order in Slimber. MergeFlags->UseFlags in Slimber. Use UseFlags for compiling the unit test.
2011-06-18Use UseFlags for compiling the unit test.Remko Tronçon
2011-06-18Merge branch 'swift-1.x'Remko Tronçon
* swift-1.x: Moving unused server code out of Swiften into Limber. Conflicts: Limber/Server/ServerFromClientSession.cpp Limber/Server/ServerSession.cpp Limber/Server/ServerStanzaRouter.cpp Limber/Server/SimpleUserRegistry.cpp Limber/Server/SimpleUserRegistry.h Limber/Server/UnitTest/ServerStanzaRouterTest.cpp Limber/Server/UserRegistry.cpp Limber/main.cpp Slimber/Server.cpp Slimber/Server.h
2011-06-18Moving unused server code out of Swiften into Limber.Remko Tronçon
2011-04-19Fixed OS X ProxyProvider compilation.Remko Tronçon
2011-04-18Added option to build library with tests.Remko Tronçon
2011-03-12Added optimized version of HMACSHA1 as comment.Remko Tronçon
2011-03-01Some more Sluift enhancements.Remko Tronçon
2010-09-02Added check_output SCons flag to generate an XML report.Remko Tronçon
2010-08-29Put platform flags in PLATFORM_FLAGS variable.Remko Tronçon
This should avoid problems with --as-needed. Resolves: #547
2010-08-29Added Stanza Ack Requester & Responder.Remko Tronçon
2010-04-08Added copyrights to QA.Remko Tronçon
2010-03-28Fixed unit test compilation when Swift is not present.Remko Tronçon
2010-03-28Moving submodule contents back.Remko Tronçon
2010-03-28Removing submodules.Remko Tronçon
2010-03-28Moving QA to a separate module.Remko Tronçon
2010-03-02Adding iPhone compilationKevin Smith
2009-12-01Override SConscript() with our own, test-aware implementation.Remko Tronçon
2009-11-15Linkify URLs.Remko Tronçon
2009-11-01Moving tests around.Remko Tronçon
2009-11-01Added SCons test framework.Remko Tronçon
2009-09-03Add missing LINKFLAGS for checker on Windows.Remko Tronçon
2009-09-03Move Swiften QA test into QA module.Remko Tronçon
2009-08-16Enable XML parser tests again.Remko Tronçon
2009-08-16Add LibXML support to build system.Remko Tronçon
2009-08-16Remove autoconf/make files.Remko Tronçon
2009-08-12Added Slimber & valgrind testing to SCons.Remko Tronçon
2009-08-09Add SConscript files.Remko Tronçon
2009-07-30Remove unnecessary test constructor.Remko Tronçon
2009-07-24Update the build system.Remko Tronçon
Coverage now works better. Some files are cleaned by default (without the need of CLEANFILES).
2009-07-17Extended CppUnit checker to have test selection.Remko Tronçon
2009-06-22Let each module define its own .dep files.Remko Tronçon
2009-06-10Moved Swiften/QA/UnitTest to QA/UnitTest.Remko Tronçon