Home | History | Annotate | Download | only in harness

Lines Matching refs:function

154     'handler' : function(self) { self.showResultsForAllTests(); },
155 'exporter' : function(self) { self.exportResultsForAllTests(); }
159 'handler' : function(self) { self.showResultsForCompletedTests(); },
160 'exporter' : function(self) { self.exportResultsForCompletedTests(); }
164 'handler' : function(self) { self.showResultsForTestsWithStatus('pass'); },
165 'exporter' : function(self) { self.exportResultsForTestsWithStatus('pass'); }
169 'handler' : function(self) { self.showResultsForTestsWithStatus('fail'); },
170 'exporter' : function(self) { self.exportResultsForTestsWithStatus('fail'); }
174 'handler' : function(self) { self.showResultsForTestsWithStatus('skipped'); },
175 'exporter' : function(self) { self.exportResultsForTestsWithStatus('skipped'); }
179 'handler' : function(self) { self.showResultsForTestsWithStatus('invalid'); },
180 'exporter' : function(self) { self.exportResultsForTestsWithStatus('invalid'); }
184 'handler' : function(self) { self.showResultsForTestsWithMismatchedResults(); },
185 'exporter' : function(self) { self.exportResultsForTestsWithMismatchedResults(); }
189 'handler' : function(self) { self.showResultsForTestsNotRun(); },
190 'exporter' : function(self) { self.exportResultsForTestsNotRun(); }
194 function Test(testInfoLine)
229 Test.prototype.runForFormat = function(format)
240 Test.prototype.completedForFormat = function(format)
251 Test.prototype.statusForFormat = function(format)
262 function ChapterSection(link)
276 ChapterSection.prototype.countTests = function()
292 function Chapter(chapterInfo)
301 Chapter.prototype.description = function(format)
308 Chapter.prototype.countTests = function()
323 Chapter.prototype.testCount = function(format)
334 Chapter.prototype.untestedCount = function(format)
350 String.prototype.trim = function() { return this.replace(/^\s+|\s+$/g, ''); }
352 function TestSuite()
374 TestSuite.prototype.loadTestInfo = function(testInfoPath)
377 this.asyncLoad(testInfoPath, 'data', function(data, status) {
382 TestSuite.prototype.testInfoDataLoaded = function(data, status)
401 TestSuite.prototype.parseTests = function(data)
413 TestSuite.prototype.buildChapters = function()
456 TestSuite.prototype.indexOfChapter = function(chapter)
467 TestSuite.prototype.chapterAtIndex = function(index)
475 TestSuite.prototype.fillChapterPopup = function()
492 TestSuite.prototype.updateChapterPopup = function()
507 TestSuite.prototype.buildTestListForChapter = function(chapter)
512 TestSuite.prototype.testListForChapter = function(chapter)
527 testList.sort(function(a, b) {
534 TestSuite.prototype.initializeControls = function()
539 chaptersPopup.addEventListener('change', function() {
557 TestSuite.prototype.chapterPopupChanged = function()
565 TestSuite.prototype.fillTestList = function()
583 TestSuite.prototype.updateTestList = function()
595 TestSuite.prototype.setSelectedChapter = function(chapter)
610 TestSuite.prototype.passTest = function()
616 TestSuite.prototype.failTest = function()
622 TestSuite.prototype.invalidTest = function()
628 TestSuite.prototype.skipTest = function(reason)
634 TestSuite.prototype.nextTest = function()
644 TestSuite.prototype.previousTest = function()
655 TestSuite.prototype.goToNextIncompleteTest = function()
681 TestSuite.prototype.firstIncompleteTestIndex = function(chapter)
696 TestSuite.prototype.goToTestByName = function(testName)
754 TestSuite.prototype.goToTestIndex = function(index)
762 TestSuite.prototype.goToChapterIndex = function(chapterIndex)
770 TestSuite.prototype.currentTestName = function()
778 TestSuite.prototype.loadCurrentTest = function()
801 TestSuite.prototype.updateProgressLabel = function()
807 TestSuite.prototype.configureForRefTest = function()
812 TestSuite.prototype.configureForManualTest = function()
817 TestSuite.prototype.loadTest = function(test)
823 window.setTimeout(function() {
835 TestSuite.prototype.processFlags = function(test)
868 TestSuite.prototype.clearTest = function()
883 TestSuite.prototype.loadRef = function(test)
893 TestSuite.prototype.pathForTest = function(testName)
901 TestSuite.prototype.urlForTest = function(testName)
908 TestSuite.prototype.recordResult = function(testName, resolution, comment)
936 TestSuite.prototype.beginAppendingOutput = function()
940 TestSuite.prototype.endAppendingOutput = function()
946 TestSuite.prototype.appendResultToOutput = function(formatData, testName, resolution, comment)
960 TestSuite.prototype.clearOutput = function()
967 TestSuite.prototype.switchToFormat = function(formatString)
977 TestSuite.prototype.formatChanged = function(formatString)
1007 TestSuite.prototype.asyncLoad = function(url, type, handler)
1014 TestSuite.prototype.exportResults = function(resultTypeIndex)
1023 TestSuite.prototype.exportHeader = function()
1033 TestSuite.prototype.createExportLine = function(formatData, testName, resolution, comment)
1041 TestSuite.prototype.exportQueryComplete = function(data)
1046 TestSuite.prototype.resultsPopupChanged = function(index)
1073 TestSuite.prototype.importResults = function(data)
1111 TestSuite.prototype.clearResults = function(data)
1148 TestSuite.prototype.exportResultsCompletion = function(exportTests)
1151 exportTests.sort(function(a, b) {
1170 TestSuite.prototype.showResultsForCompletedTests = function()
1176 function(item) {
1183 function() {
1189 TestSuite.prototype.exportResultsForCompletedTests = function()
1195 function(item) {
1209 function() {
1218 TestSuite.prototype.showResultsForAllTests = function()
1224 function(item) {
1228 function() {
1233 TestSuite.prototype.exportResultsForAllTests = function()
1239 function(item) {
1247 function() {
1255 TestSuite.prototype.showResultsForTestsNotRun = function()
1261 function(item) {
1267 function() {
1273 TestSuite.prototype.exportResultsForTestsNotRun = function()
1279 function(item) {
1293 function() {
1301 TestSuite.prototype.showResultsForTestsWithStatus = function(status)
1307 function(item) {
1313 function() {
1319 TestSuite.prototype.exportResultsForTestsWithStatus = function(status)
1325 function(item) {
1339 function() {
1347 TestSuite.prototype.showResultsForTestsWithMismatchedResults = function()
1353 function(item) {
1357 function() {
1363 TestSuite.prototype.exportResultsForTestsWithMismatchedResults = function()
1369 function(item) {
1377 function() {
1385 TestSuite.prototype.markTestCompleted = function(testID, htmlStatus, xhtmlStatus)
1403 TestSuite.prototype.testCompletionStateChanged = function()
1409 TestSuite.prototype.loadTestStatus = function()
1413 function(item) {
1416 function() {
1424 TestSuite.prototype.resetTestStatus = function()
1436 TestSuite.prototype.updateSummaryData = function()
1439 function(results) {
1469 function errorHandler(transaction, error)
1475 TestSuite.prototype.openDatabase = function()
1487 function creation(tx) {
1491 function migration1_0To1_1(tx) {
1494 tx.executeSql('ALTER TABLE tests ADD COLUMN seen BOOLEAN DEFAULT \"FALSE\"', null, function() {
1500 _self.db.changeVersion('', '1.0', creation, null, function() {
1501 _self.db.changeVersion('1.0', '1.1', migration1_0To1_1, null, function() {
1510 _self.db.changeVersion('1.0', '1.1', migration1_0To1_1, null, function() {
1520 TestSuite.prototype.databaseCreated = function(tx)
1529 function(tx, results) {
1534 TestSuite.prototype.databaseReady = function()
1540 TestSuite.prototype.storeTestResult = function(test, format, result, comment, useragent)
1545 this.db.transaction(function (tx) {
1553 TestSuite.prototype.importTestResults = function(results)
1558 this.db.transaction(function (tx) {
1574 TestSuite.prototype.clearTestResults = function(results)
1579 this.db.transaction(function (tx) {
1594 TestSuite.prototype.populateDatabaseFromTestInfoData = function()
1603 this.db.transaction(function (tx) {
1615 TestSuite.prototype.insertTest = function(tx, test)
1623 TestSuite.prototype.syncDatabaseWithTestInfoData = function()
1638 this.db.transaction(function (tx) {
1641 tx.executeSql('SELECT * FROM tests', [], function(tx, results) {
1650 this.db.transaction(function (tx) {
1658 this.db.transaction(function (tx) {
1662 tx.executeSql('SELECT * FROM tests WHERE seen=\"FALSE\"', [], function(tx, results) {
1671 tx.executeSql('DELETE FROM tests WHERE seen=\"FALSE\"', [], function(tx, results) {
1678 TestSuite.prototype.queryDatabaseForAllTests = function(sortKey, perRowHandler, completionHandler)
1684 this.db.transaction(function (tx) {
1696 tx.executeSql(query, args, function(tx, results) {
1707 TestSuite.prototype.queryDatabaseForTestsWithStatus = function(status, perRowHandler, completionHandler)
1713 this.db.transaction(function (tx) {
1716 tx.executeSql('SELECT * FROM tests WHERE hstatus=? OR xstatus=?', [status, status], function(tx, results) {
1727 TestSuite.prototype.queryDatabaseForTestsWithMixedStatus = function(perRowHandler, completionHandler)
1733 this.db.transaction(function (tx) {
1736 tx.executeSql('SELECT * FROM tests WHERE hstatus IS NOT NULL AND xstatus IS NOT NULL AND hstatus <> xstatus', [], function(tx, results) {
1747 TestSuite.prototype.queryDatabaseForCompletedTests = function(perRowHandler, completionHandler)
1753 this.db.transaction(function (tx) {
1758 tx.executeSql('SELECT * FROM tests WHERE hstatus IS NOT NULL OR xstatus IS NOT NULL', [], function(tx, results) {
1768 TestSuite.prototype.queryDatabaseForTestsNotRun = function(perRowHandler, completionHandler)
1774 this.db.transaction(function (tx) {
1778 tx.executeSql('SELECT * FROM tests WHERE hstatus IS NULL OR xstatus IS NULL', [], function(tx, results) {
1817 TestSuite.prototype.countTestsWithColumnValue = function(tx, completionHandler, column, value, label)
1821 tx.executeSql('SELECT COUNT(*) FROM tests WHERE ' + column + '=?', [value], function(tx, results) {
1829 TestSuite.prototype.countTestsWithFlag = function(tx, completionHandler, flag)
1833 tx.executeSql('SELECT COUNT(*) FROM tests WHERE flags LIKE \"%' + flag + '%\"', [], function(tx, results) {
1841 TestSuite.prototype.queryDatabaseForSummary = function(completionHandler)
1851 this.db.transaction(function (tx) {
1857 _self.countTestsWithFlag(tx, function(count) {
1861 _self.countTestsWithFlag(tx, function(count) {
1866 this.db.transaction(function (tx) {
1874 tx.executeSql('SELECT COUNT(*), COUNT(hstatus), COUNT(xstatus) FROM tests', [], function(tx, results) {