aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit_tests/completion_test.coffee
AgeCommit message (Collapse)Author
2016-02-09BgUtils; move tabRecency to bg_tiles.coffee.Stephen Blott
Certain background-page utilities are actually shared, and are therefore best placed in place that reflects that. Here, tabRecency is moved to the new gb_utils.coffee in preparation for implementing a go-to-previous-tab command. In particular, it is no longer appropriate that tabRecency be embedded within the completion code. logMessage() from main.coffee is also a candidate for moving to bg_utils.coffee.
2015-06-20Add test that every option has a default value.Stephen Blott
This prevents issues like #1731 and is an (better) alternative to #1732.
2015-05-27Custom-only: single-line completions for custom search engines.Stephen Blott
2015-05-13Domain completer: no completions for "w ".Stephen Blott
If the input is "w ", the user is going for something like "w query terms" (a custom search engine). So the domain completer should not offer completions if the user has finished the first word.
2015-05-10Search completion; refactor searchEngineCompleter.Stephen Blott
This revamps how search-engine configuration is handled, and revises some rather strange legacy code.
2015-05-09Search completion; tweaks and tests.Stephen Blott
2015-05-09Search completion; refactor SearchCompleter activation.Stephen Blott
2015-05-08Search completion; fix unit tests.Stephen Blott
2015-05-04Search completion; tweak scoring and synchronization.Stephen Blott
2015-05-02Rename SearchEngineCompleter to CustomSearchEngineCompleter.Stephen Blott
The name "SearchEngineCompleter" is more appropriate for completions actually delivered by a search engine. Also, what was SearchEngineCompleter is usually referred to as "custom search engines" elsewhere.
2015-04-12Add failing test case.Utkarsh Upadhyay
2015-03-29Move the search-engine logic out of settings.coffee.Stephen Blott
This logic should never have been in settings.coffee. This moves it to completion.coffee, where it belongs.
2014-12-29Descriptions for custom search engines.Stephen Blott
2014-11-22Touch up tab recency.Stephen Blott
2014-11-22Make delayed tab registration synchronous, real-time-basedmrmr1993
2014-11-09Merge pull request #1231 from smblott-github/tabs-orderStephen Blott
Tabs order; order tabs by recency for empty searches.
2014-11-08Tabs order; more tests.Stephen Blott
2014-11-08Tabs order; add tests.Stephen Blott
2014-11-06Fix domain tests.Stephen Blott
2014-10-27Fix tests for favicons.Stephen Blott
2014-06-14Merge pull request #1058 from mijoharas/custom_search_enginesPhil Crosby
Custom search engines
2014-05-29Adding in search engines feature to fix #1009mike-work
2014-05-18Import of bookmark-folder-search code and tests.Stephen Blott
2014-05-16Address philc's comments.Stephen Blott
2014-05-16Import relevancy improvement code.Stephen Blott
2012-11-14RegexpCache: reorganise and improve tests.Stephen Blott
2012-11-14Clean up regexp unit tests.Stephen Blott
2012-11-13Smartcase matching for vomnibar.Stephen Blott
Vomnibar queries are case insensitive, unless the query contains a capital letter.
2012-11-12Improve unit test structure and coverage.Stephen Blott
2012-11-11Changes in responce to philc's recommendations.Stephen Blott
See: https://github.com/philc/vimium/pull/715
2012-11-11More domain completer tests.Stephen Blott
2012-11-11Additional unit tests for domain completer.Stephen Blott
2012-11-11Remove comments regarding non-existent bug.Stephen Blott
2012-11-11Extend removing entries to the domain completer.Stephen Blott
2012-11-11Remove history entries.Stephen Blott
When a chrome history entry is removed, remove that entry from our history too. Same when the entire history is removed.
2012-11-05Factor pushMatchingRanges, improve comments/testsStephen Blott
1. Factor out `pushMatchingRanges`: This then allows us to ... 2. Add unit tests for `pushMatchingRanges` In effect, these tests verify where matches are highlighted in suggestions. 3. Added Utils.zip. This helps simplify `pushMatchingRanges` unit tests. 4. Improve comments.
2012-11-04Generalise RegexpCache, refactor, add tests.Stephen Blott
This is a no-op, currently. It's just setting up the RegexpCache interface for subsequent development.
2012-11-03Merge pull request #702 from smblott-github/relevancy-fixJez Ng
Improve consistency and fix bug in relevancy calculation.
2012-11-03Bug fix. Not all query terms matched.Stephen Blott
Additionally, add relevant test cases.
2012-11-03Extend unit tests for RankingUtils.Stephen Blott
1. Add additional tests for `RankingUtils.matches()`. 2. Add tests for `RankingUtils.wordRelevancy()`.
2012-11-02Make tests pass against strict comparisons.Jez Ng
2012-11-02Fix unit test.Jez Ng
Earlier commit made without having compiled the changed code...
2012-11-02Modify test to check for inorder bookmarks traversal.Jez Ng
2012-09-08Set up PhantomJS testing.Jez Ng