diff options
author | Chiao Cheng <chiaocheng@google.com> | 2013-09-13 17:27:42 -0700 |
---|---|---|
committer | Chiao Cheng <chiaocheng@google.com> | 2013-09-14 13:27:02 -0700 |
commit | fb0a934ad90f1855787563eb80f2c8fff7f640ac (patch) | |
tree | 1d8dc5e98e56ecc7f6dec0ce6dcfe388a6c797a2 /tests/src/com/android/dialer/calllog/TestPhoneNumberHelper.java | |
parent | b34d7c3923031453f7e34805bed32d0667d7dde7 (diff) |
Follow up on build break to fix unit tests.
Change-Id: I82b7fa50601f6dad60038fd1b9c5f0aad2f374f5
Diffstat (limited to 'tests/src/com/android/dialer/calllog/TestPhoneNumberHelper.java')
-rw-r--r-- | tests/src/com/android/dialer/calllog/TestPhoneNumberHelper.java | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/tests/src/com/android/dialer/calllog/TestPhoneNumberHelper.java b/tests/src/com/android/dialer/calllog/TestPhoneNumberHelper.java deleted file mode 100644 index 2671a7151..000000000 --- a/tests/src/com/android/dialer/calllog/TestPhoneNumberHelper.java +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Copyright (C) 2011 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.android.dialer.calllog; - -import android.content.res.Resources; - -/** - * Modified version of {@link PhoneNumberHelper} to be used in tests that allows injecting the - * voicemail number. - */ -public final class TestPhoneNumberHelper extends PhoneNumberHelper { - private CharSequence mVoicemailNumber; - - public TestPhoneNumberHelper(Resources resources, CharSequence voicemailNumber) { - super(resources); - mVoicemailNumber = voicemailNumber; - } - -} |