diff options
author | rvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-06-21 22:31:36 +0000 |
---|---|---|
committer | rvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-06-21 22:31:36 +0000 |
commit | 559c4e3eee40f9f3a127ba792a2ef0bcd217b543 (patch) | |
tree | 7c844b81c3a572c8f40b3a8e25f3beea0382b073 /base/shared_memory_posix.cc | |
parent | 1eb1239db1a1e4c87695ec8e88af312859857d46 (diff) | |
download | chromium_src-559c4e3eee40f9f3a127ba792a2ef0bcd217b543.zip chromium_src-559c4e3eee40f9f3a127ba792a2ef0bcd217b543.tar.gz chromium_src-559c4e3eee40f9f3a127ba792a2ef0bcd217b543.tar.bz2 |
Revert 89910 - views: Refactor AddRemoveNotifications unittest.
- Extract the code from TestView class.
- Move the code into a new class called ObserverView.
- Rename the test case from AddRemoveNotifications to ViewHierarchyChanged.
- Use ObserverView class instead of TestView.
- Improve the checks, make them more clearer.
- Use EXPECT_TRUE instead of EXPECT_EQ(true, something); same thing for the false case.
BUG=None
TEST=views_unittests --gtest_filter=ViewTest.ViewHierarchyChanged
Review URL: http://codereview.chromium.org/7184031
TBR=tfarina@chromium.org
Review URL: http://codereview.chromium.org/7218025
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@89913 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/shared_memory_posix.cc')
0 files changed, 0 insertions, 0 deletions