File tree 1 file changed +2
-4
lines changed
library/src/test/java/com/bumptech/glide/request/target
1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change 45
45
import org .robolectric .Shadows ;
46
46
import org .robolectric .android .controller .ActivityController ;
47
47
import org .robolectric .annotation .Config ;
48
- import org .robolectric .annotation .TextLayoutMode ;
49
48
import org .robolectric .util .ReflectionHelpers ;
50
49
51
50
/**
57
56
*/
58
57
@ RunWith (RobolectricTestRunner .class )
59
58
@ Config (sdk = 19 , manifest = "build/intermediates/manifests/full/debug/AndroidManifest.xml" )
60
- @ TextLayoutMode (value = TextLayoutMode .Mode .LEGACY , issueId = "130378660" )
61
59
public class CustomViewTargetTest {
62
60
private ActivityController <Activity > activity ;
63
61
private View view ;
@@ -212,7 +210,7 @@ public void getSize_withWrapContentWidthAndMatchParentHeight_usesDisplayDimenWid
212
210
213
211
view .getViewTreeObserver ().dispatchOnPreDraw ();
214
212
215
- verify (cb ).onSizeReady (600 , height );
213
+ verify (cb ).onSizeReady (500 , height );
216
214
}
217
215
218
216
@ Test
@@ -232,7 +230,7 @@ public void getSize_withMatchParentWidthAndWrapContentHeight_usesWidthAndDisplay
232
230
activity .visible ();
233
231
view .getViewTreeObserver ().dispatchOnPreDraw ();
234
232
235
- verify (cb ).onSizeReady (width , 400 );
233
+ verify (cb ).onSizeReady (width , 352 );
236
234
}
237
235
238
236
@ Test
You can’t perform that action at this time.
0 commit comments