aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm/gm_expectations.h
diff options
context:
space:
mode:
authorGravatar epoger@google.com <epoger@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-06-19 15:58:00 +0000
committerGravatar epoger@google.com <epoger@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-06-19 15:58:00 +0000
commit628de5f1f496d96b6f58d3139319be0f42e41269 (patch)
treed7cf298d812769e068d1b8d3ac2cffcac21b071f /gm/gm_expectations.h
parent6324ac5d811e2554f78d61f0dfd918c678c395ba (diff)
Reverting r9682, which broke on some compilers
git-svn-id: http://skia.googlecode.com/svn/trunk@9684 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'gm/gm_expectations.h')
-rw-r--r--gm/gm_expectations.h21
1 files changed, 0 insertions, 21 deletions
diff --git a/gm/gm_expectations.h b/gm/gm_expectations.h
index ec6899794a..55122d4ab8 100644
--- a/gm/gm_expectations.h
+++ b/gm/gm_expectations.h
@@ -76,33 +76,12 @@ namespace skiagm {
*/
Json::Value asJsonTypeValuePair() const;
- /**
- * Returns the hashtype, such as "bitmap-64bitMD5", as an SkString.
- */
- SkString getHashType() const;
-
- /**
- * Returns the hash digest value, such as "12345", as an SkString.
- */
- SkString getDigestValue() const;
-
private:
bool fIsValid; // always check this first--if it's false, other fields are meaningless
uint64_t fHashDigest;
};
/**
- * Encapsulates an SkBitmap and its GmResultDigest, guaranteed to keep them in sync.
- */
- class BitmapAndDigest {
- public:
- BitmapAndDigest(const SkBitmap &bitmap) : fBitmap(bitmap), fDigest(bitmap) {}
-
- const SkBitmap fBitmap;
- const GmResultDigest fDigest;
- };
-
- /**
* Test expectations (allowed image results, etc.)
*/
class Expectations {