"Fossies" - the Fresh Open Source Software Archive

Member "icu/source/test/intltest/restsnew.h" (22 Apr 2020, 1736 Bytes) of package /linux/misc/icu4c-67_1-src.tgz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes reports for "restsnew.h": 67rc_vs_67_1 or 66_1_vs_67_1.

    1 // © 2016 and later: Unicode, Inc. and others.
    2 // License & terms of use: http://www.unicode.org/copyright.html
    3 /********************************************************************
    4  * COPYRIGHT: 
    5  * Copyright (c) 1997-2003, International Business Machines Corporation and
    6  * others. All Rights Reserved.
    7  ********************************************************************/
    8 
    9 #ifndef NEW_RESOURCEBUNDLETEST_H
   10 #define NEW_RESOURCEBUNDLETEST_H
   11 
   12 #include "intltest.h"
   13 
   14 /**
   15  * Tests for class ResourceBundle
   16  **/
   17 class NewResourceBundleTest: public IntlTest {
   18 public:
   19     NewResourceBundleTest();
   20     virtual ~NewResourceBundleTest();
   21     
   22     void runIndexedTest( int32_t index, UBool exec, const char* &name, char* par = NULL );
   23 
   24     /** 
   25      * Perform several extensive tests using the subtest routine testTag
   26      **/
   27     void TestResourceBundles(void);
   28     /** 
   29      * Test construction of ResourceBundle accessing a custom test resource-file
   30      **/
   31     void TestConstruction(void);
   32 
   33     void TestIteration(void);
   34 
   35     void TestOtherAPI(void);
   36 
   37     void TestNewTypes(void);
   38 
   39     void TestGetByFallback(void);
   40 
   41     void TestFilter(void);
   42 
   43     void TestIntervalAliasFallbacks(void);
   44 
   45 #if U_ENABLE_TRACING
   46     void TestTrace(void);
   47 #endif
   48 
   49 private:
   50     /**
   51      * The assignment operator has no real implementation.
   52      * It is provided to make the compiler happy. Do not call.
   53      */
   54     NewResourceBundleTest& operator=(const NewResourceBundleTest&) { return *this; }
   55 
   56     /**
   57      * extensive subtests called by TestResourceBundles
   58      **/
   59     UBool testTag(const char* frag, UBool in_Root, UBool in_te, UBool in_te_IN);
   60 
   61     void record_pass(void);
   62     void record_fail(void);
   63 
   64     int32_t pass;
   65     int32_t fail;
   66 
   67 };
   68 
   69 #endif