Skip to content

Commit

Permalink
Remove built-in shadows from the @config annotation (flutter#26823)
Browse files Browse the repository at this point in the history
  • Loading branch information
hoisie committed Jul 1, 2021
1 parent a71829c commit 358a8e8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,11 @@
import org.robolectric.annotation.Implementation;
import org.robolectric.annotation.Implements;
import org.robolectric.shadow.api.Shadow;
import org.robolectric.shadows.ShadowClipboardManager;
import org.robolectric.shadows.ShadowInputMethodManager;

@Config(
manifest = Config.NONE,
shadows = {ShadowClipboardManager.class, InputConnectionAdaptorTest.TestImm.class})
shadows = {InputConnectionAdaptorTest.TestImm.class})
@RunWith(RobolectricTestRunner.class)
public class InputConnectionAdaptorTest {
@Mock KeyboardManager mockKeyboardManager;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,8 @@
import org.robolectric.RobolectricTestRunner;
import org.robolectric.RuntimeEnvironment;
import org.robolectric.annotation.Config;
import org.robolectric.shadows.ShadowDisplay;
import org.robolectric.shadows.ShadowDisplayManager;
import org.robolectric.shadows.ShadowInputMethodManager;

@Config(
manifest = Config.NONE,
shadows = {ShadowInputMethodManager.class, ShadowDisplayManager.class, ShadowDisplay.class})
@Config(manifest = Config.NONE)
@RunWith(RobolectricTestRunner.class)
@TargetApi(28)
public class SingleViewPresentationTest {
Expand Down

0 comments on commit 358a8e8

Please sign in to comment.