Граф коммитов

32 Коммитов

Автор SHA1 Сообщение Дата
Vincent Dondain d7b7a6ea02 Merge branch 'xcode9.2' 2017-12-06 14:41:13 -05:00
Sebastien Pouliot 2bfbc8a834
[tests] Fix mac-apitest on High-Sierra (#3064)
MetalPerformanceShadersLibrary is new in macOS 10.13 and only available
for 64bits.

from https://wrench.internalx.com/Wrench/WebServices/Download.aspx?workfile_id=19778531

    Tests run: 248, Passed: 238, Errors: 0, Failures: 1, Inconclusive: 0
      Not run: 9, Invalid: 0, Ignored: 9, Skipped: 0
    Elapsed time: 00:00:11.3800000

    Errors and Failures:

    1) ExpectedLibrariesAreLoaded (Xamarin.Mac.Tests.EveryFrameworkSmokeTests.ExpectedLibrariesAreLoaded)
       MetalPerformanceShadersLibrary (/System/Library/Frameworks/MetalPerformanceShaders.framework/MetalPerformanceShaders) failed to load but this was not expected
      at Xamarin.Mac.Tests.EveryFrameworkSmokeTests.ExpectedLibrariesAreLoaded () [0x000c5] in /Users/builder/data/lanes/5665/74d2dcad/source/xamarin-macios/tests/apitest/src/EveryFrameworkSmokeTest.cs:99
      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 /Library/Frameworks/Xamarin.Mac.framework/Versions/4.1.1.45/src/mono/mcs/class/corlib/System.Reflection/MonoMethod.cs:305
2017-11-29 14:16:27 -05:00
Chris Hamons 83f00251d6
[macos] Fix APITest crash due to missing version check (#3021) 2017-11-17 12:35:54 -06:00
Timothy Risi 492121ec3b [macOS] Fix Introspection and API tests (#2891) 2017-11-03 20:36:34 -08:00
Timothy Risi 27741b636c [macOS] Fix Introspection and API tests (#2891) 2017-10-23 11:22:17 -08:00
Chris Hamons 75235cdf17 Fix a number of introspection test failures on 10.13 (#2815) (#2833) 2017-10-03 12:59:13 -05:00
Chris Hamons aca0e2ed2e Fix a number of introspection test failures on 10.13 (#2815) 2017-10-02 16:55:23 -05:00
Timothy Risi 11c099b3f5 [58851] Disable NSMenuView in AllItemsWithNSMenuShouldAllowNull (#2504) 2017-08-23 12:04:07 -08:00
Chris Hamons b59a82e6db Xcode9 appkit (#2245) 2017-07-19 09:00:13 -05:00
Rolf Bjarne Kvinge e19426e073 [tests] Don't create test packages by default. (#1941)
* [tests] Don't create test packages by default.

Don't create test packages by default, instead add a new target to create test
packages. This new target is called on wrench, which means the packages will
still be created when needed, but they won't be built locally in every build
(and if a packaged test fails to build, it won't fail the entire build).

* [tests] Use a project reference instead of assembly reference for GuiUnit.exe

Use a project reference instead of assembly reference for GuiUnit.exe, so that
the GuiUnit reference is automatically built if necessary.

This also makes it required to build a sln for Classic (since mdtool can't
find referenced projects from a csproj).
2017-03-30 18:01:15 +02:00
Timothy Risi f17c63ef16 [macos] Allow passing null to CGLContext.CurrentContext. Fixes #53273 2017-03-16 11:34:53 -08:00
Rolf Bjarne Kvinge 2380389278 [Darwin] Fix kqueue/kevent bindings to actually work. (#1871)
* [Darwin] Fix kqueue/kevent bindings to actually work.

Fix kqueue/kevent bindings to actually work. The P/Invoke signatures were
badly broken (missing an argument), so there's no way this could ever have
worked.

Additionally obsoletes kevent signatures that return bool (they're ignoring
vital information: how many events were actually returned from kevent), and
add overloads that do the right thing.

* [Darwin] Improve input validation and add more tests.
2017-03-15 07:50:05 +01:00
Timothy Risi f3ebfc3cce Fix NSOpenGLPixelFormat ConvertToAttributes method (#1539)
Fix NSOpenGLPixelFormat ConvertToAttributes

* Add OpenGLProfile to list of NSOpenGLPixelFormatAttributes that require a value.  Check for 0 terminating the array
* Use InitializeHandle instead of 'Handle = '
* Add tests
2017-01-31 15:52:09 -09:00
Chris Hamons b1040cb8a8 Add NSToolbarItemGroup binding (#1386) 2016-12-29 10:37:15 -06:00
Chris Hamons cdf3915704 Fix EveryFrameworkSmokeTests test with MediaPlayerLibrary (#1418) 2016-12-28 08:46:46 -06:00
Chris Hamons c67bd9096c [XM] Add partial static registrar support (#1191) 2016-12-01 10:18:30 -06:00
Rolf Bjarne Kvinge fad320462c [apitest] Skip IKPictureTaker. Fixes #46624. (#1209)
https://bugzilla.xamarin.com/show_bug.cgi?id=46624
2016-11-17 19:23:13 +01:00
Sebastien Pouliot 7177c8c811 [tests] Disable XM NSMetadataItem test as it randomly fails on bots (#1052) 2016-10-27 16:51:15 -04:00
Sebastien Pouliot ad3ec49f7c [test][mac-apitest] Fix NSMetadataItem on older bots (#1002)
* NSMetadataItem initWithURL: is 10.9+ so we can't run this test on
  earlier bots;

* NSRunningApplication.CurrentApplication.BundleUrl is 10.10 and it
  seems wrench bots don't like it;
2016-10-18 13:08:21 -04:00
Sebastien Pouliot 2b42122a5c [foundation] Add missing helper properties on NSMetadataItem. Fixes #34248 (#993)
* Added missing helper properties for iOS
* Made NSItemDownloadingStatus a "smart enum", i.e. field aware;
* Disable default .ctor for XAMCORE_4_0, such instances are unusable;
* Added `initWithURL:` for macOS [2] as it made it easier to test the
  changes since macOS it allows creating instances of `NSMetadataItem`
  from an URL.

references:
[1] https://bugzilla.xamarin.com/show_bug.cgi?id=34248
[2] osx.unclassified:!missing-selector! NSMetadataItem::initWithURL: not bound
2016-10-14 14:57:17 -04:00
Chris Hamons b0606da28d [XM] Exclude NSPopover from apitest due to random crashes (#972) 2016-10-11 10:04:43 +02:00
Sebastien Pouliot f802a51b82 [foundation] Update up to beta 5 (#603) 2016-08-15 15:36:45 -04:00
Chris Hamons 5ddc619589 [XM] Update bindings and tests for Xcode8b3 (#467)
* [XM] AppKit Xcode8 Beta3 changes

* [XM] Update intents.cs with macOS attributes

* [XM] Fix bindings caught by introspection test

* [XM] Fix classic introspection tests by marking safariservices as 64-bit only

* [XM] Async upgrade

* [XM] Fix apitest on classic by noting IntentsLibrary is 64-bit only
2016-07-22 17:10:23 -04:00
Chris Hamons 8a6a464b4c Appkit for Xcode Beta 2 (#392) 2016-07-14 15:38:00 -04:00
Sebastien Pouliot cf27c2e7a8 Merge branch 'cycle8' into xcode8 2016-07-13 16:43:00 -04:00
Sebastien Pouliot cd35ba77ac [photos] Update for iOS 10 beta 1 (#348)
Also enable photos.framework on tvOS and macOS - but minimal (no tests failure) support for macOS 10.12. This does not include any macOS specific API
2016-07-06 23:24:31 -04:00
Rolf Bjarne Kvinge fc74f195bf [tests] Set LSUIElement in the mac tests' Info.plist so that they don't show an icon in the dock. (#329) 2016-06-30 01:01:11 -07:00
Rolf Bjarne Kvinge 67dc777761 [apitest] Make SearchKitTest parallelizable by not using a hardcoded path. (#249) 2016-06-22 00:48:20 -07:00
Chris Hamons 04e7b77f1a Remove duplication found in tests and unify namespaces of common code (#250)
* Remove duplication found in tests and unify namespaces of common code

* Stub out dontlink-mac since introspection took over
2016-06-21 15:46:07 -08:00
Rolf Bjarne Kvinge 68717b4100 [apitest] Modify a couple of test to not take a screen image just to get an image. (#201)
Taking a screen image does not work unless there's a window server
running, which may not always be the case on bots.

So instead just create an image manually, since these tests do
not seem to be requiring any particular type of image.
2016-06-15 10:49:15 -07:00
Rolf Bjarne Kvinge 4a714f3c43 Make logic not depend on the checkout directory being named 'xamarin-macios'. (#129) 2016-06-06 12:18:52 +02:00
Rolf Bjarne Kvinge ecfdea9508 [tests] Import 2016-05-26 15:06:52 +02:00