Home
last modified time | relevance | path

Searched defs:TestCase (Results 1 – 25 of 150) sorted by relevance

123456

/third_party/icu/icu4c/source/test/intltest/
Dcalcasts.h29 struct TestCase { struct
44 void doTestCases(const TestCase *cases, Calendar *cal); argument
Dnumbertest_decimalquantity.cpp305 static const struct TestCase { in testUseApproximateDoubleWhenAble() struct
306 double d; in testUseApproximateDoubleWhenAble()
307 int32_t maxFrac; in testUseApproximateDoubleWhenAble()
308 RoundingMode roundingMode; in testUseApproximateDoubleWhenAble()
309 bool usesExact; in testUseApproximateDoubleWhenAble()
337 static const struct TestCase { in testHardDoubleConversion() struct
338 double input; in testHardDoubleConversion()
339 const char16_t* expectedOutput; in testHardDoubleConversion()
405 static const struct TestCase { in testToDouble() struct
406 const char* input; // char* for the decNumber constructor in testToDouble()
[all …]
Dnumbertest_parse.cpp34 static const struct TestCase { in testBasic() struct
35 int32_t flags; in testBasic()
36 const char16_t* inputString; in testBasic()
37 const char16_t* patternString; in testBasic()
38 int32_t expectedCharsConsumed; in testBasic()
39 double expectedResultDouble; in testBasic()
212 static const struct TestCase { in testSeriesMatcher() struct
213 const char16_t* input; in testSeriesMatcher()
214 int32_t expectedOffset; in testSeriesMatcher()
215 bool expectedMaybeMore; in testSeriesMatcher()
[all …]
Dunits_data_test.cpp42 struct TestCase { in testGetUnitCategory() struct
43 const char *unit; in testGetUnitCategory()
44 const char *expectedCategory; in testGetUnitCategory()
106 struct TestCase { in testGetPreferencesFor() struct
107 const char *name; in testGetPreferencesFor()
108 const char *category; in testGetPreferencesFor()
109 const char *usage; in testGetPreferencesFor()
110 const char *region; in testGetPreferencesFor()
111 const char *expectedBiggest; in testGetPreferencesFor()
112 const char *expectedSmallest; in testGetPreferencesFor()
Dunits_test.cpp126 struct TestCase { in testExtractConvertibility() struct
127 const char *const source; in testExtractConvertibility()
128 const char *const target; in testExtractConvertibility()
129 const Convertibility expectedState; in testExtractConvertibility()
181 struct TestCase { in testConversionInfo() struct
182 const char *source; in testConversionInfo()
183 const char *target; in testConversionInfo()
184 const ConversionInfo expectedConversionInfo; in testConversionInfo()
270 struct TestCase { in testConverter() struct
271 const char *source; in testConverter()
[all …]
Dnumbertest_skeletons.cpp325 static struct TestCase { in flexibleSeparators() struct
326 const char16_t* skeleton; in flexibleSeparators()
327 const char16_t* expected; in flexibleSeparators()
350 struct TestCase { in wildcardCharacters() struct
351 const char16_t* star; in wildcardCharacters()
352 const char16_t* plus; in wildcardCharacters()
385 struct TestCase { in perUnitInArabic() struct
386 const char16_t* type; in perUnitInArabic()
387 const char16_t* subtype; in perUnitInArabic()
457 struct TestCase { in perUnitToSkeleton() struct
[all …]
Dnumbertest_affixutils.cpp87 static struct TestCase { in testUnescape() struct
88 const char16_t *input; in testUnescape()
89 bool currency; in testUnescape()
90 int32_t expectedLength; in testUnescape()
91 const char16_t *output; in testUnescape()
151 static struct TestCase { in testContainsReplaceType() struct
152 const char16_t *input; in testContainsReplaceType()
153 bool hasMinusSign; in testContainsReplaceType()
154 const char16_t *output; in testContainsReplaceType()
Dnumbertest_api.cpp1287 const struct TestCase { in unitSkeletons() struct
1288 const char *msg; in unitSkeletons()
1289 const char16_t *inputSkeleton; in unitSkeletons()
1290 const char16_t *normalizedSkeleton; in unitSkeletons()
2492 const struct TestCase { in unitNounClass() struct
2493 const char *locale; in unitNounClass()
2494 const char *unitIdentifier; in unitNounClass()
2495 const UDisplayOptionsNounClass expectedNounClass; in unitNounClass()
2955 const struct TestCase { in unitLocaleTags() struct
2956 const UnicodeString message; in unitLocaleTags()
[all …]
Dlocalematchertest.cpp28 struct TestCase { struct
29 int32_t lineNr = 0;
31 CharString supported;
32 CharString def;
33 UnicodeString favor;
34 UnicodeString threshold;
35 CharString desired;
36 CharString expMatch;
37 CharString expDesired;
38 CharString expCombined;
[all …]
Dlistformattertest.cpp647 struct TestCase { in TestCreateStyled() struct
648 const char* locale; in TestCreateStyled()
649 UListFormatterType type; in TestCreateStyled()
650 UListFormatterWidth width; in TestCreateStyled()
651 const char16_t* expected3; in TestCreateStyled()
652 const char16_t* expected2; in TestCreateStyled()
653 const char16_t* expected1; in TestCreateStyled()
713 struct TestCase { in TestContextual() struct
714 std::vector<std::string> locales; in TestContextual()
715 UListFormatterType type; in TestContextual()
[all …]
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
DDXTSRGBCompressedTextureTestData.inl13 struct TestCase struct
22 static const std::map<GLenum, TestCase> kTests = { argument
/third_party/skia/tests/
DSkShaperJSONWriterTest.cpp23 struct TestCase { in DEF_TEST() struct
24 size_t utf8Len; in DEF_TEST()
25 std::vector<uint32_t> clusters; in DEF_TEST()
26 std::vector<Answer> answers; in DEF_TEST()
79 struct TestCase { in DEF_TEST() struct
80 std::string utf8; in DEF_TEST()
81 std::vector<SkGlyphID> glyphIDs; in DEF_TEST()
82 std::vector<uint32_t> clusters; in DEF_TEST()
83 std::vector<Answer> answers; in DEF_TEST()
DResourceAllocatorTest.cpp208 struct TestCase { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() struct
209 ProxyParams fP1; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
210 ProxyParams fP2; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
211 bool fExpectation; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
352 struct TestCase { struct
363 const TestCase& test) { in memory_budget_test() argument
DBlendTest.cpp100 struct TestCase { in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() struct
101 RectAndSamplePoint fRectAndPoints; in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
102 SkRect fClip; in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
103 int fSampleCnt; in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
104 GrSurfaceOrigin fOrigin; in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
/third_party/skia/modules/skparagraph/tests/
DSkShaperJSONWriterTest.cpp23 struct TestCase { in DEF_TEST() struct
24 size_t utf8Len; in DEF_TEST()
25 std::vector<uint32_t> clusters; in DEF_TEST()
26 std::vector<Answer> answers; in DEF_TEST()
79 struct TestCase { in DEF_TEST() struct
80 std::string utf8; in DEF_TEST()
81 std::vector<SkGlyphID> glyphIDs; in DEF_TEST()
82 std::vector<uint32_t> clusters; in DEF_TEST()
83 std::vector<Answer> answers; in DEF_TEST()
/third_party/benchmark/test/
Dregister_benchmark_test.cc21 struct TestCase { struct
22 const std::string name;
23 const std::string label;
25 TestCase(const std::string& xname) : TestCase(xname, "") {} in TestCase() argument
26 TestCase(const std::string& xname, const std::string& xlabel) in TestCase() argument
29 typedef benchmark::BenchmarkReporter::Run Run;
31 void CheckRun(Run const& run) const { in CheckRun()
Dskip_with_error_test.cc28 struct TestCase { struct
29 std::string name;
30 bool error_occurred;
31 std::string error_message;
33 typedef benchmark::BenchmarkReporter::Run Run;
35 void CheckRun(Run const& run) const { in CheckRun()
/third_party/ffmpeg/libavformat/tests/
Dfifo_muxer.c181 typedef struct TestCase { struct
192 } TestCase; argument
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/
Dpow10_helper_test.cc28 struct TestCase { struct
29 int power; // Testing Pow10(power)
30 uint64_t significand; // Raw bits of the expected value
31 int radix; // significand is adjusted by 2^radix
/third_party/gn/src/gn/
Dbundle_data_unittest.cc8 struct TestCase { in TEST() struct
9 SourceFile source_file; in TEST()
10 SourceFile catalog_dir; in TEST()
/third_party/typescript/tests/baselines/reference/
DduplicateLocalVariable2.js2 export class TestCase { class
43 var TestCase = /** @class */ (function () { class
44 function TestCase(name, test, errorMessageRegEx) { class in anonymousFunctione6c1d9960300.TestCase
/third_party/vk-gl-cts/modules/gles3/
Dtes3TestCase.hpp48 class TestCase : public tcu::TestCase class
71 inline TestCase::TestCase (Context& context, const char* name, const char* description) in TestCase() function in deqp::gles3::TestCase
77 inline TestCase::TestCase (Context& context, tcu::TestNodeType nodeType, const char* name, const ch… in TestCase() function in deqp::gles3::TestCase
/third_party/vk-gl-cts/external/openglcts/modules/common/
DglcTestCase.hpp53 class TestCase : public tcu::TestCase class
77 inline TestCase::TestCase(Context& context, const char* name, const char* description) in TestCase() function in deqp::TestCase
82 inline TestCase::TestCase(Context& context, tcu::TestNodeType nodeType, const char* name, const cha… in TestCase() function in deqp::TestCase
/third_party/vk-gl-cts/modules/gles2/
Dtes2TestCase.hpp48 class TestCase : public tcu::TestCase class
71 inline TestCase::TestCase (Context& context, const char* name, const char* description) in TestCase() function in deqp::gles2::TestCase
77 inline TestCase::TestCase (Context& context, tcu::TestNodeType type, const char* name, const char* … in TestCase() function in deqp::gles2::TestCase
/third_party/vk-gl-cts/modules/gles31/
Dtes31TestCase.hpp48 class TestCase : public tcu::TestCase class
71 inline TestCase::TestCase (Context& context, const char* name, const char* description) in TestCase() function in deqp::gles31::TestCase
77 inline TestCase::TestCase (Context& context, tcu::TestNodeType nodeType, const char* name, const ch… in TestCase() function in deqp::gles31::TestCase

123456