Example #1
0
        public void CanCreateInstance()
        {
            var manager = new TestFileManager();
            var window  = new MainWindow(manager);

            Assert.IsNotNull(window);
        }
        public NPMPackageInitializerTests()
        {
            _fileManager            = new TestFileManager();
            _directoryManager       = new TestDirectoryManager();
            _testCommandLineWrapper = new TestCommandLineWrapper();
            var packageJsonGenerator = new PackageJsonGenerator(_packageJsonTemplate);

            _npmPackageInitializer = new NPMPackageInitializer(_testCommandLineWrapper, packageJsonGenerator, _fileManager, _directoryManager);
        }
Example #3
0
        public CloudApplicationNameGeneratorTests()
        {
            _fakeFileManager      = new TestFileManager();
            _mockDirectoryManager = new Mock <IDirectoryManager>();

            _projectDefinitionParser = new ProjectDefinitionParser(_fakeFileManager, _mockDirectoryManager.Object);

            _cloudApplicationNameGenerator = new CloudApplicationNameGenerator(_fakeFileManager, _mockDirectoryManager.Object);
        }
Example #4
0
 public SettingsSerializerTest(ITestOutputHelper testOutputHelper)
 {
     _testFileManager = new TestFileManager(testOutputHelper);
     TestOutputLogger.Configure(testOutputHelper);
 }
Example #5
0
 public TestFileSteps(TestFileManager testFileManager, ParserDriver parserDriver, ProjectsDriver projectsDriver)
 {
     this.testFileManager = testFileManager;
     this.parserDriver    = parserDriver;
     _projectsDriver      = projectsDriver;
 }
Example #6
0
 public TestFileSteps(TestFileManager testFileManager, ParserDriver parserDriver, InputProjectDriver inputProjectDriver)
 {
     this.testFileManager    = testFileManager;
     this.inputProjectDriver = inputProjectDriver;
     this.parserDriver       = parserDriver;
 }