1// Copyright (C) 2016 and later: Unicode, Inc. and others.
2// License & terms of use: http://www.unicode.org/copyright.html
3/********************************************************************
4 * COPYRIGHT:
5 * Copyright (c) 2001, International Business Machines Corporation and
6 * others. All Rights Reserved.
7 ********************************************************************/
8/************************************************************************
9*   This test program is intended for testing Replaceable class.
10*
11*   Date        Name        Description
12*   11/28/2001  hshih       Creation.
13*
14************************************************************************/
15
16
17#ifndef REPTEST_H
18#define REPTEST_H
19
20#include "unicode/utypes.h"
21
22#if !UCONFIG_NO_TRANSLITERATION
23
24#include "unicode/translit.h"
25#include "intltest.h"
26
27/**
28 * @test
29 * @summary Testing the Replaceable class
30 */
31class ReplaceableTest : public IntlTest {
32public:
33    void runIndexedTest(int32_t index, UBool exec, const char* &name, char* par=NULL);
34
35    /*Tests the Replaceable class according to the API documentation. */
36    void TestReplaceableClass(void);
37private:
38    void check( const UnicodeString& transliteratorName,
39                const UnicodeString& test,
40                const UnicodeString& shouldProduceStyles);
41};
42
43#endif /* #if !UCONFIG_NO_TRANSLITERATION */
44
45#endif
46