Exemplo n.º 1
0
 def testCreateSuiteDescriptionDict(self):
     self._AddSampleData()
     suites = []
     for test_path in ["Chromium/win7/dromaeo", "Chromium/mac/dromaeo"]:
         test = utils.TestKey(test_path).get()
         test.description = "Foo."
         test.put()
         suites.append(test)
     self.assertEqual({"dromaeo": "Foo."}, update_test_suites._CreateSuiteDescriptionDict(suites))
 def testCreateSuiteDescriptionDict(self):
   self._AddSampleData()
   for test_path in ['Chromium/win7/dromaeo', 'Chromium/mac/dromaeo']:
     test = utils.TestKey(test_path).get()
     test.description = 'Foo.'
     test.put()
   suite_keys = update_test_suites._FetchTestSuiteKeys()
   self.assertEqual(
       {'dromaeo': 'Foo.', 'scrolling': '', 'really': ''},
       update_test_suites._CreateSuiteDescriptionDict(suite_keys))
Exemplo n.º 3
0
 def testCreateSuiteDescriptionDict(self):
   self._AddSampleData()
   for test_path in ['Chromium/win7/dromaeo', 'Chromium/mac/dromaeo']:
     test = utils.TestKey(test_path).get()
     test.description = 'Foo.'
     test.put()
   suite_keys = update_test_suites._FetchTestSuiteKeys()
   self.assertEqual(
       {'dromaeo': 'Foo.', 'scrolling': '', 'really': ''},
       update_test_suites._CreateSuiteDescriptionDict(suite_keys))
Exemplo n.º 4
0
 def testCreateSuiteDescriptionDict(self):
   self._AddSampleData()
   suites = []
   for test_path in ['Chromium/win7/dromaeo', 'Chromium/mac/dromaeo']:
     test = utils.TestKey(test_path).get()
     test.description = 'Foo.'
     test.put()
     suites.append(test)
   self.assertEqual(
       {'dromaeo': 'Foo.'},
       update_test_suites._CreateSuiteDescriptionDict(suites))
Exemplo n.º 5
0
 def testCreateSuiteDescriptionDict(self):
   self._AddSampleData()
   suites = []
   for test_path in ['Chromium/win7/dromaeo', 'Chromium/mac/dromaeo']:
     test = utils.TestKey(test_path).get()
     test.description = 'Foo.'
     test.put()
     suites.append(test)
   self.assertEqual(
       {'dromaeo': 'Foo.'},
       update_test_suites._CreateSuiteDescriptionDict(suites))