Ejemplo n.º 1
0
        public void ScrapeRepositoriesJavascript()
        {
            var filename = "JavascriptResult.txt";
            var go       = new RepositoryScraper(Directory.GetFiles(@"C:\Users\dav\Documents\GitHub\Teoretiskt arbete\Javascript", "*.js",
                                                                    SearchOption.AllDirectories), filename);

            go.AnalyzeCSFiles();
            Process.Start(String.Format("C:/Users/dav/Documents/GitHub/MethodImplementation/oktogit.Tests/bin/Debug/{0}", filename));
        }
Ejemplo n.º 2
0
        public void checkScrape()
        {
            var filename = "TestResult.txt";
            var go       = new RepositoryScraper(Directory.GetFiles(@"C:\Users\dav\Documents\GitHub\MethodImplementation\oktogit.Tests\TestData", "*.cs",
                                                                    SearchOption.AllDirectories), filename);

            go.AnalyzeCSFiles();

            Process.Start(String.Format("C:/Users/dav/Documents/GitHub/MethodImplementation/oktogit.Tests/bin/Debug/{0}", filename));
        }