public void AsyncImageLoaderLoadWithDimensions() { tlog.Debug(tag, $"AsyncImageLoaderLoadWithDimensions START"); using (AsyncImageLoader loader = new AsyncImageLoader()) { try { loader.Load(url, new Uint16Pair(100, 80)); } catch (Exception e) { tlog.Debug(tag, e.Message.ToString()); Assert.Fail("Caught Exception: Failed!"); } } tlog.Debug(tag, $"AsyncImageLoaderLoadWithDimensions END (OK)"); }
public void AsyncImageLoaderLoadWithFittingMode() { tlog.Debug(tag, $"AsyncImageLoaderLoadWithFittingMode START"); using (AsyncImageLoader loader = new AsyncImageLoader()) { try { loader.Load(url, new Uint16Pair(100, 80), FittingModeType.Center, SamplingModeType.Linear, false); } catch (Exception e) { tlog.Debug(tag, e.Message.ToString()); Assert.Fail("Caught Exception: Failed!"); } } tlog.Debug(tag, $"AsyncImageLoaderLoadWithFittingMode END (OK)"); }
public void AsyncImageLoaderLoad() { tlog.Debug(tag, $"AsyncImageLoaderLoad START"); using (AsyncImageLoader loader = new AsyncImageLoader()) { try { loader.Load(url); } catch (Exception e) { tlog.Debug(tag, e.Message.ToString()); Assert.Fail("Caught Exception: Failed!"); } } tlog.Debug(tag, $"AsyncImageLoaderLoad END (OK)"); }