aboutsummaryrefslogtreecommitdiffstats
path: root/tools/dicttool/tests/com (follow)
Commit message (Expand)AuthorAgeFilesLines
* Add tests to dicttool test.•••Bug: 8526576 Change-Id: Idd6f9cd076d5915361c68f5c29afbba67dd54eba Jean Chalard2013-06-201-4/+0
* Fix two nasty bugs with surrogate pairs.•••The important bug is in findWordInTree. The problem, which is not obvious, is that we were calling codePointAt() with the code point index in the string, instead of the char index. The other bug this change fixes was harmless in the practice, because it's in the iteration which is only used for debug and pretty printing purposes. It's very similar in that it would substract a length in code point to a length in chars and truncate a StringBuilder at that length, so it would fail in a quite similar manner. This changes the meaning of the "length" attribute in Position, but it's clearer this way anyway. Bug: 8450145 Change-Id: If396f883a9e6449de39351553ba83f5be5bd30f0 Jean Chalard2013-04-011-0/+114
* Cleanup after dicttool•••Arrange for temporary files to be deleted. Also, add a security on stack overflows. Change-Id: I9da2ebefb06409a71b235243ea835ce10d6a9b81 Jean Chalard2012-10-301-0/+3
* Add auto detection and decoding of dictionary files. (A2)•••Bug: 7388852 Change-Id: I25e755fc15f5b383acc046f668e9681efa4f0c2f Jean Chalard2012-10-251-0/+106
* Add @UsedForTesting and @ExternallyReferenced annotations•••Bug: 7268357 Change-Id: I0b7e0c19f04af9ae30874d0a4c26ad81bc80be8c Tadashi G. Takaoka2012-10-221-12/+2
* Reinstate the shortcut-only attribute•••Also add the blacklist attribute Bug: 7005742 Bug: 2704000 Change-Id: Icbe60bdf25bfb098d9e3f20870be30d6aef07c9d Jean Chalard2012-08-311-5/+5
* Move dicttool tests and make a script to run them (A4)•••Change-Id: If582e81741c5edaf345dcb55517dcad0baa64c9e Jean Chalard2012-08-041-0/+59