-
Notifications
You must be signed in to change notification settings - Fork 511
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Test][Intro] Fix introspection test on API changes for Xcode 9 Beta 1 (
#2191) * [Test][Intro] Fix introspection test on API changes for Xcode 9 Beta 1 * [introspection] Fix feedback from PR and bot tests Removed XAMCORE_4_0 checks from our api definition, and added a file with stubs for all of them instead. Cleaner binding file and easier to remove in the future Fixed introspection also for mac by moving some check into base test definition * [CoreImage] Add CoreImage stubs so introspection test are happy These need to be manually reviewed by whoever takes CoreImage framework tracked in bugzilla so we do not forget * Do the same API cleanup as in NSUnit * [test][introspection] Enable MtouchNoSymbolStrip for device builds in order to avoid linking symbols meeded by test (#2196) Rolf Kvinge [8:59 AM] @dalexsoto the fix is to not strip the executable please PR that (it should probably go into master as well). This probably started happening when Jeff implemented support for stripping debug builds (previously the setting was ignored) * [foundation] Provide better messages * [CoreImage] Fix Availability of CIEdgePreserveUpsampleFilter
- Loading branch information
1 parent
982dca2
commit bfaf626
Showing
18 changed files
with
470 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,126 @@ | ||
// | ||
// NSUnit.cs | ||
// | ||
// Authors: | ||
// Alex Soto ([email protected]) | ||
// | ||
// Copyright 2017 Xamarin Inc. | ||
// | ||
|
||
using System; | ||
using XamCore.Foundation; | ||
using XamCore.ObjCRuntime; | ||
|
||
namespace XamCore.Foundation { | ||
#if !XAMCORE_4_0 | ||
public partial class NSUnit { | ||
[Obsolete ("Use .ctor(string)")] | ||
public NSUnit () { } | ||
} | ||
|
||
public partial class NSUnitAcceleration { | ||
[Obsolete ("Use .ctor(string, NSUnitConverter) or any of the static properties.")] | ||
public NSUnitAcceleration () { } | ||
} | ||
|
||
public partial class NSUnitAngle { | ||
[Obsolete ("Use .ctor(string, NSUnitConverter) or any of the static properties.")] | ||
public NSUnitAngle () { } | ||
} | ||
|
||
public partial class NSUnitArea { | ||
[Obsolete ("Use .ctor(string, NSUnitConverter) or any of the static properties.")] | ||
public NSUnitArea () { } | ||
} | ||
|
||
public partial class NSUnitConcentrationMass { | ||
[Obsolete ("Use .ctor(string, NSUnitConverter) or any of the static properties.")] | ||
public NSUnitConcentrationMass () { } | ||
} | ||
|
||
public partial class NSUnitDispersion { | ||
[Obsolete ("Use .ctor(string, NSUnitConverter) or any of the static properties.")] | ||
public NSUnitDispersion () { } | ||
} | ||
|
||
public partial class NSUnitDuration { | ||
[Obsolete ("Use .ctor(string, NSUnitConverter) or any of the static properties.")] | ||
public NSUnitDuration () { } | ||
} | ||
|
||
public partial class NSUnitElectricCharge { | ||
[Obsolete ("Use .ctor(string, NSUnitConverter) or any of the static properties.")] | ||
public NSUnitElectricCharge () { } | ||
} | ||
|
||
public partial class NSUnitElectricCurrent { | ||
[Obsolete ("Use .ctor(string, NSUnitConverter) or any of the static properties.")] | ||
public NSUnitElectricCurrent () { } | ||
} | ||
|
||
public partial class NSUnitElectricPotentialDifference { | ||
[Obsolete ("Use .ctor(string, NSUnitConverter) or any of the static properties.")] | ||
public NSUnitElectricPotentialDifference () { } | ||
} | ||
|
||
public partial class NSUnitElectricResistance { | ||
[Obsolete ("Use .ctor(string, NSUnitConverter) or any of the static properties.")] | ||
public NSUnitElectricResistance () { } | ||
} | ||
|
||
public partial class NSUnitEnergy { | ||
[Obsolete ("Use .ctor(string, NSUnitConverter) or any of the static properties.")] | ||
public NSUnitEnergy () { } | ||
} | ||
|
||
public partial class NSUnitFrequency { | ||
[Obsolete ("Use .ctor(string, NSUnitConverter) or any of the static properties.")] | ||
public NSUnitFrequency () { } | ||
} | ||
|
||
public partial class NSUnitFuelEfficiency { | ||
[Obsolete ("Use .ctor(string, NSUnitConverter) or any of the static properties.")] | ||
public NSUnitFuelEfficiency () { } | ||
} | ||
|
||
public partial class NSUnitLength { | ||
[Obsolete ("Use .ctor(string, NSUnitConverter) or any of the static properties.")] | ||
public NSUnitLength () { } | ||
} | ||
|
||
public partial class NSUnitIlluminance { | ||
[Obsolete ("Use .ctor(string, NSUnitConverter) or any of the static properties.")] | ||
public NSUnitIlluminance () { } | ||
} | ||
|
||
public partial class NSUnitMass { | ||
[Obsolete ("Use .ctor(string, NSUnitConverter) or any of the static properties.")] | ||
public NSUnitMass () { } | ||
} | ||
|
||
public partial class NSUnitPower { | ||
[Obsolete ("Use .ctor(string, NSUnitConverter) or any of the static properties.")] | ||
public NSUnitPower () { } | ||
} | ||
|
||
public partial class NSUnitPressure { | ||
[Obsolete ("Use .ctor(string, NSUnitConverter) or any of the static properties.")] | ||
public NSUnitPressure () { } | ||
} | ||
|
||
public partial class NSUnitSpeed { | ||
[Obsolete ("Use .ctor(string, NSUnitConverter) or any of the static properties.")] | ||
public NSUnitSpeed () { } | ||
} | ||
|
||
public partial class NSUnitVolume { | ||
[Obsolete ("Use .ctor(string, NSUnitConverter) or any of the static properties.")] | ||
public NSUnitVolume () { } | ||
} | ||
|
||
public partial class NSDimension { | ||
[Obsolete ("Not intended to be directly instantiated, this is an abstract class.")] | ||
public NSDimension () { } | ||
} | ||
#endif | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.