| Commit-Queue | +1 |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
::testing::MatchesRegex(Can do simpler than Regex match now.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Can do simpler than Regex match now.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
3 is the latest approved patch-set.
The change was submitted with unreviewed changes in the following files:
```
The name of the file: base/task/thread_pool/pooled_single_thread_task_runner_manager_unittest.cc
Insertions: 8, Deletions: 9.
@@ -307,17 +307,17 @@
? ""
: "Shared");
const std::string background =
- "^ThreadPoolSingleThread" + maybe_shared + "Background$";
+ "ThreadPoolSingleThread" + maybe_shared + "Background";
const std::string utility =
- "^ThreadPoolSingleThread" + maybe_shared + "Utility$";
+ "ThreadPoolSingleThread" + maybe_shared + "Utility";
const std::string foreground =
- "^ThreadPoolSingleThread" + maybe_shared + "Foreground$";
+ "ThreadPoolSingleThread" + maybe_shared + "Foreground";
const std::string background_blocking =
- "^ThreadPoolSingleThread" + maybe_shared + "BackgroundBlocking$";
+ "ThreadPoolSingleThread" + maybe_shared + "BackgroundBlocking";
const std::string utility_blocking =
- "^ThreadPoolSingleThread" + maybe_shared + "UtilityBlocking$";
+ "ThreadPoolSingleThread" + maybe_shared + "UtilityBlocking";
const std::string foreground_blocking =
- "^ThreadPoolSingleThread" + maybe_shared + "ForegroundBlocking$";
+ "ThreadPoolSingleThread" + maybe_shared + "ForegroundBlocking";
const struct {
TaskTraits traits;
@@ -379,9 +379,8 @@
TestWaitableEvent event;
CreateTaskRunner(test_case.traits)
->PostTask(FROM_HERE, BindLambdaForTesting([&] {
- EXPECT_THAT(PlatformThread::GetName(),
- ::testing::MatchesRegex(
- test_case.expected_thread_name));
+ EXPECT_EQ(PlatformThread::GetName(),
+ test_case.expected_thread_name);
event.Signal();
}));
event.Wait();
```
[task] Remove id from ThreadPoolSingleThread thread name
We don't get value from indexing thread name (this isn't done
for any other threads), and is causing an unbound name leak.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |