pcre_scanner_unittest.cc File Reference

#include <stdio.h>
#include <string>
#include <vector>
#include "pcrecpp.h"
#include "pcre_stringpiece.h"
#include "pcre_scanner.h"

Go to the source code of this file.

Defines

#define FLAGS_unittest_stack_size   49152
#define CHECK_EQ(a, b)

Functions

static void TestScanner ()
static void TestBigComment ()
int main (int argc, char **argv)


Define Documentation

#define CHECK_EQ ( a,
b   ) 

Value:

do {                                    \
  if ( (a) != (b) ) {                                           \
    fprintf(stderr, "%s:%d: Check failed because %s != %s\n",   \
            __FILE__, __LINE__, #a, #b);                        \
    exit(1);                                                    \
  }                                                             \
} while (0)

Definition at line 50 of file pcre_scanner_unittest.cc.

Referenced by GetOneOptionResult(), main(), Test_NO_AUTO_CAPTURE(), TestBigComment(), TestConsume(), TestExtract(), TestFindAndConsume(), TestMatchNumberPeculiarity(), TestReplace(), TestScanner(), and Timing2().

#define FLAGS_unittest_stack_size   49152

Definition at line 47 of file pcre_scanner_unittest.cc.


Function Documentation

int main ( int  argc,
char **  argv 
)

Definition at line 150 of file pcre_scanner_unittest.cc.

References TestBigComment(), and TestScanner().

static void TestBigComment (  )  [static]

Definition at line 128 of file pcre_scanner_unittest.cc.

References buf, CHECK_EQ, i, name, s, sprintf(), and value.

Referenced by main().

static void TestScanner (  )  [static]

Definition at line 62 of file pcre_scanner_unittest.cc.

References CHECK_EQ, comments, number, and s.

Referenced by main().


Generated on Tue Jul 5 15:57:29 2011 for ROOT_528-00b_version by  doxygen 1.5.1