Commit 275838d7 authored by nednguyen@google.com's avatar nednguyen@google.com

Move results related stuff to telemetry/results

BUG=

Review URL: https://codereview.chromium.org/327583002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@276067 0039d316-1c4b-4281-b951-d872f2087c98
parent 16e9e7c1
......@@ -5,8 +5,8 @@
import unittest
from telemetry.core import browser_options
from telemetry.page import page_measurement_results
from telemetry.page import page_runner
from telemetry.results import page_measurement_results
from telemetry.unittest import simple_mock
from measurements import page_cycler
......
......@@ -2,10 +2,11 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
from telemetry.page import page_measurement_results
from telemetry.page import page as page_module
from telemetry.results import page_measurement_results
from telemetry.value import scalar
class TestPageMeasurementResults(
page_measurement_results.PageMeasurementResults):
def __init__(self, test):
......
......@@ -23,9 +23,9 @@ from telemetry.page import cloud_storage
from telemetry.page import page_filter
from telemetry.page import page_runner_repeat
from telemetry.page import page_test
from telemetry.page import results_options
from telemetry.page.actions import navigate
from telemetry.page.actions import page_action
from telemetry.results import results_options
from telemetry.util import exception_formatter
......
......@@ -13,7 +13,6 @@ from telemetry.core import browser_options
from telemetry.core import discover
from telemetry.core import wpr_modes
from telemetry.page import page_measurement
from telemetry.page import page_measurement_results
from telemetry.page import page_runner
from telemetry.page import page_set
from telemetry.page import page_test
......@@ -21,6 +20,7 @@ from telemetry.page import profile_creator
from telemetry.page import test_expectations
from telemetry.page.actions import action_runner as action_runner_module
from telemetry.page.actions import interact
from telemetry.results import page_measurement_results
class RecordPage(page_test.PageTest): # pylint: disable=W0223
......
# Copyright 2012 The Chromium Authors. All rights reserved.
# Copyright 2014 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
from __future__ import absolute_import
......
# Copyright 2014 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
"""
The PageTestResults hierarchy provides a way of representing the results of
running the test or measurement on pages.
"""
# Copyright 2012 The Chromium Authors. All rights reserved.
# Copyright 2014 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import os
from telemetry.page import page_measurement_results
from telemetry.results import page_measurement_results
class BlockPageMeasurementResults(
page_measurement_results.PageMeasurementResults):
......
# Copyright 2012 The Chromium Authors. All rights reserved.
# Copyright 2014 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import StringIO
import os
import unittest
from telemetry.page import block_page_measurement_results
from telemetry.page import page_set
from telemetry.results import block_page_measurement_results
BlockPageMeasurementResults = \
block_page_measurement_results.BlockPageMeasurementResults
......
# Copyright 2013 The Chromium Authors. All rights reserved.
# Copyright 2014 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
from telemetry import perf_tests_helper
from telemetry import value as value_module
from telemetry.page import page_measurement_results
from telemetry.page import perf_tests_helper
from telemetry.value import summary as summary_module
from telemetry.results import page_measurement_results
class BuildbotPageMeasurementResults(
......
# Copyright 2012 The Chromium Authors. All rights reserved.
# Copyright 2014 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import os
import unittest
from telemetry.page import buildbot_page_measurement_results
from telemetry import perf_tests_helper
from telemetry.page import page_set
from telemetry.page import perf_tests_helper
from telemetry.value import list_of_scalar_values
from telemetry.value import scalar
from telemetry.results import buildbot_page_measurement_results
def _MakePageSet():
ps = page_set.PageSet(file_path=os.path.dirname(__file__))
......
# Copyright 2012 The Chromium Authors. All rights reserved.
# Copyright 2014 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import csv
from telemetry.page import page_measurement_results
from telemetry.results import page_measurement_results
from telemetry.value import merge_values
class CsvPageMeasurementResults(
page_measurement_results.PageMeasurementResults):
def __init__(self, output_stream, output_after_every_page=None):
......
# Copyright 2012 The Chromium Authors. All rights reserved.
# Copyright 2014 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import StringIO
......@@ -6,9 +6,10 @@ import csv
import os
import unittest
from telemetry.page import csv_page_measurement_results
from telemetry.results import csv_page_measurement_results
from telemetry.page import page_set
def _MakePageSet():
ps = page_set.PageSet(file_path=os.path.dirname(__file__))
ps.AddPageWithDefaultRunNavigate('http://www.foo.com/')
......
# Copyright 2013 The Chromium Authors. All rights reserved.
# Copyright 2014 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
......@@ -7,7 +7,8 @@ import sys
import time
import unittest
from telemetry.page import page_test_results
from telemetry.results import page_test_results
class GTestTestResults(page_test_results.PageTestResults):
def __init__(self, output_stream):
......
# Copyright 2013 The Chromium Authors. All rights reserved.
# Copyright 2014 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
......@@ -10,8 +10,8 @@ import re
import sys
from telemetry.core import util
from telemetry.page import buildbot_page_measurement_results
from telemetry.page import cloud_storage
from telemetry.results import buildbot_page_measurement_results
util.AddDirToPythonPath(util.GetChromiumSrcDir(), 'build', 'util')
import lastchange # pylint: disable=F0401
......
# Copyright 2013 The Chromium Authors. All rights reserved.
# Copyright 2014 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import os
import StringIO
import unittest
from telemetry.page import html_page_measurement_results
from telemetry.page import page_set
from telemetry.results import html_page_measurement_results
def _MakePageSet():
......
# Copyright 2013 The Chromium Authors. All rights reserved.
# Copyright 2014 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
from telemetry import value as value_module
from telemetry.page import page_test_results
from telemetry.results import page_test_results
from telemetry.value import value_backcompat
class PageMeasurementResults(page_test_results.PageTestResults):
......
# Copyright 2012 The Chromium Authors. All rights reserved.
# Copyright 2014 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import os
import unittest
from telemetry.page import page_measurement_results
from telemetry import perf_tests_helper
from telemetry.page import page_set
from telemetry.page import perf_tests_helper
from telemetry.results import page_measurement_results
from telemetry.value import scalar
def _MakePageSet():
......
# Copyright 2013 The Chromium Authors. All rights reserved.
# Copyright 2014 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
......
# Copyright 2013 The Chromium Authors. All rights reserved.
# Copyright 2014 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import os
import sys
import unittest
from telemetry.page import page_test_results
from telemetry.page import page_set
from telemetry.results import page_test_results
class NonPrintingPageTestResults(
page_test_results.PageTestResults):
......
# Copyright 2013 The Chromium Authors. All rights reserved.
# Copyright 2014 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
......@@ -7,13 +7,13 @@ import os
import sys
from telemetry.core import util
from telemetry.page import block_page_measurement_results
from telemetry.page import buildbot_page_measurement_results
from telemetry.page import csv_page_measurement_results
from telemetry.page import gtest_test_results
from telemetry.page import html_page_measurement_results
from telemetry.page import page_measurement
from telemetry.page import page_measurement_results
from telemetry.results import block_page_measurement_results
from telemetry.results import buildbot_page_measurement_results
from telemetry.results import csv_page_measurement_results
from telemetry.results import gtest_test_results
from telemetry.results import html_page_measurement_results
from telemetry.results import page_measurement_results
# Allowed output formats. The default is the first item in the list.
......
......@@ -17,8 +17,8 @@ from telemetry.page import page_runner
from telemetry.page import cloud_storage
from telemetry.page import page_set
from telemetry.page import page_test
from telemetry.page import page_test_results
from telemetry.page import test_expectations
from telemetry.results import page_test_results
Disabled = decorators.Disabled
......
......@@ -13,7 +13,7 @@ import sys
import time
import unittest
from telemetry.page import gtest_test_results
from telemetry.results import gtest_test_results
class GTestTestSuite(unittest.TestSuite):
......
......@@ -4,7 +4,7 @@
import json
from telemetry import value as value_module
from telemetry.page import perf_tests_helper
from telemetry import perf_tests_helper
class HistogramValueBucket(object):
def __init__(self, low, high, count=0):
......
......@@ -2,9 +2,9 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
from telemetry.perf_tests_helper import FlattenList
from telemetry.web_perf.metrics import timeline_based_metric
from telemetry.web_perf.metrics import rendering_stats
from telemetry.page.perf_tests_helper import FlattenList
from telemetry.util import statistics
......
......@@ -9,12 +9,12 @@ from telemetry import test
from telemetry.core import wpr_modes
from telemetry.core.timeline import model as model_module
from telemetry.core.timeline import async_slice
from telemetry.page import page_measurement_results
from telemetry.page import page_measurement_unittest_base
from telemetry.page import page_set
from telemetry.page import page as page_module
# pylint: disable=W0401,W0614
from telemetry.page.actions.all_page_actions import *
from telemetry.results import page_measurement_results
from telemetry.unittest import options_for_unittests
from telemetry.web_perf import timeline_based_measurement as tbm_module
from telemetry.web_perf.metrics import timeline_based_metric
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment