Skip to content

Commit fd41434

Browse files
authored
Merge pull request #48 from smdn/releases/Smdn.Test.NUnit.Utils-1.0.0-1650288401
Release main/Smdn.Test.NUnit.Utils-1.0.0
2 parents 7598ad3 + 5c22bfb commit fd41434

File tree

5 files changed

+265
-0
lines changed

5 files changed

+265
-0
lines changed
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
// Smdn.Test.NUnit.Utils.dll (Smdn.Test.NUnit.Utils-1.0.0)
2+
// Name: Smdn.Test.NUnit.Utils
3+
// AssemblyVersion: 1.0.0.0
4+
// InformationalVersion: 1.0.0+7598ad3f6134b7fcb21ff256682be15e2cd04b61
5+
// TargetFramework: .NETFramework,Version=v4.5
6+
// Configuration: Release
7+
8+
using System;
9+
using System.IO;
10+
using System.Runtime.Serialization;
11+
using System.Text;
12+
using System.Threading.Tasks;
13+
using NUnit.Framework;
14+
15+
namespace Smdn.Test.NUnit {
16+
public static class Encodings {
17+
public static Encoding EucJP { get; }
18+
public static Encoding Jis { get; }
19+
public static Encoding Latin1 { get; }
20+
public static Encoding ShiftJis { get; }
21+
}
22+
23+
public static class IOUtils {
24+
public static void UsingCurrentDirectory(string path, Action action) {}
25+
[AsyncStateMachine]
26+
public static Task UsingCurrentDirectoryAsync(string path, Func<Task> action) {}
27+
public static void UsingDirectory(string path, Action<DirectoryInfo> action) {}
28+
public static void UsingDirectory(string path, bool ensureDirectoryCreated, Action<DirectoryInfo> action) {}
29+
public static Task UsingDirectoryAsync(string path, Func<DirectoryInfo, Task> action) {}
30+
[AsyncStateMachine]
31+
public static Task UsingDirectoryAsync(string path, bool ensureDirectoryCreated, Func<DirectoryInfo, Task> action) {}
32+
public static void UsingFile(string path, Action<FileInfo> action) {}
33+
[AsyncStateMachine]
34+
public static Task UsingFileAsync(string path, Func<FileInfo, Task> action) {}
35+
}
36+
}
37+
38+
namespace Smdn.Test.NUnit.Assertion {
39+
public class Assert : Assert {
40+
public Assert() {}
41+
42+
public static void Elapses(TimeSpan expected, TestDelegate code, string message = null) {}
43+
public static void ElapsesAsync(TimeSpan expected, AsyncTestDelegate code, string message = null) {}
44+
public static void ElapsesInRange(TimeSpan expectedMin, TimeSpan expectedMax, TestDelegate code, string message = null) {}
45+
public static void ElapsesInRangeAsync(TimeSpan expectedMin, TimeSpan expectedMax, AsyncTestDelegate code, string message = null) {}
46+
public static void IsSerializable<TSerializable>(TSerializable obj, Action<TSerializable> testDeserializedObject = null) {}
47+
public static void IsSerializable<TSerializable>(TSerializable obj, IFormatter serializationFormatter, IFormatter deserializationFormatter, Action<TSerializable> testDeserializedObject = null) {}
48+
public static void NotElapse(TimeSpan expected, TestDelegate code, string message = null) {}
49+
public static void NotElapseAsync(TimeSpan expected, AsyncTestDelegate code, string message = null) {}
50+
public static TException ThrowsOrAggregates<TException>(TestDelegate code) where TException : Exception {}
51+
}
52+
}
53+
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
// Smdn.Test.NUnit.Utils.dll (Smdn.Test.NUnit.Utils-1.0.0)
2+
// Name: Smdn.Test.NUnit.Utils
3+
// AssemblyVersion: 1.0.0.0
4+
// InformationalVersion: 1.0.0+7598ad3f6134b7fcb21ff256682be15e2cd04b61
5+
// TargetFramework: .NETFramework,Version=v4.7.2
6+
// Configuration: Release
7+
8+
using System;
9+
using System.IO;
10+
using System.Runtime.Serialization;
11+
using System.Text;
12+
using System.Threading.Tasks;
13+
using NUnit.Framework;
14+
15+
namespace Smdn.Test.NUnit {
16+
public static class Encodings {
17+
public static Encoding EucJP { get; }
18+
public static Encoding Jis { get; }
19+
public static Encoding Latin1 { get; }
20+
public static Encoding ShiftJis { get; }
21+
}
22+
23+
public static class IOUtils {
24+
public static void UsingCurrentDirectory(string path, Action action) {}
25+
[AsyncStateMachine]
26+
public static Task UsingCurrentDirectoryAsync(string path, Func<Task> action) {}
27+
public static void UsingDirectory(string path, Action<DirectoryInfo> action) {}
28+
public static void UsingDirectory(string path, bool ensureDirectoryCreated, Action<DirectoryInfo> action) {}
29+
public static Task UsingDirectoryAsync(string path, Func<DirectoryInfo, Task> action) {}
30+
[AsyncStateMachine]
31+
public static Task UsingDirectoryAsync(string path, bool ensureDirectoryCreated, Func<DirectoryInfo, Task> action) {}
32+
public static void UsingFile(string path, Action<FileInfo> action) {}
33+
[AsyncStateMachine]
34+
public static Task UsingFileAsync(string path, Func<FileInfo, Task> action) {}
35+
}
36+
}
37+
38+
namespace Smdn.Test.NUnit.Assertion {
39+
public class Assert : Assert {
40+
public Assert() {}
41+
42+
public static void Elapses(TimeSpan expected, TestDelegate code, string message = null) {}
43+
public static void ElapsesAsync(TimeSpan expected, AsyncTestDelegate code, string message = null) {}
44+
public static void ElapsesInRange(TimeSpan expectedMin, TimeSpan expectedMax, TestDelegate code, string message = null) {}
45+
public static void ElapsesInRangeAsync(TimeSpan expectedMin, TimeSpan expectedMax, AsyncTestDelegate code, string message = null) {}
46+
public static void IsSerializable<TSerializable>(TSerializable obj, Action<TSerializable> testDeserializedObject = null) {}
47+
public static void IsSerializable<TSerializable>(TSerializable obj, IFormatter serializationFormatter, IFormatter deserializationFormatter, Action<TSerializable> testDeserializedObject = null) {}
48+
public static void NotElapse(TimeSpan expected, TestDelegate code, string message = null) {}
49+
public static void NotElapseAsync(TimeSpan expected, AsyncTestDelegate code, string message = null) {}
50+
public static TException ThrowsOrAggregates<TException>(TestDelegate code) where TException : Exception {}
51+
}
52+
}
53+
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
// Smdn.Test.NUnit.Utils.dll (Smdn.Test.NUnit.Utils-1.0.0)
2+
// Name: Smdn.Test.NUnit.Utils
3+
// AssemblyVersion: 1.0.0.0
4+
// InformationalVersion: 1.0.0+7598ad3f6134b7fcb21ff256682be15e2cd04b61
5+
// TargetFramework: .NETCoreApp,Version=v6.0
6+
// Configuration: Release
7+
8+
using System;
9+
using System.IO;
10+
using System.Runtime.Serialization;
11+
using System.Text;
12+
using System.Threading.Tasks;
13+
using NUnit.Framework;
14+
15+
namespace Smdn.Test.NUnit {
16+
public static class Encodings {
17+
public static Encoding EucJP { get; }
18+
public static Encoding Jis { get; }
19+
public static Encoding Latin1 { get; }
20+
public static Encoding ShiftJis { get; }
21+
}
22+
23+
public static class IOUtils {
24+
public static void UsingCurrentDirectory(string path, Action action) {}
25+
[AsyncStateMachine]
26+
public static Task UsingCurrentDirectoryAsync(string path, Func<Task> action) {}
27+
public static void UsingDirectory(string path, Action<DirectoryInfo> action) {}
28+
public static void UsingDirectory(string path, bool ensureDirectoryCreated, Action<DirectoryInfo> action) {}
29+
public static Task UsingDirectoryAsync(string path, Func<DirectoryInfo, Task> action) {}
30+
[AsyncStateMachine]
31+
public static Task UsingDirectoryAsync(string path, bool ensureDirectoryCreated, Func<DirectoryInfo, Task> action) {}
32+
public static void UsingFile(string path, Action<FileInfo> action) {}
33+
[AsyncStateMachine]
34+
public static Task UsingFileAsync(string path, Func<FileInfo, Task> action) {}
35+
}
36+
}
37+
38+
namespace Smdn.Test.NUnit.Assertion {
39+
public class Assert : Assert {
40+
public Assert() {}
41+
42+
public static void Elapses(TimeSpan expected, TestDelegate code, string message = null) {}
43+
public static void ElapsesAsync(TimeSpan expected, AsyncTestDelegate code, string message = null) {}
44+
public static void ElapsesInRange(TimeSpan expectedMin, TimeSpan expectedMax, TestDelegate code, string message = null) {}
45+
public static void ElapsesInRangeAsync(TimeSpan expectedMin, TimeSpan expectedMax, AsyncTestDelegate code, string message = null) {}
46+
public static void IsSerializable<TSerializable>(TSerializable obj, Action<TSerializable> testDeserializedObject = null) {}
47+
public static void IsSerializable<TSerializable>(TSerializable obj, IFormatter serializationFormatter, IFormatter deserializationFormatter, Action<TSerializable> testDeserializedObject = null) {}
48+
public static void NotElapse(TimeSpan expected, TestDelegate code, string message = null) {}
49+
public static void NotElapseAsync(TimeSpan expected, AsyncTestDelegate code, string message = null) {}
50+
public static TException ThrowsOrAggregates<TException>(TestDelegate code) where TException : Exception {}
51+
}
52+
}
53+
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
// Smdn.Test.NUnit.Utils.dll (Smdn.Test.NUnit.Utils-1.0.0)
2+
// Name: Smdn.Test.NUnit.Utils
3+
// AssemblyVersion: 1.0.0.0
4+
// InformationalVersion: 1.0.0+7598ad3f6134b7fcb21ff256682be15e2cd04b61
5+
// TargetFramework: .NETStandard,Version=v2.0
6+
// Configuration: Release
7+
8+
using System;
9+
using System.IO;
10+
using System.Runtime.Serialization;
11+
using System.Text;
12+
using System.Threading.Tasks;
13+
using NUnit.Framework;
14+
15+
namespace Smdn.Test.NUnit {
16+
public static class Encodings {
17+
public static Encoding EucJP { get; }
18+
public static Encoding Jis { get; }
19+
public static Encoding Latin1 { get; }
20+
public static Encoding ShiftJis { get; }
21+
}
22+
23+
public static class IOUtils {
24+
public static void UsingCurrentDirectory(string path, Action action) {}
25+
[AsyncStateMachine]
26+
public static Task UsingCurrentDirectoryAsync(string path, Func<Task> action) {}
27+
public static void UsingDirectory(string path, Action<DirectoryInfo> action) {}
28+
public static void UsingDirectory(string path, bool ensureDirectoryCreated, Action<DirectoryInfo> action) {}
29+
public static Task UsingDirectoryAsync(string path, Func<DirectoryInfo, Task> action) {}
30+
[AsyncStateMachine]
31+
public static Task UsingDirectoryAsync(string path, bool ensureDirectoryCreated, Func<DirectoryInfo, Task> action) {}
32+
public static void UsingFile(string path, Action<FileInfo> action) {}
33+
[AsyncStateMachine]
34+
public static Task UsingFileAsync(string path, Func<FileInfo, Task> action) {}
35+
}
36+
}
37+
38+
namespace Smdn.Test.NUnit.Assertion {
39+
public class Assert : Assert {
40+
public Assert() {}
41+
42+
public static void Elapses(TimeSpan expected, TestDelegate code, string message = null) {}
43+
public static void ElapsesAsync(TimeSpan expected, AsyncTestDelegate code, string message = null) {}
44+
public static void ElapsesInRange(TimeSpan expectedMin, TimeSpan expectedMax, TestDelegate code, string message = null) {}
45+
public static void ElapsesInRangeAsync(TimeSpan expectedMin, TimeSpan expectedMax, AsyncTestDelegate code, string message = null) {}
46+
public static void IsSerializable<TSerializable>(TSerializable obj, Action<TSerializable> testDeserializedObject = null) {}
47+
public static void IsSerializable<TSerializable>(TSerializable obj, IFormatter serializationFormatter, IFormatter deserializationFormatter, Action<TSerializable> testDeserializedObject = null) {}
48+
public static void NotElapse(TimeSpan expected, TestDelegate code, string message = null) {}
49+
public static void NotElapseAsync(TimeSpan expected, AsyncTestDelegate code, string message = null) {}
50+
public static TException ThrowsOrAggregates<TException>(TestDelegate code) where TException : Exception {}
51+
}
52+
}
53+
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
// Smdn.Test.NUnit.Utils.dll (Smdn.Test.NUnit.Utils-1.0.0)
2+
// Name: Smdn.Test.NUnit.Utils
3+
// AssemblyVersion: 1.0.0.0
4+
// InformationalVersion: 1.0.0+7598ad3f6134b7fcb21ff256682be15e2cd04b61
5+
// TargetFramework: .NETStandard,Version=v2.1
6+
// Configuration: Release
7+
8+
using System;
9+
using System.IO;
10+
using System.Runtime.Serialization;
11+
using System.Text;
12+
using System.Threading.Tasks;
13+
using NUnit.Framework;
14+
15+
namespace Smdn.Test.NUnit {
16+
public static class Encodings {
17+
public static Encoding EucJP { get; }
18+
public static Encoding Jis { get; }
19+
public static Encoding Latin1 { get; }
20+
public static Encoding ShiftJis { get; }
21+
}
22+
23+
public static class IOUtils {
24+
public static void UsingCurrentDirectory(string path, Action action) {}
25+
[AsyncStateMachine]
26+
public static Task UsingCurrentDirectoryAsync(string path, Func<Task> action) {}
27+
public static void UsingDirectory(string path, Action<DirectoryInfo> action) {}
28+
public static void UsingDirectory(string path, bool ensureDirectoryCreated, Action<DirectoryInfo> action) {}
29+
public static Task UsingDirectoryAsync(string path, Func<DirectoryInfo, Task> action) {}
30+
[AsyncStateMachine]
31+
public static Task UsingDirectoryAsync(string path, bool ensureDirectoryCreated, Func<DirectoryInfo, Task> action) {}
32+
public static void UsingFile(string path, Action<FileInfo> action) {}
33+
[AsyncStateMachine]
34+
public static Task UsingFileAsync(string path, Func<FileInfo, Task> action) {}
35+
}
36+
}
37+
38+
namespace Smdn.Test.NUnit.Assertion {
39+
public class Assert : Assert {
40+
public Assert() {}
41+
42+
public static void Elapses(TimeSpan expected, TestDelegate code, string message = null) {}
43+
public static void ElapsesAsync(TimeSpan expected, AsyncTestDelegate code, string message = null) {}
44+
public static void ElapsesInRange(TimeSpan expectedMin, TimeSpan expectedMax, TestDelegate code, string message = null) {}
45+
public static void ElapsesInRangeAsync(TimeSpan expectedMin, TimeSpan expectedMax, AsyncTestDelegate code, string message = null) {}
46+
public static void IsSerializable<TSerializable>(TSerializable obj, Action<TSerializable> testDeserializedObject = null) {}
47+
public static void IsSerializable<TSerializable>(TSerializable obj, IFormatter serializationFormatter, IFormatter deserializationFormatter, Action<TSerializable> testDeserializedObject = null) {}
48+
public static void NotElapse(TimeSpan expected, TestDelegate code, string message = null) {}
49+
public static void NotElapseAsync(TimeSpan expected, AsyncTestDelegate code, string message = null) {}
50+
public static TException ThrowsOrAggregates<TException>(TestDelegate code) where TException : Exception {}
51+
}
52+
}
53+

0 commit comments

Comments
 (0)