#include "base/scoped_generic.h"
#include <memory>
#include <unordered_map>
#include <unordered_set>
#include <utility>
#include <vector>
#include "base/containers/contains.h"
#include "base/memory/raw_ptr.h"
#include "build/build_config.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace base {
namespace {
struct IntTraits { … };
ScopedInt;
}
TEST(ScopedGenericTest, ScopedGeneric) { … }
TEST(ScopedGenericTest, Operators) { … }
TEST(ScopedGenericTest, Receive) { … }
namespace {
struct TrackedIntTraits : public ScopedGenericOwnershipTracking { … };
ScopedTrackedInt;
}
TEST(ScopedGenericTest, OwnershipTracking) { … }
#if 0
TEST(ScopedGenericTest, NoCompile) {
}
#endif
}