17 Commits

Author SHA1 Message Date
Mickaël Derriey
4869fd5423 Fix broken JSON deserialization in .NET 4.5 (#1647)
* Cross target Octokit.Tests against netcoreapp1.0 and net452

* Add net45-specific references

This fixes a build error after adding the net452 target:
error CS0656: Missing compiler required member 'Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo.Create'

* Add SimpleJson conditional compilation symbols for net45

* Disable AppDomain when running tests

Thanks to Dominick and Patrik: https://twitter.com/leastprivilege/status/893376624233762816

* Use nameof operator instead of magic strings

* Remove conditional compilation symbols as they are not used in the conventions tests project

* Enable cross targetting in the conventions tests project

* Run tests against netcoreapp1.0 only when not on Windows

* Going too fast bites you
2017-08-07 10:21:58 +10:00
Mickaël Derriey
13d5dab516 Port to .NET Core (#1503)
Port to .NET Core
2017-01-21 14:42:02 +10:00
Alexander Efremov
494bbfda42 Method of assembly determination was changed in order to use types of top level (#1273) 2016-04-19 21:02:36 +10:00
Brendan Forster
80719c0033 aaaand format the code 2015-11-04 13:38:51 -08:00
Haacked
4e09d71a73 Omit the IStatisticsClient from these convention tests
It doesn't follow the pattern of most of our other clients.
2015-08-07 16:37:54 -07:00
Brendan Forster
543b787ac9 fixed these broken old tests 2014-12-18 12:07:50 +09:30
Brendan Forster
2b2fa1c5e3 four of them pass 2014-12-14 21:47:39 +09:30
Brendan Forster
5c662cdc80 throw a wobbly when you're doing overloads wrong 2014-03-08 17:18:04 +11:00
Brendan Forster
276a47d8e4 redundant check is redundant 2014-03-08 16:40:02 +11:00
Brendan Forster
71a7f0c370 added better message for when parameters are different 2014-03-08 16:40:01 +11:00
Brendan Forster
029e27b03b 💄 tidy up 2014-03-08 16:40:00 +11:00
Brendan Forster
0ec9953cb8 added better message for parameter mismatch count 2014-03-08 16:39:59 +11:00
Brendan Forster
235ac7d4f3 added exception for return value mismatch 2014-03-08 16:39:59 +11:00
Brendan Forster
87638fc41d throw more detailed exceptions for type not found and interface mismatches 2014-03-08 16:39:58 +11:00
lbargaoanu
d3106e487b better diagnostics 2014-02-10 15:23:10 +02:00
lbargaoanu
d2aff11d5c check for DebuggerDisplay on models 2014-02-07 10:50:36 +02:00
lbargaoanu
9a46355085 new conventions tests project 2014-01-28 14:44:24 +02:00