コード例 #1
0
 public override string ToString()
 {
     return(Name + " " + Serial + " " + PlatformPermutator.GetPlatformName(Platform));
 }
コード例 #2
0
 /// <summary>
 /// Get the name of the base image to compare the generated images to.
 /// </summary>
 /// <param name="platform">The platform the test is performed on.</param>
 /// <param name="deviceName">The name of the device.</param>
 /// <returns>The name of the file.</returns>
 public string GenerateBaseFileNameFromVersion(TestPlatform platform, string deviceName)
 {
     return(this.GetType().Name + @"_" + PlatformPermutator.GetPlatformName(platform) + @"_" + deviceName + @"_v" + BaseVersionNumber + @".png");
 }