/// <summary> /// Sets up the runner before performing a test case /// </summary> public void Setup() { try { Generated.ControllersManager.NamableController.DesactivateNotification(); // Setup the execution environment Setuper setuper = new Setuper(EFSSystem); foreach (DataDictionary.Dictionary dictionary in EFSSystem.Dictionaries) { setuper.visit(dictionary); } // Clears all caches Utils.FinderRepository.INSTANCE.ClearCache(); // Builds the list of functions that will require a cache for their graph FunctionCacheCleaner = new FunctionGraphCache(EFSSystem); // Setup the step Expression expression = EFSSystem.Parser.Expression(SubSequence.Frame, SubSequence.Frame.getCycleDuration()); Values.IValue value = expression.GetValue(new InterpretationContext(SubSequence.Frame)); Step = Functions.Function.getDoubleValue(value); } finally { Generated.ControllersManager.NamableController.ActivateNotification(); } }