Home
last modified time | relevance | path

Searched refs:TestData (Results 1 – 25 of 136) sorted by relevance

123456

/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/shaping/
DArabicShapingRegTest.java52 public static class TestData { class in ArabicShapingRegTest
64 public static TestData standard(String source, int flags, String result) { in standard()
65 return new TestData(STANDARD, source, flags, result, 0, null); in standard()
68 public static TestData preflight(String source, int flags, int length) { in preflight()
69 return new TestData(PREFLIGHT, source, flags, null, length, null); in preflight()
72 public static TestData error(String source, int flags, Class error) { in error()
73 return new TestData(ERROR, source, flags, null, 0, error); in error()
76 … private TestData(int type, String source, int flags, String result, int length, Class error) { in TestData() method in ArabicShapingRegTest.TestData
202 private static final TestData[] standardTests = {
204 TestData.standard(lamAlefSpecialVLTR,
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/shaping/
DArabicShapingRegTest.java51 public static class TestData { class in ArabicShapingRegTest
63 public static TestData standard(String source, int flags, String result) { in standard()
64 return new TestData(STANDARD, source, flags, result, 0, null); in standard()
67 public static TestData preflight(String source, int flags, int length) { in preflight()
68 return new TestData(PREFLIGHT, source, flags, null, length, null); in preflight()
71 public static TestData error(String source, int flags, Class error) { in error()
72 return new TestData(ERROR, source, flags, null, 0, error); in error()
75 … private TestData(int type, String source, int flags, String result, int length, Class error) { in TestData() method in ArabicShapingRegTest.TestData
201 private static final TestData[] standardTests = {
203 TestData.standard(lamAlefSpecialVLTR,
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/stringprep/
DTestIDNARef.java30 for(int i=0; i<TestData.asciiIn.length; i++){ in TestToUnicode()
32 …doTestToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNAReference.DEFAULT, null); in TestToUnicode()
33 …doTestToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNAReference.ALLOW_UNASSIGN… in TestToUnicode()
48 for(int i=0; i<TestData.asciiIn.length; i++){ in TestToASCII()
50 … doTestToASCII(new String(TestData.unicodeIn[i]),TestData.asciiIn[i],IDNAReference.DEFAULT, null); in TestToASCII()
51 …doTestToASCII(new String(TestData.unicodeIn[i]),TestData.asciiIn[i],IDNAReference.ALLOW_UNASSIGNED… in TestToASCII()
66 for(int i=0; i<TestData.domainNames.length; i++){ in TestIDNToASCII()
67 … doTestIDNToASCII(TestData.domainNames[i],TestData.domainNames[i],IDNAReference.DEFAULT, null); in TestIDNToASCII()
68 …doTestIDNToASCII(TestData.domainNames[i],TestData.domainNames[i],IDNAReference.ALLOW_UNASSIGNED, n… in TestIDNToASCII()
69 …doTestIDNToASCII(TestData.domainNames[i],TestData.domainNames[i],IDNAReference.USE_STD3_RULES, nul… in TestIDNToASCII()
[all …]
DTestIDNA.java33 for(int i=0; i<TestData.asciiIn.length; i++){ in TestToUnicode()
35 … doTestToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNA.DEFAULT, null); in TestToUnicode()
36 …doTestToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNA.ALLOW_UNASSIGNED, null); in TestToUnicode()
37 … doTestToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNA.USE_STD3_RULES, null); in TestToUnicode()
38 …doTestToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNA.USE_STD3_RULES|IDNA.ALL… in TestToUnicode()
45 for(int i=0; i<TestData.asciiIn.length; i++){ in TestToASCII()
47 doTestToASCII(new String(TestData.unicodeIn[i]),TestData.asciiIn[i],IDNA.DEFAULT, null); in TestToASCII()
48 … doTestToASCII(new String(TestData.unicodeIn[i]),TestData.asciiIn[i],IDNA.ALLOW_UNASSIGNED, null); in TestToASCII()
49 … doTestToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNA.USE_STD3_RULES, null); in TestToASCII()
50 …doTestToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNA.USE_STD3_RULES|IDNA.ALL… in TestToASCII()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/stringprep/
DTestIDNARef.java29 for(int i=0; i<TestData.asciiIn.length; i++){ in TestToUnicode()
31 …doTestToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNAReference.DEFAULT, null); in TestToUnicode()
32 …doTestToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNAReference.ALLOW_UNASSIGN… in TestToUnicode()
47 for(int i=0; i<TestData.asciiIn.length; i++){ in TestToASCII()
49 … doTestToASCII(new String(TestData.unicodeIn[i]),TestData.asciiIn[i],IDNAReference.DEFAULT, null); in TestToASCII()
50 …doTestToASCII(new String(TestData.unicodeIn[i]),TestData.asciiIn[i],IDNAReference.ALLOW_UNASSIGNED… in TestToASCII()
65 for(int i=0; i<TestData.domainNames.length; i++){ in TestIDNToASCII()
66 … doTestIDNToASCII(TestData.domainNames[i],TestData.domainNames[i],IDNAReference.DEFAULT, null); in TestIDNToASCII()
67 …doTestIDNToASCII(TestData.domainNames[i],TestData.domainNames[i],IDNAReference.ALLOW_UNASSIGNED, n… in TestIDNToASCII()
68 …doTestIDNToASCII(TestData.domainNames[i],TestData.domainNames[i],IDNAReference.USE_STD3_RULES, nul… in TestIDNToASCII()
[all …]
DTestIDNA.java32 for(int i=0; i<TestData.asciiIn.length; i++){ in TestToUnicode()
34 … doTestToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNA.DEFAULT, null); in TestToUnicode()
35 …doTestToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNA.ALLOW_UNASSIGNED, null); in TestToUnicode()
36 … doTestToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNA.USE_STD3_RULES, null); in TestToUnicode()
37 …doTestToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNA.USE_STD3_RULES|IDNA.ALL… in TestToUnicode()
44 for(int i=0; i<TestData.asciiIn.length; i++){ in TestToASCII()
46 doTestToASCII(new String(TestData.unicodeIn[i]),TestData.asciiIn[i],IDNA.DEFAULT, null); in TestToASCII()
47 … doTestToASCII(new String(TestData.unicodeIn[i]),TestData.asciiIn[i],IDNA.ALLOW_UNASSIGNED, null); in TestToASCII()
48 … doTestToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNA.USE_STD3_RULES, null); in TestToASCII()
49 …doTestToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNA.USE_STD3_RULES|IDNA.ALL… in TestToASCII()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/bidi/
DTestClassOverride.java26 private static final int DEF = TestData.DEF;
27 private static final int L = TestData.L;
28 private static final int R = TestData.R;
29 private static final int AL = TestData.AL;
30 private static final int AN = TestData.AN;
31 private static final int EN = TestData.EN;
32 private static final int LRE = TestData.LRE;
33 private static final int RLE = TestData.RLE;
34 private static final int LRO = TestData.LRO;
35 private static final int RLO = TestData.RLO;
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/bidi/
DTestClassOverride.java25 private static final int DEF = TestData.DEF;
26 private static final int L = TestData.L;
27 private static final int R = TestData.R;
28 private static final int AL = TestData.AL;
29 private static final int AN = TestData.AN;
30 private static final int EN = TestData.EN;
31 private static final int LRE = TestData.LRE;
32 private static final int RLE = TestData.RLE;
33 private static final int LRO = TestData.LRO;
34 private static final int RLO = TestData.RLO;
[all …]
/external/compiler-rt/lib/tsan/tests/unit/
Dtsan_mutex_test.cc23 class TestData { class
25 explicit TestData(MutexType *mtx) in TestData() function in __tsan::TestData
75 TestData<MutexType> *data = (TestData<MutexType>*)param; in write_mutex_thread()
85 TestData<MutexType> *data = (TestData<MutexType>*)param; in read_mutex_thread()
98 TestData<Mutex> data(&mtx); in TEST()
108 TestData<Mutex> data(&mtx); in TEST()
118 TestData<SpinMutex> data(&mtx); in TEST()
/external/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_mutex_test.cc25 class TestData { class
27 explicit TestData(MutexType *mtx) in TestData() function in __sanitizer::TestData
79 TestData<MutexType> *data = (TestData<MutexType>*)param; in lock_thread()
89 TestData<MutexType> *data = (TestData<MutexType>*)param; in try_thread()
106 TestData<SpinMutex> data(&mtx); in TEST()
117 TestData<SpinMutex> data(&mtx); in TEST()
128 TestData<BlockingMutex> data(mtx); in TEST()
/external/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/test/
DModuleTest.java18 import com.ibm.icu.dev.test.TestDataModule.TestData;
52 static TestData openTestData(TestDataModule module, String name) throws DataModuleFormatError { in openTestData()
57 public TestData td;
60 public TestDataPair(TestData td, DataMap dm) { in TestDataPair()
70 Iterator<TestData> tIter = m.getTestDataIterator(); in getTestData()
72 TestData t = tIter.next(); in getTestData()
DTestDataModule.java34 public TestData getTestData(String name) throws DataModuleFormatError; in getTestData()
67 public static interface TestData { interface
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/
DModuleTest.java19 import android.icu.dev.test.TestDataModule.TestData;
53 static TestData openTestData(TestDataModule module, String name) throws DataModuleFormatError { in openTestData()
58 public TestData td;
61 public TestDataPair(TestData td, DataMap dm) { in TestDataPair()
71 Iterator<TestData> tIter = m.getTestDataIterator(); in getTestData()
73 TestData t = tIter.next(); in getTestData()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/
DIBMCalendarTest.java668 class TestData { in TestJB1684() class
679 public TestData(int year, int month, int date, in TestJB1684() method in IBMCalendarTest.TestData
702 TestData[] tests = { in TestJB1684()
703 new TestData(2001, 8, 6, 2001,8,2,Calendar.MONDAY, "2001 08 02 Mon", null), in TestJB1684()
704 new TestData(2001, 8, 7, 2001,8,2,Calendar.TUESDAY, "2001 08 02 Tue", null), in TestJB1684()
705 new TestData(2001, 8, 5,/*12,*/ 2001,8,2,Calendar.SUNDAY, "2001 08 02 Sun", null), in TestJB1684()
706 …new TestData(2001, 8,6, /*7, 30,*/ 2001,7,6,Calendar.MONDAY, "2001 07 06 Mon", "2001 08 02 Mon… in TestJB1684()
707 …new TestData(2001, 8,7, /*7, 31,*/ 2001,7,6,Calendar.TUESDAY, "2001 07 06 Tue", "2001 08 02 Tue… in TestJB1684()
708 … new TestData(2001, 8, 5, 2001,7,6,Calendar.SUNDAY, "2001 07 06 Sun", "2001 08 02 Sun"), in TestJB1684()
709 … new TestData(2001, 7, 30, 2001,8,1,Calendar.MONDAY, "2001 08 01 Mon", "2001 07 05 Mon"), in TestJB1684()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
DIBMCalendarTest.java667 class TestData { in TestJB1684() class
678 public TestData(int year, int month, int date, in TestJB1684() method in IBMCalendarTest.TestData
701 TestData[] tests = { in TestJB1684()
702 new TestData(2001, 8, 6, 2001,8,2,Calendar.MONDAY, "2001 08 02 Mon", null), in TestJB1684()
703 new TestData(2001, 8, 7, 2001,8,2,Calendar.TUESDAY, "2001 08 02 Tue", null), in TestJB1684()
704 new TestData(2001, 8, 5,/*12,*/ 2001,8,2,Calendar.SUNDAY, "2001 08 02 Sun", null), in TestJB1684()
705 …new TestData(2001, 8,6, /*7, 30,*/ 2001,7,6,Calendar.MONDAY, "2001 07 06 Mon", "2001 08 02 Mon… in TestJB1684()
706 …new TestData(2001, 8,7, /*7, 31,*/ 2001,7,6,Calendar.TUESDAY, "2001 07 06 Tue", "2001 08 02 Tue… in TestJB1684()
707 … new TestData(2001, 8, 5, 2001,7,6,Calendar.SUNDAY, "2001 07 06 Sun", "2001 08 02 Sun"), in TestJB1684()
708 … new TestData(2001, 7, 30, 2001,8,1,Calendar.MONDAY, "2001 08 01 Mon", "2001 07 05 Mon"), in TestJB1684()
[all …]
/external/libmojo/mojo/message_pump/
Dhandle_watcher_perftest.cc112 struct TestData { in TEST_P() struct
116 ScopedVector<TestData> data_vector; in TEST_P()
120 std::unique_ptr<TestData> test_data(new TestData); in TEST_P()
129 TestData* test_data = data_vector[i]; in TEST_P()
135 TestData* test_data = data_vector[i]; in TEST_P()
173 struct TestData { in TEST_P() struct
177 ScopedVector<TestData> data_vector; in TEST_P()
179 std::unique_ptr<TestData> test_data(new TestData); in TEST_P()
/external/icu/icu4c/source/tools/ctestfw/
Dtestdata.cpp14 TestData::TestData(const char* testName) in TestData() function in TestData
27 TestData::~TestData() { in ~TestData()
39 const char * TestData::getName() const in getName()
47 : TestData(testName), in RBTestData()
56 : TestData(ures_getKey(data)), in RBTestData()
Dtstdtmod.cpp154 TestData* RBTestDataModule::createTestData(int32_t index, UErrorCode &status) const in createTestData()
156 TestData *result = NULL; in createTestData()
182 TestData* RBTestDataModule::createTestData(const char* name, UErrorCode &status) const in createTestData()
184 TestData *result = NULL; in createTestData()
/external/drm_hwcomposer/tests/
Dqueue_worker_test.cpp13 struct TestData { struct
14 TestData(int val) : value(val) { in TestData() function
16 virtual ~TestData() { in ~TestData() argument
26 struct TestQueueWorker : public QueueWorker<TestData> { argument
35 void ProcessWork(std::unique_ptr<TestData> data) { in ProcessWork()
63 std::unique_ptr<TestData> data(new TestData(val)); in QueueValue()
146 struct SlowData : public TestData { in TEST_F()
147 SlowData(int val) : TestData(val) { in TEST_F()
/external/icu/icu4c/source/tools/ctestfw/unicode/
Dtstdtmod.h30 class TestData; variable
77 virtual TestData* createTestData(int32_t index, UErrorCode &status) const = 0;
84 virtual TestData* createTestData(const char* name, UErrorCode &status) const = 0;
97 virtual TestData* createTestData(int32_t index, UErrorCode &status) const;
98 virtual TestData* createTestData(const char* name, UErrorCode &status) const;
Dtestdata.h40 class T_CTEST_EXPORT_API TestData {
52 TestData(const char* name);
55 virtual ~TestData();
89 class T_CTEST_EXPORT_API RBTestData : public TestData {
/external/libmojo/mojo/android/javatests/src/org/chromium/mojo/bindings/
DValidationTest.java43 private static class TestData { class in ValidationTest
78 private static List<TestData> getTestData(String prefix) in getTestData()
80 List<TestData> results = new ArrayList<TestData>(); in getTestData()
93 TestData testData = new TestData(); in getTestData()
108 List<TestData> testData = getTestData(prefix); in runTest()
109 for (TestData test : testData) { in runTest()
/external/icu/icu4c/source/test/intltest/
Ddadrcal.h28 class TestData; variable
41 void processTest(TestData *testData);
43 void testConvert(TestData *testData, const DataMap *settings, UBool fwd);
44 void testOps(TestData *testData, const DataMap *settings);
Ddadrfmt.h28 class TestData; variable
41 void processTest(TestData *testData);
43 void testConvertDate(TestData *testData, const DataMap *settings, UBool fmt);
/external/skia/tests/
DCanvasTest.cpp205 struct TestData { struct
207 TestData() in TestData() function
306 virtual void draw(SkCanvas*, const TestData&, skiatest::Reporter*) = 0;
332 virtual void draw(SkCanvas* canvas, const TestData& d, \
344 virtual void draw(SkCanvas* canvas, const TestData& d, \
353 static void NAME##TestStep(SkCanvas* canvas, const TestData& d, \
360 static void NAME##TestStep(SkCanvas* canvas, const TestData& d, \
386 static void SaveMatrixClipStep(SkCanvas* canvas, const TestData& d, in SaveMatrixClipStep()
401 static void SaveLayerStep(SkCanvas* canvas, const TestData& d, in SaveLayerStep()
411 static void BoundedSaveLayerStep(SkCanvas* canvas, const TestData& d, in BoundedSaveLayerStep()
[all …]

123456