public void AnalysisNameOfFw83RevTest()
        {
            var projInfo = new PublicationInformation {
                DefaultXhtmlFileWithPath = _testFiles.Input("FlexRev83.xhtml"), IsLexiconSectionExist = false
            };
            var input = new DictionaryForMIDsInput(projInfo);

            Assert.AreEqual("Buang, Mapos", input.AnalysisName());
        }
        public void AnalysisNameFw83Test()
        {
            var projInfo = new PublicationInformation {
                DefaultXhtmlFileWithPath = _testFiles.Input("w1.xhtml"), IsLexiconSectionExist = true
            };
            var input = new DictionaryForMIDsInput(projInfo);

            Assert.AreEqual("English", input.AnalysisName());
        }
示例#3
0
        public void AnalysisNameTest()
        {
            PublicationInformation projInfo = new PublicationInformation();

            projInfo.DefaultXhtmlFileWithPath = _testFiles.Input("sena3-imba.xhtml");
            projInfo.IsLexiconSectionExist    = true;
            var input  = new DictionaryForMIDsInput(projInfo);
            var result = input.AnalysisName();

            Assert.AreEqual("Portuguese", result);
        }