chromium/components/webapps/services/web_app_origin_association/web_app_origin_association_parser_unittest.cc

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

#include "components/webapps/services/web_app_origin_association/web_app_origin_association_parser.h"

#include "base/json/json_reader.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "url/gurl.h"

namespace webapps {

bool IsAssociationNull(const mojom::WebAppOriginAssociationPtr& association) {}

// A WebAppOriginAssociation is empty if there are no AssociatedWebApps.
bool IsAssociationEmpty(const mojom::WebAppOriginAssociationPtr& association) {}

class WebAppOriginAssociationParserTest : public testing::Test {};

TEST_F(WebAppOriginAssociationParserTest, CrashTest) {}

TEST_F(WebAppOriginAssociationParserTest, EmptyStringNull) {}

TEST_F(WebAppOriginAssociationParserTest, NoContentParses) {}

TEST_F(WebAppOriginAssociationParserTest, InvalidWebApps) {}

TEST_F(WebAppOriginAssociationParserTest, NoWebApps) {}

TEST_F(WebAppOriginAssociationParserTest, ValidEmptyDetails) {}

TEST_F(WebAppOriginAssociationParserTest, MultipleErrorsReporting) {}

TEST_F(WebAppOriginAssociationParserTest, MoreThanOneValidApp) {}

TEST_F(WebAppOriginAssociationParserTest, IgnoreInvalidAndValidateTwosApps) {}

}  // namespace webapps