Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7)

Side by Side Diff: ui/views/accessibility/native_view_accessibility_win_unittest.cc

Issue 23983039: Merge 221688 "Implement put_accvalue for textfields and location..." (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1599/src/
Patch Set: Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include <oleacc.h> 5 #include <oleacc.h>
6 6
7 #include "base/win/scoped_bstr.h" 7 #include "base/win/scoped_bstr.h"
8 #include "base/win/scoped_comptr.h" 8 #include "base/win/scoped_comptr.h"
9 #include "base/win/scoped_variant.h" 9 #include "base/win/scoped_variant.h"
10 #include "ui/views/controls/textfield/textfield.h" 10 #include "ui/views/controls/textfield/textfield.h"
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 ASSERT_STREQ(L"Value", value); 56 ASSERT_STREQ(L"Value", value);
57 57
58 base::win::ScopedBstr new_value(L"New value"); 58 base::win::ScopedBstr new_value(L"New value");
59 ASSERT_EQ(S_OK, textfield_accessible->put_accValue(childid_self, new_value)); 59 ASSERT_EQ(S_OK, textfield_accessible->put_accValue(childid_self, new_value));
60 60
61 ASSERT_STREQ(L"New value", textfield->text().c_str()); 61 ASSERT_STREQ(L"New value", textfield->text().c_str());
62 } 62 }
63 63
64 } // namespace test 64 } // namespace test
65 } // namespace views 65 } // namespace views
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698