summaryrefslogtreecommitdiff
path: root/libs/hwui/tests/common/TestScene.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libs/hwui/tests/common/TestScene.cpp')
-rw-r--r--libs/hwui/tests/common/TestScene.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/libs/hwui/tests/common/TestScene.cpp b/libs/hwui/tests/common/TestScene.cpp
index 02bcd4768a65..2c532b0a33b6 100644
--- a/libs/hwui/tests/common/TestScene.cpp
+++ b/libs/hwui/tests/common/TestScene.cpp
@@ -22,8 +22,9 @@ namespace test {
// Not a static global because we need to force the map to be constructed
// before we try to add things to it.
-std::unordered_map<std::string, TestScene::Info>& TestScene::testMap() {
- static std::unordered_map<std::string, TestScene::Info> testMap;
+// std::map because tests sorted by name is a prettier output
+std::map<std::string, TestScene::Info>& TestScene::testMap() {
+ static std::map<std::string, TestScene::Info> testMap;
return testMap;
}