#include "base/task/sequence_manager/atomic_flag_set.h"
#include <set>
#include <utility>
#include <vector>
#include "base/test/bind.h"
#include "testing/gmock/include/gmock/gmock.h"
ElementsAre;
IsNull;
NotNull;
namespace base {
namespace sequence_manager {
namespace internal {
class AtomicFlagSetForTest : public AtomicFlagSet { … };
class AtomicFlagSetTest : public testing::Test { … };
TEST_F(AtomicFlagSetTest, VisitEmptyAtomicFlagSet) { … }
TEST_F(AtomicFlagSetTest, SetActiveOneFlag) { … }
TEST_F(AtomicFlagSetTest, SetActiveManyFlags) { … }
TEST_F(AtomicFlagSetTest, SetActiveFalse) { … }
TEST_F(AtomicFlagSetTest, ReleaseAtomicFlag) { … }
TEST_F(AtomicFlagSetTest, GroupBecomesFull) { … }
TEST_F(AtomicFlagSetTest, GroupBecomesEmptyOnlyEntryInPartiallyFreeList) { … }
TEST_F(AtomicFlagSetTest, GroupBecomesEmptyHeadOfPartiallyFreeList) { … }
TEST_F(AtomicFlagSetTest, GroupBecomesEmptyMiddleOfPartiallyFreeList) { … }
TEST_F(AtomicFlagSetTest, GroupBecomesEmptyTailOfPartiallyFreeList) { … }
}
}
}