protected void SetUp()
        {
            cTool = new ConfigurationTool();
            cTool._fromNunit = true;
            cToolBL = new ConfigurationToolBL();

            //_pathwayPath = Common.PathCombine(Common.GetAllUserAppPath(), "SIL/Pathway");
            _pathwayPath = Common.GetAllUserPath();

            stylename = new ArrayList
                            {
                                "OneColumn",
                                "TwoColumn",
                                "LikeBuangPNG",
                                "FieldWorksStyles",
                                "FieldWorksArabicBased",
                                "Draft"
                            };

            string folderName = "Styles";
            CopyFolderSupportToIO(folderName);
        }
Example #2
0
		private void ConfigurationTool_Load(object sender, EventArgs e)
		{
			SetUpErrorHandling();
            Param.LoadUiLanguageFontInfo();
            UpdateFontOnL10NSharp(LocalizationManager.UILanguageId);

			_cToolBL = new ConfigurationToolBL();
			_cToolBL.inputTypeBL = InputType;
			_cToolBL.MediaTypeEXE = MediaType;
			_cToolBL.StyleEXE = Style.Replace('&', ' '); //
			_cToolBL.SetClassReference(this);
			_cToolBL.CreateToolTip();
			_cToolBL.ConfigurationTool_LoadBL();
		}
        public void CheckStylesString()
        {
            string returnValue = string.Empty;
            cToolBL = new ConfigurationToolBL();
            returnValue = cToolBL.GenerateStylesString();
            Assert.IsTrue(returnValue == "Styles", "Values not equal");

        }