lp:~compiz-team/compiz-core/GoogleTest
- Get this branch:
- bzr branch lp:~compiz-team/compiz-core/GoogleTest
Branch merges
- Thomas Voß: Approve
- Sam Spilsbury: Approve
- Tim Penhey: Pending requested
-
Diff: 4649 lines (+2346/-1216)70 files modifiedCMakeLists.txt (+50/-21)
cmake/CompizCommon.cmake (+379/-5)
cmake/CompizPlugin.cmake (+41/-51)
cmake/EnableCoverageReport.cmake (+153/-0)
cmake/FindLcov.cmake (+29/-0)
cmake/Findgcovr.cmake (+31/-0)
cmake/ParseArguments.cmake (+52/-0)
include/CMakeLists.txt (+0/-1)
include/compiz-common.h.in (+0/-5)
include/compiz.h (+0/-103)
include/core/CMakeLists.txt (+0/-5)
include/core/core.h (+19/-0)
include/core/global.h (+37/-0)
include/core/logmessage.h (+51/-0)
include/core/match.h (+1/-0)
include/core/option.h (+1/-2)
include/core/plugin.h (+1/-1)
include/core/session.h (+1/-0)
include/core/string.h (+39/-0)
metadata/CMakeLists.txt (+2/-2)
plugins/CMakeLists.txt (+10/-0)
plugins/composite/src/screen.cpp (+4/-2)
plugins/opengl/src/matrix.cpp (+0/-1)
plugins/opengl/src/texture.cpp (+0/-2)
src/CMakeLists.txt (+75/-30)
src/action.cpp (+0/-2)
src/logmessage/CMakeLists.txt (+37/-0)
src/logmessage/include/core/logmessage.h (+51/-0)
src/logmessage/src/logmessage.cpp (+5/-1)
src/main.cpp (+0/-2)
src/pluginclasshandler/CMakeLists.txt (+50/-0)
src/pluginclasshandler/include/core/pluginclasshandler.h (+1/-1)
src/pluginclasshandler/include/core/valueholder.h (+3/-2)
src/pluginclasshandler/tests/CMakeLists.txt (+81/-6)
src/pluginclasshandler/tests/construct/src/test-pch-construct.cpp (+40/-55)
src/pluginclasshandler/tests/get/src/test-pch-get.cpp (+4/-17)
src/pluginclasshandler/tests/indexes/src/test-pch-indexes.cpp (+30/-33)
src/pluginclasshandler/tests/test-pluginclasshandler.cpp (+3/-31)
src/pluginclasshandler/tests/test-pluginclasshandler.h (+5/-57)
src/pluginclasshandler/tests/typenames/src/test-pch-typenames.cpp (+72/-80)
src/privatescreen.h (+14/-0)
src/screen.cpp (+2/-2)
src/session.cpp (+0/-2)
src/string/CMakeLists.txt (+35/-0)
src/string/src/string.cpp (+2/-2)
src/string/tests/CMakeLists.txt (+20/-0)
src/string/tests/printf/src/test-string-printf.cpp (+161/-0)
src/string/tests/test-string.cpp (+47/-0)
src/string/tests/test-string.h (+52/-0)
src/timer/CMakeLists.txt (+70/-0)
src/timer/include/core/timer.h (+18/-0)
src/timer/src/timer.cpp (+2/-2)
src/timer/tests/CMakeLists.txt (+57/-15)
src/timer/tests/callbacks/src/test-timer-callbacks.cpp (+238/-128)
src/timer/tests/diffs/src/test-timer-diffs.cpp (+117/-0)
src/timer/tests/set-values/src/test-timer-set-values.cpp (+18/-108)
src/timer/tests/test-timer.cpp (+10/-20)
src/timer/tests/test-timer.h (+9/-40)
src/timer/tests/while-calling/src/test-timer-set-times-while-calling.cpp (+114/-96)
src/window.cpp (+2/-4)
tests/CMakeLists.txt (+0/-2)
tests/pluginclasshandler/construct/CMakeLists.txt (+0/-25)
tests/pluginclasshandler/get/CMakeLists.txt (+0/-25)
tests/pluginclasshandler/indexes/CMakeLists.txt (+0/-28)
tests/pluginclasshandler/typenames/CMakeLists.txt (+0/-25)
tests/timer/callbacks/CMakeLists.txt (+0/-23)
tests/timer/diffs/CMakeLists.txt (+0/-23)
tests/timer/diffs/test-timer-diffs.cpp (+0/-82)
tests/timer/set-values/CMakeLists.txt (+0/-23)
tests/timer/while-calling/CMakeLists.txt (+0/-23)
Branch information
Recent revisions
- 2891. By Sam Spilsbury
-
Move to a test-driven-
development type buildsystem which allows for
modules to be build interternally and statically linked to plugins and to
testcases.Use compiz_module to add a new module, with the following directory structure:
module/
src/
include/
tests/
CMakeLists.txtUse compiz_test_base to add a library for all tests for that module to
link to, and add each test in a separate subdirectory in tests/Use compiz_test to add a new test in a name subdirectory for a module and
prefix.prefix: plugin / core
module: module of functionality
test: test nameRemoved compiz.h and compiz-common.h . Use core/string.h core/timer.h
core/logmessage.h core/screen.h for timeval diff functionality, CompString,
compLogMessage and wraparound modulus.Added workaround for core xml file race condition
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:compiz-core/0.9.5