Home
last modified time | relevance | path

Searched refs:newRow (Results 1 – 25 of 56) sorted by relevance

123

/external/webkit/Source/JavaScriptCore/qt/tests/qscriptstring/
Dtst_qscriptstring.cpp134 QTest::newRow("foo") << QString::fromLatin1("foo") << false << quint32(0xffffffff); in toArrayIndex_data()
135 QTest::newRow("empty") << QString::fromLatin1("") << false << quint32(0xffffffff); in toArrayIndex_data()
136 QTest::newRow("0") << QString::fromLatin1("0") << true << quint32(0); in toArrayIndex_data()
137 QTest::newRow("00") << QString::fromLatin1("00") << false << quint32(0xffffffff); in toArrayIndex_data()
138 QTest::newRow("1") << QString::fromLatin1("1") << true << quint32(1); in toArrayIndex_data()
139 QTest::newRow("123") << QString::fromLatin1("123") << true << quint32(123); in toArrayIndex_data()
140 QTest::newRow("-1") << QString::fromLatin1("-1") << false << quint32(0xffffffff); in toArrayIndex_data()
141 QTest::newRow("0a") << QString::fromLatin1("0a") << false << quint32(0xffffffff); in toArrayIndex_data()
142 QTest::newRow("0x1") << QString::fromLatin1("0x1") << false << quint32(0xffffffff); in toArrayIndex_data()
143 QTest::newRow("01") << QString::fromLatin1("01") << false << quint32(0xffffffff); in toArrayIndex_data()
[all …]
/external/webkit/Source/JavaScriptCore/qt/benchmarks/qscriptvalue/
Dtst_qscriptvalue.cpp107 QTest::newRow("invalid") << QScriptValue(); in values_data()
109 QTest::newRow("cbool") << QScriptValue(true); in values_data()
110 QTest::newRow("cnumber") << QScriptValue(1234); in values_data()
111 QTest::newRow("cstring") << QScriptValue("abc"); in values_data()
112 QTest::newRow("cnull") << QScriptValue(QScriptValue::NullValue); in values_data()
113 QTest::newRow("cundefined") << QScriptValue(QScriptValue::UndefinedValue); in values_data()
115 QTest::newRow("jsbool") << m_engine->evaluate("true"); in values_data()
116 QTest::newRow("jsnumber") << m_engine->evaluate("12345"); in values_data()
117 QTest::newRow("jsstring") << m_engine->evaluate("'go'"); in values_data()
118 QTest::newRow("jsfunction") << m_engine->evaluate("(function {})"); in values_data()
[all …]
/external/webkit/Source/JavaScriptCore/qt/benchmarks/qscriptengine/
Dtst_qscriptengine.cpp66 QTest::newRow("empty script") << QString::fromLatin1(""); in evaluateString_data()
67 QTest::newRow("number literal") << QString::fromLatin1("123"); in evaluateString_data()
68 QTest::newRow("string literal") << QString::fromLatin1("'ciao'"); in evaluateString_data()
69 QTest::newRow("regexp literal") << QString::fromLatin1("/foo/gim"); in evaluateString_data()
70 QTest::newRow("null literal") << QString::fromLatin1("null"); in evaluateString_data()
71 QTest::newRow("undefined literal") << QString::fromLatin1("undefined"); in evaluateString_data()
72 QTest::newRow("empty object literal") << QString::fromLatin1("{}"); in evaluateString_data()
73 QTest::newRow("this") << QString::fromLatin1("this"); in evaluateString_data()
/external/webkit/Source/JavaScriptCore/qt/tests/qscriptvalue/
Dtst_qscriptvalue.cpp259 QTest::newRow("new Array()") in getPropertySimple_data()
264 QTest::newRow("new Object().length") in getPropertySimple_data()
269 QTest::newRow("new Object().toString") in getPropertySimple_data()
274 QTest::newRow("[1,2,3,4]") in getPropertySimple_data()
279 QTest::newRow("[1,3,'a','b']") in getPropertySimple_data()
284 QTest::newRow("[4,5]") in getPropertySimple_data()
289 QTest::newRow("[1,3,4]") in getPropertySimple_data()
643 QTest::newRow("string") << QString::fromAscii("'hello'") << QString::fromAscii("hello"); in toStringSimple_data()
644 … QTest::newRow("string utf") << QString::fromUtf8("'ąśćżźółńę'") << QString::fromUtf8("ąśćżźółńę"); in toStringSimple_data()
645 QTest::newRow("expression") << QString::fromAscii("1 + 4") << QString::fromAscii("5"); in toStringSimple_data()
[all …]
Dtst_qscriptvalue_generated_istype.cpp177 …QTest::newRow(testcase.first.toAscii().constData()) << testcase.second << expectedValue.contains(t… in isValid_data()
212 …QTest::newRow(testcase.first.toAscii().constData()) << testcase.second << expectedValue.contains(t… in isBool_data()
247 …QTest::newRow(testcase.first.toAscii().constData()) << testcase.second << expectedValue.contains(t… in isBoolean_data()
330 …QTest::newRow(testcase.first.toAscii().constData()) << testcase.second << expectedValue.contains(t… in isNumber_data()
366 …QTest::newRow(testcase.first.toAscii().constData()) << testcase.second << expectedValue.contains(t… in isFunction_data()
398 …QTest::newRow(testcase.first.toAscii().constData()) << testcase.second << expectedValue.contains(t… in isNull_data()
460 …QTest::newRow(testcase.first.toAscii().constData()) << testcase.second << expectedValue.contains(t… in isString_data()
493 …QTest::newRow(testcase.first.toAscii().constData()) << testcase.second << expectedValue.contains(t… in isUndefined_data()
547 …QTest::newRow(testcase.first.toAscii().constData()) << testcase.second << expectedValue.contains(t… in isObject_data()
579 …QTest::newRow(testcase.first.toAscii().constData()) << testcase.second << expectedValue.contains(t… in isArray_data()
[all …]
Dtst_qscriptvalue_generated_totype.cpp246 …QTest::newRow(testcase.first.toAscii().constData()) << testcase.second << expectedValue[testcase.f… in toString_data()
424 …QTest::newRow(testcase.first.toAscii().constData()) << testcase.second << expectedValue[testcase.f… in toNumber_data()
665 …QTest::newRow(testcase.first.toAscii().constData()) << testcase.second << expectedValue[testcase.f… in toBool_data()
897 …QTest::newRow(testcase.first.toAscii().constData()) << testcase.second << expectedValue[testcase.f… in toBoolean_data()
1075 …QTest::newRow(testcase.first.toAscii().constData()) << testcase.second << expectedValue[testcase.f… in toInteger_data()
1312 …QTest::newRow(testcase.first.toAscii().constData()) << testcase.second << expectedValue[testcase.f… in toInt32_data()
1544 …QTest::newRow(testcase.first.toAscii().constData()) << testcase.second << expectedValue[testcase.f… in toUInt32_data()
1776 …QTest::newRow(testcase.first.toAscii().constData()) << testcase.second << expectedValue[testcase.f… in toUInt16_data()
/external/webkit/Source/JavaScriptCore/qt/tests/qscriptengine/
Dtst_qscriptengine.cpp381 QTest::newRow("0") in checkSyntax_data()
384 QTest::newRow("if (") in checkSyntax_data()
387 QTest::newRow("if else") in checkSyntax_data()
390 QTest::newRow("{if}") in checkSyntax_data()
393 QTest::newRow("foo[") in checkSyntax_data()
396 QTest::newRow("foo['bar']") in checkSyntax_data()
400 QTest::newRow("/*") in checkSyntax_data()
403 QTest::newRow("/*\nMy comment") in checkSyntax_data()
406 QTest::newRow("/*\nMy comment */\nfoo = 10") in checkSyntax_data()
409 QTest::newRow("foo = 10 /*") in checkSyntax_data()
[all …]
/external/webkit/Source/WebKit/qt/tests/benchmarks/loading/
Dtst_loading.cpp86 QTest::newRow("amazon") << QUrl("http://www.amazon.com"); in load_data()
87 QTest::newRow("kde") << QUrl("http://www.kde.org"); in load_data()
88 QTest::newRow("apple") << QUrl("http://www.apple.com"); in load_data()
/external/webkit/LayoutTests/dom/xhtml/level2/html/
DHTMLTableSectionElement26.js95 var newRow;
110 newRow = testNode.insertRow(-2);
DHTMLTableElement34.js95 var newRow;
110 newRow = testNode.insertRow(5);
DHTMLTableElement35.js95 var newRow;
110 newRow = testNode.insertRow(-5);
DHTMLTableSectionElement25.js95 var newRow;
110 newRow = testNode.insertRow(2);
DHTMLTableSectionElement19.js95 var newRow;
113 newRow = testNode.insertRow(1);
DHTMLTableSectionElement21.js96 var newRow;
114 newRow = testNode.insertRow(2);
DHTMLTableSectionElement17.js94 var newRow;
112 newRow = testNode.insertRow(0);
DHTMLTableSectionElement30.js98 var newRow;
116 newRow = testNode.insertRow(-1);
DHTMLTableSectionElement16.js94 var newRow;
112 newRow = testNode.insertRow(0);
/external/webkit/LayoutTests/dom/html/level2/html/
DHTMLTableElement34.js95 var newRow;
110 newRow = testNode.insertRow(5);
DHTMLTableSectionElement26.js95 var newRow;
110 newRow = testNode.insertRow(-2);
DHTMLTableSectionElement25.js95 var newRow;
110 newRow = testNode.insertRow(2);
DHTMLTableElement35.js95 var newRow;
110 newRow = testNode.insertRow(-5);
DHTMLTableSectionElement18.js94 var newRow;
112 newRow = testNode.insertRow(0);
DHTMLTableSectionElement21.js96 var newRow;
114 newRow = testNode.insertRow(2);
DHTMLTableSectionElement20.js95 var newRow;
113 newRow = testNode.insertRow(1);
/external/webkit/Source/WebKit/qt/tests/qwebplugindatabase/
Dtst_qwebplugindatabase.cpp156 QTest::newRow("null") << QWebPluginInfo() << true; in Q_DECLARE_METATYPE()
157 QTest::newRow("foo") << QWebSettings::pluginDatabase()->pluginForMimeType("foobarbaz") << true; in Q_DECLARE_METATYPE()
161 QTest::newRow(QString::number(i).toUtf8().constData()) << plugins.at(i) << false; in Q_DECLARE_METATYPE()
278 QTest::newRow("null") << QWebPluginInfo() << QWebPluginInfo() << true; in operatorequal_data()
279 …QTest::newRow("application/x-shockwave-flash") << database->pluginForMimeType("application/x-shock… in operatorequal_data()
281 QTest::newRow("foo/bar-baz") << database->pluginForMimeType("foo/bar-baz") in operatorequal_data()
289 QTest::newRow(QString("%1==%2").arg(first.name(), second.name()).toUtf8().constData()) in operatorequal_data()
407 QTest::newRow("null") << QWebPluginInfo() << QWebPluginInfo(); in operatorassign_data()
414 …QTest::newRow(QString("%1=%2").arg(first.name(), second.name()).toUtf8().constData()) << first << … in operatorassign_data()

123