Home
last modified time | relevance | path

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

1234567

/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/stringprep/
DTestIDNARef.java32 for(int i=0; i<TestData.asciiIn.length; i++){ in TestToUnicode()
34 …doTestToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNAReference.DEFAULT, null); in TestToUnicode()
35 …doTestToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNAReference.ALLOW_UNASSIGN… in TestToUnicode()
50 for(int i=0; i<TestData.asciiIn.length; i++){ in TestToASCII()
52 … doTestToASCII(new String(TestData.unicodeIn[i]),TestData.asciiIn[i],IDNAReference.DEFAULT, null); in TestToASCII()
53 …doTestToASCII(new String(TestData.unicodeIn[i]),TestData.asciiIn[i],IDNAReference.ALLOW_UNASSIGNED… in TestToASCII()
68 for(int i=0; i<TestData.domainNames.length; i++){ in TestIDNToASCII()
69 … doTestIDNToASCII(TestData.domainNames[i],TestData.domainNames[i],IDNAReference.DEFAULT, null); in TestIDNToASCII()
70 …doTestIDNToASCII(TestData.domainNames[i],TestData.domainNames[i],IDNAReference.ALLOW_UNASSIGNED, n… in TestIDNToASCII()
71 …doTestIDNToASCII(TestData.domainNames[i],TestData.domainNames[i],IDNAReference.USE_STD3_RULES, nul… in TestIDNToASCII()
[all …]
DTestIDNA.java35 for(int i=0; i<TestData.asciiIn.length; i++){ in TestToUnicode()
37 … doTestToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNA.DEFAULT, null); in TestToUnicode()
38 …doTestToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNA.ALLOW_UNASSIGNED, null); in TestToUnicode()
39 … doTestToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNA.USE_STD3_RULES, null); in TestToUnicode()
40 …doTestToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNA.USE_STD3_RULES|IDNA.ALL… in TestToUnicode()
47 for(int i=0; i<TestData.asciiIn.length; i++){ in TestToASCII()
49 doTestToASCII(new String(TestData.unicodeIn[i]),TestData.asciiIn[i],IDNA.DEFAULT, null); in TestToASCII()
50 … doTestToASCII(new String(TestData.unicodeIn[i]),TestData.asciiIn[i],IDNA.ALLOW_UNASSIGNED, null); in TestToASCII()
51 … doTestToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNA.USE_STD3_RULES, null); in TestToASCII()
52 …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/stringprep/
DTestIDNARef.java35 for(int i=0; i<TestData.asciiIn.length; i++){ in TestToUnicode()
37 …doTestToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNAReference.DEFAULT, null); in TestToUnicode()
38 …doTestToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNAReference.ALLOW_UNASSIGN… in TestToUnicode()
53 for(int i=0; i<TestData.asciiIn.length; i++){ in TestToASCII()
55 … doTestToASCII(new String(TestData.unicodeIn[i]),TestData.asciiIn[i],IDNAReference.DEFAULT, null); in TestToASCII()
56 …doTestToASCII(new String(TestData.unicodeIn[i]),TestData.asciiIn[i],IDNAReference.ALLOW_UNASSIGNED… in TestToASCII()
71 for(int i=0; i<TestData.domainNames.length; i++){ in TestIDNToASCII()
72 … doTestIDNToASCII(TestData.domainNames[i],TestData.domainNames[i],IDNAReference.DEFAULT, null); in TestIDNToASCII()
73 …doTestIDNToASCII(TestData.domainNames[i],TestData.domainNames[i],IDNAReference.ALLOW_UNASSIGNED, n… in TestIDNToASCII()
74 …doTestIDNToASCII(TestData.domainNames[i],TestData.domainNames[i],IDNAReference.USE_STD3_RULES, nul… in TestIDNToASCII()
[all …]
DTestIDNA.java38 for(int i=0; i<TestData.asciiIn.length; i++){ in TestToUnicode()
40 … doTestToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNA.DEFAULT, null); in TestToUnicode()
41 …doTestToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNA.ALLOW_UNASSIGNED, null); in TestToUnicode()
42 … doTestToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNA.USE_STD3_RULES, null); in TestToUnicode()
43 …doTestToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNA.USE_STD3_RULES|IDNA.ALL… in TestToUnicode()
50 for(int i=0; i<TestData.asciiIn.length; i++){ in TestToASCII()
52 doTestToASCII(new String(TestData.unicodeIn[i]),TestData.asciiIn[i],IDNA.DEFAULT, null); in TestToASCII()
53 … doTestToASCII(new String(TestData.unicodeIn[i]),TestData.asciiIn[i],IDNA.ALLOW_UNASSIGNED, null); in TestToASCII()
54 … doTestToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNA.USE_STD3_RULES, null); in TestToASCII()
55 …doTestToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNA.USE_STD3_RULES|IDNA.ALL… in TestToASCII()
[all …]
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/
DArchiveStreamFactoryTest.java165 static class TestData { class in ArchiveStreamFactoryTest
173TestData(final String testFile, final String type, final boolean hasOut, final String expectedEnco… in TestData() method in ArchiveStreamFactoryTest.TestData
275 static final TestData[] TESTS = {
276 … new TestData("bla.arj", ArchiveStreamFactory.ARJ, false, ARJ_DEFAULT, FACTORY, "charsetName"),
277 … new TestData("bla.arj", ArchiveStreamFactory.ARJ, false, "UTF-8", FACTORY_UTF8, "charsetName"),
278 … new TestData("bla.arj", ArchiveStreamFactory.ARJ, false, "ASCII", FACTORY_ASCII, "charsetName"),
279 …new TestData("bla.arj", ArchiveStreamFactory.ARJ, false, "UTF-8", FACTORY_SET_UTF8, "charsetName"),
280 …new TestData("bla.arj", ArchiveStreamFactory.ARJ, false, "ASCII", FACTORY_SET_ASCII, "charsetName"…
282 … new TestData("bla.cpio", ArchiveStreamFactory.CPIO, true, CPIO_DEFAULT, FACTORY, "encoding"),
283 … new TestData("bla.cpio", ArchiveStreamFactory.CPIO, true, "UTF-8", FACTORY_UTF8, "encoding"),
[all …]
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/test/flow/operators/
DOnCompletionTest.kt123 sealed class TestData { in <lambda>() class in kotlinx.coroutines.flow.OnCompletionTest
124 data class Value(val i: Int) : TestData() in <lambda>()
125 data class Done(val e: Throwable?) : TestData() { in <lambda>()
134 val collected = ArrayList<TestData>() in <lambda>()
137 .map<Int, TestData> { TestData.Value(it) } in <lambda>()
139 value as TestData.Value in <lambda>()
147 emit(TestData.Done(e)) in <lambda>()
152 val expected = (1..5).map { TestData.Value(it) } + TestData.Done(TestException("OK")) in <lambda>()
160 val collected = ArrayList<TestData>() in <lambda>()
164 .map<Int, TestData> { TestData.Value(it) } in <lambda>()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/bidi/
DTestClassOverride.java28 private static final int DEF = TestData.DEF;
29 private static final int L = TestData.L;
30 private static final int R = TestData.R;
31 private static final int AL = TestData.AL;
32 private static final int AN = TestData.AN;
33 private static final int EN = TestData.EN;
34 private static final int LRE = TestData.LRE;
35 private static final int RLE = TestData.RLE;
36 private static final int LRO = TestData.LRO;
37 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/apache-commons-compress/src/test/java/org/apache/commons/compress/compressors/
DDetectCompressorTestCase.java62 static class TestData { class in DetectCompressorTestCase
67TestData(final String name, final char[] names, final CompressorStreamFactory factory, final boole… in TestData() method in DetectCompressorTestCase.TestData
75 private final TestData[] tests = {
76 new TestData("multiple.bz2", new char[]{'a','b'}, factoryTrue, true),
77 new TestData("multiple.bz2", new char[]{'a','b'}, factorySetTrue, true),
78 new TestData("multiple.bz2", new char[]{'a'}, factoryFalse, false),
79 new TestData("multiple.bz2", new char[]{'a'}, factorySetFalse, false),
80 new TestData("multiple.bz2", new char[]{'a'}, factory, false),
82 new TestData("multiple.gz", new char[]{'a','b'}, factoryTrue, true),
83 new TestData("multiple.gz", new char[]{'a','b'}, factorySetTrue, true),
[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/scudo/standalone/tests/
Dmutex_test.cpp16 class TestData { class
18 explicit TestData(scudo::HybridMutex &M) : Mutex(M) { in TestData() function in TestData
66 TestData *Data = reinterpret_cast<TestData *>(Param); in lockThread()
75 TestData *Data = reinterpret_cast<TestData *>(Param); in tryThread()
86 TestData Data(M); in TEST()
97 TestData Data(M); in TEST()
/external/catch2/projects/SelfTest/UsageTests/
DCondition.tests.cpp28 struct TestData { struct
58 TestData data;
73 TestData data;
94 TestData data;
111 TestData data;
123 TestData data;
150 TestData data;
272 TestData* p = nullptr;
273 TestData* pNULL = nullptr;
278 TestData data;
[all …]
/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()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/
DModuleTest.java19 import android.icu.dev.test.TestDataModule.TestData;
55 static TestData openTestData(TestDataModule module, String name) throws DataModuleFormatError { in openTestData()
60 public TestData td;
63 public TestDataPair(TestData td, DataMap dm) { in TestDataPair()
73 Iterator<TestData> tIter = m.getTestDataIterator(); in getTestData()
75 TestData t = tIter.next(); in getTestData()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/
DIBMCalendarTest.java673 class TestData { in TestJB1684() class
684 public TestData(int year, int month, int date, in TestJB1684() method in IBMCalendarTest.TestData
707 TestData[] tests = { in TestJB1684()
708 new TestData(2001, 8, 6, 2001,8,2,Calendar.MONDAY, "2001 08 02 Mon", null), in TestJB1684()
709 new TestData(2001, 8, 7, 2001,8,2,Calendar.TUESDAY, "2001 08 02 Tue", null), in TestJB1684()
710 new TestData(2001, 8, 5,/*12,*/ 2001,8,2,Calendar.SUNDAY, "2001 08 02 Sun", null), in TestJB1684()
711 …new TestData(2001, 8,6, /*7, 30,*/ 2001,7,6,Calendar.MONDAY, "2001 07 06 Mon", "2001 08 02 Mon… in TestJB1684()
712 …new TestData(2001, 8,7, /*7, 31,*/ 2001,7,6,Calendar.TUESDAY, "2001 07 06 Tue", "2001 08 02 Tue… in TestJB1684()
713 … new TestData(2001, 8, 5, 2001,7,6,Calendar.SUNDAY, "2001 07 06 Sun", "2001 08 02 Sun"), in TestJB1684()
714 … 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.java670 class TestData { in TestJB1684() class
681 public TestData(int year, int month, int date, in TestJB1684() method in IBMCalendarTest.TestData
704 TestData[] tests = { in TestJB1684()
705 new TestData(2001, 8, 6, 2001,8,2,Calendar.MONDAY, "2001 08 02 Mon", null), in TestJB1684()
706 new TestData(2001, 8, 7, 2001,8,2,Calendar.TUESDAY, "2001 08 02 Tue", null), in TestJB1684()
707 new TestData(2001, 8, 5,/*12,*/ 2001,8,2,Calendar.SUNDAY, "2001 08 02 Sun", null), in TestJB1684()
708 …new TestData(2001, 8,6, /*7, 30,*/ 2001,7,6,Calendar.MONDAY, "2001 07 06 Mon", "2001 08 02 Mon… in TestJB1684()
709 …new TestData(2001, 8,7, /*7, 31,*/ 2001,7,6,Calendar.TUESDAY, "2001 07 06 Tue", "2001 08 02 Tue… in TestJB1684()
710 … new TestData(2001, 8, 5, 2001,7,6,Calendar.SUNDAY, "2001 07 06 Sun", "2001 08 02 Sun"), in TestJB1684()
711 … new TestData(2001, 7, 30, 2001,8,1,Calendar.MONDAY, "2001 08 01 Mon", "2001 07 05 Mon"), in TestJB1684()
[all …]
/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()
/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/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);
/external/skqp/tests/
DGrQuadListTest.cpp16 struct TestData { struct
96 GrTQuadList<TestData> list2D; in TEST()
134 GrTQuadList<TestData> list3D; in TEST()
204 GrTQuadList<TestData> a2D; in TEST()
206 GrTQuadList<TestData> b2D; in TEST()
221 GrTQuadList<TestData> a2D; in TEST()
223 GrTQuadList<TestData> b3D; in TEST()
238 GrTQuadList<TestData> a3D; in TEST()
240 GrTQuadList<TestData> b2D; in TEST()
255 GrTQuadList<TestData> a3D; in TEST()
[all …]
DCanvasTest.cpp229 struct TestData { struct
231 TestData() in TestData() function
330 virtual void draw(SkCanvas*, const TestData&, skiatest::Reporter*) = 0;
356 virtual void draw(SkCanvas* canvas, const TestData& d, \
368 virtual void draw(SkCanvas* canvas, const TestData& d, \
377 static void NAME##TestStep(SkCanvas* canvas, const TestData& d, \
384 static void NAME##TestStep(SkCanvas* canvas, const TestData& d, skiatest::Reporter*, \
408 static void SaveMatrixClipStep(SkCanvas* canvas, const TestData& d, in SaveMatrixClipStep()
422 static void SaveLayerStep(SkCanvas* canvas, const TestData& d, in SaveLayerStep()
431 static void BoundedSaveLayerStep(SkCanvas* canvas, const TestData& d, in BoundedSaveLayerStep()
[all …]
/external/libchrome/mojo/public/java/system/javatests/src/org/chromium/mojo/bindings/
DValidationTest.java53 private static class TestData { class in ValidationTest
90 private static List<TestData> getTestData(String prefix) throws FileNotFoundException { in getTestData()
91 List<TestData> results = new ArrayList<TestData>(); in getTestData()
104 TestData testData = new TestData(); in getTestData()
119 List<TestData> testData = getTestData(prefix); in runTest()
120 for (TestData test : testData) { in runTest()
/external/angle/src/tests/gl_tests/
DVertexAttributeTest.cpp161 struct TestData final : private angle::NonCopyable struct in __anon1389e5c20111::VertexAttributeTest
163 TestData(GLenum typeIn, in TestData() function
185 void setupTest(const TestData &test, GLint typeSize) in setupTest()
261 void runTest(const TestData &test) { runTest(test, true); } in runTest()
263 void runTest(const TestData &test, bool checkPixelEqual) in runTest()
426 TestData data(GL_UNSIGNED_BYTE, GL_FALSE, Source::IMMEDIATE, inputData.data(), in TEST_P()
441 TestData data(GL_UNSIGNED_BYTE, GL_TRUE, Source::IMMEDIATE, inputData.data(), in TEST_P()
456 TestData data(GL_BYTE, GL_FALSE, Source::IMMEDIATE, inputData.data(), expectedData.data()); in TEST_P()
470 TestData data(GL_BYTE, GL_TRUE, Source::IMMEDIATE, inputData.data(), expectedData.data()); in TEST_P()
484 TestData data(GL_UNSIGNED_SHORT, GL_FALSE, Source::IMMEDIATE, inputData.data(), in TEST_P()
[all …]

1234567