Skip to content

Commit

Permalink
(ForNeVeR#349) Tests: update the API surface
Browse files Browse the repository at this point in the history
  • Loading branch information
ForNeVeR committed May 24, 2023
1 parent 19967f6 commit d6f6072
Show file tree
Hide file tree
Showing 8 changed files with 39 additions and 27 deletions.
11 changes: 6 additions & 5 deletions api/AvaloniaMath.net462.verified.cs
Original file line number Diff line number Diff line change
Expand Up @@ -47,17 +47,18 @@ public static partial class AvaloniaTeXFormulaParser
}
namespace AvaloniaMath.Rendering
{
public static partial class AvaloniaBrushExtensions
{
public static Avalonia.Media.IBrush? ToAvalonia(this XamlMath.Rendering.IBrush? brush) { throw null; }
public static XamlMath.Rendering.IBrush? ToPlatform(this Avalonia.Media.Brush? brush) { throw null; }
}
public partial class AvaloniaBrushFactory : XamlMath.Rendering.IBrushFactory
{
internal AvaloniaBrushFactory() { }
public static AvaloniaMath.Rendering.AvaloniaBrushFactory Instance { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
public XamlMath.Rendering.IBrush FromColor(XamlMath.Colors.RgbaColor color) { throw null; }
}
public static partial class AvaloniaExtensions
{
public static Avalonia.Media.IBrush? ToAvalonia(this XamlMath.Rendering.IBrush? brush) { throw null; }
public static Avalonia.Point ToAvalonia(this XamlMath.Rendering.Point point) { throw null; }
public static XamlMath.Rendering.IBrush? ToPlatform(this Avalonia.Media.Brush? brush) { throw null; }
}
public static partial class AvaloniaTeXEnvironment
{
public static XamlMath.TexEnvironment Create(XamlMath.TexStyle style = 0, double scale = 20, string systemTextFontName = "Arial", Avalonia.Media.Brush? foreground = null, Avalonia.Media.Brush? background = null) { throw null; }
Expand Down
14 changes: 8 additions & 6 deletions api/AvaloniaMath.net6.0.verified.cs
Original file line number Diff line number Diff line change
Expand Up @@ -47,18 +47,20 @@ public static partial class AvaloniaTeXFormulaParser
}
namespace AvaloniaMath.Rendering
{
public static partial class AvaloniaBrushExtensions
{
public static Avalonia.Media.IBrush? ToAvalonia(this XamlMath.Rendering.IBrush? brush) { throw null; }
[return: System.Diagnostics.CodeAnalysis.NotNullIfNotNullAttribute("brush")]
public static XamlMath.Rendering.IBrush? ToPlatform(this Avalonia.Media.Brush? brush) { throw null; }
}
public partial class AvaloniaBrushFactory : XamlMath.Rendering.IBrushFactory
{
internal AvaloniaBrushFactory() { }
public static AvaloniaMath.Rendering.AvaloniaBrushFactory Instance { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
public XamlMath.Rendering.IBrush FromColor(XamlMath.Colors.RgbaColor color) { throw null; }
}
public static partial class AvaloniaExtensions
{
[return: System.Diagnostics.CodeAnalysis.NotNullIfNotNullAttribute("brush")]
public static Avalonia.Media.IBrush? ToAvalonia(this XamlMath.Rendering.IBrush? brush) { throw null; }
public static Avalonia.Point ToAvalonia(this XamlMath.Rendering.Point point) { throw null; }
[return: System.Diagnostics.CodeAnalysis.NotNullIfNotNullAttribute("brush")]
public static XamlMath.Rendering.IBrush? ToPlatform(this Avalonia.Media.Brush? brush) { throw null; }
}
public static partial class AvaloniaTeXEnvironment
{
public static XamlMath.TexEnvironment Create(XamlMath.TexStyle style = 0, double scale = 20, string systemTextFontName = "Arial", Avalonia.Media.Brush? foreground = null, Avalonia.Media.Brush? background = null) { throw null; }
Expand Down
11 changes: 6 additions & 5 deletions api/AvaloniaMath.netstandard2.0.verified.cs
Original file line number Diff line number Diff line change
Expand Up @@ -47,17 +47,18 @@ public static partial class AvaloniaTeXFormulaParser
}
namespace AvaloniaMath.Rendering
{
public static partial class AvaloniaBrushExtensions
{
public static Avalonia.Media.IBrush? ToAvalonia(this XamlMath.Rendering.IBrush? brush) { throw null; }
public static XamlMath.Rendering.IBrush? ToPlatform(this Avalonia.Media.Brush? brush) { throw null; }
}
public partial class AvaloniaBrushFactory : XamlMath.Rendering.IBrushFactory
{
internal AvaloniaBrushFactory() { }
public static AvaloniaMath.Rendering.AvaloniaBrushFactory Instance { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
public XamlMath.Rendering.IBrush FromColor(XamlMath.Colors.RgbaColor color) { throw null; }
}
public static partial class AvaloniaExtensions
{
public static Avalonia.Media.IBrush? ToAvalonia(this XamlMath.Rendering.IBrush? brush) { throw null; }
public static Avalonia.Point ToAvalonia(this XamlMath.Rendering.Point point) { throw null; }
public static XamlMath.Rendering.IBrush? ToPlatform(this Avalonia.Media.Brush? brush) { throw null; }
}
public static partial class AvaloniaTeXEnvironment
{
public static XamlMath.TexEnvironment Create(XamlMath.TexStyle style = 0, double scale = 20, string systemTextFontName = "Arial", Avalonia.Media.Brush? foreground = null, Avalonia.Media.Brush? background = null) { throw null; }
Expand Down
12 changes: 7 additions & 5 deletions api/WpfMath.net462.verified.cs
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ public GeometryElementRenderer(System.Windows.Media.GeometryGroup geometry, doub
public void FinishRendering() { }
public void RenderCharacter(XamlMath.CharInfo info, double x, double y, XamlMath.Rendering.IBrush? foreground) { }
public void RenderElement(XamlMath.Boxes.Box box, double x, double y) { }
public void RenderLine(XamlMath.Rendering.Point point0, XamlMath.Rendering.Point point1, XamlMath.Rendering.IBrush? foreground) { }
public void RenderRectangle(XamlMath.Rendering.Rectangle rectangle, XamlMath.Rendering.IBrush? foreground) { }
public void RenderTransformed(XamlMath.Boxes.Box box, System.Collections.Generic.IEnumerable<XamlMath.Rendering.Transformations.Transformation> transforms, double x, double y) { }
}
Expand Down Expand Up @@ -115,17 +116,18 @@ protected WpfBrush(WpfMath.Rendering.WpfBrush original) { }
[System.Runtime.CompilerServices.CompilerGeneratedAttribute]
public override XamlMath.Rendering.GenericBrush<System.Windows.Media.Brush> <Clone>$() { throw null; }
}
public static partial class WpfBrushExtensions
{
public static XamlMath.Rendering.IBrush? ToPlatform(this System.Windows.Media.Brush? brush) { throw null; }
public static System.Windows.Media.Brush? ToWpf(this XamlMath.Rendering.IBrush? brush) { throw null; }
}
public partial class WpfBrushFactory : XamlMath.Rendering.IBrushFactory
{
internal WpfBrushFactory() { }
public static readonly WpfMath.Rendering.WpfBrushFactory Instance;
public XamlMath.Rendering.IBrush FromColor(XamlMath.Colors.RgbaColor color) { throw null; }
}
public static partial class WpfExtensions
{
public static XamlMath.Rendering.IBrush? ToPlatform(this System.Windows.Media.Brush? brush) { throw null; }
public static System.Windows.Media.Brush? ToWpf(this XamlMath.Rendering.IBrush? brush) { throw null; }
public static System.Windows.Point ToWpf(this XamlMath.Rendering.Point point) { throw null; }
}
public static partial class WpfTeXEnvironment
{
public static XamlMath.TexEnvironment Create(XamlMath.TexStyle style = 0, double scale = 20, string systemTextFontName = "Arial", System.Windows.Media.Brush? foreground = null, System.Windows.Media.Brush? background = null) { throw null; }
Expand Down
15 changes: 9 additions & 6 deletions api/WpfMath.net6.0.verified.cs
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ public GeometryElementRenderer(System.Windows.Media.GeometryGroup geometry, doub
public void FinishRendering() { }
public void RenderCharacter(XamlMath.CharInfo info, double x, double y, XamlMath.Rendering.IBrush? foreground) { }
public void RenderElement(XamlMath.Boxes.Box box, double x, double y) { }
public void RenderLine(XamlMath.Rendering.Point point0, XamlMath.Rendering.Point point1, XamlMath.Rendering.IBrush? foreground) { }
public void RenderRectangle(XamlMath.Rendering.Rectangle rectangle, XamlMath.Rendering.IBrush? foreground) { }
public void RenderTransformed(XamlMath.Boxes.Box box, System.Collections.Generic.IEnumerable<XamlMath.Rendering.Transformations.Transformation> transforms, double x, double y) { }
}
Expand Down Expand Up @@ -116,18 +117,20 @@ protected WpfBrush(WpfMath.Rendering.WpfBrush original) { }
[System.Runtime.CompilerServices.PreserveBaseOverridesAttribute]
virtual WpfMath.Rendering.WpfBrush XamlMath.Rendering.GenericBrush<System.Windows.Media.Brush>.<Clone>$() { throw null; }
}
public static partial class WpfBrushExtensions
{
[return: System.Diagnostics.CodeAnalysis.NotNullIfNotNullAttribute("brush")]
public static XamlMath.Rendering.IBrush? ToPlatform(this System.Windows.Media.Brush? brush) { throw null; }
public static System.Windows.Media.Brush? ToWpf(this XamlMath.Rendering.IBrush? brush) { throw null; }
}
public partial class WpfBrushFactory : XamlMath.Rendering.IBrushFactory
{
internal WpfBrushFactory() { }
public static readonly WpfMath.Rendering.WpfBrushFactory Instance;
public XamlMath.Rendering.IBrush FromColor(XamlMath.Colors.RgbaColor color) { throw null; }
}
public static partial class WpfExtensions
{
[return: System.Diagnostics.CodeAnalysis.NotNullIfNotNullAttribute("brush")]
public static XamlMath.Rendering.IBrush? ToPlatform(this System.Windows.Media.Brush? brush) { throw null; }
[return: System.Diagnostics.CodeAnalysis.NotNullIfNotNullAttribute("brush")]
public static System.Windows.Media.Brush? ToWpf(this XamlMath.Rendering.IBrush? brush) { throw null; }
public static System.Windows.Point ToWpf(this XamlMath.Rendering.Point point) { throw null; }
}
public static partial class WpfTeXEnvironment
{
public static XamlMath.TexEnvironment Create(XamlMath.TexStyle style = 0, double scale = 20, string systemTextFontName = "Arial", System.Windows.Media.Brush? foreground = null, System.Windows.Media.Brush? background = null) { throw null; }
Expand Down
1 change: 1 addition & 0 deletions api/XamlMath.Shared.net462.verified.cs
Original file line number Diff line number Diff line change
Expand Up @@ -370,6 +370,7 @@ public partial interface IElementRenderer
void FinishRendering();
void RenderCharacter(XamlMath.CharInfo info, double x, double y, XamlMath.Rendering.IBrush? foreground);
void RenderElement(XamlMath.Boxes.Box box, double x, double y);
void RenderLine(XamlMath.Rendering.Point point0, XamlMath.Rendering.Point point1, XamlMath.Rendering.IBrush? foreground);
void RenderRectangle(XamlMath.Rendering.Rectangle rectangle, XamlMath.Rendering.IBrush? foreground);
void RenderTransformed(XamlMath.Boxes.Box box, System.Collections.Generic.IEnumerable<XamlMath.Rendering.Transformations.Transformation> transforms, double x, double y);
}
Expand Down
1 change: 1 addition & 0 deletions api/XamlMath.Shared.net6.0.verified.cs
Original file line number Diff line number Diff line change
Expand Up @@ -370,6 +370,7 @@ public partial interface IElementRenderer
void FinishRendering();
void RenderCharacter(XamlMath.CharInfo info, double x, double y, XamlMath.Rendering.IBrush? foreground);
void RenderElement(XamlMath.Boxes.Box box, double x, double y);
void RenderLine(XamlMath.Rendering.Point point0, XamlMath.Rendering.Point point1, XamlMath.Rendering.IBrush? foreground);
void RenderRectangle(XamlMath.Rendering.Rectangle rectangle, XamlMath.Rendering.IBrush? foreground);
void RenderTransformed(XamlMath.Boxes.Box box, System.Collections.Generic.IEnumerable<XamlMath.Rendering.Transformations.Transformation> transforms, double x, double y);
}
Expand Down
1 change: 1 addition & 0 deletions api/XamlMath.Shared.netstandard2.0.verified.cs
Original file line number Diff line number Diff line change
Expand Up @@ -370,6 +370,7 @@ public partial interface IElementRenderer
void FinishRendering();
void RenderCharacter(XamlMath.CharInfo info, double x, double y, XamlMath.Rendering.IBrush? foreground);
void RenderElement(XamlMath.Boxes.Box box, double x, double y);
void RenderLine(XamlMath.Rendering.Point point0, XamlMath.Rendering.Point point1, XamlMath.Rendering.IBrush? foreground);
void RenderRectangle(XamlMath.Rendering.Rectangle rectangle, XamlMath.Rendering.IBrush? foreground);
void RenderTransformed(XamlMath.Boxes.Box box, System.Collections.Generic.IEnumerable<XamlMath.Rendering.Transformations.Transformation> transforms, double x, double y);
}
Expand Down

0 comments on commit d6f6072

Please sign in to comment.