Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/guiunit.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-06-15Fix more warningsfix-more-warningsMikayla Hutchinson
2018-06-05Merge pull request #14 from mono/fix-warningsMikayla Hutchinson
Fix build warnings
2018-06-05Fix build warningsMikayla Hutchinson
2017-11-23Add new file to project file to fix build.Rolf Bjarne Kvinge
2017-11-23Don't set the exit code equal to the number of failed tests.Rolf Bjarne Kvinge
On linux/macOS the exit code is byte-sized, which means that if 256 tests fails, the exit code would become 0.
2017-09-25Update .gitignoreTimBarham
2017-03-27[framework] Add superset constraintJérémie Laval
2017-02-27Revert "[GuiUnit] Just exit when the tests are finished"Alan McGovern
This reverts commit f1b9f939acdd72bf481eb5697fd9838fd1ba2464. This didn't help, so let's just try to fix the actual problem
2017-02-27[GuiUnit] Just exit when the tests are finishedAlan McGovern
If we allow the finalizers to run we may end up returning a failure exit code if the finalizer does something wrong. For example xamarin.mac can crash while finalizing CALayers but we do not really want that to mark our test run as failed. 2017-02-27T02:37:28.1153580Z stderr: Unhandled Exception: 2017-02-27T02:37:28.1186210Z stderr: System.Exception: Failed to marshal the Objective-C object 0x7f85edb651e0 (type: Xamarin_Designer_Mac_DesignerDragOperationMac_MacDragImage_LayerScaleTransitionDelegate). Could not find an existing managed instance for this object, nor was it possible to create a new managed instance (because the type 'Xamarin.Designer.Mac.DesignerDragOperationMac+MacDragImage+LayerScaleTransitionDelegate' does not have a constructor that takes one IntPtr argument). 2017-02-27T02:37:28.1204140Z stderr: at ObjCRuntime.Runtime.MissingCtor (System.IntPtr ptr, System.IntPtr klass, System.Type type, ObjCRuntime.Runtime+MissingCtorResolution resolution) [0x0006e] in <fc5e1fa5f40e47b7ab6a305f19513423>:0 2017-02-27T02:37:28.1218240Z stderr: at ObjCRuntime.Runtime.ConstructNSObject[T] (System.IntPtr ptr, System.Type type, ObjCRuntime.Runtime+MissingCtorResolution missingCtorResolution) [0x0002c] in <fc5e1fa5f40e47b7ab6a305f19513423>:0 2017-02-27T02:37:28.1232350Z stderr: at ObjCRuntime.Runtime.ConstructNSObject (System.IntPtr ptr, System.IntPtr klass, ObjCRuntime.Runtime+MissingCtorResolution missingCtorResolution) [0x00015] in <fc5e1fa5f40e47b7ab6a305f19513423>:0 2017-02-27T02:37:28.1246740Z stderr: at ObjCRuntime.Runtime.GetNSObject (System.IntPtr ptr, ObjCRuntime.Runtime+MissingCtorResolution missingCtorResolution, System.Boolean evenInFinalizerQueue) [0x00034] in <fc5e1fa5f40e47b7ab6a305f19513423>:0 2017-02-27T02:37:28.1260580Z stderr: at Registrar.DynamicRegistrar.GetMethodDescriptionAndObject (System.Type type, System.IntPtr selector, System.IntPtr obj, System.IntPtr& mthis) [0x00068] in <fc5e1fa5f40e47b7ab6a305f19513423>:0 2017-02-27T02:37:28.1274350Z stderr: at ObjCRuntime.Runtime.GetMethodAndObjectForSelector (System.IntPtr klass, System.IntPtr sel, System.IntPtr obj, System.IntPtr& mthis) [0x0000c] in <fc5e1fa5f40e47b7ab6a305f19513423>:0 2017-02-27T02:37:28.1289980Z stderr: at ObjCRuntime.Runtime.get_method_and_object_for_selector (System.IntPtr cls, System.IntPtr sel, System.IntPtr obj, System.IntPtr& mthis, System.Int32& exception_gchandle) [0x00006] in <fc5e1fa5f40e47b7ab6a305f19513423>:0 2017-02-27T02:37:28.1313850Z stderr: --- End of stack trace from previous location where exception was thrown --- 2017-02-27T02:37:28.1331490Z stderr: at (wrapper managed-to-native) ObjCRuntime.Messaging:void_objc_msgSend_IntPtr (intptr,intptr,intptr) 2017-02-27T02:37:28.1345900Z stderr: at CoreAnimation.CALayer.set_WeakDelegate (Foundation.NSObject value) [0x0002e] in <fc5e1fa5f40e47b7ab6a305f19513423>:0 2017-02-27T02:37:28.1358800Z stderr: at CoreAnimation.CALayer.OnDispose () [0x00024] in <fc5e1fa5f40e47b7ab6a305f19513423>:0 2017-02-27T02:37:28.1371610Z stderr: at CoreAnimation.CALayer.Dispose (System.Boolean disposing) [0x00001] in <fc5e1fa5f40e47b7ab6a305f19513423>:0 2017-02-27T02:37:28.1384350Z stderr: at Foundation.NSObject.Finalize () [0x00001] in <fc5e1fa5f40e47b7ab6a305f19513423>:0
2016-12-07Lost the 'bool' in 'bool double' in Numerics.AreEqual (#12)Timothy Risi
2016-12-07[GuiUnit] Update numerics comparisons to work with nfloat, nuint and nint (#11)Timothy Risi
2016-09-01[Mac] Try to dlopen libxammac.dylib before initializing X.MacAlex Corrado
Works around https://bugzilla.xamarin.com/show_bug.cgi?id=43932
2016-09-01Add logging and make sure we always shut downAlan McGovern
2016-06-03Use the entry assembly, not calling assembly.Alan McGovern
The calling assembly will always be guiunit itself. All our tests are written in different assembly. As such, if we aren't given the path to an assembly we should assume that something else is loading us and the thing which loaded us has the tests.
2016-04-11Made XS happy with the .csprojJeffrey Stedfast
2015-12-03TestRunner: expose ExitCodeAaron Bockover
This allows custom main loop integrations to use it when Shutdown is called in the case where the integration's IMainLoopIntegration.RunMainLoop is a no-op (e.g. the main loop is running already).
2015-12-03Define XAMMAC in Release configurationAaron Bockover
2015-06-10[GuiUnit] Send the test output to the listenerLluis Sanchez
2015-05-22Create a xammac-mobile GuiUnit project file.Rolf Bjarne Kvinge
2015-02-11Add the ability to run cleanup just before shutdownAlan McGovern
Such a hack :)
2014-05-14Report if -run: filter matches zero tests instead of reporting successChris Hamons
2014-05-14Add support for XamMac assembly as wellChris Hamons
2014-05-14Support Xamarin.Mac assemblies in MonoMacMainLoopIntegrationChris Hamons
2014-04-17Disable the context of CallContext as it doesn't work the way we needAlan McGovern
We're more than happy with a single static variable. We don't support multiple appdomains (or want to support it), and our usage of async/await does not work with CallContext under .NET 4.5. We end up getting a null value from CallContext.GetData after an await completes, which is expected behaviour.
2014-02-19Flush xamarin studio csproj changesAlan McGovern
2013-11-12Revert this hack to the name filter.Alan McGovern
The actul bug was that Xamarin Studio was incorrectly specifying the test name. This has been fixed now.
2013-11-01Merge pull request #5 from Therzok/fixConditionalUngureanu Marius
Fix two wrong conditionals.
2013-11-01Fix two wrong conditionals.Therzok
2013-10-28Use non-broken signing keyMichael Hutchinson
2013-10-27Revert "Disable assembly signing, .NET 4.5.1 doesn't like the keyfile"Alan McGovern
This reverts commit 55f1f48ab46fe8728beb0bb58118689d26a6452c. Our test assemblies are signed and so need gui-unit signed in order to build. Whatever the issue with .NET 4.5.1 is, we'll have to solve it a differnet way.
2013-10-27Expand to full path on load, not after the tests runAlan McGovern
Otherwise the test results file could end up anywhere. It's perfectly valid for unit tests to change the working dir.
2013-10-25Disable assembly signing, .NET 4.5.1 doesn't like the keyfileMichael Hutchinson
2013-10-24Merge pull request #4 from Therzok/masterAlan McGovern
[TestRunner] Fix commandline from Windows.
2013-10-24[TestRunner] Fix commandline from Windows.Therzok
2013-10-24Properly handle executing an entire namespace of tests.alan
NUnitLite does not construct a 'Test' object for the namespace hierarchy. It is a flat list of tests which have fully qualified type names inside a single container. As such we need to use a Test.Name.StartsWith instead of checking the parent when we want to run all tests in the 'Foo.Bar' namespace, such as Foo.Bar.Baz and Foo.Bar.Bim
2013-10-24Revert "Don't mangle the test names."alan
This reverts commit 8c76547e7f29c664812d27a0226e17b32a656d00.
2013-10-22[GuiUnit] Ensure the TcpWriter socket is always disposed correctlyAlan McGovern
We want to gracefully shut down the socket when possible.
2013-10-07Include the message and stacktrace in the results sent to MDLluis Sanchez
2013-09-14Give TestRunner STAThread attributeAlex Corrado
2013-09-05Fix Xwt initialization to work with the WPF backendAlex Corrado
2013-08-07Don't mangle the test names.Alan McGovern
We need this to be correct so we can use the SimpleNameFilter to filter tests.
2013-08-06SimpleNameFilter should also work with namespacesAlan McGovern
Specifying 'Foo.Bar' should let the test 'Foo.Bar.Baz' execute
2013-08-03Fix on the fly updates againAlan McGovern
The last commit was broken. Whoops!
2013-08-02The error code of GuiUnit is the number of tests that failAlan McGovern
This should make it easier to detect failures when run from the commandline
2013-07-31Make TcpWriter Windows Phone compatibleermau
2013-07-31Use reflection to check restricted methodsermau
`Assembly.LoadFile` and `Assembly.Location` are not present on Windows Phone. To allow us to keep our hard coded list of main loop integrations (and other support), we'll check for these methods at runtime and properties and skip steps that aren't required/supported on Windows Phone.
2013-07-29Ensure we always propagate the right return valueAlan McGovern
2013-07-29Add the ability to run without explicit mainloop integration.Alan McGovern
Sometimes someone will want to set up their own SyncronizationContext and have the tests run without calling any special setup/shutdown methods. This isn't fully tested but if there are bugs i can fix em.
2013-07-26Add support for Gtk tooAlan McGovern
2013-07-26Work around a bug in xbuildAlan McGovern
It always appends .exe even if the assembly already has an extension so let's just leave it as GuiUnit.exe