Home
last modified time | relevance | path

Searched refs:runTest (Results 1 – 25 of 175) sorted by relevance

1234567

/third_party/typescript/tests/cases/fourslash/
DformattingOptionsChange.ts22 runTest("insertSpaceAfterCommaDelimiter", "[1, 2, 3];[72,];", "[1,2,3];[72,];");
23 runTest("insertSpaceAfterSemicolonInForStatements", "for (i = 0; i; i++);", "for (i = 0;i;i++);");
24 runTest("insertSpaceBeforeAndAfterBinaryOperators", "1 + 2 - 3", "1+2-3");
25 runTest("insertSpaceAfterKeywordsInControlFlowStatements", "if (true) { }", "if(true) { }");
26 runTest("insertSpaceAfterFunctionKeywordForAnonymousFunctions", "(function () { })", "(function() {…
27 runTest("insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis", " ( 1 )", " (1)");
28 runTest("insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets", "[ 1 ];[];[];[ , ];", "[1];[];[]…
29 runTest("insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces", "`${ 1 }`; `${ 1 }`", "`${1}…
30 runTest("insertSpaceAfterTypeAssertion", "const bar = <Bar> Thing.getFoo();", "const bar = <Bar>Thi…
31 runTest("insertSpaceBeforeTypeAnnotation", "const bar : number = 1;", "const bar: number = 1;");
[all …]
DformattingOptionsChangeJsx.ts10 runTest("1", "<Madoka homu={ true } saya={ (true) } />;", "<Madoka homu={true} saya={(true)} />;");
11 runTest("2", " { ...this._getButtonProps() }", " {...this._getButtonProps()}");
14 function runTest(markerName: string, expectedStringWhenTrue: string, expectedStringWhenFalse: strin… function
/third_party/flutter/skia/third_party/externals/angle2/src/tests/gl_tests/
DIndexedPointsTest.cpp111 void runTest(GLuint firstIndex, bool useVertexBufferWithColor = false) in runTest() function in IndexedPointsTest
195 runTest(0); in TEST_P()
200 runTest(1); in TEST_P()
205 runTest(2); in TEST_P()
210 runTest(3); in TEST_P()
218 runTest(0, true); in TEST_P()
226 runTest(1, true); in TEST_P()
234 runTest(2, true); in TEST_P()
242 runTest(3, true); in TEST_P()
249 runTest(0); in TEST_P()
[all …]
DD3DImageFormatConversionTest.cpp62 void runTest(GLenum tex2DFormat, GLenum tex2DType) in runTest() function in __anon711538ff0111::D3DImageFormatConversionTest
129 runTest<R4G4B4A4>(GL_RGBA, GL_UNSIGNED_SHORT_4_4_4_4); in TEST_P()
135 runTest<R5G5B5A1>(GL_RGBA, GL_UNSIGNED_SHORT_5_5_5_1); in TEST_P()
141 runTest<R5G6B5>(GL_RGB, GL_UNSIGNED_SHORT_5_6_5); in TEST_P()
147 runTest<R8G8B8A8>(GL_RGBA, GL_UNSIGNED_BYTE); in TEST_P()
154 runTest<R8G8B8>(GL_RGB, GL_UNSIGNED_BYTE); in TEST_P()
DLineLoopTest.cpp46 void runTest(GLenum indexType, GLuint indexBuffer, const void *indexPtr) in runTest() function in LineLoopTest
102 runTest(GL_UNSIGNED_BYTE, 0, indices + 1); in TEST_P()
111 runTest(GL_UNSIGNED_SHORT, 0, indices + 1); in TEST_P()
125 runTest(GL_UNSIGNED_INT, 0, indices + 1); in TEST_P()
140 runTest(GL_UNSIGNED_BYTE, buf, reinterpret_cast<const void *>(sizeof(GLubyte))); in TEST_P()
157 runTest(GL_UNSIGNED_SHORT, buf, reinterpret_cast<const void *>(sizeof(GLushort))); in TEST_P()
179 runTest(GL_UNSIGNED_INT, buf, reinterpret_cast<const void *>(sizeof(GLuint))); in TEST_P()
DBuiltinVariableTest.cpp80 void runTest(GLuint drawMode, const std::vector<GLint> &indices, int count) in runTest() function in BuiltinVariableVertexIdTest
147 runTest(GL_POINTS, makeRange(4), 4); in TEST_P()
153 runTest(GL_LINE_STRIP, makeRange(4), 4); in TEST_P()
159 runTest(GL_LINE_LOOP, makeRange(4), 4); in TEST_P()
165 runTest(GL_LINES, makeRange(4), 4); in TEST_P()
171 runTest(GL_TRIANGLE_STRIP, makeRange(4), 4); in TEST_P()
182 runTest(GL_TRIANGLE_FAN, indices, 4); in TEST_P()
195 runTest(GL_TRIANGLES, indices, 6); in TEST_P()
DDXTSRGBCompressedTextureTest.cpp87 void runTest(GLenum format) in runTest() function in DXTSRGBCompressedTextureTest
127 runTest(GL_COMPRESSED_SRGB_S3TC_DXT1_EXT); in TEST_P()
133 runTest(GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT); in TEST_P()
139 runTest(GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT); in TEST_P()
145 runTest(GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT); in TEST_P()
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
DIndexedPointsTest.cpp111 void runTest(GLuint firstIndex, bool useVertexBufferWithColor = false) in runTest() function in IndexedPointsTest
197 runTest(0); in TEST_P()
204 runTest(1); in TEST_P()
211 runTest(2); in TEST_P()
218 runTest(3); in TEST_P()
226 runTest(0, true); in TEST_P()
234 runTest(1, true); in TEST_P()
242 runTest(2, true); in TEST_P()
250 runTest(3, true); in TEST_P()
259 runTest(0); in TEST_P()
[all …]
DBlendIntegerTest.cpp44 void runTest() in runTest() function in BlendIntegerTest
206 runTest<GL_R8I, 1, true>(); in TEST_P()
211 runTest<GL_R16I, 1, true>(); in TEST_P()
216 runTest<GL_R32I, 1, true>(); in TEST_P()
221 runTest<GL_RG8I, 2, true>(); in TEST_P()
226 runTest<GL_RG16I, 2, true>(); in TEST_P()
231 runTest<GL_RG32I, 2, true>(); in TEST_P()
236 runTest<GL_RGBA8I, 4, true>(); in TEST_P()
241 runTest<GL_RGBA16I, 4, true>(); in TEST_P()
246 runTest<GL_RGBA32I, 4, true>(); in TEST_P()
[all …]
DIndexBufferOffsetTest.cpp117 void runTest(GLenum type, in runTest() function in IndexBufferOffsetTest
238 runTest(GL_UNSIGNED_BYTE, 1, indexData, UpdateType::FullUpdate, false); in TEST_P()
245 runTest(GL_UNSIGNED_SHORT, 2, indexData, UpdateType::FullUpdate, false); in TEST_P()
255 runTest(GL_UNSIGNED_INT, 4, indexData, UpdateType::FullUpdate, false); in TEST_P()
262 runTest(GL_UNSIGNED_BYTE, 1, indexData, UpdateType::SmallUpdate, false); in TEST_P()
269 runTest(GL_UNSIGNED_SHORT, 2, indexData, UpdateType::SmallUpdate, false); in TEST_P()
279 runTest(GL_UNSIGNED_INT, 4, indexData, UpdateType::SmallUpdate, false); in TEST_P()
292 runTest(GL_UNSIGNED_BYTE, 1, indexData, UpdateType::FullUpdate, true); in TEST_P()
302 runTest(GL_UNSIGNED_SHORT, 2, indexData, UpdateType::FullUpdate, true); in TEST_P()
315 runTest(GL_UNSIGNED_INT, 4, indexData, UpdateType::FullUpdate, true); in TEST_P()
[all …]
DBlendPackedTest.cpp26 void runTest() in runTest() function in BlendPackedTest
74 runTest<GL_RGB565, 3>(); in TEST_P()
79 runTest<GL_RGBA4, 4>(); in TEST_P()
86 runTest<GL_RGB5_A1, 4>(); in TEST_P()
92 runTest<GL_RGB10_A2, 4>(); in TEST_P()
DD3DImageFormatConversionTest.cpp62 void runTest(GLenum tex2DFormat, GLenum tex2DType) in runTest() function in __anon93abe84a0111::D3DImageFormatConversionTest
129 runTest<R4G4B4A4>(GL_RGBA, GL_UNSIGNED_SHORT_4_4_4_4); in TEST_P()
135 runTest<R5G5B5A1>(GL_RGBA, GL_UNSIGNED_SHORT_5_5_5_1); in TEST_P()
141 runTest<R5G6B5>(GL_RGB, GL_UNSIGNED_SHORT_5_6_5); in TEST_P()
147 runTest<R8G8B8A8>(GL_RGBA, GL_UNSIGNED_BYTE); in TEST_P()
154 runTest<R8G8B8>(GL_RGB, GL_UNSIGNED_BYTE); in TEST_P()
DLineLoopTest.cpp107 void runTest(GLenum indexType, GLuint indexBuffer, const void *indexPtr) in runTest() function in LineLoopTest
149 runTest(GL_UNSIGNED_BYTE, 0, indices + 1); in TEST_P()
158 runTest(GL_UNSIGNED_SHORT, 0, indices + 1); in TEST_P()
172 runTest(GL_UNSIGNED_INT, 0, indices + 1); in TEST_P()
186 runTest(GL_UNSIGNED_BYTE, buf, reinterpret_cast<const void *>(sizeof(GLubyte))); in TEST_P()
200 runTest(GL_UNSIGNED_SHORT, buf, reinterpret_cast<const void *>(sizeof(GLushort))); in TEST_P()
219 runTest(GL_UNSIGNED_INT, buf, reinterpret_cast<const void *>(sizeof(GLuint))); in TEST_P()
243 runTest(GL_UNSIGNED_BYTE, buf, reinterpret_cast<const void *>(sizeof(GLubyte))); in TEST_P()
270 runTest(GL_UNSIGNED_SHORT, buf, reinterpret_cast<const void *>(sizeof(GLushort))); in TEST_P()
302 runTest(GL_UNSIGNED_INT, buf, reinterpret_cast<const void *>(sizeof(GLuint))); in TEST_P()
[all …]
DBuiltinVariableTest.cpp80 void runTest(GLuint drawMode, const std::vector<GLint> &indices, int count) in runTest() function in BuiltinVariableVertexIdTest
147 runTest(GL_POINTS, makeRange(4), 4); in TEST_P()
153 runTest(GL_LINE_STRIP, makeRange(4), 4); in TEST_P()
159 runTest(GL_LINE_LOOP, makeRange(4), 4); in TEST_P()
165 runTest(GL_LINES, makeRange(4), 4); in TEST_P()
171 runTest(GL_TRIANGLE_STRIP, makeRange(4), 4); in TEST_P()
182 runTest(GL_TRIANGLE_FAN, indices, 4); in TEST_P()
195 runTest(GL_TRIANGLES, indices, 6); in TEST_P()
DDXTSRGBCompressedTextureTest.cpp87 void runTest(GLenum format) in runTest() function in DXTSRGBCompressedTextureTest
127 runTest(GL_COMPRESSED_SRGB_S3TC_DXT1_EXT); in TEST_P()
133 runTest(GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT); in TEST_P()
139 runTest(GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT); in TEST_P()
145 runTest(GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT); in TEST_P()
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/unittest/
DIceParseInstsTest.cpp54 EXPECT_FALSE(DumpMunger.runTest()); in TEST()
62 EXPECT_FALSE(Munger.runTest(ParseError)); in TEST()
68 EXPECT_DEATH(Munger.runTest(ParseError), ".*ERROR: Unable to continue.*"); in TEST()
142 EXPECT_TRUE(DumpMunger.runTest()); in TEST()
149 EXPECT_TRUE(Munger.runTest()); in TEST()
161 EXPECT_TRUE(Munger.runTest(ARRAY(Align0))); in TEST()
176 EXPECT_FALSE(Munger.runTest(ARRAY(Align30), ParseError)); in TEST()
197 EXPECT_TRUE(Munger.runTest(ARRAY(Align29))); in TEST()
269 EXPECT_TRUE(DumpMunger.runTest()); in TEST()
274 EXPECT_TRUE(Munger.runTest()); in TEST()
[all …]
DBitcodeMunge.h43 bool runTest(const uint64_t Munges[], size_t MungeSize,
47 bool runTest(bool DisableTranslation = false) {
49 return runTest(NoMunges, 0, DisableTranslation);
/third_party/typescript/src/testRunner/unittests/
DconvertToBase64.ts3 function runTest(input: string): void { function
11runTest(" !\"#$ %&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstu…
15 runTest("\t\n\r\\\"\'\u0062");
19 runTest("ΠΣ ٵپ औठ ⺐⺠");
23 runTest(`/// <reference path="file.ts" />
29 runTest(`var Π = 3.1415; console.log(Π);`);
/third_party/node/test/parallel/
Dtest-module-loading-globalpaths.js35 const runTest = (expectedString, env) => { function
62 runTest('$HOME/.node_modules', env);
67 runTest('$HOME/.node_libraries', env);
72 runTest('$HOME/.node_modules', env);
85 runTest(expectedString, env);
89 runTest('$HOME/.node_modules', env);
94 runTest('$NODE_PATH', env);
Dtest-stream2-readable-wrap.js29 function runTest(highWaterMark, objectMode, produce) { function
86 runTest(100, false, function() { return Buffer.allocUnsafe(100); });
87 runTest(10, false, function() { return Buffer.from('xxxxxxxxxx'); });
88 runTest(1, true, function() { return { foo: 'bar' }; });
91 runTest(1, true, function() { return objectChunks.shift(); });
Dtest-dummy-stdio.js9 function runTest(fd, streamName, testOutputStream, expectedName) { function
27 runTest(0, 'stdin', 'stdout', 'Readable');
28 runTest(1, 'stdout', 'stderr', 'Writable');
29 runTest(2, 'stderr', 'stdout', 'Writable');
Dtest-fs-readSync-optional-params.js12 function runTest(defaultBuffer, options) { function
19 runTest(Buffer.allocUnsafe(expected.length), { position: 0 });
22 runTest(Buffer.allocUnsafe(expected.length));
25 runTest(Buffer.allocUnsafe(expected.length), { offset: 0,
Dtest-tls-alpn-server-client.js22 function runTest(clientsOptions, serverOptions, cb) { function
74 runTest(clientsOptions, serverOptions, function(results) {
100 runTest(clientsOptions, serverOptions, function(results) {
130 runTest(clientsOptions, serverOptions, function(results) {
152 runTest(clientsOptions, serverOptions, function(results) {
/third_party/skia/third_party/externals/angle2/src/common/
Dstring_utils_unittest.cpp236 void runTest() in runTest() function in __anon18b9f6050111::BeginsWithTest
256 runTest(); in TEST_F()
263 runTest(); in TEST_F()
270 runTest(); in TEST_F()
300 void runTest() in runTest() function in __anon18b9f6050111::EndsWithTest
320 runTest(); in TEST_F()
327 runTest(); in TEST_F()
334 runTest(); in TEST_F()
/third_party/node/deps/npm/node_modules/isexe/test/
Dbasic.js78 runTest(t)
87 runTest(t)
94 runTest(t, { pathExt: '.EXE;.CAT;.CMD;.COM' })
98 runTest(t)
103 runTest(t, { pathExt: '', skipFail: true })
108 runTest(t, { pathExt: ';' + pathExt, skipFail: true })
118 function runTest (t, options) { function

1234567