HaloCloudinary { @Override public String toString() { return url(); } HaloCloudinary(@NonNull final String url); @Api(1.1) static Builder builder(); @NonNull @Api(1.1) String url(); @Override String toString(); @Api(1.1)
    static final String CROP_MODE_SCALE; @Api(1.1)
    static final String CROP_MODE_FIT; @Api(1.1)
    static final String CROP_MODE_LIMIT; @Api(1.1)
    static final String CROP_MODE_SCALE_FIT; @Api(1.1)
    static final String CROP_MODE_FILL; @Api(1.1)
    static final String CROP_MODE_LARGE_FILL; @Api(1.1)
    static final String CROP_MODE_PAD; @Api(1.1)
    static final String CROP_MODE_LARGE_PAD; @Api(1.1)
    static final String CROP_MODE_SCALE_PAD; @Api(1.1)
    static final String CROP_MODE_CROP; @Api(1.1)
    static final String CROP_MODE_THUMB; @Api(1.1)
    static final String CROP_MODE_AOI_CROP; @Api(1.1)
    static final String CROP_MODE_AOI_SCALE; @Api(1.1)
    static final String IMAGE_GRAVITY_NORTH_WEST; @Api(1.1)
    static final String IMAGE_GRAVITY_NORTH; @Api(1.1)
    static final String IMAGE_GRAVITY_NORTH_EAST; @Api(1.1)
    static final String IMAGE_GRAVITY_WEST; @Api(1.1)
    static final String IMAGE_GRAVITY_CENTER; @Api(1.1)
    static final String IMAGE_GRAVITY_EAST; @Api(1.1)
    static final String IMAGE_GRAVITY_SOUTH_WEST; @Api(1.1)
    static final String IMAGE_GRAVITY_SOUTH; @Api(1.1)
    static final String IMAGE_GRAVITY_SOUTH_EAST; @Api(1.1)
    static final String IMAGE_GRAVITY_XY_CENTER; @Api(1.1)
    static final String IMAGE_GRAVITY_FACE; @Api(1.1)
    static final String IMAGE_GRAVITY_FACE_CENTER; @Api(1.1)
    static final String IMAGE_GRAVITY_FACES; @Api(1.1)
    static final String IMAGE_GRAVITY_FACES_CENTER; @Api(1.1)
    static final String IMAGE_GRAVITY_LARGEST_FACE; @Api(1.1)
    static final String IMAGE_GRAVITY_ALL_FACES; @Api(1.1)
    static final String IMAGE_GRAVITY_LARGEST_EYES; @Api(1.1)
    static final String IMAGE_GRAVITY_CUSTOM; @Api(1.1)
    static final String IMAGE_GRAVITY_CUSTOM_FACE; @Api(1.1)
    static final String IMAGE_GRAVITY_CUSTOM_FACES; @Api(1.1)
    static final String IMAGE_GRAVITY_CUSTOM_LARGEST_FACE; @Api(1.1)
    static final String IMAGE_GRAVITY_CUSTOM_ALL_FACES; @Api(1.1)
    static final String IMAGE_FLAG_KEEP_IPTC; @Api(1.1)
    static final String IMAGE_FLAG_ATTACHMENT; @Api(1.1)
    static final String IMAGE_FLAG_RELATIVE; @Api(1.1)
    static final String IMAGE_FLAG_REGION_RELATIVE; @Api(1.1)
    static final String IMAGE_FLAG_PROGRESSIVE; @Api(1.1)
    static final String IMAGE_FLAG_PNG_8; @Api(1.1)
    static final String IMAGE_FLAG_FORCE_STRIP; @Api(1.1)
    static final String IMAGE_FLAG_CUTTER; @Api(1.1)
    static final String IMAGE_FLAG_CLIP; @Api(1.1)
    static final String IMAGE_FLAG_AWEBP; @Api(1.1)
    static final String IMAGE_FLAG_LAYER_APPLY; @Api(1.1)
    static final String IMAGE_FLAG_IGNORE_ASPECT_RATIO; @Api(1.1)
    static final String IMAGE_FLAG_TILED; @Api(1.1)
    static final String IMAGE_FLAG_LOSSY; @Api(1.1)
    static final String IMAGE_FLAG_STRIP_PROFILE; @Api(1.1)
    static final String IMAGE_FLAG_RASTERIZE; @Api(1.1)
    static final String IMAGE_FLAG_TEXT_NO_TRIM; }
@Test public void thatCanApplyAdvaceRedEyeEffect() { assertThat(HaloCloudinary.Effects.advancedRedEye().toString().equals("e_adv_redeye")).isTrue(); }
@Test public void thatCanApplyAutoBrightnessEffect() { assertThat(HaloCloudinary.Effects.autoBrightness().toString().equals("e_auto_brightness")).isTrue(); }
@Test public void thatCanApplyAutoColorEffect() { assertThat(HaloCloudinary.Effects.autoColor().toString().equals("e_auto_color")).isTrue(); }
@Test public void thatCanApplyAutoContrastEffect() { assertThat(HaloCloudinary.Effects.autoContrast().toString().equals("e_auto_contrast")).isTrue(); }
@Test public void thatCanApplyBlackAndWhiteEffect() { assertThat(HaloCloudinary.Effects.blackAndWhite().toString().equals("e_blackwhite")).isTrue(); }
@Test public void thatCanApplyBlueEffect() { assertThat(HaloCloudinary.Effects.blue(10).toString().equals("e_blue:10")).isTrue(); assertThat(HaloCloudinary.Effects.blue(null).toString().equals("e_blue")).isTrue(); assertThat(HaloCloudinary.Effects.blue(-1000).toString().equals("e_blue")).isTrue(); }
@Test public void thatCanApplyBlurEffect() { assertThat(HaloCloudinary.Effects.blur(10).toString().equals("e_blur:10")).isTrue(); assertThat(HaloCloudinary.Effects.blur(null).toString().equals("e_blur")).isTrue(); assertThat(HaloCloudinary.Effects.blur(-1000).toString().equals("e_blur")).isTrue(); }
@Test public void thatCanApplyBlurFacesEffect() { assertThat(HaloCloudinary.Effects.blurFaces(10).toString().equals("e_blur_faces:10")).isTrue(); assertThat(HaloCloudinary.Effects.blurFaces(null).toString().equals("e_blur_faces")).isTrue(); assertThat(HaloCloudinary.Effects.blurFaces(-1000).toString().equals("e_blur_faces")).isTrue(); }
@Test public void thatCanApplyBrightnessEffect() { assertThat(HaloCloudinary.Effects.brightness(10).toString().equals("e_brightness:10")).isTrue(); assertThat(HaloCloudinary.Effects.brightness(null).toString().equals("e_brightness")).isTrue(); assertThat(HaloCloudinary.Effects.brightness(-1000).toString().equals("e_brightness")).isTrue(); }
@Test public void thatCanApplyColorizeEffect() { assertThat(HaloCloudinary.Effects.colorize(10).toString().equals("e_colorize:10")).isTrue(); assertThat(HaloCloudinary.Effects.colorize(null).toString().equals("e_colorize")).isTrue(); assertThat(HaloCloudinary.Effects.colorize(-1000).toString().equals("e_colorize")).isTrue(); }
@Test public void thatCanApplyContrastEffect() { assertThat(HaloCloudinary.Effects.contrast(10).toString().equals("e_contrast:10")).isTrue(); assertThat(HaloCloudinary.Effects.contrast(null).toString().equals("e_contrast")).isTrue(); assertThat(HaloCloudinary.Effects.contrast(-1000).toString().equals("e_contrast")).isTrue(); }
@Test public void thatCanApplyDisplaceEffect() { assertThat(HaloCloudinary.Effects.displace().toString().equals("e_displace")).isTrue(); }
@Test public void thatCanApplyDistortEffect() { assertThat(HaloCloudinary.Effects.distort(new Pair<>(1, 1), new Pair<>(1, 1), new Pair<>(1, 1), new Pair<>(1, 1)).toString().equals("e_distort:1:1:1:1:1:1:1:1")).isTrue(); }
@Test public void thatCanApplyFillLightEffect() { assertThat(HaloCloudinary.Effects.fillLight(10).toString().equals("e_fill_light:10")).isTrue(); assertThat(HaloCloudinary.Effects.fillLight(null).toString().equals("e_fill_light")).isTrue(); assertThat(HaloCloudinary.Effects.fillLight(-1000).toString().equals("e_fill_light")).isTrue(); }
@Test public void thatCanApplyGammaEffect() { assertThat(HaloCloudinary.Effects.gamma(10).toString().equals("e_gamma:10")).isTrue(); assertThat(HaloCloudinary.Effects.gamma(null).toString().equals("e_gamma")).isTrue(); assertThat(HaloCloudinary.Effects.gamma(-1000).toString().equals("e_gamma")).isTrue(); }
@Test public void thatCanApplyGradientFadeEffect() { assertThat(HaloCloudinary.Effects.gradientFade(10).toString().equals("e_gradient_fade:10")).isTrue(); assertThat(HaloCloudinary.Effects.gradientFade(null).toString().equals("e_gradient_fade")).isTrue(); assertThat(HaloCloudinary.Effects.gradientFade(-1000).toString().equals("e_gradient_fade")).isTrue(); }
@Test public void thatCanApplyGrayscaleEffect() { assertThat(HaloCloudinary.Effects.grayscale().toString().equals("e_grayscale")).isTrue(); }
@Test public void thatCanApplyGreenEffect() { assertThat(HaloCloudinary.Effects.green(10).toString().equals("e_green:10")).isTrue(); assertThat(HaloCloudinary.Effects.green(null).toString().equals("e_green")).isTrue(); assertThat(HaloCloudinary.Effects.green(-1000).toString().equals("e_green")).isTrue(); }
@Test public void thatCanApplyHueEffect() { assertThat(HaloCloudinary.Effects.hue(10).toString().equals("e_hue:10")).isTrue(); assertThat(HaloCloudinary.Effects.hue(null).toString().equals("e_hue")).isTrue(); assertThat(HaloCloudinary.Effects.hue(-1000).toString().equals("e_hue")).isTrue(); }
@Test public void thatCanApplyImproveEffect() { assertThat(HaloCloudinary.Effects.improve().toString().equals("e_improve")).isTrue(); }
@Test public void thatCanApplyMakeTransparentEffect() { assertThat(HaloCloudinary.Effects.makeTransparent().toString().equals("e_make_transparent")).isTrue(); }
@Test public void thatCanApplyMultiplyEffect() { assertThat(HaloCloudinary.Effects.multiply().toString().equals("e_multiply")).isTrue(); }
@Test public void thatCanApplyNegateEffect() { assertThat(HaloCloudinary.Effects.negate().toString().equals("e_negate")).isTrue(); }
@Test public void thatCanApplyOilPaintEffect() { assertThat(HaloCloudinary.Effects.oilPaint(10).toString().equals("e_oil_paint:10")).isTrue(); assertThat(HaloCloudinary.Effects.oilPaint(null).toString().equals("e_oil_paint")).isTrue(); assertThat(HaloCloudinary.Effects.oilPaint(-1000).toString().equals("e_oil_paint")).isTrue(); }
@Test public void thatCanApplyOverlayEffect() { assertThat(HaloCloudinary.Effects.overlay().toString().equals("e_overlay")).isTrue(); }
@Test public void thatCanApplyPixelateEffect() { assertThat(HaloCloudinary.Effects.pixelate(10).toString().equals("e_pixelate:10")).isTrue(); assertThat(HaloCloudinary.Effects.pixelate(null).toString().equals("e_pixelate")).isTrue(); assertThat(HaloCloudinary.Effects.pixelate(-1000).toString().equals("e_pixelate")).isTrue(); }
@Test public void thatCanApplyPixelateFacesEffect() { assertThat(HaloCloudinary.Effects.pixelateFaces(10).toString().equals("e_pixelate_faces:10")).isTrue(); assertThat(HaloCloudinary.Effects.pixelateFaces(null).toString().equals("e_pixelate_faces")).isTrue(); assertThat(HaloCloudinary.Effects.pixelateFaces(-1000).toString().equals("e_pixelate_faces")).isTrue(); }
@Test public void thatCanApplyRedEffect() { assertThat(HaloCloudinary.Effects.red(10).toString().equals("e_red:10")).isTrue(); assertThat(HaloCloudinary.Effects.red(null).toString().equals("e_red")).isTrue(); assertThat(HaloCloudinary.Effects.red(-1000).toString().equals("e_red")).isTrue(); }
@Test public void thatCanApplyRedEyeEffect() { assertThat(HaloCloudinary.Effects.redEye().toString().equals("e_redeye")).isTrue(); }
@Test public void thatCanApplySaturationEffect() { assertThat(HaloCloudinary.Effects.saturation(10).toString().equals("e_saturation:10")).isTrue(); assertThat(HaloCloudinary.Effects.saturation(null).toString().equals("e_saturation")).isTrue(); assertThat(HaloCloudinary.Effects.saturation(-1000).toString().equals("e_saturation")).isTrue(); }
@Test public void thatCanApplyScreenEffect() { assertThat(HaloCloudinary.Effects.screen().toString().equals("e_screen")).isTrue(); }
@Test public void thatCanApplySepiaEffect() { assertThat(HaloCloudinary.Effects.sepia(10).toString().equals("e_sepia:10")).isTrue(); assertThat(HaloCloudinary.Effects.sepia(null).toString().equals("e_sepia")).isTrue(); assertThat(HaloCloudinary.Effects.sepia(-1000).toString().equals("e_sepia")).isTrue(); }
@Test public void thatCanApplyShearEffect() { assertThat(HaloCloudinary.Effects.shear(10, 10).toString().equals("e_shear:10.0:10.0")).isTrue(); }
@Test public void thatCanApplyShadowEffect() { assertThat(HaloCloudinary.Effects.shadow(10).toString().equals("e_shadow:10")).isTrue(); assertThat(HaloCloudinary.Effects.shadow(null).toString().equals("e_shadow")).isTrue(); assertThat(HaloCloudinary.Effects.shadow(-1000).toString().equals("e_shadow")).isTrue(); }
@Test public void thatCanApplySharpenEffect() { assertThat(HaloCloudinary.Effects.sharpen(10).toString().equals("e_sharpen:10")).isTrue(); assertThat(HaloCloudinary.Effects.sharpen(null).toString().equals("e_sharpen")).isTrue(); assertThat(HaloCloudinary.Effects.sharpen(-1000).toString().equals("e_sharpen")).isTrue(); }
@Test public void thatCanApplyTrimEffect() { assertThat(HaloCloudinary.Effects.trim(10).toString().equals("e_trim:10")).isTrue(); assertThat(HaloCloudinary.Effects.trim(null).toString().equals("e_trim")).isTrue(); assertThat(HaloCloudinary.Effects.trim(101).toString().equals("e_trim")).isTrue(); }
@Test public void thatCanApplyUnsharpMaskEffect() { assertThat(HaloCloudinary.Effects.unsharpMask(10).toString().equals("e_unsharp_mask:10")).isTrue(); assertThat(HaloCloudinary.Effects.unsharpMask(null).toString().equals("e_unsharp_mask")).isTrue(); assertThat(HaloCloudinary.Effects.unsharpMask(-1000).toString().equals("e_unsharp_mask")).isTrue(); }
@Test public void thatCanApplyVibranceEffect() { assertThat(HaloCloudinary.Effects.vibrance(10).toString().equals("e_vibrance:10")).isTrue(); assertThat(HaloCloudinary.Effects.vibrance(null).toString().equals("e_vibrance")).isTrue(); assertThat(HaloCloudinary.Effects.vibrance(-1000).toString().equals("e_vibrance")).isTrue(); assertThat(HaloCloudinary.Effects.vibrance(1000).toString().equals("e_vibrance")).isTrue(); }
@Test public void thatViesusCorrectEffect() { assertThat(HaloCloudinary.Effects.viesusCorrect().toString().equals("e_viesus_correct")).isTrue(); }
@Test public void thatCanChangeEffect() { assertThat(HaloCloudinary.Effects.vignette(10).toString().equals("e_vignette:10")).isTrue(); assertThat(HaloCloudinary.Effects.vignette(null).toString().equals("e_vignette")).isTrue(); assertThat(HaloCloudinary.Effects.vignette(-1).toString().equals("e_vignette")).isTrue(); assertThat(HaloCloudinary.Effects.vignette(101).toString().equals("e_vignette")).isTrue(); }
@Test public void thatParcelableEffect() { HaloCloudinary.Effect effect = HaloCloudinary.Effects.negate(); assertThat(TestUtils.testParcel(effect, HaloCloudinary.Effect.CREATOR).toString().equals(effect.toString())).isTrue(); assertThat(effect.describeContents()).isEqualTo(0); }
@Test public void thatCanChangeRotations() { assertThat(HaloCloudinary.Rotations.autoLeft().toString().contains("a_auto_left")).isTrue(); assertThat(HaloCloudinary.Rotations.autoRight().toString().contains("a_auto_right")).isTrue(); assertThat(HaloCloudinary.Rotations.custom(10).toString().contains("a_10.0")).isTrue(); assertThat(HaloCloudinary.Rotations.horizontalFlip().toString().contains("a_hflip")).isTrue(); assertThat(HaloCloudinary.Rotations.verticalFlip().toString().contains("a_vflip")).isTrue(); assertThat(HaloCloudinary.Rotations.ignore().toString().contains("a_ignore")).isTrue(); }
@Test public void thatParcelableRotation() { HaloCloudinary.Rotation rotation = HaloCloudinary.Rotations.verticalFlip(); assertThat(TestUtils.testParcel(rotation, HaloCloudinary.Rotation.CREATOR).toString().equals(rotation.toString())).isTrue(); assertThat(rotation.describeContents()).isEqualTo(0); }