#include "minidump/minidump_thread_id_map.h"
#include <sys/types.h>
#include <iterator>
#include <vector>
#include "gtest/gtest.h"
#include "snapshot/test/test_thread_snapshot.h"
namespace crashpad {
namespace test {
namespace {
class MinidumpThreadIDMapTest : public testing::Test { … };
TEST_F(MinidumpThreadIDMapTest, NoThreads) { … }
TEST_F(MinidumpThreadIDMapTest, SimpleMapping) { … }
TEST_F(MinidumpThreadIDMapTest, Truncation) { … }
TEST_F(MinidumpThreadIDMapTest, DuplicateThreadID) { … }
TEST_F(MinidumpThreadIDMapTest, Collision) { … }
TEST_F(MinidumpThreadIDMapTest, DuplicateAndCollision) { … }
TEST_F(MinidumpThreadIDMapTest, AllDuplicates) { … }
}
}
}