#include "components/optimization_guide/core/model_execution/on_device_model_feature_adapter.h"
#include "base/test/task_environment.h"
#include "base/test/test.pb.h"
#include "base/test/test_future.h"
#include "components/optimization_guide/core/optimization_guide_util.h"
#include "components/optimization_guide/proto/features/compose.pb.h"
#include "components/optimization_guide/proto/parser_kind.pb.h"
#include "services/data_decoder/public/cpp/test_support/in_process_data_decoder.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace optimization_guide {
ParseResponseFuture;
TEST(OnDeviceModelFeatureAdapterTest,
ConstructTextSafetyRequestNoSafetyFallbackConfig) { … }
TEST(OnDeviceModelFeatureAdapterTest, ConstructTextSafetyRequestNoUrlField) { … }
TEST(OnDeviceModelFeatureAdapterTest, ConstructTextSafetyRequestWithUrlField) { … }
TEST(OnDeviceModelFeatureAdapterTest,
ConstructTextSafetyRequestWithBadUrlField) { … }
TEST(OnDeviceModelFeatureAdapterTest, ConstructInputString_NoInputConfig) { … }
TEST(OnDeviceModelFeatureAdapterTest, ConstructInputString_MismatchRequest) { … }
TEST(OnDeviceModelFeatureAdapterTest, ConstructInputString_ForInputContext) { … }
TEST(OnDeviceModelFeatureAdapterTest, ConstructInputString_ForExecution) { … }
TEST(OnDeviceModelFeatureAdapterTest, ConstructOutputMetadata_NoOutputConfig) { … }
TEST(OnDeviceModelFeatureAdapterTest, ConstructOutputMetadata_DefaultSimple) { … }
TEST(OnDeviceModelFeatureAdapterTest, ConstructOutputMetadata_JSON) { … }
}