~mzanetti/unity8/panel-button-fixes

« back to all changes in this revision

Viewing changes to tests/plugins/Dash/CMakeLists.txt

  • Committer: CI Train Bot
  • Author(s): Albert Astals Cid, Michał Sawicz
  • Date: 2015-09-22 12:57:02 UTC
  • mfrom: (1752.8.47 origin/autopkgtests)
  • Revision ID: ci-train-bot@canonical.com-20150922125702-wboqbqanpto9l9s2
Add DEP-8 test for all our UI and unit tests

Some refactoring was needed:
- added a basic Ubuntu.Web mock
- made plugin path an environment, not a compiled-in bit
- moved Unity.Application resources into .qrc

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
remove_definitions(-DQT_NO_KEYWORDS)
24
24
 
25
25
add_definitions(-DDASHVIEWSTEST_FOLDER="${CMAKE_CURRENT_SOURCE_DIR}")
26
 
add_definitions(-DBUILT_PLUGINS_DIR="${CMAKE_BINARY_DIR}/plugins")
27
26
 
28
27
macro(add_lvwph_test FILENAME TESTNAME)
29
28
    add_executable(${TESTNAME}TestExec