#include "components/optimization_guide/core/model_validator.h"
#include "base/command_line.h"
#include "base/files/file_util.h"
#include "base/files/scoped_temp_dir.h"
#include "base/memory/raw_ptr.h"
#include "base/observer_list.h"
#include "base/path_service.h"
#include "base/task/sequenced_task_runner.h"
#include "base/task/thread_pool.h"
#include "base/test/metrics/histogram_tester.h"
#include "base/test/task_environment.h"
#include "build/build_config.h"
#include "components/optimization_guide/core/model_util.h"
#include "components/optimization_guide/core/optimization_guide_switches.h"
#include "components/optimization_guide/core/optimization_guide_util.h"
#include "components/optimization_guide/core/test_model_info_builder.h"
#include "components/optimization_guide/core/test_optimization_guide_model_provider.h"
#include "components/optimization_guide/machine_learning_tflite_buildflags.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace optimization_guide {
namespace {
void DoValidateModel(
OptimizationGuideModelProvider* optimization_guide_model_provider) { … }
}
class ModelValidatorModelObserverTracker
: public TestOptimizationGuideModelProvider { … };
class ModelValidatorExecutorTest : public testing::Test { … };
TEST_F(ModelValidatorExecutorTest, ValidModel) { … }
TEST_F(ModelValidatorExecutorTest, DISABLED_InvalidModel) { … }
}