mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Daily arc lint --take GOOGLEJAVAFORMAT
Summary: Changelog: [Internal] Differential Revision: D19875191 fbshipit-source-id: 3a1e22a4342d523f556c847a9fa780a898a96771
This commit is contained in:
committed by
Facebook Github Bot
parent
dc6c57ce0d
commit
ff22722e47
@@ -7,26 +7,23 @@
|
||||
|
||||
package com.facebook.react.bridge;
|
||||
|
||||
import static com.facebook.react.bridge.Arguments.fromBundle;
|
||||
import static org.junit.Assert.assertEquals;
|
||||
import static org.junit.Assert.assertNotNull;
|
||||
|
||||
import android.content.Context;
|
||||
import android.content.Intent;
|
||||
import android.os.Bundle;
|
||||
import android.os.Parcel;
|
||||
import android.os.Parcelable;
|
||||
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.test.platform.app.InstrumentationRegistry;
|
||||
import androidx.test.runner.AndroidJUnit4;
|
||||
|
||||
import com.facebook.soloader.SoLoader;
|
||||
|
||||
import org.junit.Before;
|
||||
import org.junit.Test;
|
||||
import org.junit.runner.RunWith;
|
||||
|
||||
import static com.facebook.react.bridge.Arguments.fromBundle;
|
||||
import static org.junit.Assert.assertEquals;
|
||||
import static org.junit.Assert.assertNotNull;
|
||||
|
||||
@RunWith(AndroidJUnit4.class)
|
||||
public class ArgumentsTest {
|
||||
|
||||
@@ -42,9 +39,9 @@ public class ArgumentsTest {
|
||||
}
|
||||
|
||||
/**
|
||||
* When passing a bundle via {@link Intent} extras, it gets parceled and unparceled.
|
||||
* Any array of bundles will return as an array of {@link Parcelable} instead. This test
|
||||
* verifies that {@link Arguments#fromArray} handles this situation correctly.
|
||||
* When passing a bundle via {@link Intent} extras, it gets parceled and unparceled. Any array of
|
||||
* bundles will return as an array of {@link Parcelable} instead. This test verifies that {@link
|
||||
* Arguments#fromArray} handles this situation correctly.
|
||||
*/
|
||||
@Test
|
||||
public void testFromMarshaledBundle() {
|
||||
|
||||
Reference in New Issue
Block a user