QA/TDAI/Projects/Places Tests
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.
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 |
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 |
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 |