Esempio n. 1
0
        public void GetProjectPathWatchOS(string projectName, BCLTestProjectGenerator.WatchAppType appType, string expectedName)
        {
            // ignore the fact that all params are the same, we do not care
            var generator = new BCLTestProjectGenerator(outputdir, outputdir, outputdir, outputdir, outputdir);
            var path      = generator.GetProjectPath(projectName, appType);

            Assert.Equal(Path.Combine(generator.OutputDirectoryPath, expectedName), path);
        }
Esempio n. 2
0
        public void GetPListPathWatchOS(string rootDir, BCLTestProjectGenerator.WatchAppType appType, string expectedName)
        {
            var path = BCLTestProjectGenerator.GetPListPath(rootDir, appType);

            Assert.Equal(Path.Combine(rootDir, expectedName), path);
        }