Smdn.Test.NUnit.Utils 4.0.0

The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org. Prefix Reserved
dotnet add package Smdn.Test.NUnit.Utils --version 4.0.0
NuGet\Install-Package Smdn.Test.NUnit.Utils -Version 4.0.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.0.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.0.0
#r "nuget: Smdn.Test.NUnit.Utils, 4.0.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.0.0

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

Smdn.Test.NUnit.Utils-4.0.0

NUnit utilities

API List

List of APIs exposed by assembly Smdn.Test.NUnit.Utils-4.0.0 (net6.0)

// Smdn.Test.NUnit.Utils.dll (Smdn.Test.NUnit.Utils-4.0.0)
//   Name: Smdn.Test.NUnit.Utils
//   AssemblyVersion: 4.0.0.0
//   InformationalVersion: 4.0.0+280107daf772c089f4bf30b5bce3f2dded855766
//   TargetFramework: .NETCoreApp,Version=v6.0
//   Configuration: Release
//   Referenced assemblies:
//     System.Linq, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
//     System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
//     System.Runtime.Serialization.Formatters, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
//     System.Text.Encoding.CodePages, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
//     System.Threading.Thread, Version=6.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.Runtime.Serialization;
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 IsSerializable<TSerializable>(TSerializable obj, IFormatter serializationFormatter, IFormatter deserializationFormatter, 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.3.0.0.
// Smdn.Reflection.ReverseGenerating.ListApi.Core v1.2.0.0 (https://github.com/smdn/Smdn.Reflection.ReverseGenerating)
Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  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.0.0 1,687 12/14/2023
1.0.0 4,232 4/18/2022