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

Unified Diff: gpu/config/gpu_util_unittest.cc

Issue 2505473002: Don't forbid GPU process if WebGL/WebGL2 is disabled on GPU but not browser. (Closed)
Patch Set: adding TODO Created 4 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gpu/config/gpu_util.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/config/gpu_util_unittest.cc
diff --git a/gpu/config/gpu_util_unittest.cc b/gpu/config/gpu_util_unittest.cc
index da52c18a2797c2ba960353688c5bf6ae0b7093f8..4b28ac649d197ebbbd3e9d5dee0f5b39fc770d8e 100644
--- a/gpu/config/gpu_util_unittest.cc
+++ b/gpu/config/gpu_util_unittest.cc
@@ -18,46 +18,6 @@
namespace gpu {
-TEST(GpuUtilTest, MergeFeatureSets) {
- {
- // Merge two empty sets.
- std::set<int> src;
- std::set<int> dst;
- EXPECT_TRUE(dst.empty());
- MergeFeatureSets(&dst, src);
- EXPECT_TRUE(dst.empty());
- }
- {
- // Merge an empty set into a set with elements.
- std::set<int> src;
- std::set<int> dst;
- dst.insert(1);
- EXPECT_EQ(1u, dst.size());
- MergeFeatureSets(&dst, src);
- EXPECT_EQ(1u, dst.size());
- }
- {
- // Merge two sets where the source elements are already in the target set.
- std::set<int> src;
- std::set<int> dst;
- src.insert(1);
- dst.insert(1);
- EXPECT_EQ(1u, dst.size());
- MergeFeatureSets(&dst, src);
- EXPECT_EQ(1u, dst.size());
- }
- {
- // Merge two sets with different elements.
- std::set<int> src;
- std::set<int> dst;
- src.insert(1);
- dst.insert(2);
- EXPECT_EQ(1u, dst.size());
- MergeFeatureSets(&dst, src);
- EXPECT_EQ(2u, dst.size());
- }
-}
-
TEST(GpuUtilTest, StringToFeatureSet) {
{
// zero feature.
« no previous file with comments | « gpu/config/gpu_util.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698