+ DALI_TEST_CHECK(!(loader.Cancel(id)));
+
+ 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);
+ loader.CancelAll();
+
+ // Test that cancelling a non-existing loading task will return false
+ DALI_TEST_CHECK(!(loader.Cancel(id01)));
+ DALI_TEST_CHECK(!(loader.Cancel(id02)));
+ DALI_TEST_CHECK(!(loader.Cancel(id03)));
+
+ application.SendNotification();
+ application.Render();