+ END_TEST;
+}
+
+// Note: This is not an ideal test, but we cannot guarantee we can call Cancel() before the image has finished loading.
+int UtcDaliAsyncImageLoaderCancel01(void)
+{
+ ToolkitTestApplication application;
+
+ AsyncImageLoader loader = AsyncImageLoader::New();
+ ImageLoadedSignalVerifier loadedSignalVerifier;
+
+ loader.ImageLoadedSignal().Connect(&loadedSignalVerifier, &ImageLoadedSignalVerifier::ImageLoaded);
+
+ uint32_t id01 = loader.Load(gImage_34_RGBA, ImageDimensions(34, 34));
+ uint32_t id02 = loader.Load(gImage_50_RGBA, ImageDimensions(25, 25));
+ uint32_t id03 = loader.Load(gImage_128_RGB, ImageDimensions(100, 100), FittingMode::SCALE_TO_FILL, SamplingMode::BOX_THEN_LINEAR, true);
+
+ DALI_TEST_EQUALS(Test::WaitForEventThreadTrigger(3), true, TEST_LOCATION);