OLD | NEW |
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 Loading... |
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 |
OLD | NEW |