Feat/get resource log category #36
6 fail, 7 pass in 0s
Annotations
github-actions / WinPS71 Test Results
ResourceLogCategory Class Unit Tests.ResourceLogCategory Class Property Initialization.should validate correct data input failed
output/testResults/CodeCoverageWinPS7/NUnitXml_CyberShell_v0.1.0-pr0009.Windows.PSv.7.4.1.xml [took 0s]
Raw output
Expected no exception to be thrown, but an exception "SourceType cannot be null or empty
ContainerId cannot be null or empty
ResourceTypeName cannot be null or empty" was thrown from D:\a\CyberShell\CyberShell\output\module\CyberShell\0.1.0\CyberShell.psm1:41 char:13
+ throw ($errors -join "`n")
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~.
at $ValidObj1Properties.SourceType) } | Should -Not -Throw, D:\a\CyberShell\CyberShell\tests\Unit\Class\ResourceLogCategory.tests.ps1:82
at <ScriptBlock>, D:\a\CyberShell\CyberShell\tests\Unit\Class\ResourceLogCategory.tests.ps1:79
github-actions / WinPS71 Test Results
ResourceLogCategory Class Unit Tests.ResourceLogCategory Class Constructors Tests.Should create the object with separate properties failed
output/testResults/CodeCoverageWinPS7/NUnitXml_CyberShell_v0.1.0-pr0009.Windows.PSv.7.4.1.xml [took 0s]
Raw output
Expected no exception to be thrown, but an exception "SourceType cannot be null or empty
ContainerId cannot be null or empty
ResourceTypeName cannot be null or empty" was thrown from D:\a\CyberShell\CyberShell\output\module\CyberShell\0.1.0\CyberShell.psm1:41 char:13
+ throw ($errors -join "`n")
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~.
at $ValidObj1Properties.SourceType) } | Should -Not -Throw, D:\a\CyberShell\CyberShell\tests\Unit\Class\ResourceLogCategory.tests.ps1:104
at <ScriptBlock>, D:\a\CyberShell\CyberShell\tests\Unit\Class\ResourceLogCategory.tests.ps1:101
github-actions / WinPS71 Test Results
ResourceLogCategory Class Unit Tests.ResourceLogCategory Class Constructors Tests.should create an object with constructor from hashtable failed
output/testResults/CodeCoverageWinPS7/NUnitXml_CyberShell_v0.1.0-pr0009.Windows.PSv.7.4.1.xml [took 0s]
Raw output
Expected no exception to be thrown, but an exception "SourceType cannot be null or empty
ContainerId cannot be null or empty
ResourceTypeName cannot be null or empty" was thrown from D:\a\CyberShell\CyberShell\output\module\CyberShell\0.1.0\CyberShell.psm1:41 char:13
+ throw ($errors -join "`n")
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~.
at { $obj = [ResourceLogCategory]::new($ValidObj1Properties) } | Should -Not -Throw, D:\a\CyberShell\CyberShell\tests\Unit\Class\ResourceLogCategory.tests.ps1:108
at <ScriptBlock>, D:\a\CyberShell\CyberShell\tests\Unit\Class\ResourceLogCategory.tests.ps1:108
github-actions / WinPS71 Test Results
ResourceLogCategory Class Unit Tests.ResourceLogCategory Class Methods Tests.should handle resource type with diagnostic settings available failed
output/testResults/CodeCoverageWinPS7/NUnitXml_CyberShell_v0.1.0-pr0009.Windows.PSv.7.4.1.xml [took 0s]
Raw output
RuntimeException: SourceType cannot be null or empty
ContainerId cannot be null or empty
ResourceTypeName cannot be null or empty
at Validate, D:\a\CyberShell\CyberShell\output\module\CyberShell\0.1.0\CyberShell.psm1:41
at ResourceLogCategory, D:\a\CyberShell\CyberShell\output\module\CyberShell\0.1.0\CyberShell.psm1:59
at <ScriptBlock>, D:\a\CyberShell\CyberShell\tests\Unit\Class\ResourceLogCategory.tests.ps1:117
github-actions / WinPS71 Test Results
ResourceLogCategory Class Unit Tests.ResourceLogCategory Class Methods Tests.should handle resource type with no diagnostic settings failed
output/testResults/CodeCoverageWinPS7/NUnitXml_CyberShell_v0.1.0-pr0009.Windows.PSv.7.4.1.xml [took 0s]
Raw output
RuntimeException: SourceType cannot be null or empty
ContainerId cannot be null or empty
ResourceTypeName cannot be null or empty
at Validate, D:\a\CyberShell\CyberShell\output\module\CyberShell\0.1.0\CyberShell.psm1:41
at ResourceLogCategory, D:\a\CyberShell\CyberShell\output\module\CyberShell\0.1.0\CyberShell.psm1:59
at <ScriptBlock>, D:\a\CyberShell\CyberShell\tests\Unit\Class\ResourceLogCategory.tests.ps1:123
github-actions / WinPS71 Test Results
ResourceLogCategory Class Unit Tests.ResourceLogCategory Class Methods Tests.should return a string representation of the object failed
output/testResults/CodeCoverageWinPS7/NUnitXml_CyberShell_v0.1.0-pr0009.Windows.PSv.7.4.1.xml [took 0s]
Raw output
RuntimeException: SourceType cannot be null or empty
ContainerId cannot be null or empty
ResourceTypeName cannot be null or empty
at Validate, D:\a\CyberShell\CyberShell\output\module\CyberShell\0.1.0\CyberShell.psm1:41
at ResourceLogCategory, D:\a\CyberShell\CyberShell\output\module\CyberShell\0.1.0\CyberShell.psm1:59
at <ScriptBlock>, D:\a\CyberShell\CyberShell\tests\Unit\Class\ResourceLogCategory.tests.ps1:129