// Copyright 2016 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifdef UNSAFE_BUFFERS_BUILD // TODO(crbug.com/40284755): Remove this and spanify to fix the errors. #pragma allow_unsafe_buffers #endif #include "base/task/thread_pool/task_source_sort_key.h" #include <iterator> #include "base/task/task_traits.h" #include "base/time/time.h" #include "testing/gtest/include/gtest/gtest.h" namespace base { namespace internal { namespace { // Keys are manually ordered from the least important to the most important. const TaskSourceSortKey kTestKeys[] = …; } // namespace TEST(TaskSourceSortKeyTest, OperatorLessThan) { … } TEST(TaskSourceSortKeyTest, OperatorEqual) { … } TEST(TaskSourceSortKeyTest, OperatorNotEqual) { … } } // namespace internal } // namespace base