Website Summary Files Commits Branches @commit @diff @stats
path: root / JSImpl / test / genie.lua
diff options
context:
space:
mode:
Commit2bb25db66a044f8c489ab6449386a32f31de1256 (patch)
Author
 Dimitar Trendafilov <dimitar@coherent-labs.com>
2018-10-28 18:08:12 +0200
Committer
 Dimitar Trendafilov <dimitar@coherent-labs.com>
2018-10-28 18:08:12 +0200
Files5c36a5152dd9a84f2c408b6f765da25357109e46 /JSImpl/test/genie.lua
IPL-2bb25db66a044f8c489ab6449386a32f31de1256.tar
IPL-2bb25db66a044f8c489ab6449386a32f31de1256.tar.gz
IPL-2bb25db66a044f8c489ab6449386a32f31de1256.zip
Parent806d126b79229ebd36023ca1dd4baae7b520c67f (diff)
Added googletest based tests
1 files changed, 51 insertions, 0 deletions
-rw-r--r--JSImpl/test/genie.lua51
diff --git a/JSImpl/test/genie.lua b/JSImpl/test/genie.lua
new file mode 100644
index 0000000..c46b4a8
--- /dev/null
+++ b/JSImpl/test/genie.lua
@@ -0,0 +1,51 @@
+project 'Test'
+ kind 'ConsoleApp'
+ language 'C++'
+ uuid(os.uuid('Test'))
+
+ files '*.cpp'
+
+ includedirs {
+ 'googletest/googletest/include',
+ 'googletest/googlemock/include',
+ '../JSImpl/googlemock/include',
+ }
+ links {
+ 'gtest',
+ 'gmock',
+ 'gtest_main',
+ 'pthread',
+ }
+
+project 'gtest'
+ kind 'StaticLib'
+ language 'C++'
+ uuid(os.uuid('gtest'))
+ files 'googletest/googletest/src/gtest-all.cc'
+ files 'googletest/googletest/include/gtest/*.h'
+ includedirs {
+ 'googletest/googletest',
+ 'googletest/googletest/include',
+ }
+
+project 'gmock'
+ kind 'StaticLib'
+ language 'C++'
+ uuid(os.uuid('gmock'))
+ files 'googletest/googlemock/src/gmock-all.cc'
+ files 'googletest/googlemock/include/gmock/*.h'
+ includedirs {
+ 'googletest/googlemock',
+ 'googletest/googlemock/include',
+ 'googletest/googletest/include',
+ }
+
+project 'gtest_main'
+ kind 'StaticLib'
+ language 'C++'
+ uuid(os.uuid('gtest_main'))
+ files 'googletest/googletest/src/gtest_main.cc'
+ includedirs {
+ 'googletest/googletest',
+ 'googletest/googletest/include',
+ }