summaryrefslogtreecommitdiffstats
path: root/src/test/journal/CMakeLists.txt
blob: 99e0f8ae6e6933a41ac8b3ad742075bc47935dd1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
add_library(journal_test_mock STATIC mock/MockJournaler.cc)
target_link_libraries(journal_test_mock
  PUBLIC GMock::GMock)

# unittest_journal
set(unittest_journal_srcs
  test_main.cc
  test_Entry.cc
  test_FutureImpl.cc
  test_Journaler.cc
  test_JournalMetadata.cc
  test_JournalPlayer.cc
  test_JournalRecorder.cc
  test_JournalTrimmer.cc
  test_ObjectPlayer.cc
  test_ObjectRecorder.cc
  RadosTestFixture.cc
  )

add_executable(unittest_journal
  ${unittest_journal_srcs} 
  )
add_ceph_unittest(unittest_journal)
target_link_libraries(unittest_journal 
  journal
  cls_journal
  cls_journal_client
  rados_test_stub
  librados
  radostest-cxx
  global 
  )