2017-01-20 00:20:31 +00:00
|
|
|
// © 2016 and later: Unicode, Inc. and others.
|
2016-06-15 18:58:17 +00:00
|
|
|
// License & terms of use: http://www.unicode.org/copyright.html
|
2010-01-16 03:07:18 +00:00
|
|
|
/********************************************************************
|
|
|
|
* COPYRIGHT:
|
2016-05-31 21:45:07 +00:00
|
|
|
* Copyright (c) 1997-2010, International Business Machines Corporation and
|
|
|
|
* others. All Rights Reserved.
|
|
|
|
* Copyright (C) 2010 , Yahoo! Inc.
|
2010-01-16 03:07:18 +00:00
|
|
|
********************************************************************/
|
|
|
|
|
|
|
|
#ifndef _SELECTFORMATTEST
|
|
|
|
#define _SELECTFORMATTEST
|
|
|
|
|
|
|
|
#include "unicode/utypes.h"
|
|
|
|
#include "unicode/selfmt.h"
|
|
|
|
|
|
|
|
|
|
|
|
#if !UCONFIG_NO_FORMATTING
|
|
|
|
|
|
|
|
#include "intltest.h"
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Test basic functionality of various API functions
|
|
|
|
**/
|
|
|
|
class SelectFormatTest : public IntlTest {
|
|
|
|
void runIndexedTest( int32_t index, UBool exec, const char* &name, char* par = NULL );
|
|
|
|
|
|
|
|
private:
|
|
|
|
/**
|
|
|
|
* Performs tests on many API functions, see detailed comments in source code
|
|
|
|
**/
|
|
|
|
void selectFormatAPITest(/* char* par */);
|
|
|
|
void selectFormatUnitTest(/* char* par */);
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif /* #if !UCONFIG_NO_FORMATTING */
|
|
|
|
|
|
|
|
#endif
|