Lines Matching full:disabled

43     "\"disabled-by-default-cc\","
44 "\"disabled-by-default-memory-infra\"],"
72 // disabled-by-default-* ones. in CheckDefaultTraceConfigBehavior()
75 EXPECT_FALSE(tc.IsCategoryGroupEnabled("disabled-by-default-cc")); in CheckDefaultTraceConfigBehavior()
78 EXPECT_TRUE(tc.IsCategoryGroupEnabled("Category1,disabled-by-default-cc")); in CheckDefaultTraceConfigBehavior()
80 "disabled-by-default-cc,disabled-by-default-cc2")); in CheckDefaultTraceConfigBehavior()
180 config = TraceConfig("disabled-by-default-cc,-excluded", ""); in TEST()
181 EXPECT_STREQ("disabled-by-default-cc,-excluded", in TEST()
184 config = TraceConfig("disabled-by-default-cc,included", ""); in TEST()
185 EXPECT_STREQ("included,disabled-by-default-cc", in TEST()
298 TraceConfig tc("foo,disabled-by-default-foo", ""); in TEST()
299 EXPECT_STREQ("foo,disabled-by-default-foo", in TEST()
302 EXPECT_TRUE(tc.IsCategoryGroupEnabled("disabled-by-default-foo")); in TEST()
304 EXPECT_FALSE(tc.IsCategoryGroupEnabled("disabled-by-default-bar")); in TEST()
307 // Enabling only the disabled-by-default-* category means the default ones in TEST()
309 tc = TraceConfig("disabled-by-default-foo", ""); in TEST()
310 EXPECT_STREQ("disabled-by-default-foo", tc.ToCategoryFilterString().c_str()); in TEST()
311 EXPECT_TRUE(tc.IsCategoryGroupEnabled("disabled-by-default-foo")); in TEST()
314 EXPECT_FALSE(tc.IsCategoryGroupEnabled("disabled-by-default-bar")); in TEST()
353 "disabled-by-default-cc,disabled-by-default-memory-infra," in TEST()
375 "\"disabled-by-default-cc\"]," in TEST()
385 "included,inc_pattern*,disabled-by-default-cc,-excluded," in TEST()
391 EXPECT_TRUE(tc.category_filter().IsCategoryEnabled("disabled-by-default-cc")); in TEST()
395 tc.category_filter().IsCategoryEnabled("disabled-by-default-others")); in TEST()
401 EXPECT_TRUE(tc.IsCategoryGroupEnabled("disabled-by-default-cc")); in TEST()
404 EXPECT_FALSE(tc.IsCategoryGroupEnabled("disabled-by-default-others")); in TEST()
436 "non-disabled-by-default-pattern")); in TEST()
438 tc2.category_filter().IsCategoryEnabled("disabled-by-default-pattern")); in TEST()
439 EXPECT_TRUE(tc2.IsCategoryGroupEnabled("non-disabled-by-default-pattern")); in TEST()
440 EXPECT_FALSE(tc2.IsCategoryGroupEnabled("disabled-by-default-pattern")); in TEST()
517 "\"included_categories\":[\"category\",\"disabled-by-default-pattern\"]," in TEST()
518 "\"excluded_categories\":[\"category\",\"disabled-by-default-pattern\"]" in TEST()
523 tc.category_filter().IsCategoryEnabled("disabled-by-default-pattern")); in TEST()
525 EXPECT_TRUE(tc.IsCategoryGroupEnabled("disabled-by-default-pattern")); in TEST()
543 // Enabling a disabled- category does not require all categories to be traced in TEST()
545 TraceConfig tc("disabled-by-default-cc,-excluded", ""); in TEST()
546 EXPECT_STREQ("disabled-by-default-cc,-excluded", in TEST()
548 EXPECT_TRUE(tc.IsCategoryGroupEnabled("disabled-by-default-cc")); in TEST()
552 // Enabled a disabled- category and also including makes all categories to in TEST()
554 tc = TraceConfig("disabled-by-default-cc,included", ""); in TEST()
555 EXPECT_STREQ("included,disabled-by-default-cc", in TEST()
557 EXPECT_TRUE(tc.IsCategoryGroupEnabled("disabled-by-default-cc")); in TEST()
561 // Excluding categories won't enable disabled-by-default ones with the in TEST()
565 EXPECT_FALSE(tc.IsCategoryGroupEnabled("excluded,disabled-by-default-cc")); in TEST()