Пример #1
0
 def SetUpProcess(cls):
   options = cls.GetParsedCommandLineOptions()
   color_profile_manager.ForceUntilExitSRGB(
     options.dont_restore_color_profile_after_test)
   super(PixelIntegrationTest, cls).SetUpProcess()
   cls.CustomizeBrowserArgs(cls._AddDefaultArgs([]))
   cls.StartBrowser()
   cls.SetStaticServerDirs(test_data_dirs)
 def SetUpProcess(cls):
     options = cls.GetParsedCommandLineOptions()
     color_profile_manager.ForceUntilExitSRGB(
         options.dont_restore_color_profile_after_test)
     super(cls, ScreenshotSyncIntegrationTest).SetUpProcess()
     cls.CustomizeBrowserArgs([])
     cls.StartBrowser()
     cls.SetStaticServerDirs([data_path])
Пример #3
0
 def SetUpProcess(cls):
     options = cls.GetParsedCommandLineOptions()
     color_profile_manager.ForceUntilExitSRGB(
         options.dont_restore_color_profile_after_test)
     super(SkiaGoldIntegrationTestBase, cls).SetUpProcess()
     cls.CustomizeBrowserArgs(cls._AddDefaultArgs([]))
     cls.StartBrowser()
     cls.SetStaticServerDirs(TEST_DATA_DIRS)
     cls._skia_gold_temp_dir = tempfile.mkdtemp()
 def SetUpProcess(cls):
     color_profile_manager.ForceUntilExitSRGB()
     super(MapsIntegrationTest, cls).SetUpProcess()
     browser_args = [
         '--force-color-profile=srgb',
         '--enable-features=ColorCorrectRendering'
     ]
     cls.CustomizeBrowserArgs(browser_args)
     cls.StartWPRServer(os.path.join(wpr_path, 'maps_005.wprgo'),
                        cloud_storage.PUBLIC_BUCKET)
     cls.StartBrowser()
 def SetUpProcess(cls):
     options = cls.GetParsedCommandLineOptions()
     color_profile_manager.ForceUntilExitSRGB(
         options.dont_restore_color_profile_after_test)
     super(MapsIntegrationTest, cls).SetUpProcess()
     browser_args = [
         '--force-color-profile=srgb', '--ensure-forced-color-profile'
     ]
     cls.CustomizeBrowserArgs(browser_args)
     cls.StartWPRServer(os.path.join(wpr_path, 'maps_005.wprgo'),
                        cloud_storage.PUBLIC_BUCKET)
     cls.StartBrowser()
Пример #6
0
 def SetUpProcess(cls):
   options = cls.GetParsedCommandLineOptions()
   color_profile_manager.ForceUntilExitSRGB(
     options.dont_restore_color_profile_after_test)
   super(MapsIntegrationTest, cls).SetUpProcess()
   browser_args = [
       '--force-color-profile=srgb',
       '--ensure-forced-color-profile']
   cls.CustomizeBrowserArgs(browser_args)
   cloud_storage.GetIfChanged(
     os.path.join(maps_perf_test_path, 'load_dataset'),
     cloud_storage.PUBLIC_BUCKET)
   cls.SetStaticServerDirs([maps_perf_test_path])
   cls.StartBrowser()
Пример #7
0
 def SetUpProcess(cls):
     options = cls.GetParsedCommandLineOptions()
     color_profile_manager.ForceUntilExitSRGB(
         options.dont_restore_color_profile_after_test)
     super(MapsIntegrationTest, cls).SetUpProcess()
     cls.CustomizeBrowserArgs([
         cba.FORCE_COLOR_PROFILE_SRGB,
         cba.ENSURE_FORCED_COLOR_PROFILE,
     ])
     cloud_storage.GetIfChanged(
         os.path.join(_MAPS_PERF_TEST_PATH, 'load_dataset'),
         cloud_storage.PUBLIC_BUCKET)
     cls.SetStaticServerDirs([_MAPS_PERF_TEST_PATH])
     cls.StartBrowser()
Пример #8
0
 def SetUpProcess(cls):
     color_profile_manager.ForceUntilExitSRGB()
     super(cls, ScreenshotSyncIntegrationTest).SetUpProcess()
     cls.CustomizeBrowserArgs(cls._AddDefaultArgs([]))
     cls.StartBrowser()
     cls.SetStaticServerDirs([data_path])
Пример #9
0
 def SetUpProcess(cls):
   color_profile_manager.ForceUntilExitSRGB()
   super(PixelIntegrationTest, cls).SetUpProcess()
   cls.CustomizeBrowserArgs(cls._AddDefaultArgs([]))
   cls.StartBrowser()
   cls.SetStaticServerDirs(test_data_dirs)