diff options
author | Robert Greenwalt <rgreenwalt@google.com> | 2014-04-08 17:34:00 -0700 |
---|---|---|
committer | Robert Greenwalt <rgreenwalt@google.com> | 2014-05-12 16:52:56 -0700 |
commit | f9cb86aebe9647e0fe0137fc198ba16c017445c6 (patch) | |
tree | 5f7d1e0ab2f48cb39092881266f21f7e11ea33b3 /core/tests | |
parent | 6681e32fff77174b1b93557c08d1fd00375422c0 (diff) | |
download | frameworks_base-f9cb86aebe9647e0fe0137fc198ba16c017445c6.zip frameworks_base-f9cb86aebe9647e0fe0137fc198ba16c017445c6.tar.gz frameworks_base-f9cb86aebe9647e0fe0137fc198ba16c017445c6.tar.bz2 |
Replace LinkCapabilities with NetworkCapabilities
Also remove unused LinkSocket and LinkSocketNotifier.
bug:13885501
Change-Id: Id426e31b201fa4f29109b5fea485d8efb34519d3
Diffstat (limited to 'core/tests')
-rw-r--r-- | core/tests/coretests/src/android/net/LinkSocketTest.java | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/core/tests/coretests/src/android/net/LinkSocketTest.java b/core/tests/coretests/src/android/net/LinkSocketTest.java deleted file mode 100644 index af77d63..0000000 --- a/core/tests/coretests/src/android/net/LinkSocketTest.java +++ /dev/null @@ -1,44 +0,0 @@ -/* - * 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.net; - -import android.net.LinkSocket; -import android.test.suitebuilder.annotation.SmallTest; -import junit.framework.TestCase; - -/** - * Test LinkSocket - */ -public class LinkSocketTest extends TestCase { - - @SmallTest - public void testBasic() throws Exception { - LinkSocket ls; - - ls = new LinkSocket(); - ls.close(); - } - - @SmallTest - public void testLinkCapabilities() throws Exception { - LinkCapabilities lc; - - lc = new LinkCapabilities(); - assertEquals(0, lc.size()); - assertEquals(true, lc.isEmpty()); - } -} |