Files
packages_apps_Messaging/tests/src/com/android/messaging/util/BugleGservicesTest.java
Fangqiu Su c6b06859a3 Update the imports to androidx.test.filters.*
Bug: 316941721
Test: mmma .
Change-Id: I102674aa519cf562aa8d0b852ebb8067748894a6
2023-12-19 18:12:44 +00:00

34 lines
1.2 KiB
Java

/*
* Copyright (C) 2015 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.messaging.util;
import androidx.test.filters.SmallTest;
import com.android.messaging.BugleTestCase;
@SmallTest
public class BugleGservicesTest extends BugleTestCase {
public void testGServiceGet() {
final BugleGservices bugleGservices = new FakeBugleGservices();
assertEquals(BugleGservicesKeys.SMS_IGNORE_MESSAGE_REGEX_DEFAULT,
bugleGservices.getString(
BugleGservicesKeys.SMS_IGNORE_MESSAGE_REGEX,
BugleGservicesKeys.SMS_IGNORE_MESSAGE_REGEX_DEFAULT));
}
}