#ifdef UNSAFE_BUFFERS_BUILD
#pragma allow_unsafe_buffers
#endif
#include "base/strings/stringprintf.h"
#include <errno.h>
#include <stddef.h>
#include "build/build_config.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace base {
namespace {
template <class CharT>
static void StringAppendVTestHelper(std::basic_string<CharT>* out,
const CharT* format,
...) { … }
}
TEST(StringPrintfTest, StringPrintfEmpty) { … }
TEST(StringPrintfTest, StringPrintfMisc) { … }
TEST(StringPrintfTest, StringAppendfEmptyString) { … }
TEST(StringPrintfTest, StringAppendfString) { … }
TEST(StringPrintfTest, StringAppendfInt) { … }
TEST(StringPrintfTest, StringPrintfBounds) { … }
TEST(StringPrintfTest, Grow) { … }
TEST(StringPrintfTest, StringAppendV) { … }
TEST(StringPrintfTest, GrowBoundary) { … }
TEST(StringPrintfTest, StringPrintfErrno) { … }
}