#include "base/version.h"
#include "extensions/common/extension.h"
#include "extensions/common/extension_id.h"
#include "extensions/common/manifest_constants.h"
#include "extensions/common/manifest_handlers/shared_module_info.h"
#include "extensions/common/manifest_test.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace {
const char kValidImportPath[] = …;
const char kValidImportPathID[] = …;
const char kValidImportPathRelative[] = …;
const char kInvalidImportPath[] = …;
const char kImportId1[] = …;
const char kImportId2[] = …;
const char kNoImport[] = …;
}
namespace extensions {
class SharedModuleManifestTest : public ManifestTest { … };
TEST_F(SharedModuleManifestTest, ExportsAll) { … }
TEST_F(SharedModuleManifestTest, ExportAllowlistAll) { … }
TEST_F(SharedModuleManifestTest, ExportAllowlistEmpty) { … }
TEST_F(SharedModuleManifestTest, ExportParseErrors) { … }
TEST_F(SharedModuleManifestTest, SharedModuleStaticFunctions) { … }
TEST_F(SharedModuleManifestTest, Import) { … }
TEST_F(SharedModuleManifestTest, ImportRepeats) { … }
TEST_F(SharedModuleManifestTest, ImportParseErrors) { … }
}