• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // © 2020 and later: Unicode, Inc. and others.
2 // License & terms of use: http://www.unicode.org/copyright.html#License
3 
4 #include "unicode/utypes.h"
5 
6 #if !UCONFIG_NO_FORMATTING
7 
8 #include "intltest.h"
9 #include "unicode/unistr.h"
10 #include "units_router.h"
11 
12 
13 class UnitsRouterTest : public IntlTest {
14   public:
UnitsRouterTest()15     UnitsRouterTest() {}
16 
17     void runIndexedTest(int32_t index, UBool exec, const char *&name, char *par = NULL);
18 
19     void testBasic();
20 };
21 
createUnitsRouterTest()22 extern IntlTest *createUnitsRouterTest() { return new UnitsRouterTest(); }
23 
runIndexedTest(int32_t index,UBool exec,const char * & name,char *)24 void UnitsRouterTest::runIndexedTest(int32_t index, UBool exec, const char *&name, char * /*par*/) {
25     if (exec) { logln("TestSuite UnitsRouterTest: "); }
26     TESTCASE_AUTO_BEGIN;
27     TESTCASE_AUTO(testBasic);
28     TESTCASE_AUTO_END;
29 }
30 
testBasic()31 void UnitsRouterTest::testBasic() { IcuTestErrorCode status(*this, "UnitsRouter testBasic"); }
32 
33 #endif /* #if !UCONFIG_NO_FORMATTING */
34