#include "llvm/DebugInfo/MSF/MSFBuilder.h"
#include "llvm/DebugInfo/MSF/MSFCommon.h"
#include "llvm/Testing/Support/Error.h"
#include "gmock/gmock-matchers.h"
#include "gmock/gmock.h"
#include "gtest/gtest.h"
usingnamespacellvm;
usingnamespacellvm::msf;
usingnamespacetesting;
namespace {
class MSFBuilderTest : public testing::Test { … };
}
TEST_F(MSFBuilderTest, ValidateSuperBlockAccept) { … }
TEST_F(MSFBuilderTest, ValidateSuperBlockReject) { … }
TEST_F(MSFBuilderTest, TestUsedBlocksMarkedAsUsed) { … }
TEST_F(MSFBuilderTest, TestAddStreamNoDirectoryBlockIncrease) { … }
TEST_F(MSFBuilderTest, TestAddStreamWithDirectoryBlockIncrease) { … }
TEST_F(MSFBuilderTest, TestGrowStreamNoBlockIncrease) { … }
TEST_F(MSFBuilderTest, TestGrowStreamWithBlockIncrease) { … }
TEST_F(MSFBuilderTest, TestShrinkStreamNoBlockDecrease) { … }
TEST_F(MSFBuilderTest, TestShrinkStreamWithBlockDecrease) { … }
TEST_F(MSFBuilderTest, TestRejectReusedStreamBlock) { … }
TEST_F(MSFBuilderTest, TestBlockCountsWhenAddingStreams) { … }
TEST_F(MSFBuilderTest, BuildMsfLayout) { … }
TEST_F(MSFBuilderTest, UseDirectoryBlockHint) { … }
TEST_F(MSFBuilderTest, DirectoryBlockHintInsufficient) { … }
TEST_F(MSFBuilderTest, DirectoryBlockHintOverestimated) { … }
TEST_F(MSFBuilderTest, StreamDoesntUseFpmBlocks) { … }