#include "extensions/common/manifest_handlers/kiosk_mode_info.h"
#include <algorithm>
#include <map>
#include "components/version_info/channel.h"
#include "extensions/common/features/feature_channel.h"
#include "extensions/common/manifest_constants.h"
#include "extensions/common/manifest_test.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace extensions {
KioskModeInfoManifestTest;
namespace {
enum class EnabledOnLaunchState { … };
std::map<std::string, EnabledOnLaunchState> GetSecondaryApps(
const std::vector<SecondaryKioskAppInfo>& info) { … }
}
TEST_F(KioskModeInfoManifestTest, NoSecondaryApps) { … }
TEST_F(KioskModeInfoManifestTest, MultipleSecondaryApps) { … }
TEST_F(KioskModeInfoManifestTest, MultipleSecondaryAppsWithRepeatedEntries) { … }
TEST_F(KioskModeInfoManifestTest, MultipleSecondaryApps_StableChannel) { … }
TEST_F(KioskModeInfoManifestTest,
RequiredPlatformVersionAndAlwaysUpdateAreOptional) { … }
TEST_F(KioskModeInfoManifestTest, RequiredPlatformVersion) { … }
TEST_F(KioskModeInfoManifestTest, RequiredPlatformVersionInvalid) { … }
TEST_F(KioskModeInfoManifestTest, AlwaysUpdate) { … }
TEST_F(KioskModeInfoManifestTest, AlwaysUpdateFalse) { … }
TEST_F(KioskModeInfoManifestTest, AlwaysUpdateInvalid) { … }
}