~ubuntu-branches/ubuntu/saucy/clementine/saucy

« back to all changes in this revision

Viewing changes to tests/CMakeLists.txt

  • Committer: Package Import Robot
  • Author(s): Thomas PIERSON
  • Date: 2012-01-01 20:43:39 UTC
  • mfrom: (1.1.1)
  • Revision ID: package-import@ubuntu.com-20120101204339-lsb6nndwhfy05sde
Tags: 1.0.1+dfsg-1
New upstream release. (Closes: #653926, #651611, #657391)

Show diffs side-by-side

added added

removed removed

Lines of Context:
48
48
add_definitions(-DGTEST_USE_OWN_TR1_TUPLE=1)
49
49
 
50
50
set(TESTUTILS-SOURCES
51
 
    test_utils.cpp
52
 
    mock_networkaccessmanager.cpp
53
 
    mock_taglib.cpp
54
 
    mock_playlistitem.cpp
 
51
  mock_networkaccessmanager.cpp
 
52
  mock_taglib.cpp
 
53
  mock_playlistitem.cpp
 
54
  test_utils.cpp
 
55
  testobjectdecorators.cpp
55
56
)
56
57
 
57
58
set(TESTUTILS-MOC-HEADERS
58
 
    mock_networkaccessmanager.h
 
59
  mock_networkaccessmanager.h
 
60
  testobjectdecorators.h
59
61
)
60
62
 
61
63
qt4_wrap_cpp(TESTUTILS-SOURCES-MOC ${TESTUTILS-MOC-HEADERS})
109
111
 
110
112
#add_test_file(albumcoverfetcher_test.cpp false)
111
113
 
 
114
add_test_file(albumcovermanager_test.cpp true)
112
115
add_test_file(asxparser_test.cpp false)
113
116
add_test_file(asxiniparser_test.cpp false)
114
117
add_test_file(cueparser_test.cpp false)
127
130
add_test_file(songplaylistitem_test.cpp false)
128
131
add_test_file(song_test.cpp false)
129
132
add_test_file(translations_test.cpp false)
 
133
add_test_file(utilities_test.cpp false)
130
134
add_test_file(xspfparser_test.cpp false)
131
135
 
132
 
if(HAVE_LIBLASTFM)
133
 
  add_test_file(albumcovermanager_test.cpp true)
134
 
endif(HAVE_LIBLASTFM)
135
 
 
136
136
if(LINUX AND HAVE_DBUS)
137
137
  add_test_file(mpris1_test.cpp true)
138
138
endif(LINUX AND HAVE_DBUS)
139
139
 
140
140
if(HAVE_SCRIPTING_PYTHON)
 
141
  include_directories(${PYTHON_INCLUDE_DIRS})
 
142
  include_directories(${CMAKE_SOURCE_DIR}/3rdparty/pythonqt/generated_cpp)
 
143
  include_directories(${CMAKE_SOURCE_DIR}/3rdparty/pythonqt/src)
141
144
  add_test_file(python_test.cpp true)
142
145
endif (HAVE_SCRIPTING_PYTHON)