Debian Codegraph @

debian/tests/README.md

raw
1 CommandLineConvertTest.cpp is a fork of the ConvertFromJson test in
2 ../../test/CommandLineConvertTest.cpp, trimmed down and adjusted to run
3 against the installed packages (binary and configurations from
4 /usr/bin and /usr/share/opencc) instead of the build tree. Please
5 refresh it when the upstream test or testcases.json format changes.
6
7 Tests:
8 - cli-smoke: quick conversion checks with the installed opencc CLI.
9 - integration: builds the forked gtest against libopencc-dev via
10 pkg-config and runs every entry of ../../test/testcases/testcases.json
11 through the installed opencc tool and configurations.
12 - jieba-plugin: checks that the opencc-jieba plugin loads and the
13 *_jieba.json configurations produce segmentation-aware output.