You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
o3de/Code/Framework/AzTest/AzTest/Printers.h

41 lines
1.3 KiB
C++

/*
* Copyright (c) Contributors to the Open 3D Engine Project.
* For complete copyright and license terms please see the LICENSE at the root of this distribution.
*
* SPDX-License-Identifier: Apache-2.0 OR MIT
*
*/
#pragma once
#include <iosfwd>
#include <AzCore/IO/Path/Path_fwd.h>
namespace AZStd
{
template<class Element, class Traits, class Allocator>
class basic_string;
template <class Element, class Traits>
class basic_string_view;
template <class Element, size_t MaxElementCount, class Traits>
class basic_fixed_string;
template<class Element, class Traits, class Allocator>
void PrintTo(const AZStd::basic_string<Element, Traits, Allocator>& value, ::std::ostream* os);
template<class Element, class Traits>
void PrintTo(const AZStd::basic_string_view<Element, Traits>& value, ::std::ostream* os);
template <class Element, size_t MaxElementCount, class Traits>
void PrintTo(const AZStd::basic_fixed_string<Element, MaxElementCount, Traits>& value, ::std::ostream* os);
}
namespace AZ::IO
{
// Add Googletest printers for the AZ::IO::Path classes
void PrintTo(const AZ::IO::PathView& path, ::std::ostream* os);
void PrintTo(const AZ::IO::Path& path, ::std::ostream* os);
void PrintTo(const AZ::IO::FixedMaxPath& path, ::std::ostream* os);
}
#include <AzTest/Printers.inl>