Граф коммитов

3 Коммитов

Автор SHA1 Сообщение Дата
Masatoshi Kimura c24fbf6d73 Bug 1314624 - Convert SampleWordBreakUsage() to a gtest. r=m_kato
MozReview-Commit-ID: HItg8STx7fD

--HG--
extra : rebase_source : 0b6988ba010173f2b59e69b4d684ca8f4df59823
2016-11-12 15:00:51 +09:00
Nicholas Nethercote 8b5e0633c0 Bug 1314497 (part 2) - Reformat intl/lwbrk/tests/TestLineBreak.cpp.
This patch makes no functional changes.

--HG--
extra : rebase_source : 9b0c1576d3b938037962a2c817845f680d73873d
2016-11-03 13:46:14 +11:00
Nicholas Nethercote 108b8f0823 Bug 1314497 (part 1) - Convert intl/lwbrk/tests/TestLineBreak.cpp to a gtest. r=emk.
This commit does the following.

- Converts the test to a gtest, including renaming the directory.

- Factors out the duplicated checking code into a separate Check() function.

- Avoids printing any output unless a failure occurs. (The gtest harness prints
  out minimal output, like the name of the current test.)

- Removes SampleWordBreakUsage(), which prints some output but doesn't actually
  test anything, and so isn't useful.

--HG--
rename : intl/lwbrk/tests/TestLineBreak.cpp => intl/lwbrk/gtest/TestLineBreak.cpp
rename : intl/lwbrk/tests/moz.build => intl/lwbrk/gtest/moz.build
extra : rebase_source : e673299e237a1a8a3b0a33cfc0a0024ab7dee271
2016-11-03 13:46:12 +11:00