// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #include "fake_requestcontext.h" #include namespace search::queryeval { FakeRequestContext::FakeRequestContext() : FakeRequestContext(nullptr) { } FakeRequestContext::FakeRequestContext(attribute::IAttributeContext * context, vespalib::steady_time softDoom, vespalib::steady_time hardDoom) : _clock(std::make_unique()), _doom(_clock->clock(), softDoom, hardDoom, false), _attributeContext(context), _query_tensor_name(), _query_tensor(), _attribute_blueprint_params() { } FakeRequestContext::~FakeRequestContext() = default; const search::attribute::AttributeBlueprintParams& FakeRequestContext::get_attribute_blueprint_params() const { return _attribute_blueprint_params; } }