lp:~achiang/telegram-app/libqtelegram-gtest
Created by
Alex Chiang
and last modified
- Get this branch:
- bzr branch lp:~achiang/telegram-app/libqtelegram-gtest
Only
Alex Chiang
can upload to this branch. If you are
Alex Chiang
please log in for upload directions.
Branch merges
Propose for merging
No branches
dependent on this one.
- Roberto Mier Escandon (community): Approve
- Michał Karnicki (community): Approve
-
Diff: 200 lines (+142/-2)6 files modifiedCMakeLists.txt (+6/-1)
cmake/modules/FindGtest.cmake (+42/-0)
lib/telegram.cpp (+7/-1)
tests/CMakeLists.txt (+39/-0)
tests/main.cpp (+8/-0)
tests/test_lib.cpp (+40/-0)
Branch information
Recent revisions
- 186. By Alex Chiang
-
test Telegram:
:Telegram( ) constructor for bad paths Make Telegram constructor throw an exception if we have failure in
loadSettings.Corresponding test passes if exception is throw.
If exception is *not* thrown, then the test is forced to fail, because
we really should not have ability to write to /root during build time. - 183. By Alex Chiang
-
Add GTest support
This commit adds gtest support and a placeholder test just to ensure
all the scaffolding works.Real tests come next...
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:telegram-app/trunk