Beispiel #1
0
        public void UT4Bug683087()
        {
            DocumentFormat.OpenXml.Spreadsheet.ServerFormat sf = new DocumentFormat.OpenXml.Spreadsheet.ServerFormat();
            sf.Culture = "test";
            sf.Format  = "test";
            var errors = new OpenXmlValidator(FileFormatVersions.Office2010).Validate(sf);

            Assert.Equal(errors.Count(), 1);
        }
        public void UT4Bug683087()
        {
            DocumentFormat.OpenXml.Spreadsheet.ServerFormat sf = new DocumentFormat.OpenXml.Spreadsheet.ServerFormat();
            sf.Culture = "test";
            sf.Format = "test";
            var errors = new OpenXmlValidator(FileFormatVersions.Office2010).Validate(sf);

            Assert.Equal(errors.Count(), 1);
        }