33 Commits

Author SHA1 Message Date
Yanyi Wu
9f7e37c50b build: enhance test configuration and paths in CMakeLists
- Removed default install path setting from CMakeLists.txt.
- Updated test CMakeLists to include Google Test and configure test paths.
- Refactored load_test and unittest files to use defined paths for dictionaries and test data.
- Added test paths header for better path management in tests.
- Ensured all tests are properly linked and configured for execution.
2025-05-02 22:43:47 +08:00
Yanyi Wu
b5dc8e7a35 build: update .gitignore and CMakeLists for test configuration
- Added entries to .gitignore for temporary test files.
- Included a message to display MSVC value during build.
- Added UTF-8 compile option for MSVC in unittest CMakeLists.
2025-05-02 21:28:28 +08:00
yanyiwu
9cda7f33e8 build: upgrade googletest from 1.11.0 to 1.12.1 2025-04-12 10:02:10 +08:00
yanyiwu
a110ab10cc [cmake] fetch googletest 2024-08-16 10:13:07 +08:00
sooda
7d503e4b13 fix unittest cmake macro bug 2016-06-08 10:38:20 +08:00
yanyiwu
5c739484ae merge the latest codes in master branch, and update unittest cases to pass ci 2016-05-03 23:20:03 +08:00
yanyiwu
a1ea1d0757 add textrank unittest into cmake 2016-05-03 20:01:44 +08:00
qinwf
c84594f620 add Windows CI with MSVC 2016-04-27 17:45:48 +08:00
yanyiwu
63e9c94fb7 add unicode decoding unittest 2016-04-18 14:37:17 +08:00
yanyiwu
e6454fef77 use HashMap in Trie, and remove the base array of trie root node, see details in Changelog 2016-02-12 01:37:39 +08:00
yanyiwu
3c5ad24260 source code layout change:
1. src/ -> include/cppjieba/
2. src/limonp/ -> deps/limonp/
3. server/husky -> deps/husky/
4. test/unittest/gtest -> deps/gtest
2016-01-11 14:25:02 +08:00
yanyiwu
16b69e35c1 delete Application.hpp, use Jieba.hpp instead 2015-10-08 21:03:09 +08:00
yanyiwu
eb6f47b6b0 refactor unittest 2015-09-13 18:09:56 +08:00
yanyiwu
0542dd1cfd add PreFilter 2015-09-13 15:10:10 +08:00
yanyiwu
45588b75cc 增加 Application 这个类,整合了所有CppJieba的功能进去,以后用户只需要使用这个类即可。 2015-06-05 16:00:32 +08:00
wyy
28246fba5d 去除 PosTagger 构造函数里一些暂时无用的参数,和增加 PosTagger 的单元测试。 2014-09-28 11:59:30 +08:00
wyy
3e0aaf73a5 adding user dict interface and test ok 2014-04-25 19:30:26 +08:00
wyy
abe4be255f modify some stuff to adapter lower version cmake & g++ 2014-03-27 01:41:05 -07:00
wyy
d2d6868b75 merge some testfile into one testfile to reduce compiler cost 2014-03-21 11:18:34 +08:00
wyy
ddaa5589f1 rm TrieManager.hpp 2014-03-15 22:02:48 +08:00
wyy
664ded109a modify cmakelist 2014-02-27 12:13:08 +08:00
wyy
0db2dfa6b8 finished KeywordExtractor and its ut 2013-12-24 01:22:02 -08:00
wyy
24a15cd128 rename and finishing KeywordExtractor.hpp 2013-12-23 19:22:59 -08:00
wyy
657aee0fda mv filterAscii from ChineseFilter.hpp into SegmentBase.hpp 2013-12-21 21:58:15 -08:00
aholic
218480aac1 add unitest for TrieManager 2013-12-17 01:06:44 +08:00
aholic
12a4eea111 add unitest for FullSegment and QuerySegment 2013-12-17 00:00:38 +08:00
wyy
3395b57227 add ttrie.cpp 2013-12-19 08:22:09 -08:00
wyy
335a7eff47 add THMMSegment.cpp and TMPSegment.cpp for fix little error in using hmmsegment and mpsegment. 2013-12-18 22:42:46 -08:00
wyy
b669cf5db1 modify test/ && ci for lunch 2013-12-18 20:21:40 -08:00
wyy
24d5da946d modify test 2013-12-18 04:13:40 -08:00
wyy
86b78e723d add unittest 2013-12-14 23:46:17 -08:00
wyy
3545eef281 modify test 2013-12-14 22:18:39 -08:00
wyy
72ba32dd0a add unittest using gtest 2013-12-14 22:08:03 -08:00