History log of /packages/apps/Dialer/tests/src/com/android/dialer/filterednumber/FilteredNumbersUtilTest.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
edf03935c1b4ff958e133c505dd94046b07a62b1 22-Mar-2016 Brandon Maxwell <maxwelb@google.com> No notification shown for blocking after E911 call

The Dialer is no longer responsible for showing a notification that
call blocking is disabled after the user makes an emergency call.

This CL ensures that the notification isn't shown.

Change-Id: Ib87679a067831b771d99e5b2b205c84101f05fef
Fixes: 27705312
/packages/apps/Dialer/tests/src/com/android/dialer/filterednumber/FilteredNumbersUtilTest.java
0c832119d05dcfccbc52bcce841b306ccebc56e9 23-Feb-2016 Brandon Maxwell <maxwelb@google.com> Adding tests for blockNumber

+ The ContactsCommon MockContentProvider now supports mocking the
insert method, added necessary tests.
+ Updating tests with changes to MockContentProvider
+ No longer need to call attachInfo on provider
+ Need to explicitly pass null for vararg query parameters when a
null values are expected.

Bug=26664600

Change-Id: I5316f8ee8bb442aa36d807781124a936f09e0a9c
/packages/apps/Dialer/tests/src/com/android/dialer/filterednumber/FilteredNumbersUtilTest.java
2dd62788bbc6aa486899b18869a7fdfaec056314 21-Nov-2015 Brandon Maxwell <maxwelb@google.com> Checking for recent emergency call before deleting voiemail

Bug: 25818151
Change-Id: I6b8b5ebfe1c9555b8394ad7db652e23bbc216f83
/packages/apps/Dialer/tests/src/com/android/dialer/filterednumber/FilteredNumbersUtilTest.java
7d0a017b568ac0ca4133206872b503d4965e796e 12-Nov-2015 Brandon Maxwell <maxwelb@google.com> Blocking number suppresses voicemails in the same minute

~ Modified FilteredNumbersUtil to check if a voicemail needs to be
blocked by checking if the voicemail date matches the block date to
the minute, rather than millisecond
~ Modified FilteredNumbersUtil#shouldBlockVoicemail to improve
readability

+ Added tests to verify FilteredNumbersUtil#shouldBlockVoicemail

Bug: 25346075
Change-Id: I9851a574f0d13b7f09c99438810454770c88aa8b
/packages/apps/Dialer/tests/src/com/android/dialer/filterednumber/FilteredNumbersUtilTest.java
fc60d717695496696352be0ac9a4061059e15c32 26-Oct-2015 Andrew Lee <anwlee@google.com> Allow voicemail numbers to be blocked.

Though it is lighter on logic now, it still seems helpful to have
a common helper to return whether it should be possible to proceed
with blocking a number.

Bug: 25230222
Change-Id: I99f93f1cfc09988b3dec77f71541463c96d06225
/packages/apps/Dialer/tests/src/com/android/dialer/filterednumber/FilteredNumbersUtilTest.java
e1071ace724a561dc3738b48a2d3d233aea4ff53 20-Oct-2015 Yorke Lee <yorkelee@google.com> Update Dialer tests

* Update all tests with @SmallTest, @MediumTest or @LargeTest
annotation to ensure coverage by continuous test infrastructure
* Fix one failing test

Change-Id: Ib878a3fe292916e21a465580a74319e807e7efe0
/packages/apps/Dialer/tests/src/com/android/dialer/filterednumber/FilteredNumbersUtilTest.java
aa2644748d5977fcd6f0ac87b155a0b41ce6ce30 16-Oct-2015 Andrew Lee <anwlee@google.com> Don't allow blocking of emergency or VM numbers.

Bug: 24680730
Bug: 24303461
Change-Id: Ibd7d431355ca97eb2ae7f29537809987a8d5f96d
/packages/apps/Dialer/tests/src/com/android/dialer/filterednumber/FilteredNumbersUtilTest.java