Sebastien Pouliot
f50b82df3d
[tests][linksdk][watchos] Fix HttpClientHandler tests for CFNetwork/watchOS ( #186 )
...
As noted in PR 177 [1] this does not build on watchOS since CFNetwork
is not supported on that platform. Uncaught as the PR bots don't build,
nor run, the tests yet.
[1] https://github.com/xamarin/xamarin-macios/pull/177
2016-06-14 07:42:41 -07:00
Manuel de la Pena
90c7eab95e
[Fix] Ensure that strong dictionaries can work with templated dictionaries as property types.
2016-06-13 12:13:48 +02:00
Sebastien Pouliot
d479ed00c7
[tests][link sdk] Add tests to validate default properties for all (3) handlers that we ship ( #177 )
2016-06-12 13:44:37 -04:00
Alex Soto
69740e78ed
[AudioUnit] Fix some breaking changes ( #173 )
...
commit 1f207bd3f3df363cb5a74e59b93acd8eb6e1fec2 in xamarin/maccore
introduced some breaking changes, this fixes them
2016-06-10 13:20:33 -04:00
Rolf Bjarne Kvinge
8af0326105
[xharness] Clean targets are named 'Clean', not 'clean'. ( #162 )
...
At least according to mdtool.
Fixes this:
[...]
Target 'clean not supported
make[4]: *** [clean-mac-classic-introspection] Error 1
2016-06-09 14:23:58 -04:00
Rolf Bjarne Kvinge
bf806525f6
[monotouch-test] Simplify test case to make it compile on all platforms. ( #163 )
2016-06-09 20:03:18 +02:00
Rolf Bjarne Kvinge
e3cc7c31bc
[xharness] Write relative paths in the makefiles. ( #160 )
...
Fixes the packaged mac tests when they're executed on a different
machine with a different path.
2016-06-09 17:36:32 +02:00
Rolf Bjarne Kvinge
fac7270eb8
[registrar] Rewrite ctor's super call to invoke objc_msgSendSuper directly. Fixes #41319 . ( #159 )
...
There's a clang bug [2] where if a selector is marked as unavailable,
it's marked as unavailable for every class, not just the class where
the unavailable selector is.
This means that we can't do `[super initWithCoder:x]` anywhere,
because `initWithCoder:` is marked as unavailable for UIActivityViewController.
So instead rewrite the call to super to call objc_msgSendSuper
directly, circumventing clang's broken availability checks.
[1] https://bugzilla.xamarin.com/show_bug.cgi?id=41319
[2] https://llvm.org/bugs/show_bug.cgi?id=28058
2016-06-09 17:18:35 +02:00
Rolf Bjarne Kvinge
d8287824e0
[mtouch tests] Fix MT1015 after mtouch change to not use fastsim for release builds. ( #157 )
...
MT1015 is a check that only occurs when using fastsim, so make sure
the test actually ends up using fastsim.
2016-06-09 13:03:14 +02:00
Sebastien Pouliot
5fd35014c1
[tests][introspection] Re-apply special case from 05bedce306
( #156 )
...
[FAIL] Selector not found for AppKit.NSCell : accessibilityNotifiesWhenDestroyed
[FAIL] Selector not found for AppKit.NSView : accessibilityNotifiesWhenDestroyed
Location changed and the duplicated files were removed (but I missed this
change on dontlink-mac)
2016-06-09 11:06:54 +02:00
Rolf Bjarne Kvinge
9c01fe6c9d
[tests] Use the right sources for dontlink, linksdk and linkall tests. ( #152 )
2016-06-08 23:39:47 +02:00
Rolf Bjarne Kvinge
e450dae136
[xharness] Add support for the introspection tests. ( #151 )
...
* [xharness] Add support for the introspection tests.
* [tests] Add support for mac introspection tests to xharness.
2016-06-08 19:45:31 +02:00
Chris Hamons
06c18bd887
[XM] Add release value option to msbuild/mmp to resolve XM 4.5 assemb… ( #150 )
...
[XM] Add release value option to msbuild/mmp to resolve XM 4.5 assemblies from system GAC
- This option "reverts" a C7 fix that prevented resovling assemblies from the GAC, which is unsafe
- If you use this option, you need to know what you are doing. The mono BCL and the XM BCL need to be compatible
- Use strictly puts you in the no support "you get to keep the pieces if it breaks" category.
2016-06-08 12:47:09 -04:00
Rolf Bjarne Kvinge
ca729b9773
[mtouch tests] Add Xamarin.Analysis.Tasks.dll as a valid assembly to have in the Classic BCL directory. ( #146 )
2016-06-08 17:47:09 +02:00
Rolf Bjarne Kvinge
e9983ef148
[mtouch tests] Fix typo in RegistrarTest. ( #147 )
2016-06-08 16:57:40 +02:00
Rolf Bjarne Kvinge
98af8b7d66
[mtouch tests] Make a few simulator tests more resilient against other output from mlaunch. ( #148 )
2016-06-08 16:19:56 +02:00
Chris Hamons
05bedce306
[XM] Fix dontlink by fixing some NSAccessibility binding mistakes ( #143 )
...
[XM] Fix dontlink by fixing some NSAccessibility binding mistakes
2016-06-08 09:51:19 -04:00
Rolf Bjarne Kvinge
0a19b5e3fc
[tests] Fix mac tests package layout after tests move. ( #141 )
2016-06-07 13:35:12 -04:00
Alexander Köplinger
86ce3d9e81
Add DISABLE_CAS_USE constant to the bcl-test .csproj's ( #135 )
...
Some tests rely on this constant to disable CAS code paths so we need to define it.
2016-06-06 16:03:39 +02:00
Rolf Bjarne Kvinge
aaae585d52
[xharness] Xcode 7.3 ships symbolicatecrash in a new place, so look there as well. ( #134 )
2016-06-06 15:32:09 +02:00
Rolf Bjarne Kvinge
98b966cd9f
[mmptest] Use the local targets when building. ( #130 )
2016-06-06 13:42:36 +02:00
Rolf Bjarne Kvinge
7cbaa254c5
[tests] Make mdtool verbose on CI, and fix a few xbuild invocation to honor XBUILD_VERBOSITY. ( #131 )
2016-06-06 13:01:24 +02: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
715c2fa5d4
[xharness] Add separate solution to make it load faster in the IDE. ( #124 )
2016-06-02 12:17:52 +02:00
Rolf Bjarne Kvinge
e8c51361b4
[tests] Fix typo that occurred in the migration to xamarin-macios. ( #116 )
2016-06-02 09:16:58 +02:00
Chris Hamons
dad55ae86a
[XM] Add mmp test for read only mdb files with assembly being referenced ( #121 )
2016-06-01 14:23:05 -04:00
Chris Hamons
f495ad50a7
[XM] Fix mmp tests to use shared mac-binding-project copy, and name SimpleClassDylib.dylib correctly ( #120 )
2016-06-01 13:51:04 -04:00
Rolf Bjarne Kvinge
383c43ec63
[tests] Update mtouch tests after some error/warning message changes. ( #117 )
2016-06-01 19:40:59 +02:00
Rolf Bjarne Kvinge
ad88558d82
[mtouch] Tweak error message for MT0073 and MT0074. Fixes #40606 . ( #111 )
...
https://bugzilla.xamarin.com/show_bug.cgi?id=40606
2016-06-01 19:18:35 +02:00
Chris Hamons
782c5116b6
[XM] Fix test failures ( #119 )
...
* [XM] Fix NSAccessibility binding issue breaking tests
* [XM] Don't run extension tests on OS X that don't have extension support
2016-06-01 12:23:34 -04:00
Rolf Bjarne Kvinge
0a25ffc9bf
[tests] Fix mtouch tests to actually fail when they fail. ( #112 )
2016-06-01 17:33:34 +02:00
Rolf Bjarne Kvinge
bbf2682b5a
[tests] Fix a few paths to test files. ( #106 )
...
This was incorrectly fixed in 4ad86833
, so this is just fixing that fix.
2016-05-31 15:03:45 +02:00
Rolf Bjarne Kvinge
db68e69a1d
[runtime] Support binding NSObjects as IntPtr. Fixes #41132 . ( #103 )
...
Support binding NSObjects as IntPtr. This is usually not
a problem, because when we fetch the ObjC signature for a
method, we usually get the signature as exported by us,
(in which case a parameter bound as 'IntPtr' would be treated
as 'void *' in the dynamic registrar) *except* when the
selector corresponds with a protocol the type implements,
in which case we get the signature as defined in the protocol.
https://bugzilla.xamarin.com/show_bug.cgi?id=41132
2016-05-31 11:58:27 +02:00
Chris Hamons
f3602b4e93
Fix tests broke by 47dc0f26c9
( #99 )
2016-05-28 12:06:32 -04:00
Zoltan Varga
7fad8dfb40
[tests] Build the bitcode configuration on arm64 only, armv7 doesn't seem to link:
...
Undefined symbols for architecture armv7:
"___gxx_personality_v0", referenced from:
2016-05-27 21:54:49 -04:00
Rolf Bjarne Kvinge
73d0e722d5
[tests] Add more files which are ignored by default.
2016-05-27 14:43:21 +02:00
Rolf Bjarne Kvinge
0629b461c6
[tests] Remove duplicated file.
2016-05-27 10:19:27 +02:00
Rolf Bjarne Kvinge
4ad86833ab
[tests] Update a few paths after test move.
2016-05-27 10:17:26 +02:00
Rolf Bjarne Kvinge
ba3c967619
[tests] Fix paths for mtouch tests.
2016-05-27 10:14:43 +02:00
Rolf Bjarne Kvinge
80e0ef0b50
[tests] Only generate qa-test-dependencies when the Xamarin build is enabled.
2016-05-27 10:14:28 +02:00
Rolf Bjarne Kvinge
5034fa5b68
[link sdk] Add missing file.
2016-05-27 10:01:12 +02:00
Rolf Bjarne Kvinge
82bbac0ae1
[docs] Fix wrench-docs.
2016-05-27 09:56:48 +02:00
Rolf Bjarne Kvinge
7d34d657c2
[tests] Update gitignore.
2016-05-26 15:15:21 +02:00
Rolf Bjarne Kvinge
c8b35f9b6a
[xharness] Fix mlaunch lookup.
2016-05-26 15:15:08 +02:00
Rolf Bjarne Kvinge
ecfdea9508
[tests] Import
2016-05-26 15:06:52 +02:00
Sebastien Pouliot
c126a6e354
[tests] Move linker tests from maccore ( #69 )
2016-05-20 14:07:34 -04:00
Rolf Bjarne Kvinge
1f1f6991a3
Implement support for exception marshalling.
2016-05-17 11:23:48 +02:00
Sebastien Pouliot
00ada0f773
Move parts of dontlink tests into new introspection tests ( #32 )
...
Those tests needs to be run with the linker disabled since they use
reflection for most of their work.
The original dontlink (for linker tests) was becoming too large in
some configuration (e.g. tvOS release with bitcode) but this was
due to other BCL assemblies (not the introspection tests)
2016-05-04 20:14:32 -04:00
Rolf Bjarne Kvinge
cb6557829f
[tests] Move HtmlTransform.xslt here from maccore. ( #16 )
...
Should fix this test error:
warning: failed to load external entity "../../xamarin-macios/tests/HtmlTransform.xslt"
cannot parse ../../xamarin-macios/tests/HtmlTransform.xslt
make[4]: *** [test-ios-tasks] Error 4
2016-04-28 15:07:26 -04:00
Rolf Bjarne Kvinge
aa7a17ccee
[tests] Fix test configuration issues with file moves. ( #15 )
...
This will fix at least some of the mtouch tests.
2016-04-28 15:06:41 -04:00
Rolf Bjarne Kvinge
c2bcb8d73f
[tests] Add bindings-framework-test.
2016-04-26 17:48:55 -04:00
Rolf Bjarne Kvinge
73ddab291c
[tests] Add bindings-test.
2016-04-26 17:27:37 -04:00
Rolf Bjarne Kvinge
842a86cb0d
[tests] Add test-libraries.
2016-04-26 08:00:35 -04:00
Sebastien Pouliot
9a680a7d02
[tests] Add README placeholder note
2016-04-25 16:55:12 -04:00
Rolf Bjarne Kvinge
24870304ba
Add an optional dependency on xamarin-specific build logic.
2016-04-24 14:48:45 -04:00
Rolf Bjarne Kvinge
68df944ad6
Build MSBuild targets & assemblies.
2016-04-24 14:48:44 -04:00