Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(65)

Unified Diff: gm/rebaseline_server/download_actuals_test.py

Issue 855003006: delete old things! (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Add makefiles back :( Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gm/rebaseline_server/download_actuals.py ('k') | gm/rebaseline_server/imagediffdb.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gm/rebaseline_server/download_actuals_test.py
diff --git a/gm/rebaseline_server/download_actuals_test.py b/gm/rebaseline_server/download_actuals_test.py
deleted file mode 100755
index b9822245a3cc0e1a9c7fb1cf2e14eb03d71b20b4..0000000000000000000000000000000000000000
--- a/gm/rebaseline_server/download_actuals_test.py
+++ /dev/null
@@ -1,52 +0,0 @@
-#!/usr/bin/python
-
-"""
-Copyright 2014 Google Inc.
-
-Use of this source code is governed by a BSD-style license that can be
-found in the LICENSE file.
-
-Test download.py
-
-TODO(epoger): Create a command to update the expected results (in
-self._output_dir_expected) when appropriate. For now, you should:
-1. examine the results in self.output_dir_actual and make sure they are ok
-2. rm -rf self._output_dir_expected
-3. mv self.output_dir_actual self._output_dir_expected
-Although, if you're using an SVN checkout, this will blow away .svn directories
-within self._output_dir_expected, which wouldn't be good...
-
-"""
-
-# System-level imports
-import os
-
-# Must fix up PYTHONPATH before importing from within Skia
-import rs_fixpypath # pylint: disable=W0611
-
-# Imports from within Skia
-from py.utils import url_utils
-import base_unittest
-import download_actuals
-
-
-class DownloadTest(base_unittest.TestCase):
-
- def test_fetch(self):
- """Tests fetch() of GM results from actual-results.json ."""
- downloader = download_actuals.Download(
- actuals_base_url=url_utils.create_filepath_url(
- os.path.join(self.input_dir, 'gm-actuals')),
- gm_actuals_root_url=url_utils.create_filepath_url(
- os.path.join(self.input_dir, 'fake-gm-imagefiles')))
- downloader.fetch(
- builder_name='Test-Android-GalaxyNexus-SGX540-Arm7-Release',
- dest_dir=self.output_dir_actual)
-
-
-def main():
- base_unittest.main(DownloadTest)
-
-
-if __name__ == '__main__':
- main()
« no previous file with comments | « gm/rebaseline_server/download_actuals.py ('k') | gm/rebaseline_server/imagediffdb.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698