def testMinimumArguments(self):
     quest = run_instrumentation_test.RunInstrumentationTest.FromDict(
         _BASE_ARGUMENTS)
     expected = run_instrumentation_test.RunInstrumentationTest(
         'server', run_test_test.DIMENSIONS, _BASE_EXTRA_ARGS,
         _BASE_SWARMING_TAGS)
     self.assertEqual(quest, expected)
Esempio n. 2
0
  def testAllArguments(self):
    arguments = dict(_BASE_ARGUMENTS)
    filter_string = 'InstrumentationClass#SomeTestCase'
    arguments['test-filter'] = filter_string
    quest = run_instrumentation_test.RunInstrumentationTest.FromDict(arguments)

    extra_args = ['--test-filter', filter_string] + _BASE_EXTRA_ARGS
    expected = run_instrumentation_test.RunInstrumentationTest(
        'server', {'key': 'value'}, extra_args)
    self.assertEqual(quest, expected)
    def testAllArguments(self):
        arguments = dict(_BASE_ARGUMENTS)
        filter_string = 'InstrumentationClass#SomeTestCase'
        arguments['test-filter'] = filter_string
        quest = run_instrumentation_test.RunInstrumentationTest.FromDict(
            arguments)

        extra_args = ['--test-filter', filter_string] + _BASE_EXTRA_ARGS
        expected = run_instrumentation_test.RunInstrumentationTest(
            'server', run_test_test.DIMENSIONS, extra_args,
            _BASE_SWARMING_TAGS)
        self.assertEqual(quest, expected)
Esempio n. 4
0
 def testMinimumArguments(self):
   quest = run_instrumentation_test.RunInstrumentationTest.FromDict(
       _BASE_ARGUMENTS)
   expected = run_instrumentation_test.RunInstrumentationTest(
       'server', {'key': 'value'}, _BASE_EXTRA_ARGS)
   self.assertEqual(quest, expected)