#include "components/web_package/signed_web_bundles/signed_web_bundle_signature_stack.h"
#include <array>
#include "base/containers/span.h"
#include "base/test/gmock_expected_support.h"
#include "components/web_package/mojom/web_bundle_parser.mojom.h"
#include "components/web_package/signed_web_bundles/ed25519_public_key.h"
#include "components/web_package/signed_web_bundles/ed25519_signature.h"
#include "components/web_package/signed_web_bundles/signed_web_bundle_id.h"
#include "components/web_package/signed_web_bundles/signed_web_bundle_signature_stack_entry.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace web_package {
namespace {
constexpr std::array<uint8_t, 32> kTestPublicKey1 = …;
constexpr std::array<uint8_t, 32> kTestPublicKey2 = …;
constexpr std::array<uint8_t, 64> kTestSignature1 = …;
constexpr std::array<uint8_t, 64> kTestSignature2 = …;
TEST(SignedWebBundleSignatureStack,
CreateFromEmptyVectorOfSignedWebBundleSignatureStackEntry) { … }
TEST(SignedWebBundleSignatureStack,
CreateFromEmptyVectorOfBundleIntegrityBlockSignatureStackEntryPtr) { … }
TEST(SignedWebBundleSignatureStack,
CreateFromVectorOfSignedWebBundleSignatureStackEntry) { … }
TEST(SignedWebBundleSignatureStack,
CreateFromVectorOfMultipleSignedWebBundleSignatureStackEntry) { … }
TEST(SignedWebBundleSignatureStack,
CreateFromVectorOfBundleIntegrityBlockSignatureStackEntryPtr) { … }
}
}