Namespaces | Macros
stringpiece_unittest.cc File Reference
#include <google/protobuf/stubs/stringpiece.h>
#include <iterator>
#include <map>
#include <string>
#include <utility>
#include <vector>
#include <google/protobuf/testing/googletest.h>
#include <google/protobuf/stubs/hash.h>
#include <gtest/gtest.h>
Include dependency graph for stringpiece_unittest.cc:

Go to the source code of this file.

Namespaces

 google
 
 google::protobuf
 

Macros

#define COMPARE(result, op, x, y)
 

Macro Definition Documentation

◆ COMPARE

#define COMPARE (   result,
  op,
  x,
  y 
)
Value:
EXPECT_EQ(result, StringPiece((x)) op StringPiece((y))); \
EXPECT_EQ(result, StringPiece((x)).compare(StringPiece((y))) op 0)
EXPECT_EQ
#define EXPECT_EQ(val1, val2)
Definition: glog/src/googletest.h:155
y
GLint y
Definition: glcorearb.h:2768
x
GLint GLenum GLint x
Definition: glcorearb.h:2834


libaditof
Author(s):
autogenerated on Wed May 21 2025 02:07:04