test: enhance the google unit tests of the client
1. Move JAMI_DATA_HOME, JAMI_CONFIG_HOME, JAMI_CACHE_HOME setup into individual test main entry 2. Use google test assertion macros instead of Qt 3. Add QT_QPA_FONTDIR to avoid QFont warnings 4. Tests will now fail if the env variables cannot be set Change-Id: I63f6498d26b646d8ebc60799d8797fd5f13b54f9
Showing
- make-client.py 3 additions, 8 deletionsmake-client.py
- tests/qml/main.cpp 12 additions, 1 deletiontests/qml/main.cpp
- tests/unittests/account_unittest.cpp 10 additions, 10 deletionstests/unittests/account_unittest.cpp
- tests/unittests/contact_unittest.cpp 18 additions, 15 deletionstests/unittests/contact_unittest.cpp
- tests/unittests/main_unittest.cpp 12 additions, 2 deletionstests/unittests/main_unittest.cpp
Loading
Please register or sign in to comment