AspectModeManager { public String[] getARModes() { return ASPECT_MODES.split(";"); }  RectangleF doMeasure(VideoInfo info, RectangleF uiSize, float uiAR); String[] getARModes(); static String DEFAULT_ASPECT_MODE; static String ASPECT_MODES; }
@Test public void testMeasureImmutable() { AspectModeManager mgr = new AspectModeManager(); String[] arModes = mgr.getARModes(); for (String mode: arModes) { testImmutables(mgr, mode, newVideoRect(), newUIRect(), AspectHelper.ar_4_3); testImmutables(mgr, mode, newVideoRect(), newUIRect(), AspectHelper.ar_16_9); } }