Example #1
0
        public virtual void Setup()
        {
            var config      = GetTestSessionConfiguration();
            var session     = new TestExecutionSession(config);
            var application = Application.Instance as IExtensionApplication;

            if (assemblyResolver == null)
            {
                assemblyResolver = new AssemblyResolver();
                assemblyResolver.Setup(config.DynamoCorePath);
            }

            application.OnBeginExecution(session);
            HostFactory.Instance.StartUp();
        }
        public virtual void Setup()
        {
            var config = GetTestSessionConfiguration();
            var session = new TestExecutionSession(config);
            var application = Application.Instance as IExtensionApplication;

            if (assemblyResolver == null)
            {
                assemblyResolver = new AssemblyResolver();
                assemblyResolver.Setup(config.DynamoCorePath);
            }

            application.OnBeginExecution(session);
            HostFactory.Instance.StartUp();
        }