Make set*Param methods members to allow use in tests 02/76702/3
authorJames Harrison <00jamesh@gmail.com>
Wed, 12 Apr 2017 10:55:04 +0000 (11:55 +0100)
committerDave Rigby <daver@couchbase.com>
Wed, 12 Apr 2017 15:03:00 +0000 (15:03 +0000)
commitb37a42f53defecf637e130e583bd34117417a57c
treea787c2f8a1be4493791e18c69be4d6005c6025f6
parent7070fa6488cab5e8035c9b1df6479e4423b4a64a
Make set*Param methods members to allow use in tests

Moved set*Param methods to be members of EventuallyPersistentEngine to
simplify testing the logic therein. They were previously static methods
and were not callable directly from tests.

Change-Id: I263ed94149a0142de5838556eb34799ff02c9049
Reviewed-on: http://review.couchbase.org/76702
Reviewed-by: Dave Rigby <daver@couchbase.com>
Tested-by: Build Bot <build@couchbase.com>
src/ep_engine.cc
src/ep_engine.h