/[pcre]/code/trunk/pcrecpp_unittest.cc
ViewVC logotype

Diff of /code/trunk/pcrecpp_unittest.cc

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 297 by ph10, Fri Jan 4 19:44:00 2008 UTC revision 326 by ph10, Sat Mar 8 17:24:02 2008 UTC
# Line 497  static void TestQuotaMetaSimple() { Line 497  static void TestQuotaMetaSimple() {
497    TestQuoteMeta("((a|b)c?d*e+[f-h]i)");    TestQuoteMeta("((a|b)c?d*e+[f-h]i)");
498    TestQuoteMeta("((?!)xxx).*yyy");    TestQuoteMeta("((?!)xxx).*yyy");
499    TestQuoteMeta("([");    TestQuoteMeta("([");
500      TestQuoteMeta(string("foo\0bar", 7));
501  }  }
502    
503  static void TestQuoteMetaSimpleNegative() {  static void TestQuoteMetaSimpleNegative() {
# Line 879  int main(int argc, char** argv) { Line 880  int main(int argc, char** argv) {
880    CHECK(RE("h(.*)o").FullMatch("hello", (string*)NULL));    CHECK(RE("h(.*)o").FullMatch("hello", (string*)NULL));
881    CHECK(RE("h(.*)o").FullMatch("hello", (StringPiece*)NULL));    CHECK(RE("h(.*)o").FullMatch("hello", (StringPiece*)NULL));
882    CHECK(RE("(.*)").FullMatch("1234", (int*)NULL));    CHECK(RE("(.*)").FullMatch("1234", (int*)NULL));
883    #ifdef HAVE_LONG_LONG
884    CHECK(RE("(.*)").FullMatch("1234567890123456", (long long*)NULL));    CHECK(RE("(.*)").FullMatch("1234567890123456", (long long*)NULL));
885    #endif
886    CHECK(RE("(.*)").FullMatch("123.4567890123456", (double*)NULL));    CHECK(RE("(.*)").FullMatch("123.4567890123456", (double*)NULL));
887    CHECK(RE("(.*)").FullMatch("123.4567890123456", (float*)NULL));    CHECK(RE("(.*)").FullMatch("123.4567890123456", (float*)NULL));
888    

Legend:
Removed from v.297  
changed lines
  Added in v.326

  ViewVC Help
Powered by ViewVC 1.1.5