scuffed-code/icu4c/source/test/intltest/regextst.h
2002-10-28 17:18:44 +00:00

34 lines
885 B
C++

/********************************************************************
* COPYRIGHT:
* Copyright (c) 2002, International Business Machines Corporation and
* others. All Rights Reserved.
********************************************************************/
#ifndef REGEXTST_H
#define REGEXTST_H
#include "intltest.h"
#include "unicode/regex.h"
class RegexTest: public IntlTest {
public:
RegexTest();
virtual ~RegexTest();
virtual void runIndexedTest(int32_t index, UBool exec, const char* &name, char* par = NULL );
virtual void API_Match();
virtual void API_Pattern();
virtual void API_Replace();
virtual void Basic();
virtual void Extended();
virtual UBool doRegexLMTest(char *pat, char *text, UBool looking, UBool match, int line);
virtual void regex_find(char *pat, char *input, UErrorCode expectedStatus, int line);
};
#endif