[XHarness] Reneable the SystemNetHttpTests on iOS, TvOS and WatchOS. (#5405)

Failing iOS tests are ignored WatchOS is running the iOS tests until we have the tests in the SDK
for the watch runtime.

Fixes https://github.com/xamarin/maccore/issues/1144
Fixes https://github.com/xamarin/maccore/issues/1145

Mono issue: https://github.com/mono/mono/issues/12430
This commit is contained in:
Manuel de la Pena 2019-01-16 12:16:22 +01:00 коммит произвёл GitHub
Родитель c455a1d7b9
Коммит 34ca0496fc
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
7 изменённых файлов: 108 добавлений и 1 удалений

Просмотреть файл

@ -31,5 +31,10 @@
</array>
<key>XSAppIconAssets</key>
<string>Assets.xcassets/AppIcon.appiconset</string>
<key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsArbitraryLoads</key>
<true/>
</dict>
</dict>
</plist>

Просмотреть файл

@ -35,5 +35,10 @@
<key>NSExtensionPointIdentifier</key>
<string>com.apple.watchkit</string>
</dict>
<key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsArbitraryLoads</key>
<true/>
</dict>
</dict>
</plist>

Просмотреть файл

@ -32,5 +32,10 @@
</array>
<key>XSAppIconAssets</key>
<string>Assets.xcassets/AppIcon.appiconset</string>
<key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsArbitraryLoads</key>
<true/>
</dict>
</dict>
</plist>

Просмотреть файл

@ -32,5 +32,10 @@
</array>
<key>XSAppIconAssets</key>
<string>Assets.xcassets/AppIcon.appiconset</string>
<key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsArbitraryLoads</key>
<true/>
</dict>
</dict>
</plist>

Просмотреть файл

@ -0,0 +1,67 @@
# #1
# Expected: instance of <System.Net.Http.HttpRequestException>
# But was: <System.Net.WebException>
MonoTests.System.Net.Http.HttpClientTest.WildcardConnect
MonoTests.System.Net.Http.HttpClientTest.Send_Transfer_Encoding_Custom
# #102
# Expected: False
# But was: True
MonoTests.System.Net.Http.HttpClientTest.Send_Transfer_Encoding_Chunked
# #2
# Expected: True
# But was: False
MonoTests.System.Net.Http.HttpClientTest.Send_Content_Put_CustomStream
# #102
# Expected: False
# But was: True
MonoTests.System.Net.Http.HttpClientTest.Send_Complete_Version_1_0
# #102
# Expected: False
# But was: True
MonoTests.System.Net.Http.HttpClientTest.Send_Complete_NoContent_Put
# #102
# Expected: False
# But was: True
MonoTests.System.Net.Http.HttpClientTest.Send_Complete_NoContent_Post
# #102
# Expected: False
# But was: True
MonoTests.System.Net.Http.HttpClientTest.Send_Complete_NoContent_Delete
# #102
# Expected: False
# But was: True
MonoTests.System.Net.Http.HttpClientTest.Send_Complete_Default
# #103a
# Expected string length 7 but was 8. Strings differ at index 0.
# Expected: "chunked"
# But was: "Identity"
MonoTests.System.Net.Http.HttpClientTest.Send_Complete_CustomHeaders
# #102a
# Expected string length 7 but was 8. Strings differ at index 0.
# Expected: "chunked"
# But was: "Identity"
MonoTests.System.Net.Http.HttpClientTest.Send_Complete_Content
# #102
# Expected: False
# But was: True
MonoTests.System.Net.Http.HttpClientTest.Post_TransferEncodingChunked
# #102
# Expected: False
# But was: True
MonoTests.System.Net.Http.HttpClientTest.Post_StreamCaching
# #3
# Expected: True
# But was: False
MonoTests.System.Net.Http.HttpClientTest.Send_Complete_Content_MaxResponseContentBufferSize_Error

Просмотреть файл

@ -0,0 +1,21 @@
# System.PlatformNotSupportedException : System.Net.Sockets.Socket:Bind is not supported on this platform.
MonoTests.System.Net.Http.HttpClientTest.Send_Complete_ClientHandlerSettings
MonoTests.System.Net.Http.HttpClientTest.RequestUriAfterRedirect
MonoTests.System.Net.Http.HttpClientTest.Proxy_Disabled
MonoTests.System.Net.Http.HttpClientTest.ModifyHandlerAfterFirstRequest_Mock
MonoTests.System.Net.Http.HttpClientTest.ModifyHandlerAfterFirstRequest
MonoTests.System.Net.Http.HttpClientTest.DisallowAutoRedirect
MonoTests.System.Net.Http.HttpClientTest.CancelRequestViaProxy
MonoTests.System.Net.Http.HttpClientHandlerTest.Properties_Invalid
MonoTests.System.Net.Http.HttpClientHandlerTest.Properties_Defaults
MonoTests.System.Net.Http.HttpClientHandlerTest.Properties_AfterClientCreation
MonoTests.System.Net.Http.HttpClientHandlerTest.Disposed
MonoTests.System.Net.Http.HttpClientTest.GetByteArray_ServerError
MonoTests.System.Net.Http.HttpClientTest.GetString_Many
MonoTests.System.Net.Http.HttpClientTest.Send_Complete_Content_MaxResponseContentBufferSize
MonoTests.System.Net.Http.HttpClientTest.Send_Complete_CustomHeaders_Host
MonoTests.System.Net.Http.HttpClientTest.Send_Complete_CustomHeaders_SpecialSeparators
MonoTests.System.Net.Http.HttpClientTest.Send_Complete_Error
MonoTests.System.Net.Http.HttpClientTest.Send_Content_BomEncoding
MonoTests.System.Net.Http.HttpClientTest.Send_Content_Get
MonoTests.System.Net.Http.HttpClientTest.Send_Content_Put

Просмотреть файл

@ -112,7 +112,6 @@ namespace BCLTestImporter {
"monotouch_System.Transactions_test.dll", // issue https://github.com/xamarin/maccore/issues/1134
"monotouch_System_test.dll", // issues https://github.com/xamarin/maccore/issues/1135
"monotouch_System.Security_test.dll", // issue https://github.com/xamarin/maccore/issues/1139
"monotouch_System.Net.Http_test.dll", // issue https://github.com/xamarin/maccore/issues/1144 and https://github.com/xamarin/maccore/issues/1145
"monotouch_corlib_test.dll", // issue https://github.com/xamarin/maccore/issues/1153
"monotouch_Commons.Xml.Relaxng_test.dll", // not supported by xamarin
"monotouch_Cscompmgd_test.dll", // not supported by xamarin