policy.test.xml
<?xml version="1.0" encoding="utf-8" standalone="no"?> <test-results xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="nunit_schema_2.5.xsd" name="Policy Definition Tests" total="133" errors="0" failures="0" not-run="0" inconclusive="0" ignored="0" skipped="0" invalid="0" date="2024-07-16" time="12:12:46"> <environment platform="Darwin" os-version="23.5.0" user-domain="" user="tao" cwd="/Users/tao/git/AzPolicyTest/AzPolicyTest" machine-name="Taos-Work-MacBook.local" nunit-version="2.5.8.0" clr-version="8.0.6" /> <culture-info current-culture="en-AU" current-uiculture="en-AU" /> <test-suite type="TestFixture" name="Policy Definition Tests" executed="True" result="Success" success="True" time="0.4083" asserts="0" description="Pester"> <results> <test-suite type="TestFixture" name="/Users/tao/git/AzPolicyTest/AzPolicyTest/policyDefStructure.tests.ps1" executed="True" result="Success" success="True" time="0.4083" asserts="0" description="/Users/tao/git/AzPolicyTest/AzPolicyTest/policyDefStructure.tests.ps1"> <results> <test-suite type="TestFixture" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-auto-approved-pe.json]: Policy Definition Syntax Test" executed="True" result="Success" success="True" time="0.0746" asserts="0" description="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-auto-approved-pe.json]: Policy Definition Syntax Test"> <results> <test-suite type="TestFixture" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-auto-approved-pe.json]: Policy Definition Syntax Test.Required Top-Level Elements Test" executed="True" result="Success" success="True" time="0.004" asserts="0" description="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-auto-approved-pe.json]: Policy Definition Syntax Test.Required Top-Level Elements Test"> <results> <test-suite type="ParameterizedTest" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-auto-approved-pe.json]: Policy Definition Syntax Test.Required Top-Level Elements Test.Should contain top-level element name" executed="True" result="Success" success="True" time="0.0016" asserts="0" description="Should contain top-level element name"> <results> <test-case description="Should contain top-level element name" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-auto-approved-pe.json]: Policy Definition Syntax Test.Required Top-Level Elements Test.Should contain top-level element name("/Users/tao/Downloads/test_definitions/policies/general/pol-deny-auto-approved-pe.json",System.Collections.Hashtable,@{name=pol-deny-auto-approved-pe; properties=},"pol-deny-auto-approved-pe.json")" time="0.0016" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="ParameterizedTest" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-auto-approved-pe.json]: Policy Definition Syntax Test.Required Top-Level Elements Test.Should contain top-level element - properties" executed="True" result="Success" success="True" time="0.001" asserts="0" description="Should contain top-level element - properties"> <results> <test-case description="Should contain top-level element - properties" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-auto-approved-pe.json]: Policy Definition Syntax Test.Required Top-Level Elements Test.Should contain top-level element - properties("/Users/tao/Downloads/test_definitions/policies/general/pol-deny-auto-approved-pe.json",System.Collections.Hashtable,@{name=pol-deny-auto-approved-pe; properties=},"pol-deny-auto-approved-pe.json")" time="0.001" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> </results> </test-suite> <test-suite type="TestFixture" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-auto-approved-pe.json]: Policy Definition Syntax Test.Policy Definition Elements Value Test" executed="True" result="Success" success="True" time="0.0117" asserts="0" description="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-auto-approved-pe.json]: Policy Definition Syntax Test.Policy Definition Elements Value Test"> <results> <test-suite type="ParameterizedTest" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-auto-approved-pe.json]: Policy Definition Syntax Test.Policy Definition Elements Value Test.Name value must not be null" executed="True" result="Success" success="True" time="0.0013" asserts="0" description="Name value must not be null"> <results> <test-case description="Name value must not be null" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-auto-approved-pe.json]: Policy Definition Syntax Test.Policy Definition Elements Value Test.Name value must not be null("/Users/tao/Downloads/test_definitions/policies/general/pol-deny-auto-approved-pe.json",System.Collections.Hashtable,@{name=pol-deny-auto-approved-pe; properties=},"pol-deny-auto-approved-pe.json")" time="0.0013" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="ParameterizedTest" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-auto-approved-pe.json]: Policy Definition Syntax Test.Policy Definition Elements Value Test.Name value must not be longer than 64 characters" executed="True" result="Success" success="True" time="0.0029" asserts="0" description="Name value must not be longer than 64 characters"> <results> <test-case description="Name value must not be longer than 64 characters" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-auto-approved-pe.json]: Policy Definition Syntax Test.Policy Definition Elements Value Test.Name value must not be longer than 64 characters("/Users/tao/Downloads/test_definitions/policies/general/pol-deny-auto-approved-pe.json",System.Collections.Hashtable,@{name=pol-deny-auto-approved-pe; properties=},"pol-deny-auto-approved-pe.json")" time="0.0029" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="ParameterizedTest" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-auto-approved-pe.json]: Policy Definition Syntax Test.Policy Definition Elements Value Test.Name value must not contain spaces" executed="True" result="Success" success="True" time="0.0011" asserts="0" description="Name value must not contain spaces"> <results> <test-case description="Name value must not contain spaces" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-auto-approved-pe.json]: Policy Definition Syntax Test.Policy Definition Elements Value Test.Name value must not contain spaces("/Users/tao/Downloads/test_definitions/policies/general/pol-deny-auto-approved-pe.json",System.Collections.Hashtable,@{name=pol-deny-auto-approved-pe; properties=},"pol-deny-auto-approved-pe.json")" time="0.0011" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="ParameterizedTest" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-auto-approved-pe.json]: Policy Definition Syntax Test.Policy Definition Elements Value Test.Name value must not contain forbidden characters" executed="True" result="Success" success="True" time="0.001" asserts="0" description="Name value must not contain forbidden characters"> <results> <test-case description="Name value must not contain forbidden characters" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-auto-approved-pe.json]: Policy Definition Syntax Test.Policy Definition Elements Value Test.Name value must not contain forbidden characters("/Users/tao/Downloads/test_definitions/policies/general/pol-deny-auto-approved-pe.json",System.Collections.Hashtable,@{name=pol-deny-auto-approved-pe; properties=},"pol-deny-auto-approved-pe.json")" time="0.001" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> </results> </test-suite> <test-suite type="TestFixture" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-auto-approved-pe.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test" executed="True" result="Success" success="True" time="0.0373" asserts="0" description="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-auto-approved-pe.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test"> <results> <test-suite type="ParameterizedTest" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-auto-approved-pe.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.Properties must contain 'displayName' element" executed="True" result="Success" success="True" time="0.0014" asserts="0" description="Properties must contain 'displayName' element"> <results> <test-case description="Properties must contain 'displayName' element" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-auto-approved-pe.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.Properties must contain 'displayName' element("/Users/tao/Downloads/test_definitions/policies/general/pol-deny-auto-approved-pe.json",System.Collections.Hashtable,@{name=pol-deny-auto-approved-pe; properties=},"pol-deny-auto-approved-pe.json")" time="0.0014" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="ParameterizedTest" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-auto-approved-pe.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.'displayName' value must not be longer than 128 characters" executed="True" result="Success" success="True" time="0.0012" asserts="0" description="'displayName' value must not be longer than 128 characters"> <results> <test-case description="'displayName' value must not be longer than 128 characters" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-auto-approved-pe.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.'displayName' value must not be longer than 128 characters("/Users/tao/Downloads/test_definitions/policies/general/pol-deny-auto-approved-pe.json",System.Collections.Hashtable,@{name=pol-deny-auto-approved-pe; properties=},"pol-deny-auto-approved-pe.json")" time="0.0012" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="ParameterizedTest" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-auto-approved-pe.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.'displayName' value must not have leading and trailing spaces" executed="True" result="Success" success="True" time="0.0025" asserts="0" description="'displayName' value must not have leading and trailing spaces"> <results> <test-case description="'displayName' value must not have leading and trailing spaces" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-auto-approved-pe.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.'displayName' value must not have leading and trailing spaces("/Users/tao/Downloads/test_definitions/policies/general/pol-deny-auto-approved-pe.json",System.Collections.Hashtable,@{name=pol-deny-auto-approved-pe; properties=},"pol-deny-auto-approved-pe.json")" time="0.0025" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="ParameterizedTest" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-auto-approved-pe.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.'displayName' value must not end with a period '.'" executed="True" result="Success" success="True" time="0.001" asserts="0" description="'displayName' value must not end with a period '.'"> <results> <test-case description="'displayName' value must not end with a period '.'" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-auto-approved-pe.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.'displayName' value must not end with a period '.'("/Users/tao/Downloads/test_definitions/policies/general/pol-deny-auto-approved-pe.json",System.Collections.Hashtable,@{name=pol-deny-auto-approved-pe; properties=},"pol-deny-auto-approved-pe.json")" time="0.001" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="ParameterizedTest" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-auto-approved-pe.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.Properties must contain 'description' element" executed="True" result="Success" success="True" time="0.001" asserts="0" description="Properties must contain 'description' element"> <results> <test-case description="Properties must contain 'description' element" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-auto-approved-pe.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.Properties must contain 'description' element("/Users/tao/Downloads/test_definitions/policies/general/pol-deny-auto-approved-pe.json",System.Collections.Hashtable,@{name=pol-deny-auto-approved-pe; properties=},"pol-deny-auto-approved-pe.json")" time="0.001" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="ParameterizedTest" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-auto-approved-pe.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.'description' value must not be longer than 512 characters" executed="True" result="Success" success="True" time="0.001" asserts="0" description="'description' value must not be longer than 512 characters"> <results> <test-case description="'description' value must not be longer than 512 characters" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-auto-approved-pe.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.'description' value must not be longer than 512 characters("/Users/tao/Downloads/test_definitions/policies/general/pol-deny-auto-approved-pe.json",System.Collections.Hashtable,@{name=pol-deny-auto-approved-pe; properties=},"pol-deny-auto-approved-pe.json")" time="0.001" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="ParameterizedTest" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-auto-approved-pe.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.'description' value must not have leading and trailing spaces" executed="True" result="Success" success="True" time="0.001" asserts="0" description="'description' value must not have leading and trailing spaces"> <results> <test-case description="'description' value must not have leading and trailing spaces" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-auto-approved-pe.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.'description' value must not have leading and trailing spaces("/Users/tao/Downloads/test_definitions/policies/general/pol-deny-auto-approved-pe.json",System.Collections.Hashtable,@{name=pol-deny-auto-approved-pe; properties=},"pol-deny-auto-approved-pe.json")" time="0.001" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="ParameterizedTest" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-auto-approved-pe.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.Properties must contain 'metadata' element" executed="True" result="Success" success="True" time="0.0013" asserts="0" description="Properties must contain 'metadata' element"> <results> <test-case description="Properties must contain 'metadata' element" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-auto-approved-pe.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.Properties must contain 'metadata' element("/Users/tao/Downloads/test_definitions/policies/general/pol-deny-auto-approved-pe.json",System.Collections.Hashtable,@{name=pol-deny-auto-approved-pe; properties=},"pol-deny-auto-approved-pe.json")" time="0.0013" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="ParameterizedTest" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-auto-approved-pe.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.Properties must contain 'mode' element" executed="True" result="Success" success="True" time="0.0029" asserts="0" description="Properties must contain 'mode' element"> <results> <test-case description="Properties must contain 'mode' element" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-auto-approved-pe.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.Properties must contain 'mode' element("/Users/tao/Downloads/test_definitions/policies/general/pol-deny-auto-approved-pe.json",System.Collections.Hashtable,@{name=pol-deny-auto-approved-pe; properties=},"pol-deny-auto-approved-pe.json")" time="0.0029" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="ParameterizedTest" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-auto-approved-pe.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.Policy mode must have a valid value." executed="True" result="Success" success="True" time="0.001" asserts="0" description="Policy mode must have a valid value."> <results> <test-case description="Policy mode must have a valid value." name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-auto-approved-pe.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.Policy mode must have a valid value.("/Users/tao/Downloads/test_definitions/policies/general/pol-deny-auto-approved-pe.json",System.Collections.Hashtable,@{name=pol-deny-auto-approved-pe; properties=},"pol-deny-auto-approved-pe.json")" time="0.001" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="ParameterizedTest" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-auto-approved-pe.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.Properties must contain 'parameters' element" executed="True" result="Success" success="True" time="0.0009" asserts="0" description="Properties must contain 'parameters' element"> <results> <test-case description="Properties must contain 'parameters' element" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-auto-approved-pe.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.Properties must contain 'parameters' element("/Users/tao/Downloads/test_definitions/policies/general/pol-deny-auto-approved-pe.json",System.Collections.Hashtable,@{name=pol-deny-auto-approved-pe; properties=},"pol-deny-auto-approved-pe.json")" time="0.0009" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="ParameterizedTest" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-auto-approved-pe.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.'parameters' element must contain at least one (1) item" executed="True" result="Success" success="True" time="0.001" asserts="0" description="'parameters' element must contain at least one (1) item"> <results> <test-case description="'parameters' element must contain at least one (1) item" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-auto-approved-pe.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.'parameters' element must contain at least one (1) item("/Users/tao/Downloads/test_definitions/policies/general/pol-deny-auto-approved-pe.json",System.Collections.Hashtable,@{name=pol-deny-auto-approved-pe; properties=},"pol-deny-auto-approved-pe.json")" time="0.001" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="ParameterizedTest" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-auto-approved-pe.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.'parameters' element must contain no more than twenty (20) items" executed="True" result="Success" success="True" time="0.001" asserts="0" description="'parameters' element must contain no more than twenty (20) items"> <results> <test-case description="'parameters' element must contain no more than twenty (20) items" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-auto-approved-pe.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.'parameters' element must contain no more than twenty (20) items("/Users/tao/Downloads/test_definitions/policies/general/pol-deny-auto-approved-pe.json",System.Collections.Hashtable,@{name=pol-deny-auto-approved-pe; properties=},"pol-deny-auto-approved-pe.json")" time="0.001" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="ParameterizedTest" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-auto-approved-pe.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.Properties must contain 'policyRule' element" executed="True" result="Success" success="True" time="0.0018" asserts="0" description="Properties must contain 'policyRule' element"> <results> <test-case description="Properties must contain 'policyRule' element" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-auto-approved-pe.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.Properties must contain 'policyRule' element("/Users/tao/Downloads/test_definitions/policies/general/pol-deny-auto-approved-pe.json",System.Collections.Hashtable,@{name=pol-deny-auto-approved-pe; properties=},"pol-deny-auto-approved-pe.json")" time="0.0018" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="ParameterizedTest" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-auto-approved-pe.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.'DisplayName' value must not be blank" executed="True" result="Success" success="True" time="0.0009" asserts="0" description="'DisplayName' value must not be blank"> <results> <test-case description="'DisplayName' value must not be blank" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-auto-approved-pe.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.'DisplayName' value must not be blank("/Users/tao/Downloads/test_definitions/policies/general/pol-deny-auto-approved-pe.json",System.Collections.Hashtable,@{name=pol-deny-auto-approved-pe; properties=},"pol-deny-auto-approved-pe.json")" time="0.0009" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="ParameterizedTest" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-auto-approved-pe.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.'Description' value must not be blank" executed="True" result="Success" success="True" time="0.0009" asserts="0" description="'Description' value must not be blank"> <results> <test-case description="'Description' value must not be blank" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-auto-approved-pe.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.'Description' value must not be blank("/Users/tao/Downloads/test_definitions/policies/general/pol-deny-auto-approved-pe.json",System.Collections.Hashtable,@{name=pol-deny-auto-approved-pe; properties=},"pol-deny-auto-approved-pe.json")" time="0.0009" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="ParameterizedTest" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-auto-approved-pe.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.Must contain 'Category' metadata" executed="True" result="Success" success="True" time="0.0009" asserts="0" description="Must contain 'Category' metadata"> <results> <test-case description="Must contain 'Category' metadata" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-auto-approved-pe.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.Must contain 'Category' metadata("/Users/tao/Downloads/test_definitions/policies/general/pol-deny-auto-approved-pe.json",System.Collections.Hashtable,@{name=pol-deny-auto-approved-pe; properties=},"pol-deny-auto-approved-pe.json")" time="0.0009" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="ParameterizedTest" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-auto-approved-pe.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.Must contain 'Version' metadata" executed="True" result="Success" success="True" time="0.0009" asserts="0" description="Must contain 'Version' metadata"> <results> <test-case description="Must contain 'Version' metadata" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-auto-approved-pe.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.Must contain 'Version' metadata("/Users/tao/Downloads/test_definitions/policies/general/pol-deny-auto-approved-pe.json",System.Collections.Hashtable,@{name=pol-deny-auto-approved-pe; properties=},"pol-deny-auto-approved-pe.json")" time="0.0009" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="ParameterizedTest" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-auto-approved-pe.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.'Version' metadata value must be a valid semantic version" executed="True" result="Success" success="True" time="0.001" asserts="0" description="'Version' metadata value must be a valid semantic version"> <results> <test-case description="'Version' metadata value must be a valid semantic version" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-auto-approved-pe.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.'Version' metadata value must be a valid semantic version("/Users/tao/Downloads/test_definitions/policies/general/pol-deny-auto-approved-pe.json",System.Collections.Hashtable,@{name=pol-deny-auto-approved-pe; properties=},"pol-deny-auto-approved-pe.json")" time="0.001" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> </results> </test-suite> <test-suite type="TestFixture" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-auto-approved-pe.json]: Policy Definition Syntax Test.Parameters Tests" executed="True" result="Success" success="True" time="0.0559" asserts="0" description="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-auto-approved-pe.json]: Policy Definition Syntax Test.Parameters Tests"> <results> <test-suite type="ParameterizedTest" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-auto-approved-pe.json]: Policy Definition Syntax Test.Parameters Tests.Parameter [<parameterName>] must contain 'type' element" executed="True" result="Success" success="True" time="0.0047" asserts="0" description="Parameter [<parameterName>] must contain 'type' element"> <results> <test-case description="Parameter [groupId] must contain 'type' element" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-auto-approved-pe.json]: Policy Definition Syntax Test.Parameters Tests.Parameter [groupId] must contain 'type' element" time="0.0027" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Parameter [resourceType] must contain 'type' element" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-auto-approved-pe.json]: Policy Definition Syntax Test.Parameters Tests.Parameter [resourceType] must contain 'type' element" time="0.0011" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Parameter [effect] must contain 'type' element" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-auto-approved-pe.json]: Policy Definition Syntax Test.Parameters Tests.Parameter [effect] must contain 'type' element" time="0.0009" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="ParameterizedTest" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-auto-approved-pe.json]: Policy Definition Syntax Test.Parameters Tests.Parameter [<parameterName>] default value must be a member of allowed values" executed="True" result="Success" success="True" time="0.0007" asserts="0" description="Parameter [<parameterName>] default value must be a member of allowed values"> <results> <test-case description="Parameter [effect] default value must be a member of allowed values" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-auto-approved-pe.json]: Policy Definition Syntax Test.Parameters Tests.Parameter [effect] default value must be a member of allowed values" time="0.0007" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="ParameterizedTest" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-auto-approved-pe.json]: Policy Definition Syntax Test.Parameters Tests.Parameter [<parameterName>] must have a valid value for the 'type' element" executed="True" result="Success" success="True" time="0.0041" asserts="0" description="Parameter [<parameterName>] must have a valid value for the 'type' element"> <results> <test-case description="Parameter [groupId] must have a valid value for the 'type' element" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-auto-approved-pe.json]: Policy Definition Syntax Test.Parameters Tests.Parameter [groupId] must have a valid value for the 'type' element" time="0.0011" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Parameter [resourceType] must have a valid value for the 'type' element" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-auto-approved-pe.json]: Policy Definition Syntax Test.Parameters Tests.Parameter [resourceType] must have a valid value for the 'type' element" time="0.0019" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Parameter [effect] must have a valid value for the 'type' element" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-auto-approved-pe.json]: Policy Definition Syntax Test.Parameters Tests.Parameter [effect] must have a valid value for the 'type' element" time="0.001" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="ParameterizedTest" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-auto-approved-pe.json]: Policy Definition Syntax Test.Parameters Tests.Parameter [<parameterName>] metadata must contain 'displayName' element" executed="True" result="Success" success="True" time="0.0041" asserts="0" description="Parameter [<parameterName>] metadata must contain 'displayName' element"> <results> <test-case description="Parameter [groupId] metadata must contain 'displayName' element" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-auto-approved-pe.json]: Policy Definition Syntax Test.Parameters Tests.Parameter [groupId] metadata must contain 'displayName' element" time="0.0011" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Parameter [resourceType] metadata must contain 'displayName' element" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-auto-approved-pe.json]: Policy Definition Syntax Test.Parameters Tests.Parameter [resourceType] metadata must contain 'displayName' element" time="0.001" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Parameter [effect] metadata must contain 'displayName' element" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-auto-approved-pe.json]: Policy Definition Syntax Test.Parameters Tests.Parameter [effect] metadata must contain 'displayName' element" time="0.002" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="ParameterizedTest" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-auto-approved-pe.json]: Policy Definition Syntax Test.Parameters Tests.Parameter [<parameterName>] metadata must contain 'description' element" executed="True" result="Success" success="True" time="0.0031" asserts="0" description="Parameter [<parameterName>] metadata must contain 'description' element"> <results> <test-case description="Parameter [groupId] metadata must contain 'description' element" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-auto-approved-pe.json]: Policy Definition Syntax Test.Parameters Tests.Parameter [groupId] metadata must contain 'description' element" time="0.0011" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Parameter [resourceType] metadata must contain 'description' element" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-auto-approved-pe.json]: Policy Definition Syntax Test.Parameters Tests.Parameter [resourceType] metadata must contain 'description' element" time="0.001" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Parameter [effect] metadata must contain 'description' element" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-auto-approved-pe.json]: Policy Definition Syntax Test.Parameters Tests.Parameter [effect] metadata must contain 'description' element" time="0.0011" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> </results> </test-suite> <test-suite type="TestFixture" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-auto-approved-pe.json]: Policy Definition Syntax Test.Policy Rule Test" executed="True" result="Success" success="True" time="0.0594" asserts="0" description="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-auto-approved-pe.json]: Policy Definition Syntax Test.Policy Rule Test"> <results> <test-suite type="ParameterizedTest" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-auto-approved-pe.json]: Policy Definition Syntax Test.Policy Rule Test.Policy Rule must contain 'if' element" executed="True" result="Success" success="True" time="0.0013" asserts="0" description="Policy Rule must contain 'if' element"> <results> <test-case description="Policy Rule must contain 'if' element" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-auto-approved-pe.json]: Policy Definition Syntax Test.Policy Rule Test.Policy Rule must contain 'if' element("/Users/tao/Downloads/test_definitions/policies/general/pol-deny-auto-approved-pe.json",System.Collections.Hashtable,@{name=pol-deny-auto-approved-pe; properties=},"pol-deny-auto-approved-pe.json")" time="0.0013" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="ParameterizedTest" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-auto-approved-pe.json]: Policy Definition Syntax Test.Policy Rule Test.Policy Rule must contain 'then' element" executed="True" result="Success" success="True" time="0.001" asserts="0" description="Policy Rule must contain 'then' element"> <results> <test-case description="Policy Rule must contain 'then' element" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-auto-approved-pe.json]: Policy Definition Syntax Test.Policy Rule Test.Policy Rule must contain 'then' element("/Users/tao/Downloads/test_definitions/policies/general/pol-deny-auto-approved-pe.json",System.Collections.Hashtable,@{name=pol-deny-auto-approved-pe; properties=},"pol-deny-auto-approved-pe.json")" time="0.001" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> </results> </test-suite> <test-suite type="TestFixture" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-auto-approved-pe.json]: Policy Definition Syntax Test.Policy Effect Test" executed="True" result="Success" success="True" time="0.0685" asserts="0" description="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-auto-approved-pe.json]: Policy Definition Syntax Test.Policy Effect Test"> <results> <test-suite type="ParameterizedTest" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-auto-approved-pe.json]: Policy Definition Syntax Test.Policy Effect Test.Policy Rule should have parameterised effect" executed="True" result="Success" success="True" time="0.0026" asserts="0" description="Policy Rule should have parameterised effect"> <results> <test-case description="Policy Rule should have parameterised effect" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-auto-approved-pe.json]: Policy Definition Syntax Test.Policy Effect Test.Policy Rule should have parameterised effect("/Users/tao/Downloads/test_definitions/policies/general/pol-deny-auto-approved-pe.json",System.Collections.Hashtable,@{name=pol-deny-auto-approved-pe; properties=},"pol-deny-auto-approved-pe.json")" time="0.0026" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="ParameterizedTest" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-auto-approved-pe.json]: Policy Definition Syntax Test.Policy Effect Test.Policy Rule parameterised effect should contain 'Disabled' effect" executed="True" result="Success" success="True" time="0.001" asserts="0" description="Policy Rule parameterised effect should contain 'Disabled' effect"> <results> <test-case description="Policy Rule parameterised effect should contain 'Disabled' effect" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-auto-approved-pe.json]: Policy Definition Syntax Test.Policy Effect Test.Policy Rule parameterised effect should contain 'Disabled' effect("/Users/tao/Downloads/test_definitions/policies/general/pol-deny-auto-approved-pe.json",System.Collections.Hashtable,@{name=pol-deny-auto-approved-pe; properties=},"pol-deny-auto-approved-pe.json")" time="0.001" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="ParameterizedTest" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-auto-approved-pe.json]: Policy Definition Syntax Test.Policy Effect Test.Policy Rule parameterised effect should have a default value" executed="True" result="Success" success="True" time="0.0009" asserts="0" description="Policy Rule parameterised effect should have a default value"> <results> <test-case description="Policy Rule parameterised effect should have a default value" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-auto-approved-pe.json]: Policy Definition Syntax Test.Policy Effect Test.Policy Rule parameterised effect should have a default value("/Users/tao/Downloads/test_definitions/policies/general/pol-deny-auto-approved-pe.json",System.Collections.Hashtable,@{name=pol-deny-auto-approved-pe; properties=},"pol-deny-auto-approved-pe.json")" time="0.0009" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="ParameterizedTest" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-auto-approved-pe.json]: Policy Definition Syntax Test.Policy Effect Test.Policy Rule must use a valid effect" executed="True" result="Success" success="True" time="0.001" asserts="0" description="Policy Rule must use a valid effect"> <results> <test-case description="Policy Rule must use a valid effect" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-auto-approved-pe.json]: Policy Definition Syntax Test.Policy Effect Test.Policy Rule must use a valid effect("/Users/tao/Downloads/test_definitions/policies/general/pol-deny-auto-approved-pe.json",System.Collections.Hashtable,@{name=pol-deny-auto-approved-pe; properties=},"pol-deny-auto-approved-pe.json")" time="0.001" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="ParameterizedTest" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-auto-approved-pe.json]: Policy Definition Syntax Test.Policy Effect Test.Policy rule with 'Deny' effect must also support 'Audit' Effect" executed="True" result="Success" success="True" time="0.001" asserts="0" description="Policy rule with 'Deny' effect must also support 'Audit' Effect"> <results> <test-case description="Policy rule with 'Deny' effect must also support 'Audit' Effect" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-auto-approved-pe.json]: Policy Definition Syntax Test.Policy Effect Test.Policy rule with 'Deny' effect must also support 'Audit' Effect("/Users/tao/Downloads/test_definitions/policies/general/pol-deny-auto-approved-pe.json",System.Collections.Hashtable,@{name=pol-deny-auto-approved-pe; properties=},"pol-deny-auto-approved-pe.json")" time="0.001" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="ParameterizedTest" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-auto-approved-pe.json]: Policy Definition Syntax Test.Policy Effect Test.Policy rule with 'Audit' effect must also support 'Deny' Effect" executed="True" result="Success" success="True" time="0.001" asserts="0" description="Policy rule with 'Audit' effect must also support 'Deny' Effect"> <results> <test-case description="Policy rule with 'Audit' effect must also support 'Deny' Effect" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-auto-approved-pe.json]: Policy Definition Syntax Test.Policy Effect Test.Policy rule with 'Audit' effect must also support 'Deny' Effect("/Users/tao/Downloads/test_definitions/policies/general/pol-deny-auto-approved-pe.json",System.Collections.Hashtable,@{name=pol-deny-auto-approved-pe; properties=},"pol-deny-auto-approved-pe.json")" time="0.001" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> </results> </test-suite> <test-suite type="TestFixture" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-auto-approved-pe.json]: Policy Definition Syntax Test.Non DeployIfNotExists or Modify Effect Policy Configuration Test" executed="True" result="Success" success="True" time="0.0725" asserts="0" description="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-auto-approved-pe.json]: Policy Definition Syntax Test.Non DeployIfNotExists or Modify Effect Policy Configuration Test"> <results> <test-suite type="ParameterizedTest" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-auto-approved-pe.json]: Policy Definition Syntax Test.Non DeployIfNotExists or Modify Effect Policy Configuration Test.Policy rule must not contain a 'roleDefinitionIds' element" executed="True" result="Success" success="True" time="0.0015" asserts="0" description="Policy rule must not contain a 'roleDefinitionIds' element"> <results> <test-case description="Policy rule must not contain a 'roleDefinitionIds' element" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-auto-approved-pe.json]: Policy Definition Syntax Test.Non DeployIfNotExists or Modify Effect Policy Configuration Test.Policy rule must not contain a 'roleDefinitionIds' element("/Users/tao/Downloads/test_definitions/policies/general/pol-deny-auto-approved-pe.json",System.Collections.Hashtable,@{name=pol-deny-auto-approved-pe; properties=},"pol-deny-auto-approved-pe.json")" time="0.0015" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> </results> </test-suite> </results> </test-suite> <test-suite type="TestFixture" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-general-allowed-locations.json]: Policy Definition Syntax Test" executed="True" result="Success" success="True" time="0.1423" asserts="0" description="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-general-allowed-locations.json]: Policy Definition Syntax Test"> <results> <test-suite type="TestFixture" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-general-allowed-locations.json]: Policy Definition Syntax Test.Required Top-Level Elements Test" executed="True" result="Success" success="True" time="0.0034" asserts="0" description="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-general-allowed-locations.json]: Policy Definition Syntax Test.Required Top-Level Elements Test"> <results> <test-suite type="ParameterizedTest" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-general-allowed-locations.json]: Policy Definition Syntax Test.Required Top-Level Elements Test.Should contain top-level element name" executed="True" result="Success" success="True" time="0.0013" asserts="0" description="Should contain top-level element name"> <results> <test-case description="Should contain top-level element name" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-general-allowed-locations.json]: Policy Definition Syntax Test.Required Top-Level Elements Test.Should contain top-level element name("/Users/tao/Downloads/test_definitions/policies/general/pol-deny-general-allowed-locations.json",System.Collections.Hashtable,@{name=pol-deny-general-allowed-locations; properties=},"pol-deny-general-allowed-locations.json")" time="0.0013" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="ParameterizedTest" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-general-allowed-locations.json]: Policy Definition Syntax Test.Required Top-Level Elements Test.Should contain top-level element - properties" executed="True" result="Success" success="True" time="0.001" asserts="0" description="Should contain top-level element - properties"> <results> <test-case description="Should contain top-level element - properties" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-general-allowed-locations.json]: Policy Definition Syntax Test.Required Top-Level Elements Test.Should contain top-level element - properties("/Users/tao/Downloads/test_definitions/policies/general/pol-deny-general-allowed-locations.json",System.Collections.Hashtable,@{name=pol-deny-general-allowed-locations; properties=},"pol-deny-general-allowed-locations.json")" time="0.001" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> </results> </test-suite> <test-suite type="TestFixture" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-general-allowed-locations.json]: Policy Definition Syntax Test.Policy Definition Elements Value Test" executed="True" result="Success" success="True" time="0.0107" asserts="0" description="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-general-allowed-locations.json]: Policy Definition Syntax Test.Policy Definition Elements Value Test"> <results> <test-suite type="ParameterizedTest" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-general-allowed-locations.json]: Policy Definition Syntax Test.Policy Definition Elements Value Test.Name value must not be null" executed="True" result="Success" success="True" time="0.0026" asserts="0" description="Name value must not be null"> <results> <test-case description="Name value must not be null" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-general-allowed-locations.json]: Policy Definition Syntax Test.Policy Definition Elements Value Test.Name value must not be null("/Users/tao/Downloads/test_definitions/policies/general/pol-deny-general-allowed-locations.json",System.Collections.Hashtable,@{name=pol-deny-general-allowed-locations; properties=},"pol-deny-general-allowed-locations.json")" time="0.0026" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="ParameterizedTest" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-general-allowed-locations.json]: Policy Definition Syntax Test.Policy Definition Elements Value Test.Name value must not be longer than 64 characters" executed="True" result="Success" success="True" time="0.0012" asserts="0" description="Name value must not be longer than 64 characters"> <results> <test-case description="Name value must not be longer than 64 characters" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-general-allowed-locations.json]: Policy Definition Syntax Test.Policy Definition Elements Value Test.Name value must not be longer than 64 characters("/Users/tao/Downloads/test_definitions/policies/general/pol-deny-general-allowed-locations.json",System.Collections.Hashtable,@{name=pol-deny-general-allowed-locations; properties=},"pol-deny-general-allowed-locations.json")" time="0.0012" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="ParameterizedTest" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-general-allowed-locations.json]: Policy Definition Syntax Test.Policy Definition Elements Value Test.Name value must not contain spaces" executed="True" result="Success" success="True" time="0.0011" asserts="0" description="Name value must not contain spaces"> <results> <test-case description="Name value must not contain spaces" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-general-allowed-locations.json]: Policy Definition Syntax Test.Policy Definition Elements Value Test.Name value must not contain spaces("/Users/tao/Downloads/test_definitions/policies/general/pol-deny-general-allowed-locations.json",System.Collections.Hashtable,@{name=pol-deny-general-allowed-locations; properties=},"pol-deny-general-allowed-locations.json")" time="0.0011" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="ParameterizedTest" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-general-allowed-locations.json]: Policy Definition Syntax Test.Policy Definition Elements Value Test.Name value must not contain forbidden characters" executed="True" result="Success" success="True" time="0.001" asserts="0" description="Name value must not contain forbidden characters"> <results> <test-case description="Name value must not contain forbidden characters" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-general-allowed-locations.json]: Policy Definition Syntax Test.Policy Definition Elements Value Test.Name value must not contain forbidden characters("/Users/tao/Downloads/test_definitions/policies/general/pol-deny-general-allowed-locations.json",System.Collections.Hashtable,@{name=pol-deny-general-allowed-locations; properties=},"pol-deny-general-allowed-locations.json")" time="0.001" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> </results> </test-suite> <test-suite type="TestFixture" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-general-allowed-locations.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test" executed="True" result="Success" success="True" time="0.0386" asserts="0" description="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-general-allowed-locations.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test"> <results> <test-suite type="ParameterizedTest" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-general-allowed-locations.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.Properties must contain 'displayName' element" executed="True" result="Success" success="True" time="0.0012" asserts="0" description="Properties must contain 'displayName' element"> <results> <test-case description="Properties must contain 'displayName' element" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-general-allowed-locations.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.Properties must contain 'displayName' element("/Users/tao/Downloads/test_definitions/policies/general/pol-deny-general-allowed-locations.json",System.Collections.Hashtable,@{name=pol-deny-general-allowed-locations; properties=},"pol-deny-general-allowed-locations.json")" time="0.0012" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="ParameterizedTest" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-general-allowed-locations.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.'displayName' value must not be longer than 128 characters" executed="True" result="Success" success="True" time="0.0023" asserts="0" description="'displayName' value must not be longer than 128 characters"> <results> <test-case description="'displayName' value must not be longer than 128 characters" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-general-allowed-locations.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.'displayName' value must not be longer than 128 characters("/Users/tao/Downloads/test_definitions/policies/general/pol-deny-general-allowed-locations.json",System.Collections.Hashtable,@{name=pol-deny-general-allowed-locations; properties=},"pol-deny-general-allowed-locations.json")" time="0.0023" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="ParameterizedTest" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-general-allowed-locations.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.'displayName' value must not have leading and trailing spaces" executed="True" result="Success" success="True" time="0.0012" asserts="0" description="'displayName' value must not have leading and trailing spaces"> <results> <test-case description="'displayName' value must not have leading and trailing spaces" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-general-allowed-locations.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.'displayName' value must not have leading and trailing spaces("/Users/tao/Downloads/test_definitions/policies/general/pol-deny-general-allowed-locations.json",System.Collections.Hashtable,@{name=pol-deny-general-allowed-locations; properties=},"pol-deny-general-allowed-locations.json")" time="0.0012" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="ParameterizedTest" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-general-allowed-locations.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.'displayName' value must not end with a period '.'" executed="True" result="Success" success="True" time="0.0012" asserts="0" description="'displayName' value must not end with a period '.'"> <results> <test-case description="'displayName' value must not end with a period '.'" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-general-allowed-locations.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.'displayName' value must not end with a period '.'("/Users/tao/Downloads/test_definitions/policies/general/pol-deny-general-allowed-locations.json",System.Collections.Hashtable,@{name=pol-deny-general-allowed-locations; properties=},"pol-deny-general-allowed-locations.json")" time="0.0012" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="ParameterizedTest" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-general-allowed-locations.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.Properties must contain 'description' element" executed="True" result="Success" success="True" time="0.0011" asserts="0" description="Properties must contain 'description' element"> <results> <test-case description="Properties must contain 'description' element" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-general-allowed-locations.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.Properties must contain 'description' element("/Users/tao/Downloads/test_definitions/policies/general/pol-deny-general-allowed-locations.json",System.Collections.Hashtable,@{name=pol-deny-general-allowed-locations; properties=},"pol-deny-general-allowed-locations.json")" time="0.0011" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="ParameterizedTest" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-general-allowed-locations.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.'description' value must not be longer than 512 characters" executed="True" result="Success" success="True" time="0.001" asserts="0" description="'description' value must not be longer than 512 characters"> <results> <test-case description="'description' value must not be longer than 512 characters" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-general-allowed-locations.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.'description' value must not be longer than 512 characters("/Users/tao/Downloads/test_definitions/policies/general/pol-deny-general-allowed-locations.json",System.Collections.Hashtable,@{name=pol-deny-general-allowed-locations; properties=},"pol-deny-general-allowed-locations.json")" time="0.001" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="ParameterizedTest" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-general-allowed-locations.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.'description' value must not have leading and trailing spaces" executed="True" result="Success" success="True" time="0.001" asserts="0" description="'description' value must not have leading and trailing spaces"> <results> <test-case description="'description' value must not have leading and trailing spaces" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-general-allowed-locations.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.'description' value must not have leading and trailing spaces("/Users/tao/Downloads/test_definitions/policies/general/pol-deny-general-allowed-locations.json",System.Collections.Hashtable,@{name=pol-deny-general-allowed-locations; properties=},"pol-deny-general-allowed-locations.json")" time="0.001" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="ParameterizedTest" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-general-allowed-locations.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.Properties must contain 'metadata' element" executed="True" result="Success" success="True" time="0.0022" asserts="0" description="Properties must contain 'metadata' element"> <results> <test-case description="Properties must contain 'metadata' element" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-general-allowed-locations.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.Properties must contain 'metadata' element("/Users/tao/Downloads/test_definitions/policies/general/pol-deny-general-allowed-locations.json",System.Collections.Hashtable,@{name=pol-deny-general-allowed-locations; properties=},"pol-deny-general-allowed-locations.json")" time="0.0022" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="ParameterizedTest" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-general-allowed-locations.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.Properties must contain 'mode' element" executed="True" result="Success" success="True" time="0.001" asserts="0" description="Properties must contain 'mode' element"> <results> <test-case description="Properties must contain 'mode' element" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-general-allowed-locations.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.Properties must contain 'mode' element("/Users/tao/Downloads/test_definitions/policies/general/pol-deny-general-allowed-locations.json",System.Collections.Hashtable,@{name=pol-deny-general-allowed-locations; properties=},"pol-deny-general-allowed-locations.json")" time="0.001" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="ParameterizedTest" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-general-allowed-locations.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.Policy mode must have a valid value." executed="True" result="Success" success="True" time="0.001" asserts="0" description="Policy mode must have a valid value."> <results> <test-case description="Policy mode must have a valid value." name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-general-allowed-locations.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.Policy mode must have a valid value.("/Users/tao/Downloads/test_definitions/policies/general/pol-deny-general-allowed-locations.json",System.Collections.Hashtable,@{name=pol-deny-general-allowed-locations; properties=},"pol-deny-general-allowed-locations.json")" time="0.001" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="ParameterizedTest" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-general-allowed-locations.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.Properties must contain 'parameters' element" executed="True" result="Success" success="True" time="0.0012" asserts="0" description="Properties must contain 'parameters' element"> <results> <test-case description="Properties must contain 'parameters' element" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-general-allowed-locations.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.Properties must contain 'parameters' element("/Users/tao/Downloads/test_definitions/policies/general/pol-deny-general-allowed-locations.json",System.Collections.Hashtable,@{name=pol-deny-general-allowed-locations; properties=},"pol-deny-general-allowed-locations.json")" time="0.0012" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="ParameterizedTest" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-general-allowed-locations.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.'parameters' element must contain at least one (1) item" executed="True" result="Success" success="True" time="0.0014" asserts="0" description="'parameters' element must contain at least one (1) item"> <results> <test-case description="'parameters' element must contain at least one (1) item" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-general-allowed-locations.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.'parameters' element must contain at least one (1) item("/Users/tao/Downloads/test_definitions/policies/general/pol-deny-general-allowed-locations.json",System.Collections.Hashtable,@{name=pol-deny-general-allowed-locations; properties=},"pol-deny-general-allowed-locations.json")" time="0.0014" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="ParameterizedTest" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-general-allowed-locations.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.'parameters' element must contain no more than twenty (20) items" executed="True" result="Success" success="True" time="0.0027" asserts="0" description="'parameters' element must contain no more than twenty (20) items"> <results> <test-case description="'parameters' element must contain no more than twenty (20) items" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-general-allowed-locations.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.'parameters' element must contain no more than twenty (20) items("/Users/tao/Downloads/test_definitions/policies/general/pol-deny-general-allowed-locations.json",System.Collections.Hashtable,@{name=pol-deny-general-allowed-locations; properties=},"pol-deny-general-allowed-locations.json")" time="0.0027" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="ParameterizedTest" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-general-allowed-locations.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.Properties must contain 'policyRule' element" executed="True" result="Success" success="True" time="0.0013" asserts="0" description="Properties must contain 'policyRule' element"> <results> <test-case description="Properties must contain 'policyRule' element" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-general-allowed-locations.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.Properties must contain 'policyRule' element("/Users/tao/Downloads/test_definitions/policies/general/pol-deny-general-allowed-locations.json",System.Collections.Hashtable,@{name=pol-deny-general-allowed-locations; properties=},"pol-deny-general-allowed-locations.json")" time="0.0013" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="ParameterizedTest" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-general-allowed-locations.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.'DisplayName' value must not be blank" executed="True" result="Success" success="True" time="0.001" asserts="0" description="'DisplayName' value must not be blank"> <results> <test-case description="'DisplayName' value must not be blank" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-general-allowed-locations.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.'DisplayName' value must not be blank("/Users/tao/Downloads/test_definitions/policies/general/pol-deny-general-allowed-locations.json",System.Collections.Hashtable,@{name=pol-deny-general-allowed-locations; properties=},"pol-deny-general-allowed-locations.json")" time="0.001" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="ParameterizedTest" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-general-allowed-locations.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.'Description' value must not be blank" executed="True" result="Success" success="True" time="0.0009" asserts="0" description="'Description' value must not be blank"> <results> <test-case description="'Description' value must not be blank" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-general-allowed-locations.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.'Description' value must not be blank("/Users/tao/Downloads/test_definitions/policies/general/pol-deny-general-allowed-locations.json",System.Collections.Hashtable,@{name=pol-deny-general-allowed-locations; properties=},"pol-deny-general-allowed-locations.json")" time="0.0009" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="ParameterizedTest" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-general-allowed-locations.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.Must contain 'Category' metadata" executed="True" result="Success" success="True" time="0.0009" asserts="0" description="Must contain 'Category' metadata"> <results> <test-case description="Must contain 'Category' metadata" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-general-allowed-locations.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.Must contain 'Category' metadata("/Users/tao/Downloads/test_definitions/policies/general/pol-deny-general-allowed-locations.json",System.Collections.Hashtable,@{name=pol-deny-general-allowed-locations; properties=},"pol-deny-general-allowed-locations.json")" time="0.0009" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="ParameterizedTest" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-general-allowed-locations.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.Must contain 'Version' metadata" executed="True" result="Success" success="True" time="0.0011" asserts="0" description="Must contain 'Version' metadata"> <results> <test-case description="Must contain 'Version' metadata" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-general-allowed-locations.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.Must contain 'Version' metadata("/Users/tao/Downloads/test_definitions/policies/general/pol-deny-general-allowed-locations.json",System.Collections.Hashtable,@{name=pol-deny-general-allowed-locations; properties=},"pol-deny-general-allowed-locations.json")" time="0.0011" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="ParameterizedTest" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-general-allowed-locations.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.'Version' metadata value must be a valid semantic version" executed="True" result="Success" success="True" time="0.0024" asserts="0" description="'Version' metadata value must be a valid semantic version"> <results> <test-case description="'Version' metadata value must be a valid semantic version" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-general-allowed-locations.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.'Version' metadata value must be a valid semantic version("/Users/tao/Downloads/test_definitions/policies/general/pol-deny-general-allowed-locations.json",System.Collections.Hashtable,@{name=pol-deny-general-allowed-locations; properties=},"pol-deny-general-allowed-locations.json")" time="0.0024" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> </results> </test-suite> <test-suite type="TestFixture" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-general-allowed-locations.json]: Policy Definition Syntax Test.Parameters Tests" executed="True" result="Success" success="True" time="0.0501" asserts="0" description="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-general-allowed-locations.json]: Policy Definition Syntax Test.Parameters Tests"> <results> <test-suite type="ParameterizedTest" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-general-allowed-locations.json]: Policy Definition Syntax Test.Parameters Tests.Parameter [<parameterName>] must contain 'type' element" executed="True" result="Success" success="True" time="0.0034" asserts="0" description="Parameter [<parameterName>] must contain 'type' element"> <results> <test-case description="Parameter [listOfAllowedLocations] must contain 'type' element" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-general-allowed-locations.json]: Policy Definition Syntax Test.Parameters Tests.Parameter [listOfAllowedLocations] must contain 'type' element" time="0.0012" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Parameter [effect] must contain 'type' element" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-general-allowed-locations.json]: Policy Definition Syntax Test.Parameters Tests.Parameter [effect] must contain 'type' element" time="0.0022" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="ParameterizedTest" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-general-allowed-locations.json]: Policy Definition Syntax Test.Parameters Tests.Parameter [<parameterName>] default value must be a member of allowed values" executed="True" result="Success" success="True" time="0.0008" asserts="0" description="Parameter [<parameterName>] default value must be a member of allowed values"> <results> <test-case description="Parameter [effect] default value must be a member of allowed values" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-general-allowed-locations.json]: Policy Definition Syntax Test.Parameters Tests.Parameter [effect] default value must be a member of allowed values" time="0.0008" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="ParameterizedTest" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-general-allowed-locations.json]: Policy Definition Syntax Test.Parameters Tests.Parameter [<parameterName>] must have a valid value for the 'type' element" executed="True" result="Success" success="True" time="0.002" asserts="0" description="Parameter [<parameterName>] must have a valid value for the 'type' element"> <results> <test-case description="Parameter [listOfAllowedLocations] must have a valid value for the 'type' element" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-general-allowed-locations.json]: Policy Definition Syntax Test.Parameters Tests.Parameter [listOfAllowedLocations] must have a valid value for the 'type' element" time="0.001" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Parameter [effect] must have a valid value for the 'type' element" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-general-allowed-locations.json]: Policy Definition Syntax Test.Parameters Tests.Parameter [effect] must have a valid value for the 'type' element" time="0.001" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="ParameterizedTest" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-general-allowed-locations.json]: Policy Definition Syntax Test.Parameters Tests.Parameter [<parameterName>] metadata must contain 'displayName' element" executed="True" result="Success" success="True" time="0.0019" asserts="0" description="Parameter [<parameterName>] metadata must contain 'displayName' element"> <results> <test-case description="Parameter [listOfAllowedLocations] metadata must contain 'displayName' element" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-general-allowed-locations.json]: Policy Definition Syntax Test.Parameters Tests.Parameter [listOfAllowedLocations] metadata must contain 'displayName' element" time="0.001" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Parameter [effect] metadata must contain 'displayName' element" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-general-allowed-locations.json]: Policy Definition Syntax Test.Parameters Tests.Parameter [effect] metadata must contain 'displayName' element" time="0.001" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="ParameterizedTest" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-general-allowed-locations.json]: Policy Definition Syntax Test.Parameters Tests.Parameter [<parameterName>] metadata must contain 'description' element" executed="True" result="Success" success="True" time="0.0018" asserts="0" description="Parameter [<parameterName>] metadata must contain 'description' element"> <results> <test-case description="Parameter [listOfAllowedLocations] metadata must contain 'description' element" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-general-allowed-locations.json]: Policy Definition Syntax Test.Parameters Tests.Parameter [listOfAllowedLocations] metadata must contain 'description' element" time="0.0009" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Parameter [effect] metadata must contain 'description' element" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-general-allowed-locations.json]: Policy Definition Syntax Test.Parameters Tests.Parameter [effect] metadata must contain 'description' element" time="0.0009" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> </results> </test-suite> <test-suite type="TestFixture" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-general-allowed-locations.json]: Policy Definition Syntax Test.Policy Rule Test" executed="True" result="Success" success="True" time="0.0546" asserts="0" description="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-general-allowed-locations.json]: Policy Definition Syntax Test.Policy Rule Test"> <results> <test-suite type="ParameterizedTest" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-general-allowed-locations.json]: Policy Definition Syntax Test.Policy Rule Test.Policy Rule must contain 'if' element" executed="True" result="Success" success="True" time="0.0011" asserts="0" description="Policy Rule must contain 'if' element"> <results> <test-case description="Policy Rule must contain 'if' element" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-general-allowed-locations.json]: Policy Definition Syntax Test.Policy Rule Test.Policy Rule must contain 'if' element("/Users/tao/Downloads/test_definitions/policies/general/pol-deny-general-allowed-locations.json",System.Collections.Hashtable,@{name=pol-deny-general-allowed-locations; properties=},"pol-deny-general-allowed-locations.json")" time="0.0011" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="ParameterizedTest" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-general-allowed-locations.json]: Policy Definition Syntax Test.Policy Rule Test.Policy Rule must contain 'then' element" executed="True" result="Success" success="True" time="0.0022" asserts="0" description="Policy Rule must contain 'then' element"> <results> <test-case description="Policy Rule must contain 'then' element" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-general-allowed-locations.json]: Policy Definition Syntax Test.Policy Rule Test.Policy Rule must contain 'then' element("/Users/tao/Downloads/test_definitions/policies/general/pol-deny-general-allowed-locations.json",System.Collections.Hashtable,@{name=pol-deny-general-allowed-locations; properties=},"pol-deny-general-allowed-locations.json")" time="0.0022" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> </results> </test-suite> <test-suite type="TestFixture" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-general-allowed-locations.json]: Policy Definition Syntax Test.Policy Effect Test" executed="True" result="Success" success="True" time="0.0638" asserts="0" description="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-general-allowed-locations.json]: Policy Definition Syntax Test.Policy Effect Test"> <results> <test-suite type="ParameterizedTest" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-general-allowed-locations.json]: Policy Definition Syntax Test.Policy Effect Test.Policy Rule should have parameterised effect" executed="True" result="Success" success="True" time="0.0012" asserts="0" description="Policy Rule should have parameterised effect"> <results> <test-case description="Policy Rule should have parameterised effect" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-general-allowed-locations.json]: Policy Definition Syntax Test.Policy Effect Test.Policy Rule should have parameterised effect("/Users/tao/Downloads/test_definitions/policies/general/pol-deny-general-allowed-locations.json",System.Collections.Hashtable,@{name=pol-deny-general-allowed-locations; properties=},"pol-deny-general-allowed-locations.json")" time="0.0012" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="ParameterizedTest" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-general-allowed-locations.json]: Policy Definition Syntax Test.Policy Effect Test.Policy Rule parameterised effect should contain 'Disabled' effect" executed="True" result="Success" success="True" time="0.0011" asserts="0" description="Policy Rule parameterised effect should contain 'Disabled' effect"> <results> <test-case description="Policy Rule parameterised effect should contain 'Disabled' effect" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-general-allowed-locations.json]: Policy Definition Syntax Test.Policy Effect Test.Policy Rule parameterised effect should contain 'Disabled' effect("/Users/tao/Downloads/test_definitions/policies/general/pol-deny-general-allowed-locations.json",System.Collections.Hashtable,@{name=pol-deny-general-allowed-locations; properties=},"pol-deny-general-allowed-locations.json")" time="0.0011" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="ParameterizedTest" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-general-allowed-locations.json]: Policy Definition Syntax Test.Policy Effect Test.Policy Rule parameterised effect should have a default value" executed="True" result="Success" success="True" time="0.001" asserts="0" description="Policy Rule parameterised effect should have a default value"> <results> <test-case description="Policy Rule parameterised effect should have a default value" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-general-allowed-locations.json]: Policy Definition Syntax Test.Policy Effect Test.Policy Rule parameterised effect should have a default value("/Users/tao/Downloads/test_definitions/policies/general/pol-deny-general-allowed-locations.json",System.Collections.Hashtable,@{name=pol-deny-general-allowed-locations; properties=},"pol-deny-general-allowed-locations.json")" time="0.001" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="ParameterizedTest" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-general-allowed-locations.json]: Policy Definition Syntax Test.Policy Effect Test.Policy Rule must use a valid effect" executed="True" result="Success" success="True" time="0.001" asserts="0" description="Policy Rule must use a valid effect"> <results> <test-case description="Policy Rule must use a valid effect" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-general-allowed-locations.json]: Policy Definition Syntax Test.Policy Effect Test.Policy Rule must use a valid effect("/Users/tao/Downloads/test_definitions/policies/general/pol-deny-general-allowed-locations.json",System.Collections.Hashtable,@{name=pol-deny-general-allowed-locations; properties=},"pol-deny-general-allowed-locations.json")" time="0.001" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="ParameterizedTest" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-general-allowed-locations.json]: Policy Definition Syntax Test.Policy Effect Test.Policy rule with 'Deny' effect must also support 'Audit' Effect" executed="True" result="Success" success="True" time="0.0024" asserts="0" description="Policy rule with 'Deny' effect must also support 'Audit' Effect"> <results> <test-case description="Policy rule with 'Deny' effect must also support 'Audit' Effect" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-general-allowed-locations.json]: Policy Definition Syntax Test.Policy Effect Test.Policy rule with 'Deny' effect must also support 'Audit' Effect("/Users/tao/Downloads/test_definitions/policies/general/pol-deny-general-allowed-locations.json",System.Collections.Hashtable,@{name=pol-deny-general-allowed-locations; properties=},"pol-deny-general-allowed-locations.json")" time="0.0024" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="ParameterizedTest" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-general-allowed-locations.json]: Policy Definition Syntax Test.Policy Effect Test.Policy rule with 'Audit' effect must also support 'Deny' Effect" executed="True" result="Success" success="True" time="0.001" asserts="0" description="Policy rule with 'Audit' effect must also support 'Deny' Effect"> <results> <test-case description="Policy rule with 'Audit' effect must also support 'Deny' Effect" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-general-allowed-locations.json]: Policy Definition Syntax Test.Policy Effect Test.Policy rule with 'Audit' effect must also support 'Deny' Effect("/Users/tao/Downloads/test_definitions/policies/general/pol-deny-general-allowed-locations.json",System.Collections.Hashtable,@{name=pol-deny-general-allowed-locations; properties=},"pol-deny-general-allowed-locations.json")" time="0.001" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> </results> </test-suite> <test-suite type="TestFixture" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-general-allowed-locations.json]: Policy Definition Syntax Test.Non DeployIfNotExists or Modify Effect Policy Configuration Test" executed="True" result="Success" success="True" time="0.0664" asserts="0" description="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-general-allowed-locations.json]: Policy Definition Syntax Test.Non DeployIfNotExists or Modify Effect Policy Configuration Test"> <results> <test-suite type="ParameterizedTest" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-general-allowed-locations.json]: Policy Definition Syntax Test.Non DeployIfNotExists or Modify Effect Policy Configuration Test.Policy rule must not contain a 'roleDefinitionIds' element" executed="True" result="Success" success="True" time="0.0013" asserts="0" description="Policy rule must not contain a 'roleDefinitionIds' element"> <results> <test-case description="Policy rule must not contain a 'roleDefinitionIds' element" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-general-allowed-locations.json]: Policy Definition Syntax Test.Non DeployIfNotExists or Modify Effect Policy Configuration Test.Policy rule must not contain a 'roleDefinitionIds' element("/Users/tao/Downloads/test_definitions/policies/general/pol-deny-general-allowed-locations.json",System.Collections.Hashtable,@{name=pol-deny-general-allowed-locations; properties=},"pol-deny-general-allowed-locations.json")" time="0.0013" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> </results> </test-suite> </results> </test-suite> <test-suite type="TestFixture" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-resource-type.json]: Policy Definition Syntax Test" executed="True" result="Success" success="True" time="0.2099" asserts="0" description="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-resource-type.json]: Policy Definition Syntax Test"> <results> <test-suite type="TestFixture" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-resource-type.json]: Policy Definition Syntax Test.Required Top-Level Elements Test" executed="True" result="Success" success="True" time="0.0048" asserts="0" description="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-resource-type.json]: Policy Definition Syntax Test.Required Top-Level Elements Test"> <results> <test-suite type="ParameterizedTest" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-resource-type.json]: Policy Definition Syntax Test.Required Top-Level Elements Test.Should contain top-level element name" executed="True" result="Success" success="True" time="0.0027" asserts="0" description="Should contain top-level element name"> <results> <test-case description="Should contain top-level element name" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-resource-type.json]: Policy Definition Syntax Test.Required Top-Level Elements Test.Should contain top-level element name("/Users/tao/Downloads/test_definitions/policies/general/pol-deny-resource-type.json",System.Collections.Hashtable,@{name=pol-deny-resource-type; properties=},"pol-deny-resource-type.json")" time="0.0027" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="ParameterizedTest" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-resource-type.json]: Policy Definition Syntax Test.Required Top-Level Elements Test.Should contain top-level element - properties" executed="True" result="Success" success="True" time="0.001" asserts="0" description="Should contain top-level element - properties"> <results> <test-case description="Should contain top-level element - properties" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-resource-type.json]: Policy Definition Syntax Test.Required Top-Level Elements Test.Should contain top-level element - properties("/Users/tao/Downloads/test_definitions/policies/general/pol-deny-resource-type.json",System.Collections.Hashtable,@{name=pol-deny-resource-type; properties=},"pol-deny-resource-type.json")" time="0.001" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> </results> </test-suite> <test-suite type="TestFixture" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-resource-type.json]: Policy Definition Syntax Test.Policy Definition Elements Value Test" executed="True" result="Success" success="True" time="0.0118" asserts="0" description="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-resource-type.json]: Policy Definition Syntax Test.Policy Definition Elements Value Test"> <results> <test-suite type="ParameterizedTest" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-resource-type.json]: Policy Definition Syntax Test.Policy Definition Elements Value Test.Name value must not be null" executed="True" result="Success" success="True" time="0.001" asserts="0" description="Name value must not be null"> <results> <test-case description="Name value must not be null" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-resource-type.json]: Policy Definition Syntax Test.Policy Definition Elements Value Test.Name value must not be null("/Users/tao/Downloads/test_definitions/policies/general/pol-deny-resource-type.json",System.Collections.Hashtable,@{name=pol-deny-resource-type; properties=},"pol-deny-resource-type.json")" time="0.001" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="ParameterizedTest" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-resource-type.json]: Policy Definition Syntax Test.Policy Definition Elements Value Test.Name value must not be longer than 64 characters" executed="True" result="Success" success="True" time="0.0009" asserts="0" description="Name value must not be longer than 64 characters"> <results> <test-case description="Name value must not be longer than 64 characters" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-resource-type.json]: Policy Definition Syntax Test.Policy Definition Elements Value Test.Name value must not be longer than 64 characters("/Users/tao/Downloads/test_definitions/policies/general/pol-deny-resource-type.json",System.Collections.Hashtable,@{name=pol-deny-resource-type; properties=},"pol-deny-resource-type.json")" time="0.0009" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="ParameterizedTest" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-resource-type.json]: Policy Definition Syntax Test.Policy Definition Elements Value Test.Name value must not contain spaces" executed="True" result="Success" success="True" time="0.0011" asserts="0" description="Name value must not contain spaces"> <results> <test-case description="Name value must not contain spaces" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-resource-type.json]: Policy Definition Syntax Test.Policy Definition Elements Value Test.Name value must not contain spaces("/Users/tao/Downloads/test_definitions/policies/general/pol-deny-resource-type.json",System.Collections.Hashtable,@{name=pol-deny-resource-type; properties=},"pol-deny-resource-type.json")" time="0.0011" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="ParameterizedTest" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-resource-type.json]: Policy Definition Syntax Test.Policy Definition Elements Value Test.Name value must not contain forbidden characters" executed="True" result="Success" success="True" time="0.0026" asserts="0" description="Name value must not contain forbidden characters"> <results> <test-case description="Name value must not contain forbidden characters" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-resource-type.json]: Policy Definition Syntax Test.Policy Definition Elements Value Test.Name value must not contain forbidden characters("/Users/tao/Downloads/test_definitions/policies/general/pol-deny-resource-type.json",System.Collections.Hashtable,@{name=pol-deny-resource-type; properties=},"pol-deny-resource-type.json")" time="0.0026" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> </results> </test-suite> <test-suite type="TestFixture" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-resource-type.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test" executed="True" result="Success" success="True" time="0.036" asserts="0" description="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-resource-type.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test"> <results> <test-suite type="ParameterizedTest" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-resource-type.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.Properties must contain 'displayName' element" executed="True" result="Success" success="True" time="0.0012" asserts="0" description="Properties must contain 'displayName' element"> <results> <test-case description="Properties must contain 'displayName' element" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-resource-type.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.Properties must contain 'displayName' element("/Users/tao/Downloads/test_definitions/policies/general/pol-deny-resource-type.json",System.Collections.Hashtable,@{name=pol-deny-resource-type; properties=},"pol-deny-resource-type.json")" time="0.0012" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="ParameterizedTest" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-resource-type.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.'displayName' value must not be longer than 128 characters" executed="True" result="Success" success="True" time="0.0009" asserts="0" description="'displayName' value must not be longer than 128 characters"> <results> <test-case description="'displayName' value must not be longer than 128 characters" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-resource-type.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.'displayName' value must not be longer than 128 characters("/Users/tao/Downloads/test_definitions/policies/general/pol-deny-resource-type.json",System.Collections.Hashtable,@{name=pol-deny-resource-type; properties=},"pol-deny-resource-type.json")" time="0.0009" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="ParameterizedTest" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-resource-type.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.'displayName' value must not have leading and trailing spaces" executed="True" result="Success" success="True" time="0.001" asserts="0" description="'displayName' value must not have leading and trailing spaces"> <results> <test-case description="'displayName' value must not have leading and trailing spaces" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-resource-type.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.'displayName' value must not have leading and trailing spaces("/Users/tao/Downloads/test_definitions/policies/general/pol-deny-resource-type.json",System.Collections.Hashtable,@{name=pol-deny-resource-type; properties=},"pol-deny-resource-type.json")" time="0.001" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="ParameterizedTest" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-resource-type.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.'displayName' value must not end with a period '.'" executed="True" result="Success" success="True" time="0.0011" asserts="0" description="'displayName' value must not end with a period '.'"> <results> <test-case description="'displayName' value must not end with a period '.'" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-resource-type.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.'displayName' value must not end with a period '.'("/Users/tao/Downloads/test_definitions/policies/general/pol-deny-resource-type.json",System.Collections.Hashtable,@{name=pol-deny-resource-type; properties=},"pol-deny-resource-type.json")" time="0.0011" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="ParameterizedTest" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-resource-type.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.Properties must contain 'description' element" executed="True" result="Success" success="True" time="0.0024" asserts="0" description="Properties must contain 'description' element"> <results> <test-case description="Properties must contain 'description' element" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-resource-type.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.Properties must contain 'description' element("/Users/tao/Downloads/test_definitions/policies/general/pol-deny-resource-type.json",System.Collections.Hashtable,@{name=pol-deny-resource-type; properties=},"pol-deny-resource-type.json")" time="0.0024" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="ParameterizedTest" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-resource-type.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.'description' value must not be longer than 512 characters" executed="True" result="Success" success="True" time="0.001" asserts="0" description="'description' value must not be longer than 512 characters"> <results> <test-case description="'description' value must not be longer than 512 characters" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-resource-type.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.'description' value must not be longer than 512 characters("/Users/tao/Downloads/test_definitions/policies/general/pol-deny-resource-type.json",System.Collections.Hashtable,@{name=pol-deny-resource-type; properties=},"pol-deny-resource-type.json")" time="0.001" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="ParameterizedTest" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-resource-type.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.'description' value must not have leading and trailing spaces" executed="True" result="Success" success="True" time="0.001" asserts="0" description="'description' value must not have leading and trailing spaces"> <results> <test-case description="'description' value must not have leading and trailing spaces" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-resource-type.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.'description' value must not have leading and trailing spaces("/Users/tao/Downloads/test_definitions/policies/general/pol-deny-resource-type.json",System.Collections.Hashtable,@{name=pol-deny-resource-type; properties=},"pol-deny-resource-type.json")" time="0.001" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="ParameterizedTest" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-resource-type.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.Properties must contain 'metadata' element" executed="True" result="Success" success="True" time="0.001" asserts="0" description="Properties must contain 'metadata' element"> <results> <test-case description="Properties must contain 'metadata' element" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-resource-type.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.Properties must contain 'metadata' element("/Users/tao/Downloads/test_definitions/policies/general/pol-deny-resource-type.json",System.Collections.Hashtable,@{name=pol-deny-resource-type; properties=},"pol-deny-resource-type.json")" time="0.001" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="ParameterizedTest" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-resource-type.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.Properties must contain 'mode' element" executed="True" result="Success" success="True" time="0.001" asserts="0" description="Properties must contain 'mode' element"> <results> <test-case description="Properties must contain 'mode' element" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-resource-type.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.Properties must contain 'mode' element("/Users/tao/Downloads/test_definitions/policies/general/pol-deny-resource-type.json",System.Collections.Hashtable,@{name=pol-deny-resource-type; properties=},"pol-deny-resource-type.json")" time="0.001" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="ParameterizedTest" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-resource-type.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.Policy mode must have a valid value." executed="True" result="Success" success="True" time="0.001" asserts="0" description="Policy mode must have a valid value."> <results> <test-case description="Policy mode must have a valid value." name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-resource-type.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.Policy mode must have a valid value.("/Users/tao/Downloads/test_definitions/policies/general/pol-deny-resource-type.json",System.Collections.Hashtable,@{name=pol-deny-resource-type; properties=},"pol-deny-resource-type.json")" time="0.001" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="ParameterizedTest" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-resource-type.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.Properties must contain 'parameters' element" executed="True" result="Success" success="True" time="0.0024" asserts="0" description="Properties must contain 'parameters' element"> <results> <test-case description="Properties must contain 'parameters' element" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-resource-type.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.Properties must contain 'parameters' element("/Users/tao/Downloads/test_definitions/policies/general/pol-deny-resource-type.json",System.Collections.Hashtable,@{name=pol-deny-resource-type; properties=},"pol-deny-resource-type.json")" time="0.0024" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="ParameterizedTest" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-resource-type.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.'parameters' element must contain at least one (1) item" executed="True" result="Success" success="True" time="0.001" asserts="0" description="'parameters' element must contain at least one (1) item"> <results> <test-case description="'parameters' element must contain at least one (1) item" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-resource-type.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.'parameters' element must contain at least one (1) item("/Users/tao/Downloads/test_definitions/policies/general/pol-deny-resource-type.json",System.Collections.Hashtable,@{name=pol-deny-resource-type; properties=},"pol-deny-resource-type.json")" time="0.001" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="ParameterizedTest" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-resource-type.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.'parameters' element must contain no more than twenty (20) items" executed="True" result="Success" success="True" time="0.001" asserts="0" description="'parameters' element must contain no more than twenty (20) items"> <results> <test-case description="'parameters' element must contain no more than twenty (20) items" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-resource-type.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.'parameters' element must contain no more than twenty (20) items("/Users/tao/Downloads/test_definitions/policies/general/pol-deny-resource-type.json",System.Collections.Hashtable,@{name=pol-deny-resource-type; properties=},"pol-deny-resource-type.json")" time="0.001" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="ParameterizedTest" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-resource-type.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.Properties must contain 'policyRule' element" executed="True" result="Success" success="True" time="0.0009" asserts="0" description="Properties must contain 'policyRule' element"> <results> <test-case description="Properties must contain 'policyRule' element" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-resource-type.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.Properties must contain 'policyRule' element("/Users/tao/Downloads/test_definitions/policies/general/pol-deny-resource-type.json",System.Collections.Hashtable,@{name=pol-deny-resource-type; properties=},"pol-deny-resource-type.json")" time="0.0009" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="ParameterizedTest" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-resource-type.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.'DisplayName' value must not be blank" executed="True" result="Success" success="True" time="0.0009" asserts="0" description="'DisplayName' value must not be blank"> <results> <test-case description="'DisplayName' value must not be blank" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-resource-type.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.'DisplayName' value must not be blank("/Users/tao/Downloads/test_definitions/policies/general/pol-deny-resource-type.json",System.Collections.Hashtable,@{name=pol-deny-resource-type; properties=},"pol-deny-resource-type.json")" time="0.0009" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="ParameterizedTest" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-resource-type.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.'Description' value must not be blank" executed="True" result="Success" success="True" time="0.001" asserts="0" description="'Description' value must not be blank"> <results> <test-case description="'Description' value must not be blank" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-resource-type.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.'Description' value must not be blank("/Users/tao/Downloads/test_definitions/policies/general/pol-deny-resource-type.json",System.Collections.Hashtable,@{name=pol-deny-resource-type; properties=},"pol-deny-resource-type.json")" time="0.001" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="ParameterizedTest" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-resource-type.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.Must contain 'Category' metadata" executed="True" result="Success" success="True" time="0.002" asserts="0" description="Must contain 'Category' metadata"> <results> <test-case description="Must contain 'Category' metadata" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-resource-type.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.Must contain 'Category' metadata("/Users/tao/Downloads/test_definitions/policies/general/pol-deny-resource-type.json",System.Collections.Hashtable,@{name=pol-deny-resource-type; properties=},"pol-deny-resource-type.json")" time="0.002" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="ParameterizedTest" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-resource-type.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.Must contain 'Version' metadata" executed="True" result="Success" success="True" time="0.0009" asserts="0" description="Must contain 'Version' metadata"> <results> <test-case description="Must contain 'Version' metadata" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-resource-type.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.Must contain 'Version' metadata("/Users/tao/Downloads/test_definitions/policies/general/pol-deny-resource-type.json",System.Collections.Hashtable,@{name=pol-deny-resource-type; properties=},"pol-deny-resource-type.json")" time="0.0009" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="ParameterizedTest" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-resource-type.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.'Version' metadata value must be a valid semantic version" executed="True" result="Success" success="True" time="0.001" asserts="0" description="'Version' metadata value must be a valid semantic version"> <results> <test-case description="'Version' metadata value must be a valid semantic version" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-resource-type.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.'Version' metadata value must be a valid semantic version("/Users/tao/Downloads/test_definitions/policies/general/pol-deny-resource-type.json",System.Collections.Hashtable,@{name=pol-deny-resource-type; properties=},"pol-deny-resource-type.json")" time="0.001" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> </results> </test-suite> <test-suite type="TestFixture" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-resource-type.json]: Policy Definition Syntax Test.Parameters Tests" executed="True" result="Success" success="True" time="0.0497" asserts="0" description="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-resource-type.json]: Policy Definition Syntax Test.Parameters Tests"> <results> <test-suite type="ParameterizedTest" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-resource-type.json]: Policy Definition Syntax Test.Parameters Tests.Parameter [<parameterName>] must contain 'type' element" executed="True" result="Success" success="True" time="0.0021" asserts="0" description="Parameter [<parameterName>] must contain 'type' element"> <results> <test-case description="Parameter [effect] must contain 'type' element" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-resource-type.json]: Policy Definition Syntax Test.Parameters Tests.Parameter [effect] must contain 'type' element" time="0.0012" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Parameter [disallowedResourceType] must contain 'type' element" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-resource-type.json]: Policy Definition Syntax Test.Parameters Tests.Parameter [disallowedResourceType] must contain 'type' element" time="0.001" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="ParameterizedTest" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-resource-type.json]: Policy Definition Syntax Test.Parameters Tests.Parameter [<parameterName>] default value must be a member of allowed values" executed="True" result="Success" success="True" time="0.0007" asserts="0" description="Parameter [<parameterName>] default value must be a member of allowed values"> <results> <test-case description="Parameter [effect] default value must be a member of allowed values" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-resource-type.json]: Policy Definition Syntax Test.Parameters Tests.Parameter [effect] default value must be a member of allowed values" time="0.0007" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="ParameterizedTest" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-resource-type.json]: Policy Definition Syntax Test.Parameters Tests.Parameter [<parameterName>] must have a valid value for the 'type' element" executed="True" result="Success" success="True" time="0.0037" asserts="0" description="Parameter [<parameterName>] must have a valid value for the 'type' element"> <results> <test-case description="Parameter [effect] must have a valid value for the 'type' element" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-resource-type.json]: Policy Definition Syntax Test.Parameters Tests.Parameter [effect] must have a valid value for the 'type' element" time="0.0026" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Parameter [disallowedResourceType] must have a valid value for the 'type' element" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-resource-type.json]: Policy Definition Syntax Test.Parameters Tests.Parameter [disallowedResourceType] must have a valid value for the 'type' element" time="0.001" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="ParameterizedTest" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-resource-type.json]: Policy Definition Syntax Test.Parameters Tests.Parameter [<parameterName>] metadata must contain 'displayName' element" executed="True" result="Success" success="True" time="0.0021" asserts="0" description="Parameter [<parameterName>] metadata must contain 'displayName' element"> <results> <test-case description="Parameter [effect] metadata must contain 'displayName' element" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-resource-type.json]: Policy Definition Syntax Test.Parameters Tests.Parameter [effect] metadata must contain 'displayName' element" time="0.0011" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Parameter [disallowedResourceType] metadata must contain 'displayName' element" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-resource-type.json]: Policy Definition Syntax Test.Parameters Tests.Parameter [disallowedResourceType] metadata must contain 'displayName' element" time="0.001" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="ParameterizedTest" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-resource-type.json]: Policy Definition Syntax Test.Parameters Tests.Parameter [<parameterName>] metadata must contain 'description' element" executed="True" result="Success" success="True" time="0.0034" asserts="0" description="Parameter [<parameterName>] metadata must contain 'description' element"> <results> <test-case description="Parameter [effect] metadata must contain 'description' element" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-resource-type.json]: Policy Definition Syntax Test.Parameters Tests.Parameter [effect] metadata must contain 'description' element" time="0.001" asserts="0" success="True" result="Success" executed="True" /> <test-case description="Parameter [disallowedResourceType] metadata must contain 'description' element" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-resource-type.json]: Policy Definition Syntax Test.Parameters Tests.Parameter [disallowedResourceType] metadata must contain 'description' element" time="0.0024" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> </results> </test-suite> <test-suite type="TestFixture" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-resource-type.json]: Policy Definition Syntax Test.Policy Rule Test" executed="True" result="Success" success="True" time="0.0536" asserts="0" description="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-resource-type.json]: Policy Definition Syntax Test.Policy Rule Test"> <results> <test-suite type="ParameterizedTest" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-resource-type.json]: Policy Definition Syntax Test.Policy Rule Test.Policy Rule must contain 'if' element" executed="True" result="Success" success="True" time="0.0015" asserts="0" description="Policy Rule must contain 'if' element"> <results> <test-case description="Policy Rule must contain 'if' element" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-resource-type.json]: Policy Definition Syntax Test.Policy Rule Test.Policy Rule must contain 'if' element("/Users/tao/Downloads/test_definitions/policies/general/pol-deny-resource-type.json",System.Collections.Hashtable,@{name=pol-deny-resource-type; properties=},"pol-deny-resource-type.json")" time="0.0015" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="ParameterizedTest" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-resource-type.json]: Policy Definition Syntax Test.Policy Rule Test.Policy Rule must contain 'then' element" executed="True" result="Success" success="True" time="0.0011" asserts="0" description="Policy Rule must contain 'then' element"> <results> <test-case description="Policy Rule must contain 'then' element" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-resource-type.json]: Policy Definition Syntax Test.Policy Rule Test.Policy Rule must contain 'then' element("/Users/tao/Downloads/test_definitions/policies/general/pol-deny-resource-type.json",System.Collections.Hashtable,@{name=pol-deny-resource-type; properties=},"pol-deny-resource-type.json")" time="0.0011" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> </results> </test-suite> <test-suite type="TestFixture" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-resource-type.json]: Policy Definition Syntax Test.Policy Effect Test" executed="True" result="Success" success="True" time="0.0628" asserts="0" description="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-resource-type.json]: Policy Definition Syntax Test.Policy Effect Test"> <results> <test-suite type="ParameterizedTest" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-resource-type.json]: Policy Definition Syntax Test.Policy Effect Test.Policy Rule should have parameterised effect" executed="True" result="Success" success="True" time="0.0013" asserts="0" description="Policy Rule should have parameterised effect"> <results> <test-case description="Policy Rule should have parameterised effect" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-resource-type.json]: Policy Definition Syntax Test.Policy Effect Test.Policy Rule should have parameterised effect("/Users/tao/Downloads/test_definitions/policies/general/pol-deny-resource-type.json",System.Collections.Hashtable,@{name=pol-deny-resource-type; properties=},"pol-deny-resource-type.json")" time="0.0013" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="ParameterizedTest" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-resource-type.json]: Policy Definition Syntax Test.Policy Effect Test.Policy Rule parameterised effect should contain 'Disabled' effect" executed="True" result="Success" success="True" time="0.0022" asserts="0" description="Policy Rule parameterised effect should contain 'Disabled' effect"> <results> <test-case description="Policy Rule parameterised effect should contain 'Disabled' effect" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-resource-type.json]: Policy Definition Syntax Test.Policy Effect Test.Policy Rule parameterised effect should contain 'Disabled' effect("/Users/tao/Downloads/test_definitions/policies/general/pol-deny-resource-type.json",System.Collections.Hashtable,@{name=pol-deny-resource-type; properties=},"pol-deny-resource-type.json")" time="0.0022" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="ParameterizedTest" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-resource-type.json]: Policy Definition Syntax Test.Policy Effect Test.Policy Rule parameterised effect should have a default value" executed="True" result="Success" success="True" time="0.0011" asserts="0" description="Policy Rule parameterised effect should have a default value"> <results> <test-case description="Policy Rule parameterised effect should have a default value" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-resource-type.json]: Policy Definition Syntax Test.Policy Effect Test.Policy Rule parameterised effect should have a default value("/Users/tao/Downloads/test_definitions/policies/general/pol-deny-resource-type.json",System.Collections.Hashtable,@{name=pol-deny-resource-type; properties=},"pol-deny-resource-type.json")" time="0.0011" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="ParameterizedTest" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-resource-type.json]: Policy Definition Syntax Test.Policy Effect Test.Policy Rule must use a valid effect" executed="True" result="Success" success="True" time="0.0011" asserts="0" description="Policy Rule must use a valid effect"> <results> <test-case description="Policy Rule must use a valid effect" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-resource-type.json]: Policy Definition Syntax Test.Policy Effect Test.Policy Rule must use a valid effect("/Users/tao/Downloads/test_definitions/policies/general/pol-deny-resource-type.json",System.Collections.Hashtable,@{name=pol-deny-resource-type; properties=},"pol-deny-resource-type.json")" time="0.0011" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="ParameterizedTest" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-resource-type.json]: Policy Definition Syntax Test.Policy Effect Test.Policy rule with 'Deny' effect must also support 'Audit' Effect" executed="True" result="Success" success="True" time="0.0011" asserts="0" description="Policy rule with 'Deny' effect must also support 'Audit' Effect"> <results> <test-case description="Policy rule with 'Deny' effect must also support 'Audit' Effect" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-resource-type.json]: Policy Definition Syntax Test.Policy Effect Test.Policy rule with 'Deny' effect must also support 'Audit' Effect("/Users/tao/Downloads/test_definitions/policies/general/pol-deny-resource-type.json",System.Collections.Hashtable,@{name=pol-deny-resource-type; properties=},"pol-deny-resource-type.json")" time="0.0011" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> <test-suite type="ParameterizedTest" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-resource-type.json]: Policy Definition Syntax Test.Policy Effect Test.Policy rule with 'Audit' effect must also support 'Deny' Effect" executed="True" result="Success" success="True" time="0.001" asserts="0" description="Policy rule with 'Audit' effect must also support 'Deny' Effect"> <results> <test-case description="Policy rule with 'Audit' effect must also support 'Deny' Effect" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-resource-type.json]: Policy Definition Syntax Test.Policy Effect Test.Policy rule with 'Audit' effect must also support 'Deny' Effect("/Users/tao/Downloads/test_definitions/policies/general/pol-deny-resource-type.json",System.Collections.Hashtable,@{name=pol-deny-resource-type; properties=},"pol-deny-resource-type.json")" time="0.001" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> </results> </test-suite> <test-suite type="TestFixture" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-resource-type.json]: Policy Definition Syntax Test.Non DeployIfNotExists or Modify Effect Policy Configuration Test" executed="True" result="Success" success="True" time="0.0665" asserts="0" description="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-resource-type.json]: Policy Definition Syntax Test.Non DeployIfNotExists or Modify Effect Policy Configuration Test"> <results> <test-suite type="ParameterizedTest" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-resource-type.json]: Policy Definition Syntax Test.Non DeployIfNotExists or Modify Effect Policy Configuration Test.Policy rule must not contain a 'roleDefinitionIds' element" executed="True" result="Success" success="True" time="0.0024" asserts="0" description="Policy rule must not contain a 'roleDefinitionIds' element"> <results> <test-case description="Policy rule must not contain a 'roleDefinitionIds' element" name="[/Users/tao/Downloads/test_definitions/policies/general/pol-deny-resource-type.json]: Policy Definition Syntax Test.Non DeployIfNotExists or Modify Effect Policy Configuration Test.Policy rule must not contain a 'roleDefinitionIds' element("/Users/tao/Downloads/test_definitions/policies/general/pol-deny-resource-type.json",System.Collections.Hashtable,@{name=pol-deny-resource-type; properties=},"pol-deny-resource-type.json")" time="0.0024" asserts="0" success="True" result="Success" executed="True" /> </results> </test-suite> </results> </test-suite> </results> </test-suite> </results> </test-suite> </results> </test-suite> </test-results> |