aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/GrRedBlackTreeTest.cpp
Commit message (Collapse)AuthorAge
* Preprend Test to test function name generated by DEF_TEST() macro.Gravatar tfarina2014-06-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | That way when declaring a test with DEF_TEST() macro, you don't have to uniquify the test name because it might colide with the class it is being testing. For example, if you are testing SkBase64 and do: DEF_TEST(SkBase64, reporter) { } That will generate an error because the macro will declare a function named SkBase64 which colides with the type SkBase64. By adding Test to the function name we avoid this problem. Fixed the entries found with the following command line: $ git grep "Test, r" | grep DEF BUG=None TEST=make tests && out/Debug/tests R=mtklein@google.com Author: tfarina@chromium.org Review URL: https://codereview.chromium.org/345753007
* GrRedBlackTree test is GPU specific.Gravatar tfarina@chromium.org2014-01-30
| | | | | | | | | | | | | | Wrapp the entire file/test in a SK_SUPPORT_GPU. This should fix the tree breakage. BUG=None TEST=tests TBR=robertphillips@google.com Review URL: https://codereview.chromium.org/147843006 git-svn-id: http://skia.googlecode.com/svn/trunk@13234 2bbb7eff-a529-9590-31e7-b0007b416f81
* Reland "Unwrap GrRedBlackTree unit test and use REPORTER_ASSERT()."Gravatar tfarina@chromium.org2014-01-29
| | | | | | | | | | BUG=None TEST=tests R=robertphillips@google.com Review URL: https://codereview.chromium.org/137423009 git-svn-id: http://skia.googlecode.com/svn/trunk@13233 2bbb7eff-a529-9590-31e7-b0007b416f81
* Revert of Unwrap GrRedBlackTree unit test and use REPORTER_ASSERT(). ↵Gravatar commit-bot@chromium.org2014-01-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (https://codereview.chromium.org/147713002/) Reason for revert: broke http://108.170.217.252:10115/builders/Build-Mac10.8-Clang-x86_64-Release/builds/2908/steps/Retry_BuildTests/logs/stdio and other builders: GrRedBlackTreeTest.cpp:24:36: error: use of undeclared identifier 'xi' Original issue's description: > Unwrap GrRedBlackTree unit test and use REPORTER_ASSERT(). > > This fixes the mtklein's TODO in GrUnitTests.cpp. > > BUG=None > TEST=out/Debug/tests > R=mtklein@google.com, robertphillips@google.com > > Committed: https://code.google.com/p/skia/source/detail?r=13208 R=mtklein@google.com, robertphillips@google.com, reed@google.com, tfarina@chromium.org TBR=mtklein@google.com, reed@google.com, robertphillips@google.com, tfarina@chromium.org NOTREECHECKS=true NOTRY=true BUG=None Author: epoger@google.com Review URL: https://codereview.chromium.org/148653002 git-svn-id: http://skia.googlecode.com/svn/trunk@13209 2bbb7eff-a529-9590-31e7-b0007b416f81
* Unwrap GrRedBlackTree unit test and use REPORTER_ASSERT().Gravatar tfarina@chromium.org2014-01-27
This fixes the mtklein's TODO in GrUnitTests.cpp. BUG=None TEST=out/Debug/tests R=mtklein@google.com, robertphillips@google.com Review URL: https://codereview.chromium.org/147713002 git-svn-id: http://skia.googlecode.com/svn/trunk@13208 2bbb7eff-a529-9590-31e7-b0007b416f81