summaryrefslogtreecommitdiffstats
path: root/ui/gfx/render_text_unittest.cc
diff options
context:
space:
mode:
authorckocagil@chromium.org <ckocagil@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-09-16 22:39:38 +0000
committerckocagil@chromium.org <ckocagil@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-09-16 22:39:38 +0000
commit54d11eb1cad254d9ad24a13e0b179ba4e2b9bc38 (patch)
tree9fe1a7f3ab6eed3bc6c60bb70c2390e2000af839 /ui/gfx/render_text_unittest.cc
parent0ecd24eefbaf60bca7a40c4a5016d102180b3565 (diff)
downloadchromium_src-54d11eb1cad254d9ad24a13e0b179ba4e2b9bc38.zip
chromium_src-54d11eb1cad254d9ad24a13e0b179ba4e2b9bc38.tar.gz
chromium_src-54d11eb1cad254d9ad24a13e0b179ba4e2b9bc38.tar.bz2
Disable RenderTextTest.Multiline_NormalWidth on XP
BUG=248597 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@223452 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/gfx/render_text_unittest.cc')
-rw-r--r--ui/gfx/render_text_unittest.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/ui/gfx/render_text_unittest.cc b/ui/gfx/render_text_unittest.cc
index b028e12..5d1b248 100644
--- a/ui/gfx/render_text_unittest.cc
+++ b/ui/gfx/render_text_unittest.cc
@@ -1674,6 +1674,12 @@ TEST_F(RenderTextTest, Multiline_MinWidth) {
// Ensure strings wrap onto multiple lines for a normal available width.
TEST_F(RenderTextTest, Multiline_NormalWidth) {
+ // TODO(ckocagil): Enable this test on XP.
+#if defined(OS_WIN)
+ if (base::win::GetVersion() < base::win::VERSION_VISTA)
+ return;
+#endif
+
const struct {
const wchar_t* const text;
const Range first_line_char_range;