Exemple #1
0
        public void CodeStructureParse()
        {
            string path = Assembly.GetExecutingAssembly().Location;

            path = Path.GetDirectoryName(path);
            path = Path.Combine(path, "CppTestProject");

            RootFolderDefinition rootFolder = CodeStructureParser.Parse(path);

            Assert.AreEqual(1, rootFolder.Children.Count);
            Assert.AreEqual("header1.h", rootFolder.Children[0].Name);
        }
Exemple #2
0
 public void Read()
 {
     RootFolder = CodeStructureParser.Parse(FullSourcePath);
 }