Skip to content

Commit

Permalink
Merge pull request #3542 from Ginger-Automation/Releases/Official-Rel…
Browse files Browse the repository at this point in the history
…ease

Post Releases/official release
  • Loading branch information
Maheshkale447 committed Mar 6, 2024
2 parents c27c2ab + 67a51e7 commit 05134be
Show file tree
Hide file tree
Showing 2,226 changed files with 5,608 additions and 3,409 deletions.
2 changes: 1 addition & 1 deletion Ginger/64BitSupport/Utils.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#region License
/*
Copyright © 2014-2023 European Support Limited
Copyright © 2014-2024 European Support Limited
Licensed under the Apache License, Version 2.0 (the "License")
you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion Ginger/Ginger/ALM/ALMConnectionPage.xaml.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#region License
/*
Copyright © 2014-2023 European Support Limited
Copyright © 2014-2024 European Support Limited
Licensed under the Apache License, Version 2.0 (the "License")
you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion Ginger/Ginger/ALM/ALMDefectsProfilesPage.xaml.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#region License
/*
Copyright © 2014-2023 European Support Limited
Copyright © 2014-2024 European Support Limited
Licensed under the Apache License, Version 2.0 (the "License")
you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion Ginger/Ginger/ALM/ALMIntegration.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#region License
/*
Copyright © 2014-2023 European Support Limited
Copyright © 2014-2024 European Support Limited
Licensed under the Apache License, Version 2.0 (the "License")
you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion Ginger/Ginger/ALM/ALMItemsFieldsConfigurationPage.xaml.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#region License
/*
Copyright © 2014-2023 European Support Limited
Copyright © 2014-2024 European Support Limited
Licensed under the Apache License, Version 2.0 (the "License")
you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion Ginger/Ginger/ALM/JIRA/JiraImportReviewPage.xaml.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#region License
/*
Copyright © 2014-2023 European Support Limited
Copyright © 2014-2024 European Support Limited
Licensed under the Apache License, Version 2.0 (the "License")
you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion Ginger/Ginger/ALM/JIRA/JiraImportSetByIdPage.xaml.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#region License
/*
Copyright © 2014-2023 European Support Limited
Copyright © 2014-2024 European Support Limited
Licensed under the Apache License, Version 2.0 (the "License")
you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#region License
/*
Copyright © 2014-2023 European Support Limited
Copyright © 2014-2024 European Support Limited
Licensed under the Apache License, Version 2.0 (the "License")
you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#region License
/*
Copyright © 2014-2023 European Support Limited
Copyright © 2014-2024 European Support Limited
Licensed under the Apache License, Version 2.0 (the "License")
you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#region License
/*
Copyright © 2014-2023 European Support Limited
Copyright © 2014-2024 European Support Limited
Licensed under the Apache License, Version 2.0 (the "License")
you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion Ginger/Ginger/ALM/JIRA/TreeViewItems/JiraZephyrTreeItem.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#region License
/*
Copyright © 2014-2023 European Support Limited
Copyright © 2014-2024 European Support Limited
Licensed under the Apache License, Version 2.0 (the "License")
you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#region License
/*
Copyright © 2014-2023 European Support Limited
Copyright © 2014-2024 European Support Limited
Licensed under the Apache License, Version 2.0 (the "License")
you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#region License
/*
Copyright © 2014-2023 European Support Limited
Copyright © 2014-2024 European Support Limited
Licensed under the Apache License, Version 2.0 (the "License")
you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#region License
/*
Copyright © 2014-2023 European Support Limited
Copyright © 2014-2024 European Support Limited
Licensed under the Apache License, Version 2.0 (the "License")
you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion Ginger/Ginger/ALM/MapToALMWizard/AddMapToALMWizard.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#region License
/*
Copyright © 2014-2023 European Support Limited
Copyright © 2014-2024 European Support Limited
Licensed under the Apache License, Version 2.0 (the "License")
you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion Ginger/Ginger/ALM/MapToALMWizard/MapToALMValidation.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#region License
/*
Copyright © 2014-2023 European Support Limited
Copyright © 2014-2024 European Support Limited
Licensed under the Apache License, Version 2.0 (the "License")
you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#region License
/*
Copyright © 2014-2023 European Support Limited
Copyright © 2014-2024 European Support Limited
Licensed under the Apache License, Version 2.0 (the "License")
you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#region License
/*
Copyright © 2014-2023 European Support Limited
Copyright © 2014-2024 European Support Limited
Licensed under the Apache License, Version 2.0 (the "License")
you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#region License
/*
Copyright © 2014-2023 European Support Limited
Copyright © 2014-2024 European Support Limited
Licensed under the Apache License, Version 2.0 (the "License")
you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#region License
/*
Copyright © 2014-2023 European Support Limited
Copyright © 2014-2024 European Support Limited
Licensed under the Apache License, Version 2.0 (the "License")
you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#region License
/*
Copyright © 2014-2023 European Support Limited
Copyright © 2014-2024 European Support Limited
Licensed under the Apache License, Version 2.0 (the "License")
you may not use this file except in compliance with the License.
Expand Down
6 changes: 2 additions & 4 deletions Ginger/Ginger/ALM/QC/QCTestLabExplorerPage.xaml.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#region License
/*
Copyright © 2014-2023 European Support Limited
Copyright © 2014-2024 European Support Limited
Licensed under the Apache License, Version 2.0 (the "License")
you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -67,9 +67,7 @@ public QCTestLabExplorerPage(eExplorerTestLabPageUsageType explorerTestLabPageUs
tvi.Folder = ALMCore.DefaultAlmConfig.AlmType == GingerCoreNET.ALMLib.ALMIntegrationEnums.eALMType.Octane ? "Application Modules" : "Root";
tvi.Path = ALMCore.DefaultAlmConfig.AlmType == GingerCoreNET.ALMLib.ALMIntegrationEnums.eALMType.Octane ? @"Application Modules" : @"Root";

tvi.Folder = ALMCore.DefaultAlmConfig.AlmType == GingerCoreNET.ALMLib.ALMIntegrationEnums.eALMType.Azure ? "Test Plans" : "Root";
tvi.Path = ALMCore.DefaultAlmConfig.AlmType == GingerCoreNET.ALMLib.ALMIntegrationEnums.eALMType.Azure ? @"Test Plans" : @"Root";


TestLabExplorerTreeView.Tree.AddItem(tvi);

TestLabExplorerTreeView.TreeTitle = "'" + ALMCore.DefaultAlmConfig.ALMDomain + " \\ " + ALMCore.DefaultAlmConfig.ALMProjectName + "' - Test Lab Explorer";
Expand Down
2 changes: 1 addition & 1 deletion Ginger/Ginger/ALM/QC/QCTestPlanExplorerPage.xaml.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#region License
/*
Copyright © 2014-2023 European Support Limited
Copyright © 2014-2024 European Support Limited
Licensed under the Apache License, Version 2.0 (the "License")
you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#region License
/*
Copyright © 2014-2023 European Support Limited
Copyright © 2014-2024 European Support Limited
Licensed under the Apache License, Version 2.0 (the "License")
you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion Ginger/Ginger/ALM/QC/TreeViewItems/QCTestLabTreeItem.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#region License
/*
Copyright © 2014-2023 European Support Limited
Copyright © 2014-2024 European Support Limited
Licensed under the Apache License, Version 2.0 (the "License")
you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#region License
/*
Copyright © 2014-2023 European Support Limited
Copyright © 2014-2024 European Support Limited
Licensed under the Apache License, Version 2.0 (the "License")
you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion Ginger/Ginger/ALM/QC/TreeViewItems/QCTestPlanTreeItem.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#region License
/*
Copyright © 2014-2023 European Support Limited
Copyright © 2014-2024 European Support Limited
Licensed under the Apache License, Version 2.0 (the "License")
you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion Ginger/Ginger/ALM/QC/TreeViewItems/QCTestSetTreeItem.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#region License
/*
Copyright © 2014-2023 European Support Limited
Copyright © 2014-2024 European Support Limited
Licensed under the Apache License, Version 2.0 (the "License")
you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion Ginger/Ginger/ALM/QC/UploadBusinessFlowsPage.xaml.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#region License
/*
Copyright © 2014-2023 European Support Limited
Copyright © 2014-2024 European Support Limited
Licensed under the Apache License, Version 2.0 (the "License")
you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion Ginger/Ginger/ALM/Qtest/QtestCyclesExplorerPage.xaml.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#region License
/*
Copyright © 2014-2023 European Support Limited
Copyright © 2014-2024 European Support Limited
Licensed under the Apache License, Version 2.0 (the "License")
you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion Ginger/Ginger/ALM/Qtest/QtestModuleExplorerPage.xaml.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#region License
/*
Copyright © 2014-2023 European Support Limited
Copyright © 2014-2024 European Support Limited
Licensed under the Apache License, Version 2.0 (the "License")
you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#region License
/*
Copyright © 2014-2023 European Support Limited
Copyright © 2014-2024 European Support Limited
Licensed under the Apache License, Version 2.0 (the "License")
you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#region License
/*
Copyright © 2014-2023 European Support Limited
Copyright © 2014-2024 European Support Limited
Licensed under the Apache License, Version 2.0 (the "License")
you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#region License
/*
Copyright © 2014-2023 European Support Limited
Copyright © 2014-2024 European Support Limited
Licensed under the Apache License, Version 2.0 (the "License")
you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion Ginger/Ginger/ALM/RQM/RQMImportPlanByIdPage.xaml.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#region License
/*
Copyright © 2014-2023 European Support Limited
Copyright © 2014-2024 European Support Limited
Licensed under the Apache License, Version 2.0 (the "License")
you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion Ginger/Ginger/ALM/RQM/RQMImportReviewPage.xaml.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#region License
/*
Copyright © 2014-2023 European Support Limited
Copyright © 2014-2024 European Support Limited
Licensed under the Apache License, Version 2.0 (the "License")
you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion Ginger/Ginger/ALM/RQM/RQMPlansExplorerPage.xaml.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#region License
/*
Copyright © 2014-2023 European Support Limited
Copyright © 2014-2024 European Support Limited
Licensed under the Apache License, Version 2.0 (the "License")
you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion Ginger/Ginger/ALM/Rally/RallyImportReviewPage.xaml.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#region License
/*
Copyright © 2014-2023 European Support Limited
Copyright © 2014-2024 European Support Limited
Licensed under the Apache License, Version 2.0 (the "License")
you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion Ginger/Ginger/ALM/Rally/RallyPlansExplorerPage.xaml.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#region License
/*
Copyright © 2014-2023 European Support Limited
Copyright © 2014-2024 European Support Limited
Licensed under the Apache License, Version 2.0 (the "License")
you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion Ginger/Ginger/ALM/Repository/ALMRepository.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#region License
/*
Copyright © 2014-2023 European Support Limited
Copyright © 2014-2024 European Support Limited
Licensed under the Apache License, Version 2.0 (the "License")
you may not use this file except in compliance with the License.
Expand Down
19 changes: 7 additions & 12 deletions Ginger/Ginger/ALM/Repository/AzureDevOpsRepository.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#region License
/*
Copyright © 2014-2023 European Support Limited
Copyright © 2014-2024 European Support Limited
Licensed under the Apache License, Version 2.0 (the "License")
you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -50,12 +50,6 @@ public override bool ExportActivitiesGroupToALM(ActivitiesGroup activtiesGroup,
{
if (activtiesGroup == null) { return false; }
//if it is called from shared repository need to select path
if (uploadPath == null)
{
QCTestPlanExplorerPage win = new QCTestPlanExplorerPage();
win.xCreateBusinessFlowFolder.Visibility = Visibility.Collapsed;//no need to create separate folder
uploadPath = win.ShowAsWindow(eWindowShowStyle.Dialog);
}
//upload the Activities Group
Reporter.ToStatus(eStatusMsgKey.ExportItemToALM, null, activtiesGroup.Name);
string res = string.Empty;
Expand Down Expand Up @@ -138,13 +132,11 @@ public override bool ExportBusinessFlowToALM(BusinessFlow businessFlow, bool per

bool performSave = false;


//just to check if new TC needs to be created or update has to be done
if (matchingTS == null)
{
if (almConectStyle != eALMConnectType.Silence)
{
testPlanUploadPath = SelectALMTestPlanPath();
}

//create upload path if checked to create separete folder
if (QCTestPlanFolderTreeItem.IsCreateBusinessFlowFolder)
{
Expand All @@ -168,6 +160,7 @@ public override bool ExportBusinessFlowToALM(BusinessFlow businessFlow, bool per
{
matchingTC = new ALMTestCase();
}

//check if all of the business flow activities groups already exported to Octane and export the ones which not
foreach (ActivitiesGroup ag in businessFlow.ActivitiesGroups)
{
Expand All @@ -185,9 +178,11 @@ public override bool ExportBusinessFlowToALM(BusinessFlow businessFlow, bool per
ObservableList<ExternalItemFieldBase> testSetFieldsFields = CleanUnrelvantFields(allFields, "Test Suite");

bool exportRes = ((AzureDevOpsCore)ALMIntegration.Instance.AlmCore).ExportBusinessFlow(businessFlow, matchingTS, testLabUploadPath, testSetFieldsFields, null, ref res);

Reporter.HideStatusMessage();
if (exportRes)
{
((AzureDevOpsCore)ALMIntegration.Instance.AlmCore).TestCaseEntryInSuite(businessFlow);
if (performSaveAfterExport)
{
Reporter.ToStatus(eStatusMsgKey.SaveItem, null, businessFlow.Name, GingerDicser.GetTermResValue(eTermResKey.BusinessFlow));
Expand Down Expand Up @@ -235,7 +230,7 @@ public override IEnumerable<object> GetTestSetExplorer(string path)

public override object GetTSRunStatus(object tsItem)
{
throw new NotImplementedException();
return AzureCore.GetTSRunStatus(tsItem);
}

public override void ImportALMTests(string importDestinationFolderPath)
Expand Down
Loading

0 comments on commit 05134be

Please sign in to comment.