예제 #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);
        }
예제 #2
0
        // TODO: [InlineData ("MacProject", Platform.MacOS, null)] not implemented yet
        public void GetProjectPath(string projectName, Platform platform, 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, platform);

            Assert.AreEqual(Path.Combine(generator.OutputDirectoryPath, expectedName), path);
        }