コード例 #1
0
 def test_FullBuildArchive_Android(self):
     archive = fetch_build.FullBuildArchive()
     archive._platform = 'android'
     self.assertEqual('chromium-android', archive.BucketName())
     self.assertEqual(
         'android_main_rel/full-build-linux_1234567890abcdef.zip',
         archive.FilePath('1234567890abcdef'))
コード例 #2
0
 def test_FullBuildArchive_Linux(self):
     archive = fetch_build.FullBuildArchive()
     archive._platform = 'linux'
     self.assertEqual('chromium-linux-archive', archive.BucketName())
     self.assertEqual(
         'chromium.linux/Linux Builder/full-build-linux_1234567890abcdef.zip',
         archive.FilePath('1234567890abcdef'))
コード例 #3
0
 def test_FullBuildArchive_Windows_BuildTime(self):
     archive = fetch_build.FullBuildArchive()
     archive._platform = 'win'
     self.assertEqual(14400, archive.GetBuilderBuildTime())
コード例 #4
0
 def test_FullBuildArchive_Linux_BuilderName(self):
     archive = fetch_build.FullBuildArchive()
     archive._platform = 'linux'
     self.assertEqual('linux_full_bisect_builder', archive.GetBuilderName())