Macros
string_view_test.cc File Reference
#include "absl/strings/string_view.h"
#include <stdlib.h>
#include <iomanip>
#include <iterator>
#include <limits>
#include <map>
#include <sstream>
#include <stdexcept>
#include <string>
#include <type_traits>
#include <utility>
#include "gtest/gtest.h"
#include "absl/base/config.h"
#include "absl/base/dynamic_annotations.h"
Include dependency graph for string_view_test.cc:

Go to the source code of this file.

Macros

#define ABSL_EXPECT_DEATH_IF_SUPPORTED(statement, regex)   EXPECT_DEATH_IF_SUPPORTED(statement, regex)
 
#define ABSL_HAVE_STRING_VIEW_FROM_NULLPTR   1
 
#define COMPARE(result, op, x, y)
 

Macro Definition Documentation

◆ ABSL_EXPECT_DEATH_IF_SUPPORTED

#define ABSL_EXPECT_DEATH_IF_SUPPORTED (   statement,
  regex 
)    EXPECT_DEATH_IF_SUPPORTED(statement, regex)

Definition at line 38 of file string_view_test.cc.

◆ ABSL_HAVE_STRING_VIEW_FROM_NULLPTR

#define ABSL_HAVE_STRING_VIEW_FROM_NULLPTR   1

Definition at line 827 of file string_view_test.cc.

◆ COMPARE

#define COMPARE (   result,
  op,
  x,
 
)
Value:
EXPECT_EQ(result, absl::string_view((x)) op absl::string_view((y))); \
EXPECT_EQ(result, absl::string_view((x)).compare(absl::string_view((y))) op 0)

Definition at line 194 of file string_view_test.cc.



abseil_cpp
Author(s):
autogenerated on Mon Feb 28 2022 21:31:22