Exemplo n.º 1
0
 static void AssertPackageSizeMatchesExpected(CalamariResult result, long expectedSize)
 {
     result.AssertOutputVariable("StagedPackage.Size", Is.EqualTo(expectedSize.ToString(CultureInfo.InvariantCulture)));
 }
Exemplo n.º 2
0
 static void AssertStagePackageOutputVariableSet(CalamariResult result, string filePath)
 {
     result.AssertOutputVariable("StagedPackage.FullPathOnRemoteMachine", Is.StringStarting(filePath));
 }
Exemplo n.º 3
0
 static void AssertPackageHashMatchesExpected(CalamariResult result, string expectedHash)
 {
     result.AssertOutputVariable("StagedPackage.Hash", Is.EqualTo(expectedHash));
 }