summaryrefslogtreecommitdiffstats
path: root/athena/test/base/athena_test_helper.cc
diff options
context:
space:
mode:
Diffstat (limited to 'athena/test/base/athena_test_helper.cc')
-rw-r--r--athena/test/base/athena_test_helper.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/athena/test/base/athena_test_helper.cc b/athena/test/base/athena_test_helper.cc
index a46559e..dd9177e 100644
--- a/athena/test/base/athena_test_helper.cc
+++ b/athena/test/base/athena_test_helper.cc
@@ -5,7 +5,9 @@
#include "athena/test/base/athena_test_helper.h"
#include "athena/env/public/athena_env.h"
+#include "athena/extensions/public/apps_search_controller_factory.h"
#include "athena/extensions/public/extensions_delegate.h"
+#include "athena/home/public/search_controller_factory.h"
#include "athena/main/public/athena_launcher.h"
#include "athena/test/base/sample_activity_factory.h"
#include "athena/test/base/test_app_model_builder.h"
@@ -64,7 +66,8 @@ void AthenaTestHelper::SetUp(ui::ContextFactory* context_factory) {
athena::StartAthenaEnv(file_thread_->message_loop_proxy());
athena::ExtensionsDelegate::CreateExtensionsDelegateForTest();
athena::StartAthenaSession(new SampleActivityFactory(),
- new TestAppModelBuilder());
+ make_scoped_ptr(new TestAppModelBuilder()),
+ CreateSearchControllerFactory(NULL));
}
void AthenaTestHelper::TearDown() {