|
2 | 2 | <Project ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
3 | 3 |
|
4 | 4 |
|
5 |
| - <!-- Set default values for any TestProperties not already specified. |
| 5 | + <!-- Set default values for any TestProperties not already specified. |
6 | 6 | When adding or removing TestProperties, update testproperties.targets
|
7 | 7 | to generate code at build time.
|
8 | 8 | -->
|
9 |
| - <PropertyGroup Condition="'$(ServicePort)' == ''"> |
10 |
| - <ServicePort>44283</ServicePort> |
11 |
| - </PropertyGroup> |
| 9 | + <PropertyGroup Condition="'$(ServicePort)' == ''"> |
| 10 | + <ServicePort>44283</ServicePort> |
| 11 | + </PropertyGroup> |
12 | 12 |
|
13 |
| - <PropertyGroup Condition="'$(ServiceHttpPort)' == ''"> |
14 |
| - <ServiceHttpPort>8081</ServiceHttpPort> |
15 |
| - </PropertyGroup> |
| 13 | + <PropertyGroup Condition="'$(ServiceHttpPort)' == ''"> |
| 14 | + <ServiceHttpPort>8081</ServiceHttpPort> |
| 15 | + </PropertyGroup> |
16 | 16 |
|
17 |
| - <PropertyGroup Condition="'$(ServiceHttpsPort)' == ''"> |
18 |
| - <ServiceHttpsPort>44285</ServiceHttpsPort> |
19 |
| - </PropertyGroup> |
| 17 | + <PropertyGroup Condition="'$(ServiceHttpsPort)' == ''"> |
| 18 | + <ServiceHttpsPort>44285</ServiceHttpsPort> |
| 19 | + </PropertyGroup> |
20 | 20 |
|
21 |
| - <PropertyGroup Condition="'$(ServiceTcpPort)' == ''"> |
22 |
| - <ServiceTcpPort>8808</ServiceTcpPort> |
23 |
| - </PropertyGroup> |
| 21 | + <PropertyGroup Condition="'$(ServiceTcpPort)' == ''"> |
| 22 | + <ServiceTcpPort>8808</ServiceTcpPort> |
| 23 | + </PropertyGroup> |
24 | 24 |
|
25 |
| - <PropertyGroup Condition="'$(ServiceWebSocketPort)' == ''"> |
26 |
| - <ServiceWebSocketPort>8083</ServiceWebSocketPort> |
27 |
| - </PropertyGroup> |
| 25 | + <PropertyGroup Condition="'$(ServiceWebSocketPort)' == ''"> |
| 26 | + <ServiceWebSocketPort>8083</ServiceWebSocketPort> |
| 27 | + </PropertyGroup> |
28 | 28 |
|
29 |
| - <PropertyGroup Condition="'$(ServiceSecureWebSocketPort)' == ''"> |
30 |
| - <ServiceSecureWebSocketPort>8084</ServiceSecureWebSocketPort> |
31 |
| - </PropertyGroup> |
| 29 | + <PropertyGroup Condition="'$(ServiceSecureWebSocketPort)' == ''"> |
| 30 | + <ServiceSecureWebSocketPort>8084</ServiceSecureWebSocketPort> |
| 31 | + </PropertyGroup> |
32 | 32 |
|
33 |
| - <PropertyGroup Condition="'$(TestRootCertificatePassword)' == ''"> |
34 |
| - <TestRootCertificatePassword>test</TestRootCertificatePassword> |
35 |
| - </PropertyGroup> |
| 33 | + <PropertyGroup Condition="'$(TestRootCertificatePassword)' == ''"> |
| 34 | + <TestRootCertificatePassword>test</TestRootCertificatePassword> |
| 35 | + </PropertyGroup> |
36 | 36 |
|
37 |
| - <PropertyGroup Condition="'$(TestRootCertificateValidityPeriod)' == ''"> |
38 |
| - <TestRootCertificateValidityPeriod>7.00:00:00</TestRootCertificateValidityPeriod> |
39 |
| - </PropertyGroup> |
| 37 | + <PropertyGroup Condition="'$(TestRootCertificateValidityPeriod)' == ''"> |
| 38 | + <TestRootCertificateValidityPeriod>7.00:00:00</TestRootCertificateValidityPeriod> |
| 39 | + </PropertyGroup> |
40 | 40 |
|
41 |
| - <PropertyGroup Condition="'$(MaxTestTimeSpan)' == ''"> |
42 |
| - <MaxTestTimeSpan>00:01:00</MaxTestTimeSpan> |
43 |
| - </PropertyGroup> |
| 41 | + <PropertyGroup Condition="'$(MaxTestTimeSpan)' == ''"> |
| 42 | + <MaxTestTimeSpan>00:01:00</MaxTestTimeSpan> |
| 43 | + </PropertyGroup> |
44 | 44 |
|
45 |
| - <PropertyGroup Condition="'$(NegotiateTestRealm)' == ''"> |
46 |
| - <NegotiateTestRealm></NegotiateTestRealm> |
47 |
| - </PropertyGroup> |
| 45 | + <PropertyGroup Condition="'$(NegotiateTestRealm)' == ''"> |
| 46 | + <NegotiateTestRealm></NegotiateTestRealm> |
| 47 | + </PropertyGroup> |
48 | 48 |
|
49 |
| - <PropertyGroup Condition="'$(NegotiateTestDomain)' == ''"> |
50 |
| - <NegotiateTestDomain></NegotiateTestDomain> |
51 |
| - </PropertyGroup> |
| 49 | + <PropertyGroup Condition="'$(NegotiateTestDomain)' == ''"> |
| 50 | + <NegotiateTestDomain></NegotiateTestDomain> |
| 51 | + </PropertyGroup> |
52 | 52 |
|
53 |
| - <PropertyGroup Condition="'$(NegotiateTestSpn)' == ''"> |
54 |
| - <NegotiateTestSpn></NegotiateTestSpn> |
55 |
| - </PropertyGroup> |
| 53 | + <PropertyGroup Condition="'$(NegotiateTestSpn)' == ''"> |
| 54 | + <NegotiateTestSpn></NegotiateTestSpn> |
| 55 | + </PropertyGroup> |
56 | 56 |
|
57 |
| - <PropertyGroup Condition="'$(NegotiateTestUpn)' == ''"> |
58 |
| - <NegotiateTestUpn></NegotiateTestUpn> |
59 |
| - </PropertyGroup> |
| 57 | + <PropertyGroup Condition="'$(NegotiateTestUpn)' == ''"> |
| 58 | + <NegotiateTestUpn></NegotiateTestUpn> |
| 59 | + </PropertyGroup> |
60 | 60 |
|
61 |
| - <!-- Convention for TestProperties values to use by [ConditionalFact]: |
| 61 | + <!-- Convention for TestProperties values to use by [ConditionalFact]: |
62 | 62 | 'true' = yes, the condition is satisfied
|
63 | 63 | 'false' = no, the condition is not satisfied
|
64 | 64 | empty string = self-detect at runtime if possible, else assume 'false'
|
65 | 65 | -->
|
66 |
| - <PropertyGroup Condition="'$(Domain_Joined)' == ''"> |
67 |
| - <Domain_Joined></Domain_Joined> |
68 |
| - </PropertyGroup> |
69 |
| - |
70 |
| - <PropertyGroup Condition="'$(Server_Domain_Joined)' == ''"> |
71 |
| - <Server_Domain_Joined></Server_Domain_Joined> |
72 |
| - </PropertyGroup> |
73 |
| - |
74 |
| - <PropertyGroup Condition="'$(Root_Certificate_Installed)' == ''"> |
75 |
| - <Root_Certificate_Installed></Root_Certificate_Installed> |
76 |
| - </PropertyGroup> |
77 |
| - |
78 |
| - <PropertyGroup Condition="'$(Client_Certificate_Installed)' == ''"> |
79 |
| - <Client_Certificate_Installed></Client_Certificate_Installed> |
80 |
| - </PropertyGroup> |
81 |
| - |
82 |
| - <PropertyGroup Condition="'$(Peer_Certificate_Installed)' == ''"> |
83 |
| - <Peer_Certificate_Installed></Peer_Certificate_Installed> |
84 |
| - </PropertyGroup> |
85 |
| - |
86 |
| - <PropertyGroup Condition="'$(OSXPeer_Certificate_Installed)' == ''"> |
87 |
| - <OSXPeer_Certificate_Installed></OSXPeer_Certificate_Installed> |
88 |
| - </PropertyGroup> |
89 |
| - |
90 |
| - <PropertyGroup Condition="'$(SPN_Available)' == ''"> |
91 |
| - <SPN_Available></SPN_Available> |
92 |
| - </PropertyGroup> |
93 |
| - |
94 |
| - <PropertyGroup Condition="'$(NTLM_Available)' == ''"> |
95 |
| - <NTLM_Available></NTLM_Available> |
96 |
| - </PropertyGroup> |
97 |
| - |
98 |
| - <PropertyGroup Condition="'$(Ambient_Credentials_Available)' == ''"> |
99 |
| - <Ambient_Credentials_Available></Ambient_Credentials_Available> |
100 |
| - </PropertyGroup> |
101 |
| - |
102 |
| - <PropertyGroup Condition="'$(Explicit_Credentials_Available)' == ''"> |
103 |
| - <Explicit_Credentials_Available></Explicit_Credentials_Available> |
104 |
| - </PropertyGroup> |
105 |
| - |
106 |
| - <PropertyGroup Condition="'$(Server_Accepts_Certificates)' == ''"> |
107 |
| - <Server_Accepts_Certificates></Server_Accepts_Certificates> |
108 |
| - </PropertyGroup> |
109 |
| - |
110 |
| - <PropertyGroup Condition="'$(Basic_Authentication_Available)' == ''"> |
111 |
| - <Basic_Authentication_Available></Basic_Authentication_Available> |
112 |
| - </PropertyGroup> |
113 |
| - |
114 |
| - <PropertyGroup Condition="'$(Digest_Authentication_Available)' == ''"> |
115 |
| - <Digest_Authentication_Available></Digest_Authentication_Available> |
116 |
| - </PropertyGroup> |
117 |
| - |
118 |
| - <PropertyGroup Condition="'$(Windows_Authentication_Available)' == ''"> |
119 |
| - <Windows_Authentication_Available></Windows_Authentication_Available> |
120 |
| - </PropertyGroup> |
121 |
| - |
122 |
| - <PropertyGroup Condition="'$(ServiceUri)' == ''"> |
123 |
| - <ServiceUri >localhost</ServiceUri > |
124 |
| - </PropertyGroup> |
125 |
| - |
126 |
| - <PropertyGroup Condition="'$(ExplicitUserName)' == ''"> |
127 |
| - <ExplicitUserName ></ExplicitUserName > |
128 |
| - </PropertyGroup> |
129 |
| - |
130 |
| - <PropertyGroup Condition="'$(ExplicitPassword)' == ''"> |
131 |
| - <ExplicitPassword ></ExplicitPassword > |
132 |
| - </PropertyGroup> |
133 |
| - |
134 |
| - <PropertyGroup Condition="'$(SSL_Available)' == ''"> |
135 |
| - <SSL_Available></SSL_Available> |
136 |
| - </PropertyGroup> |
137 |
| - |
138 |
| - <!-- The default value of $(IncludeTestsWithIssues) is blank, which is equivalent fo 'false'. |
| 66 | + <PropertyGroup Condition="'$(Domain_Joined)' == ''"> |
| 67 | + <Domain_Joined></Domain_Joined> |
| 68 | + </PropertyGroup> |
| 69 | + |
| 70 | + <PropertyGroup Condition="'$(Server_Domain_Joined)' == ''"> |
| 71 | + <Server_Domain_Joined></Server_Domain_Joined> |
| 72 | + </PropertyGroup> |
| 73 | + |
| 74 | + <PropertyGroup Condition="'$(Root_Certificate_Installed)' == ''"> |
| 75 | + <Root_Certificate_Installed></Root_Certificate_Installed> |
| 76 | + </PropertyGroup> |
| 77 | + |
| 78 | + <PropertyGroup Condition="'$(Client_Certificate_Installed)' == ''"> |
| 79 | + <Client_Certificate_Installed></Client_Certificate_Installed> |
| 80 | + </PropertyGroup> |
| 81 | + |
| 82 | + <PropertyGroup Condition="'$(Peer_Certificate_Installed)' == ''"> |
| 83 | + <Peer_Certificate_Installed></Peer_Certificate_Installed> |
| 84 | + </PropertyGroup> |
| 85 | + |
| 86 | + <PropertyGroup Condition="'$(OSXPeer_Certificate_Installed)' == ''"> |
| 87 | + <OSXPeer_Certificate_Installed></OSXPeer_Certificate_Installed> |
| 88 | + </PropertyGroup> |
| 89 | + |
| 90 | + <PropertyGroup Condition="'$(SPN_Available)' == ''"> |
| 91 | + <SPN_Available></SPN_Available> |
| 92 | + </PropertyGroup> |
| 93 | + |
| 94 | + <PropertyGroup Condition="'$(NTLM_Available)' == ''"> |
| 95 | + <NTLM_Available></NTLM_Available> |
| 96 | + </PropertyGroup> |
| 97 | + |
| 98 | + <PropertyGroup Condition="'$(Ambient_Credentials_Available)' == ''"> |
| 99 | + <Ambient_Credentials_Available></Ambient_Credentials_Available> |
| 100 | + </PropertyGroup> |
| 101 | + |
| 102 | + <PropertyGroup Condition="'$(Explicit_Credentials_Available)' == ''"> |
| 103 | + <Explicit_Credentials_Available></Explicit_Credentials_Available> |
| 104 | + </PropertyGroup> |
| 105 | + |
| 106 | + <PropertyGroup Condition="'$(Server_Accepts_Certificates)' == ''"> |
| 107 | + <Server_Accepts_Certificates></Server_Accepts_Certificates> |
| 108 | + </PropertyGroup> |
| 109 | + |
| 110 | + <PropertyGroup Condition="'$(Basic_Authentication_Available)' == ''"> |
| 111 | + <Basic_Authentication_Available></Basic_Authentication_Available> |
| 112 | + </PropertyGroup> |
| 113 | + |
| 114 | + <PropertyGroup Condition="'$(Digest_Authentication_Available)' == ''"> |
| 115 | + <Digest_Authentication_Available></Digest_Authentication_Available> |
| 116 | + </PropertyGroup> |
| 117 | + |
| 118 | + <PropertyGroup Condition="'$(Windows_Authentication_Available)' == ''"> |
| 119 | + <Windows_Authentication_Available></Windows_Authentication_Available> |
| 120 | + </PropertyGroup> |
| 121 | + |
| 122 | + <PropertyGroup Condition="'$(ServiceUri)' == ''"> |
| 123 | + <ServiceUri >localhost</ServiceUri > |
| 124 | + </PropertyGroup> |
| 125 | + |
| 126 | + <PropertyGroup Condition="'$(ExplicitUserName)' == ''"> |
| 127 | + <ExplicitUserName ></ExplicitUserName > |
| 128 | + </PropertyGroup> |
| 129 | + |
| 130 | + <PropertyGroup Condition="'$(ExplicitPassword)' == ''"> |
| 131 | + <ExplicitPassword ></ExplicitPassword > |
| 132 | + </PropertyGroup> |
| 133 | + |
| 134 | + <PropertyGroup Condition="'$(SSL_Available)' == ''"> |
| 135 | + <SSL_Available></SSL_Available> |
| 136 | + </PropertyGroup> |
| 137 | + |
| 138 | + <!-- The default value of $(IncludeTestsWithIssues) is blank, which is equivalent fo 'false'. |
139 | 139 | The check of $(WithCategories) preserves the convention used by other repo's where the
|
140 | 140 | keyword 'failing' inside $(WithCategories) asks that tests with [ActiveIssue] be run.
|
141 | 141 | Optionally, $(IncludeTestsWithIssues) can be a semicolon-separated list of issue numbers.
|
142 | 142 | Tests marked with an [Issue] whose issue number is in this list will be run rather than skipped.
|
143 | 143 | -->
|
144 |
| - <PropertyGroup Condition="'$(IncludeTestsWithIssues)' == '' and $(WithCategories.ToLower().Contains('failing'))"> |
145 |
| - <IncludeTestsWithIssues>true</IncludeTestsWithIssues> |
146 |
| - </PropertyGroup> |
147 |
| - |
| 144 | + <PropertyGroup Condition="'$(IncludeTestsWithIssues)' == '' and $(WithCategories.ToLower().Contains('failing'))"> |
| 145 | + <IncludeTestsWithIssues>true</IncludeTestsWithIssues> |
| 146 | + </PropertyGroup> |
| 147 | + |
| 148 | + <PropertyGroup Condition="'$(RunWithCoreWCFService)' == ''"> |
| 149 | + <RunWithCoreWCFService></RunWithCoreWCFService> |
| 150 | + </PropertyGroup> |
148 | 151 | <!--
|
149 | 152 | GeneratedTestPropertiesFileName:
|
150 | 153 | The full path of the C# file that will be generated at build time to
|
|
0 commit comments