Smdn.Test.NUnit.Utils 4.1.0

Prefix Reserved
dotnet add package Smdn.Test.NUnit.Utils --version 4.1.0                
NuGet\Install-Package Smdn.Test.NUnit.Utils -Version 4.1.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Smdn.Test.NUnit.Utils" Version="4.1.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Smdn.Test.NUnit.Utils --version 4.1.0                
#r "nuget: Smdn.Test.NUnit.Utils, 4.1.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Smdn.Test.NUnit.Utils as a Cake Addin
#addin nuget:?package=Smdn.Test.NUnit.Utils&version=4.1.0

// Install Smdn.Test.NUnit.Utils as a Cake Tool
#tool nuget:?package=Smdn.Test.NUnit.Utils&version=4.1.0                

Smdn.Test.NUnit.Utils-4.1.0

NUnit utilities

API List

List of APIs exposed by assembly Smdn.Test.NUnit.Utils-4.1.0 (net8.0)

// Smdn.Test.NUnit.Utils.dll (Smdn.Test.NUnit.Utils-4.1.0)
//   Name: Smdn.Test.NUnit.Utils
//   AssemblyVersion: 4.1.0.0
//   InformationalVersion: 4.1.0+a2b810f485a890f0e99bf4b9ebe92881f4f71824
//   TargetFramework: .NETCoreApp,Version=v8.0
//   Configuration: Release
//   Referenced assemblies:
//     System.Runtime, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
//     System.Text.Encoding.CodePages, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
//     System.Threading.Thread, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
//     nunit.framework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=2638cd05610744eb
//     nunit.framework.legacy, Version=4.0.0.0, Culture=neutral, PublicKeyToken=2638cd05610744eb

using System;
using System.IO;
using System.Text;
using System.Threading.Tasks;
using NUnit.Framework;
using NUnit.Framework.Legacy;

namespace Smdn.Test.NUnit {
  public static class Encodings {
    public static Encoding EucJP { get; }
    public static Encoding Jis { get; }
    public static Encoding Latin1 { get; }
    public static Encoding ShiftJis { get; }
  }

  public static class IOUtils {
    public static void UsingCurrentDirectory(string path, Action action) {}
    public static async Task UsingCurrentDirectoryAsync(string path, Func<Task> action) {}
    public static void UsingDirectory(string path, Action<DirectoryInfo> action) {}
    public static void UsingDirectory(string path, bool ensureDirectoryCreated, Action<DirectoryInfo> action) {}
    public static Task UsingDirectoryAsync(string path, Func<DirectoryInfo, Task> action) {}
    public static async Task UsingDirectoryAsync(string path, bool ensureDirectoryCreated, Func<DirectoryInfo, Task> action) {}
    public static void UsingFile(string path, Action<FileInfo> action) {}
    public static async Task UsingFileAsync(string path, Func<FileInfo, Task> action) {}
  }
}

namespace Smdn.Test.NUnit.Assertion {
  public class Assert : ClassicAssert {
    public static void Elapses(TimeSpan expected, TestDelegate code, string message = null) {}
    public static void ElapsesAsync(TimeSpan expected, AsyncTestDelegate code, string message = null) {}
    public static void ElapsesInRange(TimeSpan expectedMin, TimeSpan expectedMax, TestDelegate code, string message = null) {}
    public static void ElapsesInRangeAsync(TimeSpan expectedMin, TimeSpan expectedMax, AsyncTestDelegate code, string message = null) {}
    public static void IsSerializable<TSerializable>(TSerializable obj, Action<TSerializable> testDeserializedObject = null) {}
    public static void NotElapse(TimeSpan expected, TestDelegate code, string message = null) {}
    public static void NotElapseAsync(TimeSpan expected, AsyncTestDelegate code, string message = null) {}
    public static TException ThrowsOrAggregates<TException>(TestDelegate code) where TException : Exception {}

    public Assert() {}
  }
}
// API list generated by Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks v1.4.1.0.
// Smdn.Reflection.ReverseGenerating.ListApi.Core v1.3.1.0 (https://github.com/smdn/Smdn.Reflection.ReverseGenerating)
Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Framework net462 is compatible.  net463 was computed.  net47 was computed.  net471 was computed.  net472 is compatible.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
4.1.0 80 12/12/2024
4.0.0 2,862 12/14/2023
1.0.0 4,270 4/18/2022