Smdn.Test.NUnit.Utils 1.0.0

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package Smdn.Test.NUnit.Utils --version 1.0.0                
NuGet\Install-Package Smdn.Test.NUnit.Utils -Version 1.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="1.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 1.0.0                
#r "nuget: Smdn.Test.NUnit.Utils, 1.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=1.0.0

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

Smdn.Test.NUnit.Utils

NUnit utilities

API List

// Smdn.Test.NUnit.Utils.dll (Smdn.Test.NUnit.Utils-1.0.0)
//   Name: Smdn.Test.NUnit.Utils
//   AssemblyVersion: 1.0.0.0
//   InformationalVersion: 1.0.0+7598ad3f6134b7fcb21ff256682be15e2cd04b61
//   TargetFramework: .NETCoreApp,Version=v6.0
//   Configuration: Release

using System;
using System.IO;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;
using NUnit.Framework;

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) {}
    [AsyncStateMachine]
    public static 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) {}
    [AsyncStateMachine]
    public static Task UsingDirectoryAsync(string path, bool ensureDirectoryCreated, Func<DirectoryInfo, Task> action) {}
    public static void UsingFile(string path, Action<FileInfo> action) {}
    [AsyncStateMachine]
    public static Task UsingFileAsync(string path, Func<FileInfo, Task> action) {}
  }
}

namespace Smdn.Test.NUnit.Assertion {
  public class Assert : Assert {
    public Assert() {}

    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 {}
  }
}
Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  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 Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 is compatible. 
.NET Framework net45 is compatible.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 is compatible.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos 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 78 12/12/2024
4.0.0 2,862 12/14/2023
1.0.0 4,268 4/18/2022