[Webkit-unassigned] [Bug 108513] [Chromium] Replace correct misspelled range
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Feb 5 13:25:03 PST 2013
https://bugs.webkit.org/show_bug.cgi?id=108513
--- Comment #19 from Rouslan Solomakhin <rouslan+webkit at chromium.org> 2013-02-05 13:27:09 PST ---
I am not able to add misspelling markers from with the unit test. Am I missing something obvious or doing something completely wrong?
Here is the test output:
$ build-webkit --chromium && ./out/Release/webkit_unit_tests --gtest_filter='WebFrameTest.*spell*'
ninja -C out/Release all
ninja: Entering directory `out/Release'
[3/3] STAMP obj/Source/WebKit/chromium/all_webkit.actions_depends.stamp
====================================================================
WebKit is now built (00m:06s).
====================================================================
Note: Google Test filter = WebFrameTest.*spell*
[==========] Running 1 test from 1 test case.
[----------] Global test environment set-up.
[----------] 1 test from WebFrameTest
[ RUN ] WebFrameTest.ReplaceMisspelledRange
../../Source/WebKit/chromium/tests/WebFrameTest.cpp:2149: Failure
Value of: document->markers()->markersInRange(range.get(), WebCore::DocumentMarker::Spelling).size()
Actual: 0
Expected: 1U
Which is: 1
../../Source/WebKit/chromium/tests/WebFrameTest.cpp:2158: Failure
Value of: std::string(frame->contentAsText(std::numeric_limits<size_t>::max()).utf8().data())
Actual: "_wellcome_."
Expected: "_welcome_."
[ FAILED ] WebFrameTest.ReplaceMisspelledRange (33 ms)
[----------] 1 test from WebFrameTest (33 ms total)
[----------] Global test environment tear-down
[==========] 1 test from 1 test case ran. (34 ms total)
[ PASSED ] 0 tests.
[ FAILED ] 1 test, listed below:
[ FAILED ] WebFrameTest.ReplaceMisspelledRange
1 FAILED TEST
YOU HAVE 9 DISABLED TESTS
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list