~elopio/gallery-app/revert_workaround-1302706-click_toolbar_button_failure

« back to all changes in this revision

Viewing changes to tests/unittests/mediaobjectfactory/CMakeLists.txt

  • Committer: Leo Arias
  • Date: 2015-05-15 08:05:23 UTC
  • mfrom: (954.1.241 gallery-app)
  • Revision ID: leo.arias@canonical.com-20150515080523-i2of3vr8h7dioj59
Now the toolbar object is not needed at all.

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
    ${gallery_media_src_SOURCE_DIR}
15
15
    ${gallery_medialoader_src_SOURCE_DIR}
16
16
    ${gallery_photo_src_SOURCE_DIR}
 
17
    ${gallery_photoeditor_src_SOURCE_DIR}
17
18
    ${gallery_util_src_SOURCE_DIR}
18
19
    ${gallery_video_src_SOURCE_DIR}
19
20
    )
23
24
    ${gallery_database_src_SOURCE_DIR}/album-table.h
24
25
    ${gallery_database_src_SOURCE_DIR}/database.h
25
26
    ${gallery_database_src_SOURCE_DIR}/media-table.h
26
 
    ${gallery_database_src_SOURCE_DIR}/photo-edit-table.h
27
 
    ${gallery_medialoader_src_SOURCE_DIR}/gallery-standard-image-provider.h
28
 
    ${gallery_medialoader_src_SOURCE_DIR}/photo-metadata.h
 
27
    ${gallery_photoeditor_src_SOURCE_DIR}/photo-metadata.h
29
28
    ${gallery_medialoader_src_SOURCE_DIR}/video-metadata.h
30
29
    ${gallery_photo_src_SOURCE_DIR}/photo.h
31
30
    )
38
37
    ../stubs/media-table_stub.cpp
39
38
    ../stubs/photo_stub.cpp
40
39
    ../stubs/video_stub.cpp
41
 
    ../stubs/photo-caches_stub.cpp
42
 
    ../stubs/photo-edit-table_stub.cpp
43
40
    ../stubs/photometa-data_stub.cpp
44
41
    ../stubs/video-metadata_stub.cpp
45
 
    ../stubs/gallery-standard-image-provider_stub.cpp
46
42
    ../stubs/gallery-manager_stub.cpp
47
43
    ${MEDIAOBJECTFACTORY_MOCS}
48
44
    )
51
47
add_test(mediaobjectfactory mediaobjectfactory -xunitxml -o test_video.xml)
52
48
set_tests_properties(mediaobjectfactory PROPERTIES
53
49
    TIMEOUT ${CTEST_TESTING_TIMEOUT}
54
 
    ENVIRONMENT "QT_QPA_PLATFORM=minimal"
 
50
    ENVIRONMENT "QT_QPA_PLATFORM=minimal;TZ=Pacific/Auckland"
55
51
    )
56
52
 
57
53
target_link_libraries(mediaobjectfactory