public void GetSourceFileExtentionsTest() { CCsICloneExtension target = new CCsICloneExtension(); string actual = target.GetSourceFileExtentions(); Assert.AreNotEqual(string.Empty, actual); }
public void GetCommentSymbolsTest() { CCsICloneExtension target = new CCsICloneExtension(); string actual = target.GetCommentSymbols(); Assert.AreNotEqual(string.Empty, actual); }
public void SyntacticizeTest2() { string filename = Path.GetFullPath("UnitTestSampleFile2.cs"); Assert.IsTrue(File.Exists(filename)); CCsICloneExtension target = new CCsICloneExtension(); CTokenizerParms args = new CTokenizerParms(filename, new CSourceFileID()); CSyntacticUnitsCollection actual = target.Syntacticize(args); Assert.AreEqual(12, actual.Size()); Assert.AreEqual(37, actual[0].Size()); }
public void LanguageIDTest() { CCsICloneExtension target = new CCsICloneExtension(); Assert.AreEqual(LANGUAGES.LANGUAGE_C_SHARP, target.LanguageID()); }