summaryrefslogtreecommitdiff
path: root/test_utils.h
diff options
context:
space:
mode:
authorDavid Zeuthen <zeuthen@chromium.org>2013-04-29 13:42:47 -0700
committerChromeBot <chrome-bot@google.com>2013-04-30 19:03:07 -0700
commita99981fda75fe0b17e96c700e3ddc93eca1cebe5 (patch)
tree88ec1486cf36f378acaf666c61a56ea533966caa /test_utils.h
parent8a075a75a13a2b182c229f3095c20e69f8f8f999 (diff)
Rename ActionExitCode to ErrorCode
Nowadays ActionExitCode is used throughout the codebase so use a more generic name to reflect this. BUG=chromium:216507 TEST=unit tests pass Change-Id: I23d1d7e2676443251dbc42ed137fd018aadfa8a3 Reviewed-on: https://gerrit.chromium.org/gerrit/49512 Reviewed-by: Don Garrett <dgarrett@chromium.org> Commit-Queue: David Zeuthen <zeuthen@chromium.org> Tested-by: David Zeuthen <zeuthen@chromium.org>
Diffstat (limited to 'test_utils.h')
-rw-r--r--test_utils.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/test_utils.h b/test_utils.h
index 30f1f89b..e8f337de 100644
--- a/test_utils.h
+++ b/test_utils.h
@@ -195,7 +195,7 @@ class ObjectFeederAction : public Action<ObjectFeederAction<T> > {
if (this->HasOutputPipe()) {
this->SetOutputObject(out_obj_);
}
- this->processor_->ActionComplete(this, kActionCodeSuccess);
+ this->processor_->ActionComplete(this, kErrorCodeSuccess);
}
static std::string StaticType() { return "ObjectFeederAction"; }
std::string Type() const { return StaticType(); }
@@ -229,7 +229,7 @@ class ObjectCollectorAction : public Action<ObjectCollectorAction<T> > {
if (this->HasInputObject()) {
object_ = this->GetInputObject();
}
- this->processor_->ActionComplete(this, kActionCodeSuccess);
+ this->processor_->ActionComplete(this, kErrorCodeSuccess);
}
static std::string StaticType() { return "ObjectCollectorAction"; }
std::string Type() const { return StaticType(); }