protected void SetUp()
        {
            ve = new VelocityEngine();

            ExtendedProperties ep = new ExtendedProperties();

            ep.SetProperty(RuntimeConstants.FILE_RESOURCE_LOADER_PATH,
                           TemplateTest.FILE_RESOURCE_LOADER_PATH);

            ep.SetProperty(RuntimeConstants.RUNTIME_LOG_ERROR_STACKTRACE, "true");
            ep.SetProperty(RuntimeConstants.RUNTIME_LOG_WARN_STACKTRACE, "true");
            ep.SetProperty(RuntimeConstants.RUNTIME_LOG_INFO_STACKTRACE, "true");
            ep.SetProperty("userdirective", "X3Platform.Velocity.Runtime.Directive.Component;X3Platform.Velocity,X3Platform.Velocity.Runtime.Directive.BlockComponent;X3Platform.Velocity");

            ve.Init(ep);

            testProperties = new ExtendedProperties();
            testProperties.Load(new FileStream(TemplateTest.TEST_CASE_PROPERTIES, FileMode.Open, FileAccess.Read));
        }
		protected void SetUp()
		{
			ve = new VelocityEngine();

			ExtendedProperties ep = new ExtendedProperties();
			
			ep.SetProperty(RuntimeConstants.FILE_RESOURCE_LOADER_PATH, 
				TemplateTest.FILE_RESOURCE_LOADER_PATH);

			ep.SetProperty(RuntimeConstants.RUNTIME_LOG_ERROR_STACKTRACE, "true");
			ep.SetProperty(RuntimeConstants.RUNTIME_LOG_WARN_STACKTRACE, "true");
			ep.SetProperty(RuntimeConstants.RUNTIME_LOG_INFO_STACKTRACE, "true");
			ep.SetProperty("userdirective", "NVelocity.Runtime.Directive.Component;NVelocity,NVelocity.Runtime.Directive.BlockComponent;NVelocity");

			ve.Init(ep);

			testProperties = new ExtendedProperties();
			testProperties.Load(new FileStream(TemplateTest.TEST_CASE_PROPERTIES, FileMode.Open, FileAccess.Read));
		}
        /// <summary>
        /// Creates a new instance.
        /// </summary>
        public TemplateTestCase()
        {
            try
            {
                velocityEngine = new VelocityEngine();

                ExtendedProperties extendedProperties = new ExtendedProperties();
                extendedProperties.SetProperty(RuntimeConstants.FILE_RESOURCE_LOADER_PATH, TemplateTest.FILE_RESOURCE_LOADER_PATH);

                extendedProperties.SetProperty(RuntimeConstants.RUNTIME_LOG_ERROR_STACKTRACE, "true");
                extendedProperties.SetProperty(RuntimeConstants.RUNTIME_LOG_WARN_STACKTRACE, "true");
                extendedProperties.SetProperty(RuntimeConstants.RUNTIME_LOG_INFO_STACKTRACE, "true");

                velocityEngine.Init(extendedProperties);

                testProperties = new ExtendedProperties();
                testProperties.Load(new FileStream(TemplateTest.TEST_CASE_PROPERTIES, FileMode.Open, FileAccess.Read));
            }
            catch(Exception)
            {
                throw new Exception("Cannot setup TemplateTestSuite!");
            }
        }
        /// <summary>
        /// Creates a new instance.
        /// </summary>
        public TemplateTestCase()
        {
            try
            {
                ve = new VelocityEngine();

                ExtendedProperties ep = new ExtendedProperties();
                ep.SetProperty(RuntimeConstants_Fields.FILE_RESOURCE_LOADER_PATH, TemplateTestBase_Fields.FILE_RESOURCE_LOADER_PATH);

                ep.SetProperty(RuntimeConstants_Fields.RUNTIME_LOG_ERROR_STACKTRACE, "true");
                ep.SetProperty(RuntimeConstants_Fields.RUNTIME_LOG_WARN_STACKTRACE, "true");
                ep.SetProperty(RuntimeConstants_Fields.RUNTIME_LOG_INFO_STACKTRACE, "true");

                ve.Init(ep);

                testProperties = new ExtendedProperties();
                testProperties.Load(new FileStream(TemplateTestBase_Fields.TEST_CASE_PROPERTIES, FileMode.Open, FileAccess.Read));
            }
            catch (Exception e)
            {
                throw new Exception("Cannot setup TemplateTestSuite!");
            }
        }