Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(177)

Side by Side Diff: services/device/nfc/android/junit/src/org/chromium/device/nfc/NFCTest.java

Issue 2894373002: [DeviceService] Move //device/nfc to be part of the internal impl of Device Service (Closed)
Patch Set: Modify code comment Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 package org.chromium.device.nfc; 5 package org.chromium.device.nfc;
6 6
7 import static org.junit.Assert.assertEquals; 7 import static org.junit.Assert.assertEquals;
8 import static org.junit.Assert.assertNotEquals; 8 import static org.junit.Assert.assertNotEquals;
9 import static org.junit.Assert.assertNotNull; 9 import static org.junit.Assert.assertNotNull;
10 import static org.junit.Assert.assertNull; 10 import static org.junit.Assert.assertNull;
(...skipping 921 matching lines...) Expand 10 before | Expand all | Expand 10 after
932 urlNfcRecord.mediaType = TEXT_MIME; 932 urlNfcRecord.mediaType = TEXT_MIME;
933 urlNfcRecord.data = TEST_URL.getBytes(); 933 urlNfcRecord.data = TEST_URL.getBytes();
934 NfcMessage urlNfcMessage = createNfcMessage(TEST_URL, urlNfcRecord); 934 NfcMessage urlNfcMessage = createNfcMessage(TEST_URL, urlNfcRecord);
935 try { 935 try {
936 return NfcTypeConverter.toNdefMessage(urlNfcMessage); 936 return NfcTypeConverter.toNdefMessage(urlNfcMessage);
937 } catch (InvalidNfcMessageException e) { 937 } catch (InvalidNfcMessageException e) {
938 return null; 938 return null;
939 } 939 }
940 } 940 }
941 } 941 }
OLDNEW
« no previous file with comments | « services/device/nfc/android/java/src/org/chromium/device/nfc/OWNERS ('k') | services/device/public/interfaces/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698