Index: pagespeed/testing/pagespeed_test.h
|
===================================================================
|
--- pagespeed/testing/pagespeed_test.h (revision 2211)
|
+++ pagespeed/testing/pagespeed_test.h (working copy)
|
@@ -99,6 +99,7 @@
|
|
// Freeze the PagespeedInput structure.
|
virtual void Freeze();
|
+ virtual void Freeze(bool expected_result);
|
|
// Construct a new HTTP GET Resource with the specified URL and
|
// status code, and add that resource to our PagespeedInput.
|
@@ -261,12 +262,16 @@
|
PagespeedTest::TearDown();
|
}
|
|
- virtual void Freeze() {
|
- PagespeedTest::Freeze();
|
+ virtual void Freeze(bool expected_result) {
|
+ PagespeedTest::Freeze(expected_result);
|
rule_input_.reset(new pagespeed::RuleInput(*pagespeed_input()));
|
rule_input_->Init();
|
}
|
|
+ virtual void Freeze() {
|
+ Freeze(true);
|
+ }
|
+
|
bool AppendResults() {
|
return rule_->AppendResults(*rule_input(), &provider_);
|
}
|