mirror of
https://github.com/debauchee/barrier.git
synced 2026-07-05 11:28:22 +08:00
implemented google mock config and gave it a quick try (see: add_newValue_writeWasCalled)
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
set(src
|
||||
../../../tools/gtest/src/gtest_main.cc
|
||||
../../../tools/gtest-1.6.0/src/gtest_main.cc
|
||||
synergy/CClipboardTests.cpp
|
||||
)
|
||||
|
||||
@@ -28,7 +28,8 @@ set(inc
|
||||
../../lib/net
|
||||
../../lib/platform
|
||||
../../lib/synergy
|
||||
../../../tools/gtest/include
|
||||
../../../tools/gtest-1.6.0/include
|
||||
../../../tools/gmock-1.6.0/include
|
||||
)
|
||||
|
||||
if (UNIX)
|
||||
@@ -40,4 +41,4 @@ endif()
|
||||
include_directories(${inc})
|
||||
add_executable(unittests ${src})
|
||||
target_link_libraries(unittests
|
||||
arch base client common io mt net platform server synergy gtest ${libs})
|
||||
arch base client common io mt net platform server synergy gtest gmock ${libs})
|
||||
|
||||
Reference in New Issue
Block a user