mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 18:27:23 +01:00
test: add docs
This commit is contained in:
parent
a1cc4fa91b
commit
95e7299017
1 changed files with 5 additions and 7 deletions
|
|
@ -3,10 +3,6 @@ using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Reflection;
|
using System.Reflection;
|
||||||
|
|
||||||
using Dalamud.Bindings.ImGui;
|
|
||||||
using Dalamud.Bindings.ImGuizmo;
|
|
||||||
using Dalamud.Bindings.ImPlot;
|
|
||||||
|
|
||||||
using Xunit;
|
using Xunit;
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -24,10 +20,11 @@ public class PublicApiTests
|
||||||
typeof(object).Assembly,
|
typeof(object).Assembly,
|
||||||
typeof(Dalamud).Assembly,
|
typeof(Dalamud).Assembly,
|
||||||
|
|
||||||
|
// Imgui and friends
|
||||||
typeof(SharpDX.Color).Assembly,
|
typeof(SharpDX.Color).Assembly,
|
||||||
typeof(ImGui).Assembly,
|
typeof(Bindings.ImGui.ImGui).Assembly,
|
||||||
typeof(ImGuizmo).Assembly,
|
typeof(Bindings.ImGuizmo.ImGuizmo).Assembly,
|
||||||
typeof(ImPlot).Assembly,
|
typeof(Bindings.ImPlot.ImPlot).Assembly,
|
||||||
|
|
||||||
// exposed to plugins via API
|
// exposed to plugins via API
|
||||||
typeof(Lumina.GameData).Assembly,
|
typeof(Lumina.GameData).Assembly,
|
||||||
|
|
@ -35,6 +32,7 @@ public class PublicApiTests
|
||||||
];
|
];
|
||||||
|
|
||||||
private static List<Type> PermittedTypes { get; } = [
|
private static List<Type> PermittedTypes { get; } = [
|
||||||
|
// Used for IPluginLog, limited serilog exposure is OK.
|
||||||
typeof(Serilog.ILogger),
|
typeof(Serilog.ILogger),
|
||||||
typeof(Serilog.Core.LoggingLevelSwitch),
|
typeof(Serilog.Core.LoggingLevelSwitch),
|
||||||
typeof(Serilog.Events.LogEventLevel),
|
typeof(Serilog.Events.LogEventLevel),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue