コード例 #1
0
        public void TestProvisionFabricWithMSI()
        {
            using (FabricLayoutInfo fabricLayoutInfo = new FabricLayoutInfo(this.imageStore))
            {
                string codePath, configPath, infrastructureManifestFilePath;
                fabricLayoutInfo.Create(out codePath, out configPath, out infrastructureManifestFilePath);

                ImageBuilderExeTestWrapper exeWrapper = new ImageBuilderExeTestWrapper(this.imageStore);

                int exitCode = exeWrapper.ProvisionFabric(
                    codePath,
                    configPath,
                    infrastructureManifestFilePath);

                Verify.AreEqual(exitCode, 0);
                TestUtility.VerifyWinFabLayout(fabricLayoutInfo);
            }
        }