xamarin-macios/msbuild/tests
Rolf Bjarne Kvinge f4b98cdf60 [tests][mtouch] Add support for reading binary plists. (#2849)
* [tests][mtouch] Add support for reading binary plists.

Some plists in Xcode 9 are now binary plists (instead of just plain xml files
like they were in previous versions of Xcode). This causes trouble for some of
our tests, so make sure we handle binary plists as well.

Fixes these failures:

1. Xamarin.MTouch.MT0091(tvOS,"tvOS") : System.Xml.XmlException : Data at the root level is invalid. Line 1, position 1.
  at System.Xml.XmlTextReaderImpl.Throw (System.Exception e) [0x00027] in <03a79101ea6a4b9ba07e4ed2f6d985f5>:0
  at System.Xml.XmlTextReaderImpl.Throw (System.String res, System.String arg) [0x00029] in <03a79101ea6a4b9ba07e4ed2f6d985f5>:0
  at System.Xml.XmlTextReaderImpl.Throw (System.String res) [0x00000] in <03a79101ea6a4b9ba07e4ed2f6d985f5>:0
  at System.Xml.XmlTextReaderImpl.ParseRootLevelWhitespace () [0x0012c] in <03a79101ea6a4b9ba07e4ed2f6d985f5>:0
  at System.Xml.XmlTextReaderImpl.ParseDocumentContent () [0x002d4] in <03a79101ea6a4b9ba07e4ed2f6d985f5>:0
  at System.Xml.XmlTextReaderImpl.Read () [0x0008c] in <03a79101ea6a4b9ba07e4ed2f6d985f5>:0
  at System.Xml.XmlLoader.Load (System.Xml.XmlDocument doc, System.Xml.XmlReader reader, System.Boolean preserveWhitespace) [0x000a6] in <03a79101ea6a4b9ba07e4ed2f6d985f5>:0
  at System.Xml.XmlDocument.Load (System.Xml.XmlReader reader) [0x0002e] in <03a79101ea6a4b9ba07e4ed2f6d985f5>:0
  at Xamarin.Tests.Configuration.GetPListStringValue (System.String plist, System.String key) [0x00028] in <44c95c7e3d1e488ab633a77d9a794653>:0
  at Xamarin.MTouch.MT0091 (Xamarin.Profile profile, System.String name) [0x000ae] in <44c95c7e3d1e488ab633a77d9a794653>:0
  at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&
  at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00032] in <400071ddcfe64ed8a3531490bb763536>:0

2. Xamarin.MTouch.MT0091(iOS,"iOS") : System.Xml.XmlException : Data at the root level is invalid. Line 1, position 1.
  at System.Xml.XmlTextReaderImpl.Throw (System.Exception e) [0x00027] in <03a79101ea6a4b9ba07e4ed2f6d985f5>:0
  at System.Xml.XmlTextReaderImpl.Throw (System.String res, System.String arg) [0x00029] in <03a79101ea6a4b9ba07e4ed2f6d985f5>:0
  at System.Xml.XmlTextReaderImpl.Throw (System.String res) [0x00000] in <03a79101ea6a4b9ba07e4ed2f6d985f5>:0
  at System.Xml.XmlTextReaderImpl.ParseRootLevelWhitespace () [0x0012c] in <03a79101ea6a4b9ba07e4ed2f6d985f5>:0
  at System.Xml.XmlTextReaderImpl.ParseDocumentContent () [0x002d4] in <03a79101ea6a4b9ba07e4ed2f6d985f5>:0
  at System.Xml.XmlTextReaderImpl.Read () [0x0008c] in <03a79101ea6a4b9ba07e4ed2f6d985f5>:0
  at System.Xml.XmlLoader.Load (System.Xml.XmlDocument doc, System.Xml.XmlReader reader, System.Boolean preserveWhitespace) [0x000a6] in <03a79101ea6a4b9ba07e4ed2f6d985f5>:0
  at System.Xml.XmlDocument.Load (System.Xml.XmlReader reader) [0x0002e] in <03a79101ea6a4b9ba07e4ed2f6d985f5>:0
  at Xamarin.Tests.Configuration.GetPListStringValue (System.String plist, System.String key) [0x00028] in <44c95c7e3d1e488ab633a77d9a794653>:0
  at Xamarin.MTouch.MT0091 (Xamarin.Profile profile, System.String name) [0x000ae] in <44c95c7e3d1e488ab633a77d9a794653>:0
  at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&
  at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00032] in <400071ddcfe64ed8a3531490bb763536>:0

* [tests] The MSBuild tests now need a reference to StringUtils.
2017-10-06 13:14:57 +02:00
..
IBToolTaskTests [msbuild] Avoid Dictionary clashes in IBToolTask's mapping dictionary (#1981) 2017-04-18 09:01:29 -04:00
MyActionExtension [msbuild] Properly decide on when to re-codesign app bundle (#1625) 2017-02-06 13:52:30 -05:00
MyBindingsReferences [msbuild] Remove BTouchReferencePath in order to fix bug 56317 (#2105) 2017-05-19 15:34:05 -04:00
MyDocumentPickerExtension Cycle8 codesign simulator (#674) 2016-08-25 18:22:20 -04:00
MyIBToolLinkTest [msbuild] Support ibtool output when it adds ~ipad or ~iphone modifiers (#200) 2016-06-16 14:17:25 -04:00
MyKeyboardExtension Cycle8 codesign simulator (#674) 2016-08-25 18:22:20 -04:00
MyLinkedAssets [msbuild] Added support for <Link>'d ImageAsset project files (#1543) 2017-01-25 13:00:29 -05:00
MyMasterDetailApp [msbuild/tests] Add TVServicesExtension test (#21) 2016-05-03 13:17:38 -04:00
MyMetalGame [msbuild/tests] Add TVServicesExtension test (#21) 2016-05-03 13:17:38 -04:00
MyOpenGLApp [msbuild/tests] Add TVServicesExtension test (#21) 2016-05-03 13:17:38 -04:00
MyPhotoEditingExtension Merge xcode9 into d15-4[-xi] (#2710) 2017-09-15 17:53:16 -04:00
MyReleaseBuild [msbuild] Fixed the Inputs for the _CodesignAppBundle target (#1438) 2017-01-05 11:29:48 -05:00
MySatelliteAssembliesBug [msbuild] Remove BTouchReferencePath in order to fix bug 56317 (#2105) 2017-05-19 15:34:05 -04:00
MyShareExtension Merge xcode9 into d15-4[-xi] (#2710) 2017-09-15 17:53:16 -04:00
MySingleView Merge xcode9 into d15-4[-xi] (#2710) 2017-09-15 17:53:16 -04:00
MySpriteKitGame Build MSBuild targets & assemblies. 2016-04-24 14:48:44 -04:00
MyTVApp [tests][msbuild] Enable bitcode for tvOS/Release builds. 2017-02-13 15:42:14 +01:00
MyTVServicesExtension [msbuild tests] Make the MyTVServicesExtension project actually work. 2017-02-10 16:39:38 +01:00
MyTabbedApplication Cycle8 codesign simulator (#674) 2016-08-25 18:22:20 -04:00
MyTodayExtension Merge xcode9 into d15-4[-xi] (#2710) 2017-09-15 17:53:16 -04:00
MyWatch2Container [msbuild] Fixed msbuild logic to properly codesign watchos2 intents extensions (#2024) 2017-04-19 08:19:29 -04:00
MyWatchApp [msbuild/tests] Add TVServicesExtension test (#21) 2016-05-03 13:17:38 -04:00
MyWatchApp2 [msbuild] Fixed msbuild logic to properly codesign watchos2 intents extensions (#2024) 2017-04-19 08:19:29 -04:00
MyWatchKit2Extension [msbuild] Fixed msbuild logic to properly codesign watchos2 intents extensions (#2024) 2017-04-19 08:19:29 -04:00
MyWatchKit2IntentsExtension [msbuild] Fixed msbuild logic to properly codesign watchos2 intents extensions (#2024) 2017-04-19 08:19:29 -04:00
MyWatchKitApp Build MSBuild targets & assemblies. 2016-04-24 14:48:44 -04:00
MyWatchKitExtension [msbuild] Don't use a timestamped directory for the IPA (#1382) 2017-01-09 16:11:50 -05:00
MyWebViewApp [msbuild/tests] Add TVServicesExtension test (#21) 2016-05-03 13:17:38 -04:00
MyiOSAppWithBinding [msbuild/tests] Add TVServicesExtension test (#21) 2016-05-03 13:17:38 -04:00
MyiOSFrameworkBinding Build MSBuild targets & assemblies. 2016-04-24 14:48:44 -04:00
Xamarin.iOS.Tasks.Tests [tests][mtouch] Add support for reading binary plists. (#2849) 2017-10-06 13:14:57 +02:00