diff options
| author | Wink Saville <wink@google.com> | 2010-10-20 15:17:28 -0700 |
|---|---|---|
| committer | Wink Saville <wink@google.com> | 2010-10-20 15:17:28 -0700 |
| commit | d20a5d6b5a821e28d73eba6502a2135134014a84 (patch) | |
| tree | d5b7c44cb521498859622bc64e95d4a190c56249 /core/tests | |
| parent | 92f987a07a0b2d03a769a8b5fc57fe97a7bd7541 (diff) | |
| download | frameworks_base-d20a5d6b5a821e28d73eba6502a2135134014a84.zip frameworks_base-d20a5d6b5a821e28d73eba6502a2135134014a84.tar.gz frameworks_base-d20a5d6b5a821e28d73eba6502a2135134014a84.tar.bz2 | |
Add AsyncChannel and AsyncService.
Change-Id: Ie6f9aed58f49defcd1c051611ce791e2e62a9474
Diffstat (limited to 'core/tests')
| -rw-r--r-- | core/tests/coretests/src/android/os/AsyncChannelTest.java | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/core/tests/coretests/src/android/os/AsyncChannelTest.java b/core/tests/coretests/src/android/os/AsyncChannelTest.java new file mode 100644 index 0000000..43c8290 --- /dev/null +++ b/core/tests/coretests/src/android/os/AsyncChannelTest.java @@ -0,0 +1,38 @@ +/** + * Copyright (C) 2010 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 android.os; + +import android.test.suitebuilder.annotation.SmallTest; +import android.util.Log; + +import junit.framework.TestCase; + +/** + * Test for AsyncChannel. + */ +public class AsyncChannelTest extends TestCase { + private static final boolean DBG = true; + private static final boolean WAIT_FOR_DEBUGGER = true; + private static final String TAG = "AsyncChannelTest"; + + @SmallTest + public void test1() throws Exception { + if (WAIT_FOR_DEBUGGER) Debug.waitForDebugger(); + Log.d(TAG, "test1"); + assertTrue(1 == 1); + } +} |
