@@ -74,8 +74,8 @@ public void testShapeAppearanceWithAbsoluteCornerSizes_shouldBeClamped() {
74
74
assertThat (topRightCornerSize .getCornerSize (maskableFrameLayout .getMaskRectF ())).isEqualTo (25F );
75
75
}
76
76
77
- @ RequiresApi (api = VERSION_CODES .LOLLIPOP )
78
- @ Config (sdk = VERSION_CODES .LOLLIPOP )
77
+ @ RequiresApi (api = VERSION_CODES .LOLLIPOP_MR1 )
78
+ @ Config (sdk = VERSION_CODES .LOLLIPOP_MR1 )
79
79
@ Test
80
80
public void testForceCompatClipping_shouldNotUseViewOutlineProvider () {
81
81
MaskableFrameLayout maskableFrameLayout = createMaskableFrameLayoutWithSize (50 , 50 );
@@ -87,21 +87,21 @@ public void testForceCompatClipping_shouldNotUseViewOutlineProvider() {
87
87
assertThat (maskableFrameLayout .getClipToOutline ()).isFalse ();
88
88
}
89
89
90
- @ RequiresApi (api = VERSION_CODES .LOLLIPOP )
91
- @ Config (sdk = VERSION_CODES .LOLLIPOP )
90
+ @ RequiresApi (api = VERSION_CODES .LOLLIPOP_MR1 )
91
+ @ Config (sdk = VERSION_CODES .LOLLIPOP_MR1 )
92
92
@ Test
93
- public void testRoundedCornersApi21_usesViewOutlineProvider () {
93
+ public void testRoundedCornersApi22_usesViewOutlineProvider () {
94
94
MaskableFrameLayout maskableFrameLayout = createMaskableFrameLayoutWithSize (50 , 50 );
95
95
ShapeAppearanceModel model = new ShapeAppearanceModel .Builder ().setAllCornerSizes (10F ).build ();
96
96
maskableFrameLayout .setShapeAppearanceModel (model );
97
97
98
98
assertThat (maskableFrameLayout .getClipToOutline ()).isTrue ();
99
99
}
100
100
101
- @ RequiresApi (api = VERSION_CODES .LOLLIPOP )
102
- @ Config (sdk = VERSION_CODES .LOLLIPOP )
101
+ @ RequiresApi (api = VERSION_CODES .LOLLIPOP_MR1 )
102
+ @ Config (sdk = VERSION_CODES .LOLLIPOP_MR1 )
103
103
@ Test
104
- public void testCutCornersApi21_doesNotUseViewOutlineProvider () {
104
+ public void testCutCornersApi22_doesNotUseViewOutlineProvider () {
105
105
MaskableFrameLayout maskableFrameLayout = createMaskableFrameLayoutWithSize (50 , 50 );
106
106
ShapeAppearanceModel model =
107
107
new ShapeAppearanceModel .Builder ()
0 commit comments