読者です 読者をやめる 読者になる 読者になる

dtl-1.04

プログラミング

http://code.google.com/p/dtl-cpp/


dtl-1.04をリリースしました。前回と同じく、ライブラリ自体の変更はほとんどありませんが、
googletestを使ったテストコードを追加しています。テスト結果はこんな感じ。

$ cd dtl-1.04/test
$ make && make test
g++ -c -O2 -Wall dtl_test.cpp -lgtest
g++ -O2 -o dtl_test dtl_test.o -lgtest
[==========] Running 47 tests from 4 test cases.
[----------] Global test environment set-up.
[----------] 8 tests from StrDiffTest
[ RUN      ] StrDiffTest.diff_test0
[       OK ] StrDiffTest.diff_test0
[ RUN      ] StrDiffTest.diff_test1
[       OK ] StrDiffTest.diff_test1
[ RUN      ] StrDiffTest.diff_test2
[       OK ] StrDiffTest.diff_test2
[ RUN      ] StrDiffTest.diff_test3
[       OK ] StrDiffTest.diff_test3
[ RUN      ] StrDiffTest.diff_test4
[       OK ] StrDiffTest.diff_test4
[ RUN      ] StrDiffTest.diff_test5
[       OK ] StrDiffTest.diff_test5
[ RUN      ] StrDiffTest.diff_test6
[       OK ] StrDiffTest.diff_test6
[ RUN      ] StrDiffTest.diff_test7
[       OK ] StrDiffTest.diff_test7
[----------] 5 tests from IntDiffTest
[ RUN      ] IntDiffTest.diff_test0
[       OK ] IntDiffTest.diff_test0
[ RUN      ] IntDiffTest.diff_test1
[       OK ] IntDiffTest.diff_test1
[ RUN      ] IntDiffTest.diff_test2
[       OK ] IntDiffTest.diff_test2
[ RUN      ] IntDiffTest.diff_test3
[       OK ] IntDiffTest.diff_test3
[ RUN      ] IntDiffTest.diff_test4
[       OK ] IntDiffTest.diff_test4
[----------] 26 tests from StrDiff3Test
[ RUN      ] StrDiff3Test.merge_test0
[       OK ] StrDiff3Test.merge_test0
[ RUN      ] StrDiff3Test.merge_test1
[       OK ] StrDiff3Test.merge_test1
[ RUN      ] StrDiff3Test.merge_test2
[       OK ] StrDiff3Test.merge_test2
[ RUN      ] StrDiff3Test.merge_test3
[       OK ] StrDiff3Test.merge_test3
[ RUN      ] StrDiff3Test.merge_test4
[       OK ] StrDiff3Test.merge_test4
[ RUN      ] StrDiff3Test.merge_test5
[       OK ] StrDiff3Test.merge_test5
[ RUN      ] StrDiff3Test.merge_test6
[       OK ] StrDiff3Test.merge_test6
[ RUN      ] StrDiff3Test.merge_test7
[       OK ] StrDiff3Test.merge_test7
[ RUN      ] StrDiff3Test.merge_test8
[ RUN      ] StrDiff3Test.merge_test9
[       OK ] StrDiff3Test.merge_test9
[ RUN      ] StrDiff3Test.merge_test10
[       OK ] StrDiff3Test.merge_test10
[ RUN      ] StrDiff3Test.merge_test11
[       OK ] StrDiff3Test.merge_test11
[ RUN      ] StrDiff3Test.merge_test12
[       OK ] StrDiff3Test.merge_test12
[ RUN      ] StrDiff3Test.merge_test13
[       OK ] StrDiff3Test.merge_test13
[ RUN      ] StrDiff3Test.merge_test14
[       OK ] StrDiff3Test.merge_test14
[ RUN      ] StrDiff3Test.merge_test15
[       OK ] StrDiff3Test.merge_test15
[ RUN      ] StrDiff3Test.merge_test16
[       OK ] StrDiff3Test.merge_test16
[ RUN      ] StrDiff3Test.merge_test17
[       OK ] StrDiff3Test.merge_test17
[ RUN      ] StrDiff3Test.merge_test18
[       OK ] StrDiff3Test.merge_test18
[ RUN      ] StrDiff3Test.merge_test19
[       OK ] StrDiff3Test.merge_test19
[ RUN      ] StrDiff3Test.merge_test20
[       OK ] StrDiff3Test.merge_test20
[ RUN      ] StrDiff3Test.merge_test21
[       OK ] StrDiff3Test.merge_test21
[ RUN      ] StrDiff3Test.merge_test22
[       OK ] StrDiff3Test.merge_test22
[ RUN      ] StrDiff3Test.merge_test23
[       OK ] StrDiff3Test.merge_test23
[ RUN      ] StrDiff3Test.detect_confliction_test0
[       OK ] StrDiff3Test.detect_confliction_test0
[ RUN      ] StrDiff3Test.detect_confliction_test1
[       OK ] StrDiff3Test.detect_confliction_test1
[----------] 8 tests from PatchTest
[ RUN      ] PatchTest.patch_test0
[       OK ] PatchTest.patch_test0
[ RUN      ] PatchTest.patch_test1
[       OK ] PatchTest.patch_test1
[ RUN      ] PatchTest.patch_test2
[       OK ] PatchTest.patch_test2
[ RUN      ] PatchTest.patch_test3
[       OK ] PatchTest.patch_test3
[ RUN      ] PatchTest.patch_test4
[       OK ] PatchTest.patch_test4
[ RUN      ] PatchTest.patch_test5
[       OK ] PatchTest.patch_test5
[ RUN      ] PatchTest.patch_test6
[       OK ] PatchTest.patch_test6
[ RUN      ] PatchTest.patch_test7
[       OK ] PatchTest.patch_test7
[----------] Global test environment tear-down
[==========] 47 tests from 4 test cases ran.
[  PASSED  ] 47 tests.
$