Пример #1
0
        public BuilderBase(WixTests test, string name)
        {
            this.test = test;
            this.Name = name;

            this.AdditionalSourceFiles = new string[0];
            this.Extensions            = new string[0];
            this.PreprocessorVariables = new Dictionary <string, string>();
            this.BindPaths             = new Dictionary <string, string>();
        }
Пример #2
0
        public static void AssemblyInitialize(TestContext context)
        {
            // set the build flavor
            WixTests.SetTestFalvor();

            // Set the location of MSBuild
            WixTests.SetMSBuildPaths();

            // Set the location of the built output.
            WixTests.SetWixBuildDirectory();

            // Set the location of the binaries
            WixTests.SetWixToolsPathDirectory();

            // Set the WIX environment variable
            WixTests.SetWIXEnvironmentVariable();

            // Initialize the random number generators' seed
            WixTests.InitializeSeed();
        }
Пример #3
0
 static WixTests()
 {
     WixTests.SetTestFalvor();
 }
Пример #4
0
 /// <param name="path">Path to the bundle.</param>
 public BundleInstaller(WixTests test, string path)
 {
     this.TestName = test.TestContext.TestName;
     this.Bundle   = path;
 }
Пример #5
0
 /// <param name="path">Path to the bundle.</param>
 public BundleInstaller(WixTests test, string path)
 {
     this.TestName = test.TestContext.TestName;
     this.Bundle = path;
 }
Пример #6
0
 public BundleBuilder(WixTests test, string name)
     : base(test, name)
 {
 }
Пример #7
0
 public PatchBuilder(WixTests test, string name)
     : base(test, name)
 {
 }
Пример #8
0
 public BuilderBase(WixTests test) :
     this(test, test.TestContext.TestName)
 {
 }
Пример #9
0
 static WixTests()
 {
     WixTests.SetTestFlavor();
 }
Пример #10
0
 public PackageBuilder(WixTests test, string name)
     : base(test, name)
 {
 }
Пример #11
0
 public static void AssemblyCleanup()
 {
     WixTests.ResetWIXEnvironmentVariable();
 }