chromium/google_apis/gaia/oauth2_id_token_decoder_unittest.cc

// Copyright 2017 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "google_apis/gaia/oauth2_id_token_decoder.h"

#include <string>
#include <vector>

#include "testing/gtest/include/gtest/gtest.h"

namespace {

const char kIdTokenInvalidJwt[] =;
const char kIdTokenInvalidJson[] =;
const char kIdTokenEmptyServices[] =;
const char kIdTokenEmptyServicesHeaderSignature[] =;
const char kIdTokenMissingServices[] =;
const char kIdTokenNotChildAccount[] =;
const char kIdTokenChildAccount[] =;
const char kIdTokenAdvancedProtectionAccount[] =;
const char kIdTokenChildAndAdvancedProtectionAccount[] =;  // payload: { "services": ["tia", "uca"] }

class OAuth2IdTokenDecoderTest : public testing::Test {};

TEST_F(OAuth2IdTokenDecoderTest, Invalid) {}

TEST_F(OAuth2IdTokenDecoderTest, NotChild) {}

TEST_F(OAuth2IdTokenDecoderTest, Child) {}

TEST_F(OAuth2IdTokenDecoderTest, NotAdvancedProtection) {}

TEST_F(OAuth2IdTokenDecoderTest, AdvancedProtection) {}

}  // namespace