Closed cynthia closed 3 years ago
ISO C++17 표준에서 삭제된 std::pointer_to_unary_function, std::ptr_fun 사용을 std::function으로 변경합니다.
build/test/khaiii
[==========] Running 13 tests from 4 test cases. [----------] Global test environment set-up. [----------] 1 test from ErrPatchTest [ RUN ] ErrPatchTest.apply [2021-01-10 19:43:11.041] [ErrPatchTest] [warning] error not found: '지저스크라이스트' => E:'지저스크라이스/NNP + 트/NNG' vs A:'지저스/NNG + 크라이스트/NNP' [2021-01-10 19:43:11.047] [ErrPatchTest] [warning] error not found: '지저스 크라이스트' => E:'지저스/NNP + _ + 크라이스/NNP + 트/NNG' vs A:'지저스/NNP + _ + 크라이스트/NNP' [2021-01-10 19:43:11.058] [ErrPatchTest] [warning] error not found: '무함마드압둘라' => E:'무함마드압/NNP + 둘/NR + 라/NNP' vs A:'무함마드압둘라/NNP' [ OK ] ErrPatchTest.apply (26 ms) [----------] 1 test from ErrPatchTest (26 ms total) [----------] 7 tests from KhaiiiApiTest [ RUN ] KhaiiiApiTest.version [ OK ] KhaiiiApiTest.version (1 ms) [ RUN ] KhaiiiApiTest.open_close [ OK ] KhaiiiApiTest.open_close (1 ms) [ RUN ] KhaiiiApiTest.analyze [ OK ] KhaiiiApiTest.analyze (6 ms) [ RUN ] KhaiiiApiTest.free_results [ OK ] KhaiiiApiTest.free_results (5 ms) [ RUN ] KhaiiiApiTest.last_error [ OK ] KhaiiiApiTest.last_error (0 ms) [ RUN ] KhaiiiApiTest.restore_true /Users/cynthia/Documents/checkouts/khaiii/src/test/cpp/khaiii/KhaiiiApiTest.cpp:65: Failure Expected equality of these values: expected.c_str() Which is: "\xEB\xB3\xB4\xEC\x9D\xB4/VV + \xEC\x96\xB4/EC + \xEC\xA3\xBC/VX + \xE3\x84\xB9/ETM" oss.str().c_str() Which is: "\xEB\xB3\xB4\xEC\x9D\xB4/VV + \xEC\x96\xB4/EC + \xEC\xA4\x84/NNG" [ FAILED ] KhaiiiApiTest.restore_true (5 ms) [ RUN ] KhaiiiApiTest.restore_false /Users/cynthia/Documents/checkouts/khaiii/src/test/cpp/khaiii/KhaiiiApiTest.cpp:65: Failure Expected equality of these values: expected.c_str() Which is: "\xEB\xB3\xB4\xEC\x97\xAC/VV + \xEC\xA4\x84/VX" oss.str().c_str() Which is: "\xEB\xB3\xB4\xEC\x97\xAC/VV + \xEC\xA4\x84/NNG" [ FAILED ] KhaiiiApiTest.restore_false (3 ms) [----------] 7 tests from KhaiiiApiTest (21 ms total) [----------] 3 tests from KhaiiiDevTest [ RUN ] KhaiiiDevTest.analyze_bfr_errorpatch [ OK ] KhaiiiDevTest.analyze_bfr_errorpatch (5 ms) [ RUN ] KhaiiiDevTest.set_log_level [ OK ] KhaiiiDevTest.set_log_level (1 ms) [ RUN ] KhaiiiDevTest.set_log_levels [ OK ] KhaiiiDevTest.set_log_levels (0 ms) [----------] 3 tests from KhaiiiDevTest (6 ms total) [----------] 2 tests from PreanalTest [ RUN ] PreanalTest.apply_exact [ OK ] PreanalTest.apply_exact (0 ms) [ RUN ] PreanalTest.apply_prefix [ OK ] PreanalTest.apply_prefix (0 ms) [----------] 2 tests from PreanalTest (0 ms total) [----------] Global test environment tear-down [==========] 13 tests from 4 test cases ran. (53 ms total) [ PASSED ] 11 tests. [ FAILED ] 2 tests, listed below: [ FAILED ] KhaiiiApiTest.restore_true [ FAILED ] KhaiiiApiTest.restore_false
If the initial contribution is required CLA agreement.
한국인은 국내법에 의해 개인정보제공동의가 필요합니다. pdf파일에 서명 후 oss@kakaocorp.com 으로 메일 보내 주세요.
CLA 작성 시간이 더 오래 걸릴것 같아서, 패치 무시 부탁드립니다.
설명 (Description)
ISO C++17 표준에서 삭제된 std::pointer_to_unary_function, std::ptr_fun 사용을 std::function으로 변경합니다.
체크 리스트 (Checklist)
build/test/khaiii
프로그램을 실행하여 테스트가 성공했나요? (Did all tests are passed when you ran asbuild/test/khaiii
)