OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:cloud_bucket
(Results
1 - 9
of
9
) sorted by null
/external/chromium_org/chrome/test/ispy/common/
mock_cloud_bucket.py
11
import
cloud_bucket
namespace
14
class MockCloudBucket(
cloud_bucket
.BaseCloudBucket):
38
raise
cloud_bucket
.FileNotFoundError
43
raise
cloud_bucket
.FileNotFoundError
60
raise
cloud_bucket
.FileNotFoundError
ispy_utils.py
69
def __init__(self,
cloud_bucket
):
73
cloud_bucket
: An object implementing the
cloud_bucket
.BaseCloudBucket
76
self.
cloud_bucket
=
cloud_bucket
85
self.
cloud_bucket
.UploadFile(
98
cloud_bucket
.NotFoundError: if the path to the image is not valid.
100
return image_tools.DecodePNG(self.
cloud_bucket
.DownloadFile(full_path))
109
self.
cloud_bucket
.UpdateFile(full_path, image_tools.EncodePNG(image))
143
cloud_bucket
.NotFoundError: if the given expectation is not found
[
all
...]
ispy_utils_unittest.py
10
import
cloud_bucket
namespace
62
self.assertRaises(
cloud_bucket
.FileNotFoundError,
132
cloud_bucket
.FileNotFoundError, self.ispy_utils.GetExpectation, 'test3')
188
self.assertRaises(
cloud_bucket
.FileNotFoundError,
/external/chromium_org/chrome/test/ispy/
ispy_api_unittest.py
12
from common import
cloud_bucket
namespace
20
self.
cloud_bucket
= mock_cloud_bucket.MockCloudBucket()
21
self.ispy = ispy_api.ISpyApi(self.
cloud_bucket
)
47
versions = json.loads(self.
cloud_bucket
.DownloadFile('versions.json'))
54
cloud_bucket
.FileNotFoundError,
60
versions = json.loads(self.
cloud_bucket
.DownloadFile('versions.json'))
ispy_api.py
11
from common import
cloud_bucket
namespace
18
def __init__(self,
cloud_bucket
):
22
cloud_bucket
: a BaseCloudBucket in which to the version file,
25
self._cloud_bucket =
cloud_bucket
53
except
cloud_bucket
.FileNotFoundError:
/external/chromium_org/chrome/test/ispy/server/
gs_bucket.py
11
from common import
cloud_bucket
namespace
14
class GoogleCloudStorageBucket(
cloud_bucket
.BaseCloudBucket):
15
"""Subclass of
cloud_bucket
.CloudBucket with actual GS commands."""
48
raise
cloud_bucket
.FileNotFoundError
image_handler.py
12
from common import
cloud_bucket
namespace
34
except
cloud_bucket
.FileNotFoundError:
main_view_handler.py
72
ispy.
cloud_bucket
).CanRebaselineToTestRun(test_run)
103
res['info'] = json.loads(ispy.
cloud_bucket
.DownloadFile(
113
res['expected'] = ispy.
cloud_bucket
.GetImageURL(expected)
114
res['diff'] = ispy.
cloud_bucket
.GetImageURL(diff)
115
res['actual'] = ispy.
cloud_bucket
.GetImageURL(path)
/external/chromium_org/chrome/test/ispy/client/
boto_bucket.py
18
from ispy.common import
cloud_bucket
namespace
21
class BotoCloudBucket(
cloud_bucket
.BaseCloudBucket):
56
raise
cloud_bucket
.FileNotFoundError
64
raise
cloud_bucket
.FileNotFoundError
84
raise
cloud_bucket
.FileNotFoundError(path)
Completed in 131 milliseconds