DescriptionFix a cause of flakyness in NativeTextfieldViewsTest.ReadOnlyTest.
Make the test set the clipboard first before testing
that CUT doesn't set the clipboard. Without this, the
test would fail when run a second time due to existing
clipboard contents.
Also, refactor the code to add test helper methods for
getting and setting clipboard text.
BUG=none
TEST=Run NativeTextfieldViewsTest.ReadOnlyTest twice. The second time should not fail.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=110118
Patch Set 1 #
Messages
Total messages: 4 (0 generated)
|