-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Get information about project * Fix inline docs for service class * Update BaseFixture.cs * Fix test for user filter * Use gitversion as msbuild task * Update appveyor.yml * Update UserFilter.cs
- Loading branch information
1 parent
e01b483
commit 29cf9da
Showing
14 changed files
with
198 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,23 @@ | ||
image: Visual Studio 2019 | ||
|
||
environment: | ||
IGNORE_NORMALISATION_GIT_HEAD_MOVE: 1 | ||
|
||
install: | ||
- gitversion /l console /output buildserver | ||
- dotnet tool install -g codecov.tool | ||
|
||
configuration: | ||
- Release | ||
|
||
dotnet_csproj: | ||
patch: true | ||
version: '$(GitVersion_SemVer)' | ||
|
||
build_script: | ||
- dotnet pack | ||
|
||
after_build: | ||
- appveyor PushArtifact src\ReportPortal.Client\bin\%configuration%\ReportPortal.Client.%GitVersion_SemVer%.nupkg | ||
|
||
test_script: | ||
- dotnet test /p:CollectCoverage=true /p:CoverletOutputFormat=OpenCover /p:CoverletOutput=./Coverage.xml | ||
|
||
after_test: | ||
- codecov -f test\ReportPortal.Client.IntegrationTests\Coverage.*.xml | ||
- codecov -f test\ReportPortal.Client.IntegrationTests\Coverage.*.xml | ||
|
||
artifacts: | ||
- path: '**\*.nupkg' | ||
- path: '**\*.html' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...tractions/Responses/PreferenceResponse.cs → ...s/Responses/Project/PreferenceResponse.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
src/ReportPortal.Client/Abstractions/Responses/Project/ProjectConfiguration.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
using System.Runtime.Serialization; | ||
|
||
namespace ReportPortal.Client.Abstractions.Responses.Project | ||
{ | ||
/// <summary> | ||
/// Information about project. | ||
/// </summary> | ||
[DataContract] | ||
public class ProjectConfiguration | ||
{ | ||
[DataMember(Name = "subTypes")] | ||
public ProjectDefectSubTypesContainer DefectSubTypes { get; set; } | ||
} | ||
} |
23 changes: 23 additions & 0 deletions
23
src/ReportPortal.Client/Abstractions/Responses/Project/ProjectDefectSubType.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
using System.Runtime.Serialization; | ||
|
||
namespace ReportPortal.Client.Abstractions.Responses.Project | ||
{ | ||
[DataContract] | ||
public class ProjectDefectSubType | ||
{ | ||
[DataMember(Name = "id")] | ||
public long Id { get; set; } | ||
|
||
[DataMember(Name = "color")] | ||
public string Color { get; set; } | ||
|
||
[DataMember(Name = "locator")] | ||
public string Locator { get; set; } | ||
|
||
[DataMember(Name = "longName")] | ||
public string LongName { get; set; } | ||
|
||
[DataMember(Name = "shortName")] | ||
public string ShortName { get; set; } | ||
} | ||
} |
24 changes: 24 additions & 0 deletions
24
src/ReportPortal.Client/Abstractions/Responses/Project/ProjectDefectSubTypesContainer.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
using System.Collections.Generic; | ||
using System.Runtime.Serialization; | ||
|
||
namespace ReportPortal.Client.Abstractions.Responses.Project | ||
{ | ||
[DataContract] | ||
public class ProjectDefectSubTypesContainer | ||
{ | ||
[DataMember(Name = "PRODUCT_BUG")] | ||
public IList<ProjectDefectSubType> ProductBugTypes { get; set; } | ||
|
||
[DataMember(Name = "AUTOMATION_BUG")] | ||
public IList<ProjectDefectSubType> AutomationBugTypes { get; set; } | ||
|
||
[DataMember(Name = "SYSTEM_ISSUE")] | ||
public IList<ProjectDefectSubType> SystemIssueTypes { get; set; } | ||
|
||
[DataMember(Name = "TO_INVESTIGATE")] | ||
public IList<ProjectDefectSubType> ToInvestigateTypes { get; set; } | ||
|
||
[DataMember(Name = "NO_DEFECT")] | ||
public IList<ProjectDefectSubType> NoDefectTypes { get; set; } | ||
} | ||
} |
20 changes: 20 additions & 0 deletions
20
src/ReportPortal.Client/Abstractions/Responses/Project/ProjectResponse.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
using System.Runtime.Serialization; | ||
|
||
namespace ReportPortal.Client.Abstractions.Responses.Project | ||
{ | ||
/// <summary> | ||
/// Information about project. | ||
/// </summary> | ||
[DataContract] | ||
public class ProjectResponse | ||
{ | ||
[DataMember(Name = "projectId")] | ||
public string Id { get; set; } | ||
|
||
[DataMember(Name = "projectName")] | ||
public string Name { get; set; } | ||
|
||
[DataMember(Name = "configuration")] | ||
public ProjectConfiguration Configuration { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.