blob: 290e04ce8abbe49578ac6a16e3daeb62f7398091 [file] [log] [blame]
Sahin Caliskan12564862018-10-31 13:23:29 -07001/*
2 * Copyright (C) 2018 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16package com.android.tests.rcs;
17
18import android.support.test.runner.AndroidJUnit4;
Sahin Caliskan7719db22018-12-03 14:06:39 -080019import android.telephony.ims.RcsMessageStore;
Sahin Caliskan12564862018-10-31 13:23:29 -070020
21import org.junit.Test;
22import org.junit.runner.RunWith;
23
24@RunWith(AndroidJUnit4.class)
Sahin Caliskan7719db22018-12-03 14:06:39 -080025public class RcsMessageStoreTest {
Sahin Caliskan12564862018-10-31 13:23:29 -070026 //TODO(sahinc): Add meaningful tests once we have more of the implementation in place
27 @Test
28 public void testDeleteThreadDoesntCrash() {
Sahin Caliskan7719db22018-12-03 14:06:39 -080029 RcsMessageStore mRcsMessageStore = new RcsMessageStore();
30 mRcsMessageStore.deleteThread(0);
Sahin Caliskan12564862018-10-31 13:23:29 -070031 }
32}