QA/TDAI/Projects/Places Tests

From MozillaWiki
< QA‎ | TDAI‎ | Projects
Revision as of 16:52, 8 April 2008 by Ctalbert (talk | contribs)
Jump to navigation Jump to search

This is the primary location for deep automated (gray and white box) testing of the Places APIs. Here is where we will endeavor to keep track of what has been added and what needs to be done. Note, for unit tests, it is not strictly necessary to update this, but it is appreciated.

Places Query API

These tests test various combinations of places query APIs. There are two query APIs: nsINavHistoryQuery and nsINavHistoryQueryOptions. They are represented in the two tables below. In order to keep things readable, we will assign an arbitrary ID number to the tests. When you add a new test, assign it the end of this list.

A test's coverage can be figured by the union of the two tables. Tests that we need are denoted by ID's of ?'s. For tests that are in-progress, please add the bug number to the "status" column and change it to "Landed" once the test lands in the tree.

Tests
Test File Name Test ID Test Status
test_abstime-annotation-domain.js 1 Landed
test_abstime-annotation-uri.js 2 Landed
test_searchterms-uri.js 3 Landed
nsINavHistoryQuery Coverage
TestID BeginTime EndTime SearchTerms minVisit maxVisit onlyBookmarked domainIsHost domain uriIsPrefix uri annotationIsNot annotation Folders
0 bt et st mn mx b di d ui u ai a f
{+ nsINavHistoryQueryOptions Coverage
TestID SORT_MODE(s) RESULT_TYPE SortingAnnotation excludeItems excludeQueries excludeROFolders excludeItemIfParentHasAnno expandQueries includeHidden showSessions maxResults queryType
0 s r sa ei eq ero ep exq ih ss mr qt