History log of /packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/ShouldQueryStrategyTest.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
e15fe38f0142174d223bfda0cd87d1a749a85fac 15-Oct-2010 Mathew Inwood <mathewi@google.com> Optionally don't show zero-query suggestions & shortcuts.

This change disables zero-qeury shortcuts for x-large devices only.

Bug: 3086273
Change-Id: I8c47af3f5696bf26482690e11ac046a21ac40150
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/ShouldQueryStrategyTest.java
a65408ff321345557f93effa41395174640870eb 12-Mar-2010 Bjorn Bringert <bringert@android.com> Fix ShouldQueryStrategy.shouldQuery

updateQuery() didn't store the last query for widening or different
queries.

Also adds regression tests for this bug.

Also checks queryAfterNoResults before storing the empty corpus.

Also adds some missing test size annotations and removes
unneccessary "synchronized" from ShouldQueryStrategy
(after some recent changes it's only used from the main
thread.).

Fixes http://b/issue?id=2510025

Change-Id: I9f3ca6962ec5fe7a1de2baef1ffab2db4add0756
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/ShouldQueryStrategyTest.java
04a180b52fb4100a2f3747e795fb5d26e3207a4a 16-Feb-2010 Bjorn Bringert <bringert@android.com> Add unit tests for ShortcutRefresher

I copied the tests from Eclair GlobalSearch, but had to modify
them heavily for the current API. I removed all source impression
testing, since we don't track impressions any more.

This change also includes some refactoring to make the
code testable.

Fixes http://b/issue?id=2444660

Change-Id: I64b43149cf2614d61890550f11eb3eb0c24b3dbd
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/ShouldQueryStrategyTest.java
fde948e69f59589cf0d217ea414af7947de600bb 11-Feb-2010 Bjorn Bringert <bringert@android.com> Merge Google and Browser sources and call them Web

This required a gigantic refactoring of QuickSearchBox to work nicely.

This change also reduces the number of promoted source to 3,
since Web is now one source instead of two.

As a side effect of the recatoring, VoiceSearch now searches
the selected corpus (fixes http://b/issue?id=2438309)

Fixes http://b/issue?id=2365770

Change-Id: Ife8d40ef62ea004e8d0f20a60e9196fc589f01fc
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/ShouldQueryStrategyTest.java
53bf1409474f26ab0f3754ee9b4d2de901a6be00 04-Feb-2010 Bryan Mawhinney <bryanmawhinney@google.com> Respect the queryAfterZeroResults flag.

Bug: 2380814
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/ShouldQueryStrategyTest.java