• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 package org.robolectric.shadows;
2 
3 import static android.os.Build.VERSION_CODES.LOLLIPOP;
4 
5 import android.graphics.Outline;
6 import android.graphics.Path;
7 import androidx.test.ext.junit.runners.AndroidJUnit4;
8 import org.junit.Test;
9 import org.junit.runner.RunWith;
10 import org.robolectric.annotation.Config;
11 
12 @RunWith(AndroidJUnit4.class)
13 @Config(minSdk = LOLLIPOP)
14 public class ShadowOutlineTest {
15 
16     @Test
setConvexPath_doesNothing()17     public void setConvexPath_doesNothing() {
18         final Outline outline = new Outline();
19         outline.setConvexPath(new Path());
20     }
21 }
22