Home
last modified time | relevance | path

Searched refs:AssertIsRGB (Results 1 – 3 of 3) sorted by relevance

/external/chromium-trace/catapult/telemetry/telemetry/util/
Dimage_util_unittest.py30 image_util.GetPixelColor(bmp, 0, 0).AssertIsRGB(255, 0, 0)
31 image_util.GetPixelColor(bmp, 1, 1).AssertIsRGB(0, 255, 0)
32 image_util.GetPixelColor(bmp, 0, 1).AssertIsRGB(0, 0, 255)
33 image_util.GetPixelColor(bmp, 1, 0).AssertIsRGB(255, 255, 0)
41 image_util.GetPixelColor(file_bmp, 0, 0).AssertIsRGB(255, 0, 0)
42 image_util.GetPixelColor(file_bmp, 1, 1).AssertIsRGB(0, 255, 0)
43 image_util.GetPixelColor(file_bmp, 0, 1).AssertIsRGB(0, 0, 255)
44 image_util.GetPixelColor(file_bmp, 1, 0).AssertIsRGB(255, 255, 0)
83 image_util.GetPixelColor(diff_bmp, 0, 0).AssertIsRGB(0, 0, 0)
84 image_util.GetPixelColor(diff_bmp, 1, 1).AssertIsRGB(0, 0, 0)
[all …]
Drgba_color.py25 def AssertIsRGB(self, r, g, b, tolerance=0): member in RgbaColor
/external/chromium-trace/catapult/telemetry/telemetry/internal/browser/
Dtab_unittest.py220 screenshot, 0 * pixel_ratio, 0 * pixel_ratio).AssertIsRGB(
223 screenshot, 31 * pixel_ratio, 31 * pixel_ratio).AssertIsRGB(
226 screenshot, 32 * pixel_ratio, 32 * pixel_ratio).AssertIsRGB(