11/****************************************************************************
2- * Copyright 2017-2018 , Optimizely, Inc. and contributors *
2+ * Copyright 2017-2021 , Optimizely, Inc. and contributors *
33 * *
44 * Licensed under the Apache License, Version 2.0 (the "License"); *
55 * you may not use this file except in compliance with the License. *
@@ -166,7 +166,7 @@ public void initializeSyncWithEnvironment() {
166166 EventHandler eventHandler = mock (DefaultEventHandler .class );
167167 EventProcessor eventProcessor = mock (EventProcessor .class );
168168 OptimizelyManager optimizelyManager = new OptimizelyManager (testProjectId , testSdkKey , null , logger , 3600L , datafileHandler , null , 3600L ,
169- eventHandler , eventProcessor , null , null );
169+ eventHandler , eventProcessor , null , null , null );
170170 /*
171171 * Scenario#1: when datafile is not Empty
172172 * Scenario#2: when datafile is Empty
@@ -225,7 +225,7 @@ public void initializeAsyncWithEnvironment() {
225225 EventHandler eventHandler = mock (DefaultEventHandler .class );
226226 EventProcessor eventProcessor = mock (EventProcessor .class );
227227 final OptimizelyManager optimizelyManager = new OptimizelyManager (testProjectId , testSdkKey , null , logger , 3600L , datafileHandler , null , 3600L ,
228- eventHandler , eventProcessor , null , null );
228+ eventHandler , eventProcessor , null , null , null );
229229
230230 /*
231231 * Scenario#1: when datafile is not Empty
@@ -515,7 +515,7 @@ public void initializeSyncWithUpdateOnNewDatafileDisabled() {
515515 Context context = InstrumentationRegistry .getInstrumentation ().getTargetContext ();
516516
517517 OptimizelyManager manager = new OptimizelyManager (testProjectId , testSdkKey , null , logger , pollingInterval , datafileHandler , null , 0 ,
518- null , null , null , null );
518+ null , null , null , null , null );
519519
520520 doAnswer (
521521 new Answer <Object >() {
@@ -548,7 +548,7 @@ public void initializeSyncWithUpdateOnNewDatafileEnabled() {
548548 Context context = InstrumentationRegistry .getInstrumentation ().getTargetContext ();
549549
550550 OptimizelyManager manager = new OptimizelyManager (testProjectId , testSdkKey , null , logger , pollingInterval , datafileHandler , null , 0 ,
551- null , null , null , null );
551+ null , null , null , null , null );
552552
553553 doAnswer (
554554 new Answer <Object >() {
@@ -581,7 +581,7 @@ public void initializeSyncWithDownloadToCacheDisabled() {
581581 Context context = InstrumentationRegistry .getInstrumentation ().getTargetContext ();
582582
583583 OptimizelyManager manager = new OptimizelyManager (testProjectId , testSdkKey , null , logger , pollingInterval , datafileHandler , null , 0 ,
584- null , null , null , null );
584+ null , null , null , null , null );
585585
586586 doAnswer (
587587 new Answer <Object >() {
@@ -614,7 +614,7 @@ public void initializeSyncWithUpdateOnNewDatafileDisabledWithPeriodicPollingEnab
614614 Context context = InstrumentationRegistry .getInstrumentation ().getTargetContext ();
615615
616616 OptimizelyManager manager = new OptimizelyManager (testProjectId , testSdkKey , null , logger , pollingInterval , datafileHandler , null , 0 ,
617- null , null , null , null );
617+ null , null , null , null , null );
618618
619619 doAnswer (
620620 (Answer <Object >) invocation -> {
@@ -646,7 +646,7 @@ public void initializeSyncWithUpdateOnNewDatafileEnabledWithPeriodicPollingEnabl
646646 Context context = InstrumentationRegistry .getInstrumentation ().getTargetContext ();
647647
648648 OptimizelyManager manager = new OptimizelyManager (testProjectId , testSdkKey , null , logger , pollingInterval , datafileHandler , null , 0 ,
649- null , null , null , null );
649+ null , null , null , null , null );
650650
651651 doAnswer (
652652 new Answer <Object >() {
@@ -679,7 +679,7 @@ public void initializeSyncWithUpdateOnNewDatafileDisabledWithPeriodicPollingDisa
679679 Context context = InstrumentationRegistry .getInstrumentation ().getTargetContext ();
680680
681681 OptimizelyManager manager = new OptimizelyManager (testProjectId , testSdkKey , null , logger , pollingInterval , datafileHandler , null , 0 ,
682- null , null , null , null );
682+ null , null , null , null , null );
683683
684684 doAnswer (
685685 new Answer <Object >() {
@@ -713,7 +713,7 @@ public void initializeSyncWithUpdateOnNewDatafileEnabledWithPeriodicPollingDisab
713713 Context context = InstrumentationRegistry .getInstrumentation ().getTargetContext ();
714714
715715 OptimizelyManager manager = new OptimizelyManager (testProjectId , testSdkKey , null , logger , pollingInterval , datafileHandler , null , 0 ,
716- null , null , null , null );
716+ null , null , null , null , null );
717717
718718 doAnswer (
719719 new Answer <Object >() {
@@ -746,7 +746,7 @@ public void initializeSyncWithResourceDatafileNoCache() {
746746 Context context = InstrumentationRegistry .getInstrumentation ().getTargetContext ();
747747
748748 OptimizelyManager manager = spy (new OptimizelyManager (testProjectId , testSdkKey , null , logger , pollingInterval , datafileHandler , null , 0 ,
749- null , null , null , null ));
749+ null , null , null , null , null ));
750750
751751 datafileHandler .removeSavedDatafile (context , manager .getDatafileConfig ());
752752 OptimizelyClient client = manager .initialize (context , R .raw .datafile , downloadToCache , updateConfigOnNewDatafile );
@@ -763,7 +763,7 @@ public void initializeSyncWithResourceDatafileNoCacheWithDefaultParams() {
763763 Context context = InstrumentationRegistry .getInstrumentation ().getTargetContext ();
764764
765765 OptimizelyManager manager = spy (new OptimizelyManager (testProjectId , testSdkKey , null , logger , pollingInterval , datafileHandler , null , 0 ,
766- null , null , null , null ));
766+ null , null , null , null , null ));
767767
768768 datafileHandler .removeSavedDatafile (context , manager .getDatafileConfig ());
769769 OptimizelyClient client = manager .initialize (context , R .raw .datafile );
0 commit comments