SensusTetsInfo.CreateFromProcedure() fixed, does not contain tests with Evaluate==false, ver. 2.25.1434

This commit is contained in:
Milan Hanajik 2020-03-10 08:58:35 +01:00
parent 18e95105f9
commit c4b643aac7
3 changed files with 13 additions and 7 deletions

View File

@ -417,6 +417,7 @@ namespace Results.Output
}
}
/// <summary>
/// Generate a array of SensusTestInfo objects representing the procedure.
/// Multiple parts of the same test (with the same name) generate only one SensusTestInfo object.
@ -432,7 +433,7 @@ namespace Results.Output
IList<string> listOfHydroTests = new List<string>();
foreach (var test in procedure.Tests)
{
if (!test.Method.ToLower().Contains("iperlcommunication"))
if (TestShouldBeIncluded(test))
{
for (int repNr = 1; repNr <= test.Repeats; repNr++)
{
@ -452,7 +453,7 @@ namespace Results.Output
foreach (var test in procedure.Tests)
{
if (!test.Method.ToLower().Contains("iperlcommunication"))
if (TestShouldBeIncluded(test))
{
for (int repNr = 1; repNr <= test.Repeats; repNr++)
{
@ -468,7 +469,12 @@ namespace Results.Output
return stiArray;
}
///
static bool TestShouldBeIncluded(Config.Entities.Test test)
{
return test.DoEvaluate && !test.Method.ToLower().Contains("iperlcommunication");
}
///
public static SensusTestInfo CreateFromTest(Config.Entities.Test test, int repetitionNr, int luID, string fullTestNameWoPart)
{
bool isQ4Q3 = test.Name.ToLower().Contains("q4") ||

View File

@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("2.25.1429.0")]
[assembly: AssemblyFileVersion("2.25.1429.0")]
[assembly: AssemblyVersion("2.25.1434.0")]
[assembly: AssemblyFileVersion("2.25.1434.0")]

View File

@ -29,5 +29,5 @@ using System.Runtime.InteropServices;
// Build Number
// Revision
//
[assembly: AssemblyVersion("2.25.1430.0")]
[assembly: AssemblyFileVersion("2.25.1430.0")]
[assembly: AssemblyVersion("2.25.1434.0")]
[assembly: AssemblyFileVersion("2.25.1434.0")]