~abreu-alexandre/webbrowser-app/desktop-ua-override-fix-regexp

« back to all changes in this revision

Viewing changes to tests/unittests/tabs-model/CMakeLists.txt

  • Committer: CI bot
  • Author(s): Olivier Tilloy
  • Date: 2014-03-17 11:56:55 UTC
  • mfrom: (458.1.14 private-types)
  • Revision ID: ps-jenkins@lists.canonical.com-20140317115655-jzub8c3sltmabpub
Do not register private types in the public plugin.
Register them in the webbrowser application scope instead.

I have made sure that private types that were previously public are currently not being used by any application in the store, so this refactoring is safe. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
set(TEST tst_TabsModelTests)
2
2
set(SOURCES
3
 
    ${webbrowser-plugin_SOURCE_DIR}/tabs-model.cpp
 
3
    ${webbrowser-app_SOURCE_DIR}/tabs-model.cpp
4
4
    tst_TabsModelTests.cpp
5
5
)
6
6
add_executable(${TEST} ${SOURCES})
7
 
include_directories(${webbrowser-plugin_SOURCE_DIR})
 
7
include_directories(${webbrowser-app_SOURCE_DIR})
8
8
qt5_use_modules(${TEST} Core Quick Test)
9
9
add_test(${TEST} ${CMAKE_CURRENT_BINARY_DIR}/${TEST} -xunitxml -o ${TEST}.xml)
10
10
set_tests_properties(${TEST} PROPERTIES ENVIRONMENT "QT_QPA_PLATFORM=minimal")