@reactunity/renderer 0.16.2 → 0.16.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -7,54 +7,7 @@ export declare namespace NUnit {
7
7
  Test = 1,
8
8
  Suite = 2
9
9
  }
10
- enum ParallelScope {
11
- None = 0,
12
- Self = 1,
13
- Children = 2,
14
- Fixtures = 4
15
- }
16
10
  class Assert {
17
- static Throws(expression: NUnit.Framework.Constraints.IResolveConstraint, code: (() => void), message: string, ...args: any[]): System.Exception;
18
- static Throws(expression: NUnit.Framework.Constraints.IResolveConstraint, code: (() => void)): System.Exception;
19
- static Throws(expectedExceptionType: System.Type, code: (() => void), message: string, ...args: any[]): System.Exception;
20
- static Throws(expectedExceptionType: System.Type, code: (() => void)): System.Exception;
21
- static Catch(code: (() => void), message: string, ...args: any[]): System.Exception;
22
- static Catch(code: (() => void)): System.Exception;
23
- static Catch(expectedExceptionType: System.Type, code: (() => void), message: string, ...args: any[]): System.Exception;
24
- static Catch(expectedExceptionType: System.Type, code: (() => void)): System.Exception;
25
- static DoesNotThrow(code: (() => void), message: string, ...args: any[]): void;
26
- static DoesNotThrow(code: (() => void)): void;
27
- static AreEqual(expected: number, actual: number, delta: number, message: string, ...args: any[]): void;
28
- static AreEqual(expected: number, actual: number, delta: number): void;
29
- static AreEqual(expected: number, actual: number | undefined, delta: number, message: string, ...args: any[]): void;
30
- static AreEqual(expected: number, actual: number | undefined, delta: number): void;
31
- static AreEqual(expected: any, actual: any, message: string, ...args: any[]): void;
32
- static AreEqual(expected: any, actual: any): void;
33
- static AreNotEqual(expected: any, actual: any, message: string, ...args: any[]): void;
34
- static AreNotEqual(expected: any, actual: any): void;
35
- static AreSame(expected: any, actual: any, message: string, ...args: any[]): void;
36
- static AreSame(expected: any, actual: any): void;
37
- static AreNotSame(expected: any, actual: any, message: string, ...args: any[]): void;
38
- static AreNotSame(expected: any, actual: any): void;
39
- static IsAssignableFrom(expected: System.Type, actual: any, message: string, ...args: any[]): void;
40
- static IsAssignableFrom(expected: System.Type, actual: any): void;
41
- static IsNotAssignableFrom(expected: System.Type, actual: any, message: string, ...args: any[]): void;
42
- static IsNotAssignableFrom(expected: System.Type, actual: any): void;
43
- static IsInstanceOf(expected: System.Type, actual: any, message: string, ...args: any[]): void;
44
- static IsInstanceOf(expected: System.Type, actual: any): void;
45
- static IsNotInstanceOf(expected: System.Type, actual: any, message: string, ...args: any[]): void;
46
- static IsNotInstanceOf(expected: System.Type, actual: any): void;
47
- static That(condition: boolean, message: string, ...args: any[]): void;
48
- static That(condition: boolean): void;
49
- static That(condition: boolean, getExceptionMessage: (() => string)): void;
50
- static That(condition: (() => boolean), message: string, ...args: any[]): void;
51
- static That(condition: (() => boolean)): void;
52
- static That(condition: (() => boolean), getExceptionMessage: (() => string)): void;
53
- static That(code: (() => void), constraint: NUnit.Framework.Constraints.IResolveConstraint): void;
54
- static That(code: (() => void), constraint: NUnit.Framework.Constraints.IResolveConstraint, message: string, ...args: any[]): void;
55
- static That(code: (() => void), constraint: NUnit.Framework.Constraints.IResolveConstraint, getExceptionMessage: (() => string)): void;
56
- static ByVal(actual: any, expression: NUnit.Framework.Constraints.IResolveConstraint): void;
57
- static ByVal(actual: any, expression: NUnit.Framework.Constraints.IResolveConstraint, message: string, ...args: any[]): void;
58
11
  static Greater(arg1: number, arg2: number, message: string, ...args: any[]): void;
59
12
  static Greater(arg1: number, arg2: number): void;
60
13
  static Greater(arg1: number, arg2: number, message: string, ...args: any[]): void;
@@ -227,96 +180,85 @@ export declare namespace NUnit {
227
180
  static Inconclusive(): void;
228
181
  static Contains(expected: any, actual: System.Collections.ICollection, message: string, ...args: any[]): void;
229
182
  static Contains(expected: any, actual: System.Collections.ICollection): void;
183
+ static AreEqual(expected: number, actual: number, delta: number, message: string, ...args: any[]): void;
184
+ static AreEqual(expected: number, actual: number, delta: number): void;
185
+ static AreEqual(expected: number, actual: number | undefined, delta: number, message: string, ...args: any[]): void;
186
+ static AreEqual(expected: number, actual: number | undefined, delta: number): void;
187
+ static AreEqual(expected: any, actual: any, message: string, ...args: any[]): void;
188
+ static AreEqual(expected: any, actual: any): void;
189
+ static AreNotEqual(expected: any, actual: any, message: string, ...args: any[]): void;
190
+ static AreNotEqual(expected: any, actual: any): void;
191
+ static AreSame(expected: any, actual: any, message: string, ...args: any[]): void;
192
+ static AreSame(expected: any, actual: any): void;
193
+ static AreNotSame(expected: any, actual: any, message: string, ...args: any[]): void;
194
+ static AreNotSame(expected: any, actual: any): void;
195
+ static ThrowsAsync(expression: NUnit.Framework.Constraints.IResolveConstraint, code: (() => System.Threading.Tasks.Task), message: string, ...args: any[]): System.Exception;
196
+ static ThrowsAsync(expression: NUnit.Framework.Constraints.IResolveConstraint, code: (() => System.Threading.Tasks.Task)): System.Exception;
197
+ static ThrowsAsync(expectedExceptionType: System.Type, code: (() => System.Threading.Tasks.Task), message: string, ...args: any[]): System.Exception;
198
+ static ThrowsAsync(expectedExceptionType: System.Type, code: (() => System.Threading.Tasks.Task)): System.Exception;
199
+ static CatchAsync(code: (() => System.Threading.Tasks.Task), message: string, ...args: any[]): System.Exception;
200
+ static CatchAsync(code: (() => System.Threading.Tasks.Task)): System.Exception;
201
+ static CatchAsync(expectedExceptionType: System.Type, code: (() => System.Threading.Tasks.Task), message: string, ...args: any[]): System.Exception;
202
+ static CatchAsync(expectedExceptionType: System.Type, code: (() => System.Threading.Tasks.Task)): System.Exception;
203
+ static DoesNotThrowAsync(code: (() => System.Threading.Tasks.Task), message: string, ...args: any[]): void;
204
+ static DoesNotThrowAsync(code: (() => System.Threading.Tasks.Task)): void;
205
+ static Throws(expression: NUnit.Framework.Constraints.IResolveConstraint, code: (() => void), message: string, ...args: any[]): System.Exception;
206
+ static Throws(expression: NUnit.Framework.Constraints.IResolveConstraint, code: (() => void)): System.Exception;
207
+ static Throws(expectedExceptionType: System.Type, code: (() => void), message: string, ...args: any[]): System.Exception;
208
+ static Throws(expectedExceptionType: System.Type, code: (() => void)): System.Exception;
209
+ static Catch(code: (() => void), message: string, ...args: any[]): System.Exception;
210
+ static Catch(code: (() => void)): System.Exception;
211
+ static Catch(expectedExceptionType: System.Type, code: (() => void), message: string, ...args: any[]): System.Exception;
212
+ static Catch(expectedExceptionType: System.Type, code: (() => void)): System.Exception;
213
+ static DoesNotThrow(code: (() => void), message: string, ...args: any[]): void;
214
+ static DoesNotThrow(code: (() => void)): void;
215
+ static That(condition: boolean, message: string, ...args: any[]): void;
216
+ static That(condition: boolean): void;
217
+ static That(condition: boolean, getExceptionMessage: (() => string)): void;
218
+ static That(condition: (() => boolean), message: string, ...args: any[]): void;
219
+ static That(condition: (() => boolean)): void;
220
+ static That(condition: (() => boolean), getExceptionMessage: (() => string)): void;
221
+ static That(code: (() => void), constraint: NUnit.Framework.Constraints.IResolveConstraint): void;
222
+ static That(code: (() => void), constraint: NUnit.Framework.Constraints.IResolveConstraint, message: string, ...args: any[]): void;
223
+ static That(code: (() => void), constraint: NUnit.Framework.Constraints.IResolveConstraint, getExceptionMessage: (() => string)): void;
224
+ static ByVal(actual: any, expression: NUnit.Framework.Constraints.IResolveConstraint): void;
225
+ static ByVal(actual: any, expression: NUnit.Framework.Constraints.IResolveConstraint, message: string, ...args: any[]): void;
226
+ static IsAssignableFrom(expected: System.Type, actual: any, message: string, ...args: any[]): void;
227
+ static IsAssignableFrom(expected: System.Type, actual: any): void;
228
+ static IsNotAssignableFrom(expected: System.Type, actual: any, message: string, ...args: any[]): void;
229
+ static IsNotAssignableFrom(expected: System.Type, actual: any): void;
230
+ static IsInstanceOf(expected: System.Type, actual: any, message: string, ...args: any[]): void;
231
+ static IsInstanceOf(expected: System.Type, actual: any): void;
232
+ static IsNotInstanceOf(expected: System.Type, actual: any, message: string, ...args: any[]): void;
233
+ static IsNotInstanceOf(expected: System.Type, actual: any): void;
230
234
  Equals(obj: any): boolean;
231
235
  GetHashCode(): number;
232
236
  GetType(): System.Type;
233
237
  ToString(): string;
234
238
  }
235
- class TestFixtureData {
236
- constructor(...args: any[]);
237
- constructor(arg: any);
238
- constructor(arg1: any, arg2: any);
239
- constructor(arg1: any, arg2: any, arg3: any);
240
- TypeArgs: System.Type[];
241
- RunState: NUnit.Framework.Interfaces.RunState;
242
- Arguments: any[];
243
- TestName: string;
244
- Properties: NUnit.Framework.Interfaces.IPropertyBag;
245
- OriginalArguments: any[];
246
- Explicit(): NUnit.Framework.TestFixtureData;
247
- Explicit(reason: string): NUnit.Framework.TestFixtureData;
248
- Ignore(reason: string): NUnit.Framework.TestFixtureData;
249
- ApplyToTest(test: NUnit.Framework.Internal.Test): void;
250
- Equals(obj: any): boolean;
251
- GetHashCode(): number;
252
- GetType(): System.Type;
253
- ToString(): string;
254
- }
255
- class DirectoryAssert {
256
- static Equals(a: any, b: any): boolean;
257
- static ReferenceEquals(a: any, b: any): void;
258
- static AreEqual(expected: System.IO.DirectoryInfo, actual: System.IO.DirectoryInfo, message: string, ...args: any[]): void;
259
- static AreEqual(expected: System.IO.DirectoryInfo, actual: System.IO.DirectoryInfo): void;
260
- static AreNotEqual(expected: System.IO.DirectoryInfo, actual: System.IO.DirectoryInfo, message: string, ...args: any[]): void;
261
- static AreNotEqual(expected: System.IO.DirectoryInfo, actual: System.IO.DirectoryInfo): void;
262
- static Exists(actual: System.IO.DirectoryInfo, message: string, ...args: any[]): void;
263
- static Exists(actual: System.IO.DirectoryInfo): void;
264
- static Exists(actual: string, message: string, ...args: any[]): void;
265
- static Exists(actual: string): void;
266
- static DoesNotExist(actual: System.IO.DirectoryInfo, message: string, ...args: any[]): void;
267
- static DoesNotExist(actual: System.IO.DirectoryInfo): void;
268
- static DoesNotExist(actual: string, message: string, ...args: any[]): void;
269
- static DoesNotExist(actual: string): void;
270
- Equals(obj: any): boolean;
271
- GetHashCode(): number;
272
- GetType(): System.Type;
273
- ToString(): string;
274
- }
275
- class Does {
276
- static Not: NUnit.Framework.Constraints.ConstraintExpression;
277
- static Exist: NUnit.Framework.Constraints.FileOrDirectoryExistsConstraint;
278
- static Contain(expected: any): NUnit.Framework.Constraints.CollectionContainsConstraint;
279
- static Contain(expected: string): NUnit.Framework.Constraints.ContainsConstraint;
280
- static StartWith(expected: string): NUnit.Framework.Constraints.StartsWithConstraint;
281
- static EndWith(expected: string): NUnit.Framework.Constraints.EndsWithConstraint;
282
- static Match(pattern: string): NUnit.Framework.Constraints.RegexConstraint;
283
- Equals(obj: any): boolean;
284
- GetHashCode(): number;
285
- GetType(): System.Type;
286
- ToString(): string;
287
- }
288
- class ResultStateException {
289
- constructor(message: string);
290
- constructor(message: string, inner: System.Exception);
291
- ResultState: NUnit.Framework.Interfaces.ResultState;
292
- Message: string;
293
- Data: System.Collections.IDictionary;
294
- InnerException: System.Exception;
295
- TargetSite: System.Reflection.MethodBase;
296
- StackTrace: string;
297
- HelpLink: string;
298
- Source: string;
299
- HResult: number;
300
- GetBaseException(): System.Exception;
301
- ToString(): string;
239
+ class TestDelegate {
240
+ constructor(object: any, method: System.IntPtr);
241
+ Method: System.Reflection.MethodInfo;
242
+ Target: any;
243
+ Invoke(): void;
244
+ BeginInvoke(callback: ((ar: System.IAsyncResult) => void), object: any): System.IAsyncResult;
245
+ EndInvoke(result: System.IAsyncResult): void;
302
246
  GetObjectData(info: System.Runtime.Serialization.SerializationInfo, context: System.Runtime.Serialization.StreamingContext): void;
303
- GetType(): System.Type;
304
247
  Equals(obj: any): boolean;
305
248
  GetHashCode(): number;
249
+ GetInvocationList(): System.Delegate[];
250
+ DynamicInvoke(...args: any[]): any;
251
+ Clone(): any;
306
252
  GetType(): System.Type;
253
+ ToString(): string;
307
254
  }
308
- interface ITestAction {
309
- Targets: NUnit.Framework.ActionTargets;
310
- BeforeTest(test: NUnit.Framework.Interfaces.ITest): void;
311
- AfterTest(test: NUnit.Framework.Interfaces.ITest): void;
312
- }
313
- class TestDelegate {
255
+ class AsyncTestDelegate {
314
256
  constructor(object: any, method: System.IntPtr);
315
257
  Method: System.Reflection.MethodInfo;
316
258
  Target: any;
317
- Invoke(): void;
259
+ Invoke(): System.Threading.Tasks.Task;
318
260
  BeginInvoke(callback: ((ar: System.IAsyncResult) => void), object: any): System.IAsyncResult;
319
- EndInvoke(result: System.IAsyncResult): void;
261
+ EndInvoke(result: System.IAsyncResult): System.Threading.Tasks.Task;
320
262
  GetObjectData(info: System.Runtime.Serialization.SerializationInfo, context: System.Runtime.Serialization.StreamingContext): void;
321
263
  Equals(obj: any): boolean;
322
264
  GetHashCode(): number;
@@ -413,6 +355,12 @@ export declare namespace NUnit {
413
355
  GetType(): System.Type;
414
356
  ToString(): string;
415
357
  }
358
+ enum ParallelScope {
359
+ None = 0,
360
+ Self = 1,
361
+ Children = 2,
362
+ Fixtures = 4
363
+ }
416
364
  class CollectionAssert {
417
365
  constructor();
418
366
  static Equals(a: any, b: any): boolean;
@@ -471,6 +419,41 @@ export declare namespace NUnit {
471
419
  GetType(): System.Type;
472
420
  ToString(): string;
473
421
  }
422
+ class DirectoryAssert {
423
+ static Equals(a: any, b: any): boolean;
424
+ static ReferenceEquals(a: any, b: any): void;
425
+ static AreEqual(expected: System.IO.DirectoryInfo, actual: System.IO.DirectoryInfo, message: string, ...args: any[]): void;
426
+ static AreEqual(expected: System.IO.DirectoryInfo, actual: System.IO.DirectoryInfo): void;
427
+ static AreNotEqual(expected: System.IO.DirectoryInfo, actual: System.IO.DirectoryInfo, message: string, ...args: any[]): void;
428
+ static AreNotEqual(expected: System.IO.DirectoryInfo, actual: System.IO.DirectoryInfo): void;
429
+ static Exists(actual: System.IO.DirectoryInfo, message: string, ...args: any[]): void;
430
+ static Exists(actual: System.IO.DirectoryInfo): void;
431
+ static Exists(actual: string, message: string, ...args: any[]): void;
432
+ static Exists(actual: string): void;
433
+ static DoesNotExist(actual: System.IO.DirectoryInfo, message: string, ...args: any[]): void;
434
+ static DoesNotExist(actual: System.IO.DirectoryInfo): void;
435
+ static DoesNotExist(actual: string, message: string, ...args: any[]): void;
436
+ static DoesNotExist(actual: string): void;
437
+ Equals(obj: any): boolean;
438
+ GetHashCode(): number;
439
+ GetType(): System.Type;
440
+ ToString(): string;
441
+ }
442
+ class Does {
443
+ static Not: NUnit.Framework.Constraints.ConstraintExpression;
444
+ static Exist: NUnit.Framework.Constraints.FileOrDirectoryExistsConstraint;
445
+ static Contain(expected: any): NUnit.Framework.Constraints.CollectionContainsConstraint;
446
+ static Contain(expected: string): NUnit.Framework.Constraints.ContainsConstraint;
447
+ static ContainKey(expected: any): NUnit.Framework.Constraints.DictionaryContainsKeyConstraint;
448
+ static ContainValue(expected: any): NUnit.Framework.Constraints.DictionaryContainsValueConstraint;
449
+ static StartWith(expected: string): NUnit.Framework.Constraints.StartsWithConstraint;
450
+ static EndWith(expected: string): NUnit.Framework.Constraints.EndsWithConstraint;
451
+ static Match(pattern: string): NUnit.Framework.Constraints.RegexConstraint;
452
+ Equals(obj: any): boolean;
453
+ GetHashCode(): number;
454
+ GetType(): System.Type;
455
+ ToString(): string;
456
+ }
474
457
  class AssertionException {
475
458
  constructor(message: string);
476
459
  constructor(message: string, inner: System.Exception);
@@ -531,6 +514,26 @@ export declare namespace NUnit {
531
514
  GetHashCode(): number;
532
515
  GetType(): System.Type;
533
516
  }
517
+ class ResultStateException {
518
+ constructor(message: string);
519
+ constructor(message: string, inner: System.Exception);
520
+ ResultState: NUnit.Framework.Interfaces.ResultState;
521
+ Message: string;
522
+ Data: System.Collections.IDictionary;
523
+ InnerException: System.Exception;
524
+ TargetSite: System.Reflection.MethodBase;
525
+ StackTrace: string;
526
+ HelpLink: string;
527
+ Source: string;
528
+ HResult: number;
529
+ GetBaseException(): System.Exception;
530
+ ToString(): string;
531
+ GetObjectData(info: System.Runtime.Serialization.SerializationInfo, context: System.Runtime.Serialization.StreamingContext): void;
532
+ GetType(): System.Type;
533
+ Equals(obj: any): boolean;
534
+ GetHashCode(): number;
535
+ GetType(): System.Type;
536
+ }
534
537
  class SuccessException {
535
538
  constructor(message: string);
536
539
  constructor(message: string, inner: System.Exception);
@@ -649,6 +652,11 @@ export declare namespace NUnit {
649
652
  GetType(): System.Type;
650
653
  ToString(): string;
651
654
  }
655
+ interface ITestAction {
656
+ Targets: NUnit.Framework.ActionTargets;
657
+ BeforeTest(test: NUnit.Framework.Interfaces.ITest): void;
658
+ AfterTest(test: NUnit.Framework.Interfaces.ITest): void;
659
+ }
652
660
  class Iz {
653
661
  constructor();
654
662
  Equals(obj: any): boolean;
@@ -785,23 +793,43 @@ export declare namespace NUnit {
785
793
  GetType(): System.Type;
786
794
  ToString(): string;
787
795
  }
788
- class TestParameters {
789
- constructor();
790
- Count: number;
791
- Names: System.Collections.Generic.ICollection<string>;
792
- Exists(name: string): boolean;
793
- Get(name: string): string;
794
- Get(name: string, defaultValue: string): string;
795
- Equals(obj: any): boolean;
796
- GetHashCode(): number;
797
- GetType(): System.Type;
798
- ToString(): string;
799
- }
800
- class Throws {
801
- constructor();
802
- static Exception: NUnit.Framework.Constraints.ResolvableConstraintExpression;
803
- static InnerException: NUnit.Framework.Constraints.ResolvableConstraintExpression;
804
- static TargetInvocationException: NUnit.Framework.Constraints.ExactTypeConstraint;
796
+ class TestFixtureData {
797
+ constructor(...args: any[]);
798
+ constructor(arg: any);
799
+ constructor(arg1: any, arg2: any);
800
+ constructor(arg1: any, arg2: any, arg3: any);
801
+ TypeArgs: System.Type[];
802
+ RunState: NUnit.Framework.Interfaces.RunState;
803
+ Arguments: any[];
804
+ TestName: string;
805
+ Properties: NUnit.Framework.Interfaces.IPropertyBag;
806
+ OriginalArguments: any[];
807
+ Explicit(): NUnit.Framework.TestFixtureData;
808
+ Explicit(reason: string): NUnit.Framework.TestFixtureData;
809
+ Ignore(reason: string): NUnit.Framework.TestFixtureData;
810
+ ApplyToTest(test: NUnit.Framework.Internal.Test): void;
811
+ Equals(obj: any): boolean;
812
+ GetHashCode(): number;
813
+ GetType(): System.Type;
814
+ ToString(): string;
815
+ }
816
+ class TestParameters {
817
+ constructor();
818
+ Count: number;
819
+ Names: System.Collections.Generic.ICollection<string>;
820
+ Exists(name: string): boolean;
821
+ Get(name: string): string;
822
+ Get(name: string, defaultValue: string): string;
823
+ Equals(obj: any): boolean;
824
+ GetHashCode(): number;
825
+ GetType(): System.Type;
826
+ ToString(): string;
827
+ }
828
+ class Throws {
829
+ constructor();
830
+ static Exception: NUnit.Framework.Constraints.ResolvableConstraintExpression;
831
+ static InnerException: NUnit.Framework.Constraints.ResolvableConstraintExpression;
832
+ static TargetInvocationException: NUnit.Framework.Constraints.ExactTypeConstraint;
805
833
  static ArgumentException: NUnit.Framework.Constraints.ExactTypeConstraint;
806
834
  static ArgumentNullException: NUnit.Framework.Constraints.ExactTypeConstraint;
807
835
  static InvalidOperationException: NUnit.Framework.Constraints.ExactTypeConstraint;
@@ -841,6 +869,15 @@ export declare namespace NUnit {
841
869
  ToString(): string;
842
870
  }
843
871
  namespace Api {
872
+ class DefaultTestAssemblyBuilder {
873
+ constructor();
874
+ Build(assembly: System.Reflection.Assembly, options: Record<string, any>): NUnit.Framework.Interfaces.ITest;
875
+ Build(assemblyName: string, options: Record<string, any>): NUnit.Framework.Interfaces.ITest;
876
+ Equals(obj: any): boolean;
877
+ GetHashCode(): number;
878
+ GetType(): System.Type;
879
+ ToString(): string;
880
+ }
844
881
  class FrameworkController {
845
882
  constructor(assemblyNameOrPath: string, idPrefix: string, settings: System.Collections.IDictionary);
846
883
  constructor(assembly: System.Reflection.Assembly, idPrefix: string, settings: System.Collections.IDictionary);
@@ -857,7 +894,7 @@ export declare namespace NUnit {
857
894
  StopRun(force: boolean): void;
858
895
  CountTests(filter: string): number;
859
896
  static InsertEnvironmentElement(targetNode: NUnit.Framework.Interfaces.TNode): NUnit.Framework.Interfaces.TNode;
860
- static InsertSettingsElement(targetNode: NUnit.Framework.Interfaces.TNode, settings: any): NUnit.Framework.Interfaces.TNode;
897
+ static InsertSettingsElement(targetNode: NUnit.Framework.Interfaces.TNode, settings: System.Collections.Generic.IDictionary): NUnit.Framework.Interfaces.TNode;
861
898
  InitializeLifetimeService(): any;
862
899
  CreateObjRef(requestedType: System.Type): System.Runtime.Remoting.ObjRef;
863
900
  GetLifetimeService(): any;
@@ -866,8 +903,11 @@ export declare namespace NUnit {
866
903
  GetType(): System.Type;
867
904
  ToString(): string;
868
905
  }
869
- class NUnitTestAssemblyRunner {
870
- constructor(builder: NUnit.Framework.Api.ITestAssemblyBuilder);
906
+ interface ITestAssemblyBuilder {
907
+ Build(assembly: System.Reflection.Assembly, options: Record<string, any>): NUnit.Framework.Interfaces.ITest;
908
+ Build(assemblyName: string, options: Record<string, any>): NUnit.Framework.Interfaces.ITest;
909
+ }
910
+ interface ITestAssemblyRunner {
871
911
  LoadedTest: NUnit.Framework.Interfaces.ITest;
872
912
  Result: NUnit.Framework.Interfaces.ITestResult;
873
913
  IsTestLoaded: boolean;
@@ -880,16 +920,9 @@ export declare namespace NUnit {
880
920
  RunAsync(listener: NUnit.Framework.Interfaces.ITestListener, filter: NUnit.Framework.Interfaces.ITestFilter): void;
881
921
  WaitForCompletion(timeout: number): boolean;
882
922
  StopRun(force: boolean): void;
883
- Equals(obj: any): boolean;
884
- GetHashCode(): number;
885
- GetType(): System.Type;
886
- ToString(): string;
887
- }
888
- interface ITestAssemblyBuilder {
889
- Build(assembly: System.Reflection.Assembly, options: Record<string, any>): NUnit.Framework.Interfaces.ITest;
890
- Build(assemblyName: string, options: Record<string, any>): NUnit.Framework.Interfaces.ITest;
891
923
  }
892
- interface ITestAssemblyRunner {
924
+ class NUnitTestAssemblyRunner {
925
+ constructor(builder: NUnit.Framework.Api.ITestAssemblyBuilder);
893
926
  LoadedTest: NUnit.Framework.Interfaces.ITest;
894
927
  Result: NUnit.Framework.Interfaces.ITestResult;
895
928
  IsTestLoaded: boolean;
@@ -902,11 +935,6 @@ export declare namespace NUnit {
902
935
  RunAsync(listener: NUnit.Framework.Interfaces.ITestListener, filter: NUnit.Framework.Interfaces.ITestFilter): void;
903
936
  WaitForCompletion(timeout: number): boolean;
904
937
  StopRun(force: boolean): void;
905
- }
906
- class DefaultTestAssemblyBuilder {
907
- constructor();
908
- Build(assembly: System.Reflection.Assembly, options: Record<string, any>): NUnit.Framework.Interfaces.ITest;
909
- Build(assemblyName: string, options: Record<string, any>): NUnit.Framework.Interfaces.ITest;
910
938
  Equals(obj: any): boolean;
911
939
  GetHashCode(): number;
912
940
  GetType(): System.Type;
@@ -983,181 +1011,6 @@ export declare namespace NUnit {
983
1011
  }
984
1012
  }
985
1013
  namespace Constraints {
986
- class CollectionSupersetConstraint {
987
- constructor(expected: System.Collections.IEnumerable);
988
- DisplayName: string;
989
- Description: string;
990
- IgnoreCase: NUnit.Framework.Constraints.CollectionItemsEqualConstraint;
991
- Arguments: any[];
992
- Builder: NUnit.Framework.Constraints.ConstraintBuilder;
993
- And: NUnit.Framework.Constraints.ConstraintExpression;
994
- With: NUnit.Framework.Constraints.ConstraintExpression;
995
- Or: NUnit.Framework.Constraints.ConstraintExpression;
996
- Using(comparer: System.Collections.IComparer): NUnit.Framework.Constraints.CollectionItemsEqualConstraint;
997
- Using(comparer: System.Collections.IEqualityComparer): NUnit.Framework.Constraints.CollectionItemsEqualConstraint;
998
- ApplyTo(actual: any): NUnit.Framework.Constraints.ConstraintResult;
999
- ToString(): string;
1000
- After(delayInMilliseconds: number): NUnit.Framework.Constraints.DelayedConstraint;
1001
- After(delayInMilliseconds: number, pollingInterval: number): NUnit.Framework.Constraints.DelayedConstraint;
1002
- Equals(obj: any): boolean;
1003
- GetHashCode(): number;
1004
- GetType(): System.Type;
1005
- }
1006
- class DictionaryContainsValueConstraint {
1007
- constructor(expected: any);
1008
- DisplayName: string;
1009
- Description: string;
1010
- IgnoreCase: NUnit.Framework.Constraints.CollectionItemsEqualConstraint;
1011
- Arguments: any[];
1012
- Builder: NUnit.Framework.Constraints.ConstraintBuilder;
1013
- And: NUnit.Framework.Constraints.ConstraintExpression;
1014
- With: NUnit.Framework.Constraints.ConstraintExpression;
1015
- Or: NUnit.Framework.Constraints.ConstraintExpression;
1016
- Using(comparer: System.Collections.IComparer): NUnit.Framework.Constraints.CollectionItemsEqualConstraint;
1017
- Using(comparer: System.Collections.IEqualityComparer): NUnit.Framework.Constraints.CollectionItemsEqualConstraint;
1018
- ApplyTo(actual: any): NUnit.Framework.Constraints.ConstraintResult;
1019
- ToString(): string;
1020
- After(delayInMilliseconds: number): NUnit.Framework.Constraints.DelayedConstraint;
1021
- After(delayInMilliseconds: number, pollingInterval: number): NUnit.Framework.Constraints.DelayedConstraint;
1022
- Equals(obj: any): boolean;
1023
- GetHashCode(): number;
1024
- GetType(): System.Type;
1025
- }
1026
- class EqualConstraintResult {
1027
- constructor(constraint: NUnit.Framework.Constraints.EqualConstraint, actual: any, hasSucceeded: boolean);
1028
- ActualValue: any;
1029
- Status: NUnit.Framework.Constraints.ConstraintStatus;
1030
- IsSuccess: boolean;
1031
- Name: string;
1032
- Description: string;
1033
- WriteMessageTo(writer: NUnit.Framework.Constraints.MessageWriter): void;
1034
- WriteActualValueTo(writer: NUnit.Framework.Constraints.MessageWriter): void;
1035
- Equals(obj: any): boolean;
1036
- GetHashCode(): number;
1037
- GetType(): System.Type;
1038
- ToString(): string;
1039
- }
1040
- class FileExistsConstraint {
1041
- constructor();
1042
- Description: string;
1043
- IgnoreDirectories: NUnit.Framework.Constraints.FileOrDirectoryExistsConstraint;
1044
- IgnoreFiles: NUnit.Framework.Constraints.FileOrDirectoryExistsConstraint;
1045
- DisplayName: string;
1046
- Arguments: any[];
1047
- Builder: NUnit.Framework.Constraints.ConstraintBuilder;
1048
- And: NUnit.Framework.Constraints.ConstraintExpression;
1049
- With: NUnit.Framework.Constraints.ConstraintExpression;
1050
- Or: NUnit.Framework.Constraints.ConstraintExpression;
1051
- ApplyTo(actual: any): NUnit.Framework.Constraints.ConstraintResult;
1052
- ToString(): string;
1053
- After(delayInMilliseconds: number): NUnit.Framework.Constraints.DelayedConstraint;
1054
- After(delayInMilliseconds: number, pollingInterval: number): NUnit.Framework.Constraints.DelayedConstraint;
1055
- Equals(obj: any): boolean;
1056
- GetHashCode(): number;
1057
- GetType(): System.Type;
1058
- }
1059
- class FileOrDirectoryExistsConstraint {
1060
- constructor();
1061
- constructor(ignoreDirectories: boolean);
1062
- IgnoreDirectories: NUnit.Framework.Constraints.FileOrDirectoryExistsConstraint;
1063
- IgnoreFiles: NUnit.Framework.Constraints.FileOrDirectoryExistsConstraint;
1064
- Description: string;
1065
- DisplayName: string;
1066
- Arguments: any[];
1067
- Builder: NUnit.Framework.Constraints.ConstraintBuilder;
1068
- And: NUnit.Framework.Constraints.ConstraintExpression;
1069
- With: NUnit.Framework.Constraints.ConstraintExpression;
1070
- Or: NUnit.Framework.Constraints.ConstraintExpression;
1071
- ApplyTo(actual: any): NUnit.Framework.Constraints.ConstraintResult;
1072
- ToString(): string;
1073
- After(delayInMilliseconds: number): NUnit.Framework.Constraints.DelayedConstraint;
1074
- After(delayInMilliseconds: number, pollingInterval: number): NUnit.Framework.Constraints.DelayedConstraint;
1075
- Equals(obj: any): boolean;
1076
- GetHashCode(): number;
1077
- GetType(): System.Type;
1078
- }
1079
- interface IConstraint {
1080
- DisplayName: string;
1081
- Description: string;
1082
- Arguments: any[];
1083
- Builder: NUnit.Framework.Constraints.ConstraintBuilder;
1084
- ApplyTo(actual: any): NUnit.Framework.Constraints.ConstraintResult;
1085
- }
1086
- class AllOperator {
1087
- constructor();
1088
- LeftContext: any;
1089
- RightContext: any;
1090
- LeftPrecedence: number;
1091
- RightPrecedence: number;
1092
- ApplyPrefix(constraint: NUnit.Framework.Constraints.IConstraint): NUnit.Framework.Constraints.IConstraint;
1093
- Reduce(stack: NUnit.Framework.Constraints.ConstraintBuilder_ConstraintStack): void;
1094
- Equals(obj: any): boolean;
1095
- GetHashCode(): number;
1096
- GetType(): System.Type;
1097
- ToString(): string;
1098
- }
1099
- class NoneOperator {
1100
- constructor();
1101
- LeftContext: any;
1102
- RightContext: any;
1103
- LeftPrecedence: number;
1104
- RightPrecedence: number;
1105
- ApplyPrefix(constraint: NUnit.Framework.Constraints.IConstraint): NUnit.Framework.Constraints.IConstraint;
1106
- Reduce(stack: NUnit.Framework.Constraints.ConstraintBuilder_ConstraintStack): void;
1107
- Equals(obj: any): boolean;
1108
- GetHashCode(): number;
1109
- GetType(): System.Type;
1110
- ToString(): string;
1111
- }
1112
- class SomeOperator {
1113
- constructor();
1114
- LeftContext: any;
1115
- RightContext: any;
1116
- LeftPrecedence: number;
1117
- RightPrecedence: number;
1118
- ApplyPrefix(constraint: NUnit.Framework.Constraints.IConstraint): NUnit.Framework.Constraints.IConstraint;
1119
- Reduce(stack: NUnit.Framework.Constraints.ConstraintBuilder_ConstraintStack): void;
1120
- Equals(obj: any): boolean;
1121
- GetHashCode(): number;
1122
- GetType(): System.Type;
1123
- ToString(): string;
1124
- }
1125
- class SubPathConstraint {
1126
- constructor(expected: string);
1127
- Description: string;
1128
- RespectCase: NUnit.Framework.Constraints.PathConstraint;
1129
- IgnoreCase: NUnit.Framework.Constraints.StringConstraint;
1130
- DisplayName: string;
1131
- Arguments: any[];
1132
- Builder: NUnit.Framework.Constraints.ConstraintBuilder;
1133
- And: NUnit.Framework.Constraints.ConstraintExpression;
1134
- With: NUnit.Framework.Constraints.ConstraintExpression;
1135
- Or: NUnit.Framework.Constraints.ConstraintExpression;
1136
- ApplyTo(actual: any): NUnit.Framework.Constraints.ConstraintResult;
1137
- ToString(): string;
1138
- After(delayInMilliseconds: number): NUnit.Framework.Constraints.DelayedConstraint;
1139
- After(delayInMilliseconds: number, pollingInterval: number): NUnit.Framework.Constraints.DelayedConstraint;
1140
- Equals(obj: any): boolean;
1141
- GetHashCode(): number;
1142
- GetType(): System.Type;
1143
- }
1144
- class ThrowsExceptionConstraint {
1145
- constructor();
1146
- Description: string;
1147
- DisplayName: string;
1148
- Arguments: any[];
1149
- Builder: NUnit.Framework.Constraints.ConstraintBuilder;
1150
- And: NUnit.Framework.Constraints.ConstraintExpression;
1151
- With: NUnit.Framework.Constraints.ConstraintExpression;
1152
- Or: NUnit.Framework.Constraints.ConstraintExpression;
1153
- ApplyTo(actual: any): NUnit.Framework.Constraints.ConstraintResult;
1154
- ToString(): string;
1155
- After(delayInMilliseconds: number): NUnit.Framework.Constraints.DelayedConstraint;
1156
- After(delayInMilliseconds: number, pollingInterval: number): NUnit.Framework.Constraints.DelayedConstraint;
1157
- Equals(obj: any): boolean;
1158
- GetHashCode(): number;
1159
- GetType(): System.Type;
1160
- }
1161
1014
  class AllItemsConstraint {
1162
1015
  constructor(itemConstraint: NUnit.Framework.Constraints.IConstraint);
1163
1016
  DisplayName: string;
@@ -1410,18 +1263,38 @@ export declare namespace NUnit {
1410
1263
  GetHashCode(): number;
1411
1264
  GetType(): System.Type;
1412
1265
  }
1413
- class CollectionTally {
1414
- constructor(comparer: NUnit.Framework.Constraints.NUnitEqualityComparer, c: System.Collections.IEnumerable);
1415
- Count: number;
1416
- TryRemove(o: any): boolean;
1417
- TryRemove(c: System.Collections.IEnumerable): boolean;
1418
- Equals(obj: any): boolean;
1419
- GetHashCode(): number;
1420
- GetType(): System.Type;
1421
- ToString(): string;
1422
- }
1423
- class ComparisonAdapter {
1424
- static Default: NUnit.Framework.Constraints.ComparisonAdapter;
1266
+ class CollectionSupersetConstraint {
1267
+ constructor(expected: System.Collections.IEnumerable);
1268
+ DisplayName: string;
1269
+ Description: string;
1270
+ IgnoreCase: NUnit.Framework.Constraints.CollectionItemsEqualConstraint;
1271
+ Arguments: any[];
1272
+ Builder: NUnit.Framework.Constraints.ConstraintBuilder;
1273
+ And: NUnit.Framework.Constraints.ConstraintExpression;
1274
+ With: NUnit.Framework.Constraints.ConstraintExpression;
1275
+ Or: NUnit.Framework.Constraints.ConstraintExpression;
1276
+ Using(comparer: System.Collections.IComparer): NUnit.Framework.Constraints.CollectionItemsEqualConstraint;
1277
+ Using(comparer: System.Collections.IEqualityComparer): NUnit.Framework.Constraints.CollectionItemsEqualConstraint;
1278
+ ApplyTo(actual: any): NUnit.Framework.Constraints.ConstraintResult;
1279
+ ToString(): string;
1280
+ After(delayInMilliseconds: number): NUnit.Framework.Constraints.DelayedConstraint;
1281
+ After(delayInMilliseconds: number, pollingInterval: number): NUnit.Framework.Constraints.DelayedConstraint;
1282
+ Equals(obj: any): boolean;
1283
+ GetHashCode(): number;
1284
+ GetType(): System.Type;
1285
+ }
1286
+ class CollectionTally {
1287
+ constructor(comparer: NUnit.Framework.Constraints.NUnitEqualityComparer, c: System.Collections.IEnumerable);
1288
+ Count: number;
1289
+ TryRemove(o: any): boolean;
1290
+ TryRemove(c: System.Collections.IEnumerable): boolean;
1291
+ Equals(obj: any): boolean;
1292
+ GetHashCode(): number;
1293
+ GetType(): System.Type;
1294
+ ToString(): string;
1295
+ }
1296
+ class ComparisonAdapter {
1297
+ static Default: NUnit.Framework.Constraints.ComparisonAdapter;
1425
1298
  static For(comparer: System.Collections.IComparer): NUnit.Framework.Constraints.ComparisonAdapter;
1426
1299
  Compare(expected: any, actual: any): number;
1427
1300
  Equals(obj: any): boolean;
@@ -1541,6 +1414,8 @@ export declare namespace NUnit {
1541
1414
  Contains(expected: any): NUnit.Framework.Constraints.CollectionContainsConstraint;
1542
1415
  Contains(expected: string): NUnit.Framework.Constraints.ContainsConstraint;
1543
1416
  Contain(expected: string): NUnit.Framework.Constraints.ContainsConstraint;
1417
+ ContainKey(expected: any): NUnit.Framework.Constraints.DictionaryContainsKeyConstraint;
1418
+ ContainValue(expected: any): NUnit.Framework.Constraints.DictionaryContainsValueConstraint;
1544
1419
  StringContaining(expected: string): NUnit.Framework.Constraints.SubstringConstraint;
1545
1420
  ContainsSubstring(expected: string): NUnit.Framework.Constraints.SubstringConstraint;
1546
1421
  StartWith(expected: string): NUnit.Framework.Constraints.StartsWithConstraint;
@@ -1628,6 +1503,28 @@ export declare namespace NUnit {
1628
1503
  GetType(): System.Type;
1629
1504
  ToString(): string;
1630
1505
  }
1506
+ enum ConstraintStatus {
1507
+ Unknown = 0,
1508
+ Success = 1,
1509
+ Failure = 2,
1510
+ Error = 3
1511
+ }
1512
+ class ConstraintResult {
1513
+ constructor(constraint: NUnit.Framework.Constraints.IConstraint, actualValue: any);
1514
+ constructor(constraint: NUnit.Framework.Constraints.IConstraint, actualValue: any, status: NUnit.Framework.Constraints.ConstraintStatus);
1515
+ constructor(constraint: NUnit.Framework.Constraints.IConstraint, actualValue: any, isSuccess: boolean);
1516
+ ActualValue: any;
1517
+ Status: NUnit.Framework.Constraints.ConstraintStatus;
1518
+ IsSuccess: boolean;
1519
+ Name: string;
1520
+ Description: string;
1521
+ WriteMessageTo(writer: NUnit.Framework.Constraints.MessageWriter): void;
1522
+ WriteActualValueTo(writer: NUnit.Framework.Constraints.MessageWriter): void;
1523
+ Equals(obj: any): boolean;
1524
+ GetHashCode(): number;
1525
+ GetType(): System.Type;
1526
+ ToString(): string;
1527
+ }
1631
1528
  class ContainsConstraint {
1632
1529
  constructor(expected: any);
1633
1530
  Description: string;
@@ -1684,6 +1581,26 @@ export declare namespace NUnit {
1684
1581
  GetHashCode(): number;
1685
1582
  GetType(): System.Type;
1686
1583
  }
1584
+ class DictionaryContainsValueConstraint {
1585
+ constructor(expected: any);
1586
+ DisplayName: string;
1587
+ Description: string;
1588
+ IgnoreCase: NUnit.Framework.Constraints.CollectionItemsEqualConstraint;
1589
+ Arguments: any[];
1590
+ Builder: NUnit.Framework.Constraints.ConstraintBuilder;
1591
+ And: NUnit.Framework.Constraints.ConstraintExpression;
1592
+ With: NUnit.Framework.Constraints.ConstraintExpression;
1593
+ Or: NUnit.Framework.Constraints.ConstraintExpression;
1594
+ Using(comparer: System.Collections.IComparer): NUnit.Framework.Constraints.CollectionItemsEqualConstraint;
1595
+ Using(comparer: System.Collections.IEqualityComparer): NUnit.Framework.Constraints.CollectionItemsEqualConstraint;
1596
+ ApplyTo(actual: any): NUnit.Framework.Constraints.ConstraintResult;
1597
+ ToString(): string;
1598
+ After(delayInMilliseconds: number): NUnit.Framework.Constraints.DelayedConstraint;
1599
+ After(delayInMilliseconds: number, pollingInterval: number): NUnit.Framework.Constraints.DelayedConstraint;
1600
+ Equals(obj: any): boolean;
1601
+ GetHashCode(): number;
1602
+ GetType(): System.Type;
1603
+ }
1687
1604
  class EmptyCollectionConstraint {
1688
1605
  constructor();
1689
1606
  Description: string;
@@ -1851,6 +1768,45 @@ export declare namespace NUnit {
1851
1768
  GetHashCode(): number;
1852
1769
  GetType(): System.Type;
1853
1770
  }
1771
+ class FileExistsConstraint {
1772
+ constructor();
1773
+ Description: string;
1774
+ IgnoreDirectories: NUnit.Framework.Constraints.FileOrDirectoryExistsConstraint;
1775
+ IgnoreFiles: NUnit.Framework.Constraints.FileOrDirectoryExistsConstraint;
1776
+ DisplayName: string;
1777
+ Arguments: any[];
1778
+ Builder: NUnit.Framework.Constraints.ConstraintBuilder;
1779
+ And: NUnit.Framework.Constraints.ConstraintExpression;
1780
+ With: NUnit.Framework.Constraints.ConstraintExpression;
1781
+ Or: NUnit.Framework.Constraints.ConstraintExpression;
1782
+ ApplyTo(actual: any): NUnit.Framework.Constraints.ConstraintResult;
1783
+ ToString(): string;
1784
+ After(delayInMilliseconds: number): NUnit.Framework.Constraints.DelayedConstraint;
1785
+ After(delayInMilliseconds: number, pollingInterval: number): NUnit.Framework.Constraints.DelayedConstraint;
1786
+ Equals(obj: any): boolean;
1787
+ GetHashCode(): number;
1788
+ GetType(): System.Type;
1789
+ }
1790
+ class FileOrDirectoryExistsConstraint {
1791
+ constructor();
1792
+ constructor(ignoreDirectories: boolean);
1793
+ IgnoreDirectories: NUnit.Framework.Constraints.FileOrDirectoryExistsConstraint;
1794
+ IgnoreFiles: NUnit.Framework.Constraints.FileOrDirectoryExistsConstraint;
1795
+ Description: string;
1796
+ DisplayName: string;
1797
+ Arguments: any[];
1798
+ Builder: NUnit.Framework.Constraints.ConstraintBuilder;
1799
+ And: NUnit.Framework.Constraints.ConstraintExpression;
1800
+ With: NUnit.Framework.Constraints.ConstraintExpression;
1801
+ Or: NUnit.Framework.Constraints.ConstraintExpression;
1802
+ ApplyTo(actual: any): NUnit.Framework.Constraints.ConstraintResult;
1803
+ ToString(): string;
1804
+ After(delayInMilliseconds: number): NUnit.Framework.Constraints.DelayedConstraint;
1805
+ After(delayInMilliseconds: number, pollingInterval: number): NUnit.Framework.Constraints.DelayedConstraint;
1806
+ Equals(obj: any): boolean;
1807
+ GetHashCode(): number;
1808
+ GetType(): System.Type;
1809
+ }
1854
1810
  class FloatingPointNumerics {
1855
1811
  static AreAlmostEqualUlps(left: number, right: number, maxUlps: number): boolean;
1856
1812
  static AreAlmostEqualUlps(left: number, right: number, maxUlps: number): boolean;
@@ -1899,27 +1855,12 @@ export declare namespace NUnit {
1899
1855
  GetHashCode(): number;
1900
1856
  GetType(): System.Type;
1901
1857
  }
1902
- enum ConstraintStatus {
1903
- Unknown = 0,
1904
- Success = 1,
1905
- Failure = 2,
1906
- Error = 3
1907
- }
1908
- class ConstraintResult {
1909
- constructor(constraint: NUnit.Framework.Constraints.IConstraint, actualValue: any);
1910
- constructor(constraint: NUnit.Framework.Constraints.IConstraint, actualValue: any, status: NUnit.Framework.Constraints.ConstraintStatus);
1911
- constructor(constraint: NUnit.Framework.Constraints.IConstraint, actualValue: any, isSuccess: boolean);
1912
- ActualValue: any;
1913
- Status: NUnit.Framework.Constraints.ConstraintStatus;
1914
- IsSuccess: boolean;
1915
- Name: string;
1858
+ interface IConstraint {
1859
+ DisplayName: string;
1916
1860
  Description: string;
1917
- WriteMessageTo(writer: NUnit.Framework.Constraints.MessageWriter): void;
1918
- WriteActualValueTo(writer: NUnit.Framework.Constraints.MessageWriter): void;
1919
- Equals(obj: any): boolean;
1920
- GetHashCode(): number;
1921
- GetType(): System.Type;
1922
- ToString(): string;
1861
+ Arguments: any[];
1862
+ Builder: NUnit.Framework.Constraints.ConstraintBuilder;
1863
+ ApplyTo(actual: any): NUnit.Framework.Constraints.ConstraintResult;
1923
1864
  }
1924
1865
  class InstanceOfTypeConstraint {
1925
1866
  constructor(type: System.Type);
@@ -2185,6 +2126,19 @@ export declare namespace NUnit {
2185
2126
  GetType(): System.Type;
2186
2127
  ToString(): string;
2187
2128
  }
2129
+ class AllOperator {
2130
+ constructor();
2131
+ LeftContext: any;
2132
+ RightContext: any;
2133
+ LeftPrecedence: number;
2134
+ RightPrecedence: number;
2135
+ ApplyPrefix(constraint: NUnit.Framework.Constraints.IConstraint): NUnit.Framework.Constraints.IConstraint;
2136
+ Reduce(stack: NUnit.Framework.Constraints.ConstraintBuilder_ConstraintStack): void;
2137
+ Equals(obj: any): boolean;
2138
+ GetHashCode(): number;
2139
+ GetType(): System.Type;
2140
+ ToString(): string;
2141
+ }
2188
2142
  class AndOperator {
2189
2143
  constructor();
2190
2144
  LeftPrecedence: number;
@@ -2245,6 +2199,19 @@ export declare namespace NUnit {
2245
2199
  GetType(): System.Type;
2246
2200
  ToString(): string;
2247
2201
  }
2202
+ class NoneOperator {
2203
+ constructor();
2204
+ LeftContext: any;
2205
+ RightContext: any;
2206
+ LeftPrecedence: number;
2207
+ RightPrecedence: number;
2208
+ ApplyPrefix(constraint: NUnit.Framework.Constraints.IConstraint): NUnit.Framework.Constraints.IConstraint;
2209
+ Reduce(stack: NUnit.Framework.Constraints.ConstraintBuilder_ConstraintStack): void;
2210
+ Equals(obj: any): boolean;
2211
+ GetHashCode(): number;
2212
+ GetType(): System.Type;
2213
+ ToString(): string;
2214
+ }
2248
2215
  class NotOperator {
2249
2216
  constructor();
2250
2217
  LeftContext: any;
@@ -2307,6 +2274,19 @@ export declare namespace NUnit {
2307
2274
  GetType(): System.Type;
2308
2275
  ToString(): string;
2309
2276
  }
2277
+ class SomeOperator {
2278
+ constructor();
2279
+ LeftContext: any;
2280
+ RightContext: any;
2281
+ LeftPrecedence: number;
2282
+ RightPrecedence: number;
2283
+ ApplyPrefix(constraint: NUnit.Framework.Constraints.IConstraint): NUnit.Framework.Constraints.IConstraint;
2284
+ Reduce(stack: NUnit.Framework.Constraints.ConstraintBuilder_ConstraintStack): void;
2285
+ Equals(obj: any): boolean;
2286
+ GetHashCode(): number;
2287
+ GetType(): System.Type;
2288
+ ToString(): string;
2289
+ }
2310
2290
  class ThrowsOperator {
2311
2291
  constructor();
2312
2292
  LeftContext: any;
@@ -2525,6 +2505,8 @@ export declare namespace NUnit {
2525
2505
  Contains(expected: any): NUnit.Framework.Constraints.CollectionContainsConstraint;
2526
2506
  Contains(expected: string): NUnit.Framework.Constraints.ContainsConstraint;
2527
2507
  Contain(expected: string): NUnit.Framework.Constraints.ContainsConstraint;
2508
+ ContainKey(expected: any): NUnit.Framework.Constraints.DictionaryContainsKeyConstraint;
2509
+ ContainValue(expected: any): NUnit.Framework.Constraints.DictionaryContainsValueConstraint;
2528
2510
  StringContaining(expected: string): NUnit.Framework.Constraints.SubstringConstraint;
2529
2511
  ContainsSubstring(expected: string): NUnit.Framework.Constraints.SubstringConstraint;
2530
2512
  StartWith(expected: string): NUnit.Framework.Constraints.StartsWithConstraint;
@@ -2624,6 +2606,20 @@ export declare namespace NUnit {
2624
2606
  GetHashCode(): number;
2625
2607
  GetType(): System.Type;
2626
2608
  }
2609
+ class EqualConstraintResult {
2610
+ constructor(constraint: NUnit.Framework.Constraints.EqualConstraint, actual: any, hasSucceeded: boolean);
2611
+ ActualValue: any;
2612
+ Status: NUnit.Framework.Constraints.ConstraintStatus;
2613
+ IsSuccess: boolean;
2614
+ Name: string;
2615
+ Description: string;
2616
+ WriteMessageTo(writer: NUnit.Framework.Constraints.MessageWriter): void;
2617
+ WriteActualValueTo(writer: NUnit.Framework.Constraints.MessageWriter): void;
2618
+ Equals(obj: any): boolean;
2619
+ GetHashCode(): number;
2620
+ GetType(): System.Type;
2621
+ ToString(): string;
2622
+ }
2627
2623
  class StartsWithConstraint {
2628
2624
  constructor(expected: string);
2629
2625
  Description: string;
@@ -2659,6 +2655,25 @@ export declare namespace NUnit {
2659
2655
  GetHashCode(): number;
2660
2656
  GetType(): System.Type;
2661
2657
  }
2658
+ class SubPathConstraint {
2659
+ constructor(expected: string);
2660
+ Description: string;
2661
+ RespectCase: NUnit.Framework.Constraints.PathConstraint;
2662
+ IgnoreCase: NUnit.Framework.Constraints.StringConstraint;
2663
+ DisplayName: string;
2664
+ Arguments: any[];
2665
+ Builder: NUnit.Framework.Constraints.ConstraintBuilder;
2666
+ And: NUnit.Framework.Constraints.ConstraintExpression;
2667
+ With: NUnit.Framework.Constraints.ConstraintExpression;
2668
+ Or: NUnit.Framework.Constraints.ConstraintExpression;
2669
+ ApplyTo(actual: any): NUnit.Framework.Constraints.ConstraintResult;
2670
+ ToString(): string;
2671
+ After(delayInMilliseconds: number): NUnit.Framework.Constraints.DelayedConstraint;
2672
+ After(delayInMilliseconds: number, pollingInterval: number): NUnit.Framework.Constraints.DelayedConstraint;
2673
+ Equals(obj: any): boolean;
2674
+ GetHashCode(): number;
2675
+ GetType(): System.Type;
2676
+ }
2662
2677
  class SubstringConstraint {
2663
2678
  constructor(expected: string);
2664
2679
  Description: string;
@@ -2695,6 +2710,23 @@ export declare namespace NUnit {
2695
2710
  GetHashCode(): number;
2696
2711
  GetType(): System.Type;
2697
2712
  }
2713
+ class ThrowsExceptionConstraint {
2714
+ constructor();
2715
+ Description: string;
2716
+ DisplayName: string;
2717
+ Arguments: any[];
2718
+ Builder: NUnit.Framework.Constraints.ConstraintBuilder;
2719
+ And: NUnit.Framework.Constraints.ConstraintExpression;
2720
+ With: NUnit.Framework.Constraints.ConstraintExpression;
2721
+ Or: NUnit.Framework.Constraints.ConstraintExpression;
2722
+ ApplyTo(actual: any): NUnit.Framework.Constraints.ConstraintResult;
2723
+ ToString(): string;
2724
+ After(delayInMilliseconds: number): NUnit.Framework.Constraints.DelayedConstraint;
2725
+ After(delayInMilliseconds: number, pollingInterval: number): NUnit.Framework.Constraints.DelayedConstraint;
2726
+ Equals(obj: any): boolean;
2727
+ GetHashCode(): number;
2728
+ GetType(): System.Type;
2729
+ }
2698
2730
  class ThrowsNothingConstraint {
2699
2731
  constructor();
2700
2732
  Description: string;
@@ -2890,6 +2922,24 @@ export declare namespace NUnit {
2890
2922
  }
2891
2923
  }
2892
2924
  namespace Interfaces {
2925
+ interface IApplyToContext {
2926
+ ApplyToContext(context: NUnit.Framework.Internal.ITestExecutionContext): void;
2927
+ }
2928
+ interface IApplyToTest {
2929
+ ApplyToTest(test: NUnit.Framework.Internal.Test): void;
2930
+ }
2931
+ interface ICommandWrapper {
2932
+ Wrap(command: NUnit.Framework.Internal.Commands.TestCommand): NUnit.Framework.Internal.Commands.TestCommand;
2933
+ }
2934
+ interface IWrapTestMethod {
2935
+ }
2936
+ interface IWrapSetUpTearDown {
2937
+ }
2938
+ interface IFixtureBuilder {
2939
+ BuildFrom(typeInfo: NUnit.Framework.Interfaces.ITypeInfo): System.Collections.Generic.IEnumerable<NUnit.Framework.Internal.TestSuite>;
2940
+ }
2941
+ interface IImplyFixture {
2942
+ }
2893
2943
  interface IMethodInfo {
2894
2944
  TypeInfo: NUnit.Framework.Interfaces.ITypeInfo;
2895
2945
  MethodInfo: System.Reflection.MethodInfo;
@@ -2905,65 +2955,19 @@ export declare namespace NUnit {
2905
2955
  MakeGenericMethod(...typeArguments: System.Type[]): NUnit.Framework.Interfaces.IMethodInfo;
2906
2956
  Invoke(fixture: any, ...args: any[]): any;
2907
2957
  }
2958
+ interface IParameterDataProvider {
2959
+ HasDataFor(parameter: NUnit.Framework.Interfaces.IParameterInfo): boolean;
2960
+ GetDataFor(parameter: NUnit.Framework.Interfaces.IParameterInfo): System.Collections.IEnumerable;
2961
+ }
2962
+ interface IParameterDataSource {
2963
+ GetData(parameter: NUnit.Framework.Interfaces.IParameterInfo): System.Collections.IEnumerable;
2964
+ }
2908
2965
  interface IParameterInfo {
2909
2966
  IsOptional: boolean;
2910
2967
  Method: NUnit.Framework.Interfaces.IMethodInfo;
2911
2968
  ParameterInfo: System.Reflection.ParameterInfo;
2912
2969
  ParameterType: System.Type;
2913
2970
  }
2914
- interface IReflectionInfo {
2915
- }
2916
- interface ITypeInfo {
2917
- Type: System.Type;
2918
- BaseType: NUnit.Framework.Interfaces.ITypeInfo;
2919
- Name: string;
2920
- FullName: string;
2921
- Assembly: System.Reflection.Assembly;
2922
- Namespace: string;
2923
- IsAbstract: boolean;
2924
- IsGenericType: boolean;
2925
- ContainsGenericParameters: boolean;
2926
- IsGenericTypeDefinition: boolean;
2927
- IsSealed: boolean;
2928
- IsStaticClass: boolean;
2929
- IsType(type: System.Type): boolean;
2930
- GetDisplayName(): string;
2931
- GetDisplayName(args: any[]): string;
2932
- GetGenericTypeDefinition(): System.Type;
2933
- MakeGenericType(typeArgs: System.Type[]): NUnit.Framework.Interfaces.ITypeInfo;
2934
- HasMethodWithAttribute(attrType: System.Type): boolean;
2935
- GetMethods(flags: System.Reflection.BindingFlags): NUnit.Framework.Interfaces.IMethodInfo[];
2936
- GetConstructor(argTypes: System.Type[]): System.Reflection.ConstructorInfo;
2937
- HasConstructor(argTypes: System.Type[]): boolean;
2938
- Construct(args: any[]): any;
2939
- }
2940
- class TestOutput {
2941
- constructor(text: string, stream: string, testName: string);
2942
- Text: string;
2943
- Stream: string;
2944
- TestName: string;
2945
- ToString(): string;
2946
- ToXml(): string;
2947
- Equals(obj: any): boolean;
2948
- GetHashCode(): number;
2949
- GetType(): System.Type;
2950
- }
2951
- interface ICombiningStrategy {
2952
- GetTestCases(sources: System.Collections.IEnumerable[]): System.Collections.Generic.IEnumerable<NUnit.Framework.Interfaces.ITestCaseData>;
2953
- }
2954
- interface ISimpleTestBuilder {
2955
- BuildFrom(method: NUnit.Framework.Interfaces.IMethodInfo, suite: NUnit.Framework.Internal.Test): NUnit.Framework.Internal.TestMethod;
2956
- }
2957
- interface ITestBuilder {
2958
- BuildFrom(method: NUnit.Framework.Interfaces.IMethodInfo, suite: NUnit.Framework.Internal.Test): System.Collections.Generic.IEnumerable<NUnit.Framework.Internal.TestMethod>;
2959
- }
2960
- interface IParameterDataProvider {
2961
- HasDataFor(parameter: NUnit.Framework.Interfaces.IParameterInfo): boolean;
2962
- GetDataFor(parameter: NUnit.Framework.Interfaces.IParameterInfo): System.Collections.IEnumerable;
2963
- }
2964
- interface IParameterDataSource {
2965
- GetData(parameter: NUnit.Framework.Interfaces.IParameterInfo): System.Collections.IEnumerable;
2966
- }
2967
2971
  interface IPropertyBag {
2968
2972
  Keys: System.Collections.Generic.ICollection<string>;
2969
2973
  Add(key: string, value: any): void;
@@ -2971,6 +2975,15 @@ export declare namespace NUnit {
2971
2975
  Get(key: string): any;
2972
2976
  ContainsKey(key: string): boolean;
2973
2977
  }
2978
+ interface IReflectionInfo {
2979
+ }
2980
+ interface ISimpleTestBuilder {
2981
+ BuildFrom(method: NUnit.Framework.Interfaces.IMethodInfo, suite: NUnit.Framework.Internal.Test): NUnit.Framework.Internal.TestMethod;
2982
+ }
2983
+ interface ISuiteBuilder {
2984
+ CanBuildFrom(typeInfo: NUnit.Framework.Interfaces.ITypeInfo): boolean;
2985
+ BuildFrom(typeInfo: NUnit.Framework.Interfaces.ITypeInfo): NUnit.Framework.Internal.TestSuite;
2986
+ }
2974
2987
  interface ITest {
2975
2988
  Id: string;
2976
2989
  Name: string;
@@ -2988,28 +3001,35 @@ export declare namespace NUnit {
2988
3001
  Tests: NUnit.Framework.Interfaces.ITest[];
2989
3002
  Fixture: any;
2990
3003
  }
3004
+ interface ITestCaseBuilder {
3005
+ CanBuildFrom(method: NUnit.Framework.Interfaces.IMethodInfo, suite: NUnit.Framework.Internal.Test): boolean;
3006
+ BuildFrom(method: NUnit.Framework.Interfaces.IMethodInfo, suite: NUnit.Framework.Internal.Test): NUnit.Framework.Internal.Test;
3007
+ }
3008
+ interface ITestCaseData {
3009
+ ExpectedResult: any;
3010
+ HasExpectedResult: boolean;
3011
+ }
2991
3012
  interface ITestData {
2992
3013
  TestName: string;
2993
3014
  RunState: NUnit.Framework.Interfaces.RunState;
2994
3015
  Arguments: any[];
2995
3016
  Properties: NUnit.Framework.Interfaces.IPropertyBag;
2996
3017
  }
2997
- interface ITestFixtureData {
2998
- TypeArgs: System.Type[];
2999
- }
3000
- interface ITestCaseData {
3001
- ExpectedResult: any;
3002
- HasExpectedResult: boolean;
3003
- }
3004
3018
  interface ITestFilter {
3005
3019
  Pass(test: NUnit.Framework.Interfaces.ITest): boolean;
3006
3020
  IsExplicitMatch(test: NUnit.Framework.Interfaces.ITest): boolean;
3007
3021
  }
3022
+ interface ITestFixtureData {
3023
+ TypeArgs: System.Type[];
3024
+ }
3008
3025
  interface ITestListener {
3009
3026
  TestStarted(test: NUnit.Framework.Interfaces.ITest): void;
3010
3027
  TestFinished(result: NUnit.Framework.Interfaces.ITestResult): void;
3011
3028
  TestOutput(output: NUnit.Framework.Interfaces.TestOutput): void;
3012
3029
  }
3030
+ interface ITestBuilder {
3031
+ BuildFrom(method: NUnit.Framework.Interfaces.IMethodInfo, suite: NUnit.Framework.Internal.Test): System.Collections.Generic.IEnumerable<NUnit.Framework.Internal.TestMethod>;
3032
+ }
3013
3033
  interface ITestResult {
3014
3034
  ResultState: NUnit.Framework.Interfaces.ResultState;
3015
3035
  Name: string;
@@ -3029,6 +3049,30 @@ export declare namespace NUnit {
3029
3049
  Test: NUnit.Framework.Interfaces.ITest;
3030
3050
  Output: string;
3031
3051
  }
3052
+ interface ITypeInfo {
3053
+ Type: System.Type;
3054
+ BaseType: NUnit.Framework.Interfaces.ITypeInfo;
3055
+ Name: string;
3056
+ FullName: string;
3057
+ Assembly: System.Reflection.Assembly;
3058
+ Namespace: string;
3059
+ IsAbstract: boolean;
3060
+ IsGenericType: boolean;
3061
+ ContainsGenericParameters: boolean;
3062
+ IsGenericTypeDefinition: boolean;
3063
+ IsSealed: boolean;
3064
+ IsStaticClass: boolean;
3065
+ IsType(type: System.Type): boolean;
3066
+ GetDisplayName(): string;
3067
+ GetDisplayName(args: any[]): string;
3068
+ GetGenericTypeDefinition(): System.Type;
3069
+ MakeGenericType(typeArgs: System.Type[]): NUnit.Framework.Interfaces.ITypeInfo;
3070
+ HasMethodWithAttribute(attrType: System.Type): boolean;
3071
+ GetMethods(flags: System.Reflection.BindingFlags): NUnit.Framework.Interfaces.IMethodInfo[];
3072
+ GetConstructor(argTypes: System.Type[]): System.Reflection.ConstructorInfo;
3073
+ HasConstructor(argTypes: System.Type[]): boolean;
3074
+ Construct(args: any[]): any;
3075
+ }
3032
3076
  interface IXmlNodeBuilder {
3033
3077
  ToXml(recursive: boolean): NUnit.Framework.Interfaces.TNode;
3034
3078
  AddToXml(parentNode: NUnit.Framework.Interfaces.TNode, recursive: boolean): NUnit.Framework.Interfaces.TNode;
@@ -3074,6 +3118,17 @@ export declare namespace NUnit {
3074
3118
  Skipped = 3,
3075
3119
  Ignored = 4
3076
3120
  }
3121
+ class TestOutput {
3122
+ constructor(text: string, stream: string, testName: string);
3123
+ Text: string;
3124
+ Stream: string;
3125
+ TestName: string;
3126
+ ToString(): string;
3127
+ ToXml(): string;
3128
+ Equals(obj: any): boolean;
3129
+ GetHashCode(): number;
3130
+ GetType(): System.Type;
3131
+ }
3077
3132
  enum TestStatus {
3078
3133
  Inconclusive = 0,
3079
3134
  Skipped = 1,
@@ -3130,7 +3185,7 @@ export declare namespace NUnit {
3130
3185
  FindLastIndex(startIndex: number, match: ((obj: NUnit.Framework.Interfaces.TNode) => boolean)): number;
3131
3186
  FindLastIndex(startIndex: number, count: number, match: ((obj: NUnit.Framework.Interfaces.TNode) => boolean)): number;
3132
3187
  ForEach(action: ((obj: NUnit.Framework.Interfaces.TNode) => void)): void;
3133
- GetEnumerator(): System.Collections.Generic.List<NUnit.Framework.Interfaces.TNode>;
3188
+ GetEnumerator(): System.Collections.Generic.List_Enumerator<NUnit.Framework.Interfaces.TNode>;
3134
3189
  GetRange(index: number, count: number): NUnit.Framework.Interfaces.TNode[];
3135
3190
  IndexOf(item: NUnit.Framework.Interfaces.TNode): number;
3136
3191
  IndexOf(item: NUnit.Framework.Interfaces.TNode, index: number): number;
@@ -3181,34 +3236,24 @@ export declare namespace NUnit {
3181
3236
  GetType(): System.Type;
3182
3237
  ToString(): string;
3183
3238
  }
3184
- interface IFixtureBuilder {
3185
- BuildFrom(typeInfo: NUnit.Framework.Interfaces.ITypeInfo): System.Collections.Generic.IEnumerable<NUnit.Framework.Internal.TestSuite>;
3186
- }
3187
- interface IImplyFixture {
3188
- }
3189
- interface IApplyToContext {
3190
- ApplyToContext(context: NUnit.Framework.Internal.ITestExecutionContext): void;
3191
- }
3192
- interface IApplyToTest {
3193
- ApplyToTest(test: NUnit.Framework.Internal.Test): void;
3194
- }
3195
- interface ISuiteBuilder {
3196
- CanBuildFrom(typeInfo: NUnit.Framework.Interfaces.ITypeInfo): boolean;
3197
- BuildFrom(typeInfo: NUnit.Framework.Interfaces.ITypeInfo): NUnit.Framework.Internal.TestSuite;
3198
- }
3199
- interface ITestCaseBuilder {
3200
- CanBuildFrom(method: NUnit.Framework.Interfaces.IMethodInfo, suite: NUnit.Framework.Internal.Test): boolean;
3201
- BuildFrom(method: NUnit.Framework.Interfaces.IMethodInfo, suite: NUnit.Framework.Internal.Test): NUnit.Framework.Internal.Test;
3202
- }
3203
- interface ICommandWrapper {
3204
- Wrap(command: NUnit.Framework.Internal.Commands.TestCommand): NUnit.Framework.Internal.Commands.TestCommand;
3205
- }
3206
- interface IWrapTestMethod {
3207
- }
3208
- interface IWrapSetUpTearDown {
3239
+ interface ICombiningStrategy {
3240
+ GetTestCases(sources: System.Collections.IEnumerable[]): System.Collections.Generic.IEnumerable<NUnit.Framework.Interfaces.ITestCaseData>;
3209
3241
  }
3210
3242
  }
3211
3243
  namespace Internal {
3244
+ class ActionsHelper {
3245
+ constructor();
3246
+ static ExecuteBeforeActions(actions: System.Collections.Generic.IEnumerable, test: NUnit.Framework.Interfaces.ITest): void;
3247
+ static ExecuteAfterActions(actions: System.Collections.Generic.IEnumerable, test: NUnit.Framework.Interfaces.ITest): void;
3248
+ static GetActionsFromTestAssembly(testAssembly: NUnit.Framework.Internal.TestAssembly): NUnit.Framework.ITestAction[];
3249
+ static GetActionsFromTestMethodInfo(testAssembly: NUnit.Framework.Interfaces.IMethodInfo): NUnit.Framework.ITestAction[];
3250
+ static GetActionsFromAttributeProvider(attributeProvider: System.Reflection.ICustomAttributeProvider): NUnit.Framework.ITestAction[];
3251
+ static GetActionsFromTypesAttributes(type: System.Type): NUnit.Framework.ITestAction[];
3252
+ Equals(obj: any): boolean;
3253
+ GetHashCode(): number;
3254
+ GetType(): System.Type;
3255
+ ToString(): string;
3256
+ }
3212
3257
  class AssemblyHelper {
3213
3258
  static GetAssemblyPath(assembly: System.Reflection.Assembly): string;
3214
3259
  static GetDirectoryName(assembly: System.Reflection.Assembly): string;
@@ -3220,51 +3265,93 @@ export declare namespace NUnit {
3220
3265
  GetType(): System.Type;
3221
3266
  ToString(): string;
3222
3267
  }
3223
- interface ILogger {
3224
- Error(message: string): void;
3225
- Error(message: string, ...args: any[]): void;
3226
- Warning(message: string): void;
3227
- Warning(message: string, ...args: any[]): void;
3228
- Info(message: string): void;
3229
- Info(message: string, ...args: any[]): void;
3230
- Debug(message: string): void;
3231
- Debug(message: string, ...args: any[]): void;
3268
+ class GenericMethodHelper {
3269
+ constructor(method: System.Reflection.MethodInfo);
3270
+ GetTypeArguments(argList: any[]): System.Type[];
3271
+ Equals(obj: any): boolean;
3272
+ GetHashCode(): number;
3273
+ GetType(): System.Type;
3274
+ ToString(): string;
3232
3275
  }
3233
- class InternalTrace {
3234
- static Initialized: boolean;
3235
- static Initialize(logName: string, level: NUnit.Framework.Internal.InternalTraceLevel): void;
3236
- static Initialize(writer: System.IO.TextWriter, level: NUnit.Framework.Internal.InternalTraceLevel): void;
3237
- static GetLogger(name: string): NUnit.Framework.Internal.Logger;
3238
- static GetLogger(type: System.Type): NUnit.Framework.Internal.Logger;
3276
+ class InvalidDataSourceException {
3277
+ constructor();
3278
+ constructor(message: string);
3279
+ constructor(message: string, inner: System.Exception);
3280
+ Message: string;
3281
+ Data: System.Collections.IDictionary;
3282
+ InnerException: System.Exception;
3283
+ TargetSite: System.Reflection.MethodBase;
3284
+ StackTrace: string;
3285
+ HelpLink: string;
3286
+ Source: string;
3287
+ HResult: number;
3288
+ GetBaseException(): System.Exception;
3289
+ ToString(): string;
3290
+ GetObjectData(info: System.Runtime.Serialization.SerializationInfo, context: System.Runtime.Serialization.StreamingContext): void;
3291
+ GetType(): System.Type;
3292
+ Equals(obj: any): boolean;
3293
+ GetHashCode(): number;
3294
+ GetType(): System.Type;
3295
+ }
3296
+ class CultureDetector {
3297
+ constructor();
3298
+ constructor(culture: string);
3299
+ Reason: string;
3300
+ IsCultureSupported(cultures: string[]): boolean;
3301
+ IsCultureSupported(cultureAttribute: any): boolean;
3302
+ IsCultureSupported(culture: string): boolean;
3239
3303
  Equals(obj: any): boolean;
3240
3304
  GetHashCode(): number;
3241
3305
  GetType(): System.Type;
3242
3306
  ToString(): string;
3243
3307
  }
3244
- enum InternalTraceLevel {
3245
- Default = 0,
3246
- Off = 1,
3247
- Error = 2,
3248
- Warning = 3,
3249
- Info = 4,
3250
- Debug = 5,
3251
- Verbose = 5
3308
+ class ExceptionHelper {
3309
+ constructor();
3310
+ static Rethrow(exception: System.Exception): void;
3311
+ static BuildMessage(exception: System.Exception): string;
3312
+ static BuildStackTrace(exception: System.Exception): string;
3313
+ static GetStackTrace(exception: System.Exception): string;
3314
+ Equals(obj: any): boolean;
3315
+ GetHashCode(): number;
3316
+ GetType(): System.Type;
3317
+ ToString(): string;
3252
3318
  }
3253
- class InternalTraceWriter {
3254
- constructor(logPath: string);
3255
- constructor(writer: System.IO.TextWriter);
3319
+ class TextMessageWriter {
3320
+ constructor();
3321
+ constructor(userMessage: string, ...args: any[]);
3322
+ MaxLineLength: number;
3256
3323
  Encoding: System.Text.Encoding;
3257
3324
  FormatProvider: System.IFormatProvider;
3258
3325
  NewLine: string;
3326
+ static Pfx_Expected: string;
3327
+ static Pfx_Actual: string;
3328
+ static PrefixLength: number;
3329
+ WriteMessageLine(level: number, message: string, ...args: any[]): void;
3330
+ DisplayDifferences(result: NUnit.Framework.Constraints.ConstraintResult): void;
3331
+ DisplayDifferences(expected: any, actual: any): void;
3332
+ DisplayDifferences(expected: any, actual: any, tolerance: NUnit.Framework.Constraints.Tolerance): void;
3333
+ DisplayStringDifferences(expected: string, actual: string, mismatch: number, ignoreCase: boolean, clipping: boolean): void;
3334
+ WriteActualValue(actual: any): void;
3335
+ WriteValue(val: any): void;
3336
+ WriteCollectionElements(collection: System.Collections.IEnumerable, start: number, max: number): void;
3337
+ WriteMessageLine(message: string, ...args: any[]): void;
3338
+ Close(): void;
3339
+ GetStringBuilder(): System.Text.StringBuilder;
3259
3340
  Write(value: System.Char): void;
3341
+ Write(buffer: System.Char[], index: number, count: number): void;
3260
3342
  Write(value: string): void;
3261
- WriteLine(value: string): void;
3262
- Flush(): void;
3263
- Close(): void;
3343
+ WriteAsync(value: System.Char): System.Threading.Tasks.Task;
3344
+ WriteAsync(value: string): System.Threading.Tasks.Task;
3345
+ WriteAsync(buffer: System.Char[], index: number, count: number): System.Threading.Tasks.Task;
3346
+ WriteLineAsync(value: System.Char): System.Threading.Tasks.Task;
3347
+ WriteLineAsync(value: string): System.Threading.Tasks.Task;
3348
+ WriteLineAsync(buffer: System.Char[], index: number, count: number): System.Threading.Tasks.Task;
3349
+ FlushAsync(): System.Threading.Tasks.Task;
3350
+ ToString(): string;
3264
3351
  Dispose(): void;
3265
3352
  DisposeAsync(): System.Threading.Tasks.ValueTask;
3353
+ Flush(): void;
3266
3354
  Write(buffer: System.Char[]): void;
3267
- Write(buffer: System.Char[], index: number, count: number): void;
3268
3355
  Write(buffer: System.ReadOnlySpan<System.Char>): void;
3269
3356
  Write(value: boolean): void;
3270
3357
  Write(value: number): void;
@@ -3292,33 +3379,45 @@ export declare namespace NUnit {
3292
3379
  WriteLine(value: number): void;
3293
3380
  WriteLine(value: number): void;
3294
3381
  WriteLine(value: number): void;
3382
+ WriteLine(value: string): void;
3295
3383
  WriteLine(value: any): void;
3296
3384
  WriteLine(format: string, arg0: any): void;
3297
3385
  WriteLine(format: string, arg0: any, arg1: any): void;
3298
3386
  WriteLine(format: string, arg0: any, arg1: any, arg2: any): void;
3299
3387
  WriteLine(format: string, ...arg: any[]): void;
3300
- WriteAsync(value: System.Char): System.Threading.Tasks.Task;
3301
- WriteAsync(value: string): System.Threading.Tasks.Task;
3302
3388
  WriteAsync(buffer: System.Char[]): System.Threading.Tasks.Task;
3303
- WriteAsync(buffer: System.Char[], index: number, count: number): System.Threading.Tasks.Task;
3304
3389
  WriteAsync(buffer: System.ReadOnlyMemory<System.Char>, cancellationToken?: System.Threading.CancellationToken): System.Threading.Tasks.Task;
3305
- WriteLineAsync(value: System.Char): System.Threading.Tasks.Task;
3306
- WriteLineAsync(value: string): System.Threading.Tasks.Task;
3307
3390
  WriteLineAsync(buffer: System.Char[]): System.Threading.Tasks.Task;
3308
- WriteLineAsync(buffer: System.Char[], index: number, count: number): System.Threading.Tasks.Task;
3309
3391
  WriteLineAsync(buffer: System.ReadOnlyMemory<System.Char>, cancellationToken?: System.Threading.CancellationToken): System.Threading.Tasks.Task;
3310
3392
  WriteLineAsync(): System.Threading.Tasks.Task;
3311
- FlushAsync(): System.Threading.Tasks.Task;
3312
3393
  CreateObjRef(requestedType: System.Type): System.Runtime.Remoting.ObjRef;
3313
3394
  GetLifetimeService(): any;
3314
3395
  InitializeLifetimeService(): any;
3315
3396
  Equals(obj: any): boolean;
3316
3397
  GetHashCode(): number;
3317
3398
  GetType(): System.Type;
3399
+ }
3400
+ class InvalidTestFixtureException {
3401
+ constructor();
3402
+ constructor(message: string);
3403
+ constructor(message: string, inner: System.Exception);
3404
+ Message: string;
3405
+ Data: System.Collections.IDictionary;
3406
+ InnerException: System.Exception;
3407
+ TargetSite: System.Reflection.MethodBase;
3408
+ StackTrace: string;
3409
+ HelpLink: string;
3410
+ Source: string;
3411
+ HResult: number;
3412
+ GetBaseException(): System.Exception;
3318
3413
  ToString(): string;
3414
+ GetObjectData(info: System.Runtime.Serialization.SerializationInfo, context: System.Runtime.Serialization.StreamingContext): void;
3415
+ GetType(): System.Type;
3416
+ Equals(obj: any): boolean;
3417
+ GetHashCode(): number;
3418
+ GetType(): System.Type;
3319
3419
  }
3320
- class Logger {
3321
- constructor(name: string, level: NUnit.Framework.Internal.InternalTraceLevel, writer: System.IO.TextWriter);
3420
+ interface ILogger {
3322
3421
  Error(message: string): void;
3323
3422
  Error(message: string, ...args: any[]): void;
3324
3423
  Warning(message: string): void;
@@ -3327,132 +3426,42 @@ export declare namespace NUnit {
3327
3426
  Info(message: string, ...args: any[]): void;
3328
3427
  Debug(message: string): void;
3329
3428
  Debug(message: string, ...args: any[]): void;
3330
- Equals(obj: any): boolean;
3331
- GetHashCode(): number;
3332
- GetType(): System.Type;
3333
- ToString(): string;
3334
- }
3335
- class MethodWrapper {
3336
- constructor(type: System.Type, method: System.Reflection.MethodInfo);
3337
- constructor(type: System.Type, methodName: string);
3338
- TypeInfo: NUnit.Framework.Interfaces.ITypeInfo;
3339
- MethodInfo: System.Reflection.MethodInfo;
3340
- Name: string;
3341
- IsAbstract: boolean;
3342
- IsPublic: boolean;
3343
- ContainsGenericParameters: boolean;
3344
- IsGenericMethod: boolean;
3345
- IsGenericMethodDefinition: boolean;
3346
- ReturnType: NUnit.Framework.Interfaces.ITypeInfo;
3347
- GetParameters(): NUnit.Framework.Interfaces.IParameterInfo[];
3348
- GetGenericArguments(): System.Type[];
3349
- MakeGenericMethod(...typeArguments: System.Type[]): NUnit.Framework.Interfaces.IMethodInfo;
3350
- Invoke(fixture: any, ...args: any[]): any;
3351
- ToString(): string;
3352
- Equals(obj: any): boolean;
3353
- GetHashCode(): number;
3354
- GetType(): System.Type;
3355
- }
3356
- class ParameterWrapper {
3357
- constructor(method: NUnit.Framework.Interfaces.IMethodInfo, parameterInfo: System.Reflection.ParameterInfo);
3358
- IsOptional: boolean;
3359
- Method: NUnit.Framework.Interfaces.IMethodInfo;
3360
- ParameterInfo: System.Reflection.ParameterInfo;
3361
- ParameterType: System.Type;
3362
- Equals(obj: any): boolean;
3363
- GetHashCode(): number;
3364
- GetType(): System.Type;
3365
- ToString(): string;
3366
3429
  }
3367
- class TestNameGenerator {
3368
- constructor();
3369
- constructor(pattern: string);
3370
- static DefaultTestNamePattern: string;
3371
- GetDisplayName(testMethod: NUnit.Framework.Internal.TestMethod): string;
3372
- GetDisplayName(testMethod: NUnit.Framework.Internal.TestMethod, args: any[]): string;
3430
+ class InternalTrace {
3431
+ static Initialized: boolean;
3432
+ static Initialize(logName: string, level: NUnit.Framework.Internal.InternalTraceLevel): void;
3433
+ static Initialize(writer: System.IO.TextWriter, level: NUnit.Framework.Internal.InternalTraceLevel): void;
3434
+ static GetLogger(name: string): NUnit.Framework.Internal.Logger;
3435
+ static GetLogger(type: System.Type): NUnit.Framework.Internal.Logger;
3373
3436
  Equals(obj: any): boolean;
3374
3437
  GetHashCode(): number;
3375
3438
  GetType(): System.Type;
3376
3439
  ToString(): string;
3377
3440
  }
3378
- class TypeWrapper {
3379
- constructor(type: System.Type);
3380
- Type: System.Type;
3381
- BaseType: NUnit.Framework.Interfaces.ITypeInfo;
3382
- Name: string;
3383
- FullName: string;
3384
- Assembly: System.Reflection.Assembly;
3385
- Namespace: string;
3386
- IsAbstract: boolean;
3387
- IsGenericType: boolean;
3388
- ContainsGenericParameters: boolean;
3389
- IsGenericTypeDefinition: boolean;
3390
- IsSealed: boolean;
3391
- IsStaticClass: boolean;
3392
- IsType(type: System.Type): boolean;
3393
- GetDisplayName(): string;
3394
- GetDisplayName(args: any[]): string;
3395
- MakeGenericType(typeArgs: System.Type[]): NUnit.Framework.Interfaces.ITypeInfo;
3396
- GetGenericTypeDefinition(): System.Type;
3397
- HasMethodWithAttribute(attributeType: System.Type): boolean;
3398
- GetMethods(flags: System.Reflection.BindingFlags): NUnit.Framework.Interfaces.IMethodInfo[];
3399
- GetConstructor(argTypes: System.Type[]): System.Reflection.ConstructorInfo;
3400
- HasConstructor(argTypes: System.Type[]): boolean;
3401
- Construct(args: any[]): any;
3402
- ToString(): string;
3403
- Equals(obj: any): boolean;
3404
- GetHashCode(): number;
3405
- GetType(): System.Type;
3406
- }
3407
- class ActionsHelper {
3408
- constructor();
3409
- static ExecuteBeforeActions(actions: any, test: NUnit.Framework.Interfaces.ITest): void;
3410
- static ExecuteAfterActions(actions: any, test: NUnit.Framework.Interfaces.ITest): void;
3411
- static GetActionsFromTestAssembly(testAssembly: NUnit.Framework.Internal.TestAssembly): NUnit.Framework.ITestAction[];
3412
- static GetActionsFromTestMethodInfo(testAssembly: NUnit.Framework.Interfaces.IMethodInfo): NUnit.Framework.ITestAction[];
3413
- static GetActionsFromAttributeProvider(attributeProvider: System.Reflection.ICustomAttributeProvider): NUnit.Framework.ITestAction[];
3414
- static GetActionsFromTypesAttributes(type: System.Type): NUnit.Framework.ITestAction[];
3415
- Equals(obj: any): boolean;
3416
- GetHashCode(): number;
3417
- GetType(): System.Type;
3418
- ToString(): string;
3441
+ enum InternalTraceLevel {
3442
+ Default = 0,
3443
+ Off = 1,
3444
+ Error = 2,
3445
+ Warning = 3,
3446
+ Info = 4,
3447
+ Debug = 5,
3448
+ Verbose = 5
3419
3449
  }
3420
- class TextMessageWriter {
3421
- constructor();
3422
- constructor(userMessage: string, ...args: any[]);
3423
- MaxLineLength: number;
3450
+ class InternalTraceWriter {
3451
+ constructor(logPath: string);
3452
+ constructor(writer: System.IO.TextWriter);
3424
3453
  Encoding: System.Text.Encoding;
3425
3454
  FormatProvider: System.IFormatProvider;
3426
3455
  NewLine: string;
3427
- static Pfx_Expected: string;
3428
- static Pfx_Actual: string;
3429
- static PrefixLength: number;
3430
- WriteMessageLine(level: number, message: string, ...args: any[]): void;
3431
- DisplayDifferences(result: NUnit.Framework.Constraints.ConstraintResult): void;
3432
- DisplayDifferences(expected: any, actual: any): void;
3433
- DisplayDifferences(expected: any, actual: any, tolerance: NUnit.Framework.Constraints.Tolerance): void;
3434
- DisplayStringDifferences(expected: string, actual: string, mismatch: number, ignoreCase: boolean, clipping: boolean): void;
3435
- WriteActualValue(actual: any): void;
3436
- WriteValue(val: any): void;
3437
- WriteCollectionElements(collection: System.Collections.IEnumerable, start: number, max: number): void;
3438
- WriteMessageLine(message: string, ...args: any[]): void;
3439
- Close(): void;
3440
- GetStringBuilder(): System.Text.StringBuilder;
3441
3456
  Write(value: System.Char): void;
3442
- Write(buffer: System.Char[], index: number, count: number): void;
3443
3457
  Write(value: string): void;
3444
- WriteAsync(value: System.Char): System.Threading.Tasks.Task;
3445
- WriteAsync(value: string): System.Threading.Tasks.Task;
3446
- WriteAsync(buffer: System.Char[], index: number, count: number): System.Threading.Tasks.Task;
3447
- WriteLineAsync(value: System.Char): System.Threading.Tasks.Task;
3448
- WriteLineAsync(value: string): System.Threading.Tasks.Task;
3449
- WriteLineAsync(buffer: System.Char[], index: number, count: number): System.Threading.Tasks.Task;
3450
- FlushAsync(): System.Threading.Tasks.Task;
3451
- ToString(): string;
3458
+ WriteLine(value: string): void;
3459
+ Flush(): void;
3460
+ Close(): void;
3452
3461
  Dispose(): void;
3453
3462
  DisposeAsync(): System.Threading.Tasks.ValueTask;
3454
- Flush(): void;
3455
3463
  Write(buffer: System.Char[]): void;
3464
+ Write(buffer: System.Char[], index: number, count: number): void;
3456
3465
  Write(buffer: System.ReadOnlySpan<System.Char>): void;
3457
3466
  Write(value: boolean): void;
3458
3467
  Write(value: number): void;
@@ -3480,226 +3489,63 @@ export declare namespace NUnit {
3480
3489
  WriteLine(value: number): void;
3481
3490
  WriteLine(value: number): void;
3482
3491
  WriteLine(value: number): void;
3483
- WriteLine(value: string): void;
3484
3492
  WriteLine(value: any): void;
3485
3493
  WriteLine(format: string, arg0: any): void;
3486
3494
  WriteLine(format: string, arg0: any, arg1: any): void;
3487
3495
  WriteLine(format: string, arg0: any, arg1: any, arg2: any): void;
3488
3496
  WriteLine(format: string, ...arg: any[]): void;
3497
+ WriteAsync(value: System.Char): System.Threading.Tasks.Task;
3498
+ WriteAsync(value: string): System.Threading.Tasks.Task;
3489
3499
  WriteAsync(buffer: System.Char[]): System.Threading.Tasks.Task;
3500
+ WriteAsync(buffer: System.Char[], index: number, count: number): System.Threading.Tasks.Task;
3490
3501
  WriteAsync(buffer: System.ReadOnlyMemory<System.Char>, cancellationToken?: System.Threading.CancellationToken): System.Threading.Tasks.Task;
3502
+ WriteLineAsync(value: System.Char): System.Threading.Tasks.Task;
3503
+ WriteLineAsync(value: string): System.Threading.Tasks.Task;
3491
3504
  WriteLineAsync(buffer: System.Char[]): System.Threading.Tasks.Task;
3505
+ WriteLineAsync(buffer: System.Char[], index: number, count: number): System.Threading.Tasks.Task;
3492
3506
  WriteLineAsync(buffer: System.ReadOnlyMemory<System.Char>, cancellationToken?: System.Threading.CancellationToken): System.Threading.Tasks.Task;
3493
3507
  WriteLineAsync(): System.Threading.Tasks.Task;
3508
+ FlushAsync(): System.Threading.Tasks.Task;
3494
3509
  CreateObjRef(requestedType: System.Type): System.Runtime.Remoting.ObjRef;
3495
3510
  GetLifetimeService(): any;
3496
3511
  InitializeLifetimeService(): any;
3497
3512
  Equals(obj: any): boolean;
3498
- GetHashCode(): number;
3499
- GetType(): System.Type;
3500
- }
3501
- class GenericMethodHelper {
3502
- constructor(method: System.Reflection.MethodInfo);
3503
- GetTypeArguments(argList: any[]): System.Type[];
3504
- Equals(obj: any): boolean;
3505
- GetHashCode(): number;
3506
- GetType(): System.Type;
3507
- ToString(): string;
3508
- }
3509
- class InvalidDataSourceException {
3510
- constructor();
3511
- constructor(message: string);
3512
- constructor(message: string, inner: System.Exception);
3513
- Message: string;
3514
- Data: System.Collections.IDictionary;
3515
- InnerException: System.Exception;
3516
- TargetSite: System.Reflection.MethodBase;
3517
- StackTrace: string;
3518
- HelpLink: string;
3519
- Source: string;
3520
- HResult: number;
3521
- GetBaseException(): System.Exception;
3522
- ToString(): string;
3523
- GetObjectData(info: System.Runtime.Serialization.SerializationInfo, context: System.Runtime.Serialization.StreamingContext): void;
3524
- GetType(): System.Type;
3525
- Equals(obj: any): boolean;
3526
- GetHashCode(): number;
3527
- GetType(): System.Type;
3528
- }
3529
- class Randomizer {
3530
- constructor();
3531
- constructor(seed: number);
3532
- static InitialSeed: number;
3533
- static DefaultStringChars: string;
3534
- static GetRandomizer(member: System.Reflection.MemberInfo): NUnit.Framework.Internal.Randomizer;
3535
- static GetRandomizer(parameter: System.Reflection.ParameterInfo): NUnit.Framework.Internal.Randomizer;
3536
- static CreateRandomizer(): NUnit.Framework.Internal.Randomizer;
3537
- NextUInt(): number;
3538
- NextUInt(max: number): number;
3539
- NextUInt(min: number, max: number): number;
3540
- NextShort(): number;
3541
- NextShort(max: number): number;
3542
- NextShort(min: number, max: number): number;
3543
- NextUShort(): number;
3544
- NextUShort(max: number): number;
3545
- NextUShort(min: number, max: number): number;
3546
- NextLong(): number;
3547
- NextLong(max: number): number;
3548
- NextLong(min: number, max: number): number;
3549
- NextULong(): number;
3550
- NextULong(max: number): number;
3551
- NextULong(min: number, max: number): number;
3552
- NextByte(): Byte;
3553
- NextByte(max: Byte): Byte;
3554
- NextByte(min: Byte, max: Byte): Byte;
3555
- NextSByte(): System.SByte;
3556
- NextSByte(max: System.SByte): System.SByte;
3557
- NextSByte(min: System.SByte, max: System.SByte): System.SByte;
3558
- NextBool(): boolean;
3559
- NextBool(probability: number): boolean;
3560
- NextDouble(max: number): number;
3561
- NextDouble(min: number, max: number): number;
3562
- NextFloat(): number;
3563
- NextFloat(max: number): number;
3564
- NextFloat(min: number, max: number): number;
3565
- NextEnum(type: System.Type): any;
3566
- GetString(outputLength: number, allowedChars: string): string;
3567
- GetString(outputLength: number): string;
3568
- GetString(): string;
3569
- NextDecimal(): number;
3570
- NextDecimal(max: number): number;
3571
- NextDecimal(min: number, max: number): number;
3572
- Next(): number;
3573
- Next(minValue: number, maxValue: number): number;
3574
- Next(maxValue: number): number;
3575
- NextDouble(): number;
3576
- NextBytes(buffer: Byte[]): void;
3577
- NextBytes(buffer: System.Span<Byte>): void;
3578
- Equals(obj: any): boolean;
3579
- GetHashCode(): number;
3580
- GetType(): System.Type;
3581
- ToString(): string;
3582
- }
3583
- class StackFilter {
3584
- static Filter(rawTrace: string): string;
3585
- Equals(obj: any): boolean;
3586
- GetHashCode(): number;
3587
- GetType(): System.Type;
3588
- ToString(): string;
3589
- }
3590
- class StringUtil {
3591
- constructor();
3592
- static Compare(strA: string, strB: string, ignoreCase: boolean): number;
3593
- static StringsEqual(strA: string, strB: string, ignoreCase: boolean): boolean;
3594
- Equals(obj: any): boolean;
3595
- GetHashCode(): number;
3596
- GetType(): System.Type;
3597
- ToString(): string;
3598
- }
3599
- class TestFixtureParameters {
3600
- constructor();
3601
- constructor(exception: System.Exception);
3602
- constructor(...args: any[]);
3603
- constructor(data: NUnit.Framework.Interfaces.ITestFixtureData);
3604
- TypeArgs: System.Type[];
3605
- RunState: NUnit.Framework.Interfaces.RunState;
3606
- Arguments: any[];
3607
- TestName: string;
3608
- Properties: NUnit.Framework.Interfaces.IPropertyBag;
3609
- OriginalArguments: any[];
3610
- ApplyToTest(test: NUnit.Framework.Internal.Test): void;
3611
- Equals(obj: any): boolean;
3612
- GetHashCode(): number;
3613
- GetType(): System.Type;
3614
- ToString(): string;
3615
- }
3616
- class TestParameters {
3617
- constructor();
3618
- constructor(args: any[]);
3619
- constructor(exception: System.Exception);
3620
- constructor(data: NUnit.Framework.Interfaces.ITestData);
3621
- RunState: NUnit.Framework.Interfaces.RunState;
3622
- Arguments: any[];
3623
- TestName: string;
3624
- Properties: NUnit.Framework.Interfaces.IPropertyBag;
3625
- OriginalArguments: any[];
3626
- ApplyToTest(test: NUnit.Framework.Internal.Test): void;
3627
- Equals(obj: any): boolean;
3628
- GetHashCode(): number;
3629
- GetType(): System.Type;
3630
- ToString(): string;
3631
- }
3632
- enum TestExecutionStatus {
3633
- Running = 0,
3634
- StopRequested = 1,
3635
- AbortRequested = 2
3636
- }
3637
- class PropertyNames {
3638
- constructor();
3639
- static AppDomain: string;
3640
- static JoinType: string;
3641
- static ProcessID: string;
3642
- static ProviderStackTrace: string;
3643
- static SkipReason: string;
3644
- static Author: string;
3645
- static ApartmentState: string;
3646
- static Category: string;
3647
- static Description: string;
3648
- static LevelOfParallelism: string;
3649
- static MaxTime: string;
3650
- static ParallelScope: string;
3651
- static RepeatCount: string;
3652
- static RequiresThread: string;
3653
- static SetCulture: string;
3654
- static SetUICulture: string;
3655
- static TestOf: string;
3656
- static Timeout: string;
3657
- static IgnoreUntilDate: string;
3658
- static Order: string;
3659
- Equals(obj: any): boolean;
3660
- GetHashCode(): number;
3661
- GetType(): System.Type;
3662
- ToString(): string;
3663
- }
3664
- class CultureDetector {
3665
- constructor();
3666
- constructor(culture: string);
3667
- Reason: string;
3668
- IsCultureSupported(cultures: string[]): boolean;
3669
- IsCultureSupported(cultureAttribute: any): boolean;
3670
- IsCultureSupported(culture: string): boolean;
3671
- Equals(obj: any): boolean;
3672
- GetHashCode(): number;
3673
- GetType(): System.Type;
3674
- ToString(): string;
3675
- }
3676
- class ExceptionHelper {
3677
- constructor();
3678
- static Rethrow(exception: System.Exception): void;
3679
- static BuildMessage(exception: System.Exception): string;
3680
- static BuildStackTrace(exception: System.Exception): string;
3681
- static GetStackTrace(exception: System.Exception): string;
3513
+ GetHashCode(): number;
3514
+ GetType(): System.Type;
3515
+ ToString(): string;
3516
+ }
3517
+ class Logger {
3518
+ constructor(name: string, level: NUnit.Framework.Internal.InternalTraceLevel, writer: System.IO.TextWriter);
3519
+ Error(message: string): void;
3520
+ Error(message: string, ...args: any[]): void;
3521
+ Warning(message: string): void;
3522
+ Warning(message: string, ...args: any[]): void;
3523
+ Info(message: string): void;
3524
+ Info(message: string, ...args: any[]): void;
3525
+ Debug(message: string): void;
3526
+ Debug(message: string, ...args: any[]): void;
3682
3527
  Equals(obj: any): boolean;
3683
3528
  GetHashCode(): number;
3684
3529
  GetType(): System.Type;
3685
3530
  ToString(): string;
3686
3531
  }
3687
- class InvalidTestFixtureException {
3688
- constructor();
3689
- constructor(message: string);
3690
- constructor(message: string, inner: System.Exception);
3691
- Message: string;
3692
- Data: System.Collections.IDictionary;
3693
- InnerException: System.Exception;
3694
- TargetSite: System.Reflection.MethodBase;
3695
- StackTrace: string;
3696
- HelpLink: string;
3697
- Source: string;
3698
- HResult: number;
3699
- GetBaseException(): System.Exception;
3532
+ class MethodWrapper {
3533
+ constructor(type: System.Type, method: System.Reflection.MethodInfo);
3534
+ constructor(type: System.Type, methodName: string);
3535
+ TypeInfo: NUnit.Framework.Interfaces.ITypeInfo;
3536
+ MethodInfo: System.Reflection.MethodInfo;
3537
+ Name: string;
3538
+ IsAbstract: boolean;
3539
+ IsPublic: boolean;
3540
+ ContainsGenericParameters: boolean;
3541
+ IsGenericMethod: boolean;
3542
+ IsGenericMethodDefinition: boolean;
3543
+ ReturnType: NUnit.Framework.Interfaces.ITypeInfo;
3544
+ GetParameters(): NUnit.Framework.Interfaces.IParameterInfo[];
3545
+ GetGenericArguments(): System.Type[];
3546
+ MakeGenericMethod(...typeArguments: System.Type[]): NUnit.Framework.Interfaces.IMethodInfo;
3547
+ Invoke(fixture: any, ...args: any[]): any;
3700
3548
  ToString(): string;
3701
- GetObjectData(info: System.Runtime.Serialization.SerializationInfo, context: System.Runtime.Serialization.StreamingContext): void;
3702
- GetType(): System.Type;
3703
3549
  Equals(obj: any): boolean;
3704
3550
  GetHashCode(): number;
3705
3551
  GetType(): System.Type;
@@ -3774,19 +3620,12 @@ export declare namespace NUnit {
3774
3620
  GetType(): System.Type;
3775
3621
  ToString(): string;
3776
3622
  }
3777
- class TestCaseParameters {
3778
- constructor();
3779
- constructor(exception: System.Exception);
3780
- constructor(args: any[]);
3781
- constructor(data: NUnit.Framework.Interfaces.ITestCaseData);
3782
- ExpectedResult: any;
3783
- HasExpectedResult: boolean;
3784
- RunState: NUnit.Framework.Interfaces.RunState;
3785
- Arguments: any[];
3786
- TestName: string;
3787
- Properties: NUnit.Framework.Interfaces.IPropertyBag;
3788
- OriginalArguments: any[];
3789
- ApplyToTest(test: NUnit.Framework.Internal.Test): void;
3623
+ class ParameterWrapper {
3624
+ constructor(method: NUnit.Framework.Interfaces.IMethodInfo, parameterInfo: System.Reflection.ParameterInfo);
3625
+ IsOptional: boolean;
3626
+ Method: NUnit.Framework.Interfaces.IMethodInfo;
3627
+ ParameterInfo: System.Reflection.ParameterInfo;
3628
+ ParameterType: System.Type;
3790
3629
  Equals(obj: any): boolean;
3791
3630
  GetHashCode(): number;
3792
3631
  GetType(): System.Type;
@@ -3821,6 +3660,87 @@ export declare namespace NUnit {
3821
3660
  GetType(): System.Type;
3822
3661
  ToString(): string;
3823
3662
  }
3663
+ class PropertyNames {
3664
+ constructor();
3665
+ static AppDomain: string;
3666
+ static JoinType: string;
3667
+ static ProcessID: string;
3668
+ static ProviderStackTrace: string;
3669
+ static SkipReason: string;
3670
+ static Author: string;
3671
+ static ApartmentState: string;
3672
+ static Category: string;
3673
+ static Description: string;
3674
+ static LevelOfParallelism: string;
3675
+ static MaxTime: string;
3676
+ static ParallelScope: string;
3677
+ static RepeatCount: string;
3678
+ static RequiresThread: string;
3679
+ static SetCulture: string;
3680
+ static SetUICulture: string;
3681
+ static TestOf: string;
3682
+ static Timeout: string;
3683
+ static IgnoreUntilDate: string;
3684
+ static Order: string;
3685
+ Equals(obj: any): boolean;
3686
+ GetHashCode(): number;
3687
+ GetType(): System.Type;
3688
+ ToString(): string;
3689
+ }
3690
+ class Randomizer {
3691
+ constructor();
3692
+ constructor(seed: number);
3693
+ static InitialSeed: number;
3694
+ static DefaultStringChars: string;
3695
+ static GetRandomizer(member: System.Reflection.MemberInfo): NUnit.Framework.Internal.Randomizer;
3696
+ static GetRandomizer(parameter: System.Reflection.ParameterInfo): NUnit.Framework.Internal.Randomizer;
3697
+ static CreateRandomizer(): NUnit.Framework.Internal.Randomizer;
3698
+ NextUInt(): number;
3699
+ NextUInt(max: number): number;
3700
+ NextUInt(min: number, max: number): number;
3701
+ NextShort(): number;
3702
+ NextShort(max: number): number;
3703
+ NextShort(min: number, max: number): number;
3704
+ NextUShort(): number;
3705
+ NextUShort(max: number): number;
3706
+ NextUShort(min: number, max: number): number;
3707
+ NextLong(): number;
3708
+ NextLong(max: number): number;
3709
+ NextLong(min: number, max: number): number;
3710
+ NextULong(): number;
3711
+ NextULong(max: number): number;
3712
+ NextULong(min: number, max: number): number;
3713
+ NextByte(): Byte;
3714
+ NextByte(max: Byte): Byte;
3715
+ NextByte(min: Byte, max: Byte): Byte;
3716
+ NextSByte(): System.SByte;
3717
+ NextSByte(max: System.SByte): System.SByte;
3718
+ NextSByte(min: System.SByte, max: System.SByte): System.SByte;
3719
+ NextBool(): boolean;
3720
+ NextBool(probability: number): boolean;
3721
+ NextDouble(max: number): number;
3722
+ NextDouble(min: number, max: number): number;
3723
+ NextFloat(): number;
3724
+ NextFloat(max: number): number;
3725
+ NextFloat(min: number, max: number): number;
3726
+ NextEnum(type: System.Type): any;
3727
+ GetString(outputLength: number, allowedChars: string): string;
3728
+ GetString(outputLength: number): string;
3729
+ GetString(): string;
3730
+ NextDecimal(): number;
3731
+ NextDecimal(max: number): number;
3732
+ NextDecimal(min: number, max: number): number;
3733
+ Next(): number;
3734
+ Next(minValue: number, maxValue: number): number;
3735
+ Next(maxValue: number): number;
3736
+ NextDouble(): number;
3737
+ NextBytes(buffer: Byte[]): void;
3738
+ NextBytes(buffer: System.Span<Byte>): void;
3739
+ Equals(obj: any): boolean;
3740
+ GetHashCode(): number;
3741
+ GetType(): System.Type;
3742
+ ToString(): string;
3743
+ }
3824
3744
  class Reflect {
3825
3745
  static MethodCallWrapper: ((arg: (() => any)) => any);
3826
3746
  static ConstructorCallWrapper: ((arg1: System.Type, arg2: any[]) => any);
@@ -3875,7 +3795,8 @@ export declare namespace NUnit {
3875
3795
  SSCLI = 3,
3876
3796
  Mono = 4,
3877
3797
  Silverlight = 5,
3878
- MonoTouch = 6
3798
+ MonoTouch = 6,
3799
+ NetCore = 7
3879
3800
  }
3880
3801
  class RuntimeFramework {
3881
3802
  constructor(runtime: NUnit.Framework.Internal.RuntimeType, version: System.Version);
@@ -3893,6 +3814,40 @@ export declare namespace NUnit {
3893
3814
  GetHashCode(): number;
3894
3815
  GetType(): System.Type;
3895
3816
  }
3817
+ class StackFilter {
3818
+ static Filter(rawTrace: string): string;
3819
+ Equals(obj: any): boolean;
3820
+ GetHashCode(): number;
3821
+ GetType(): System.Type;
3822
+ ToString(): string;
3823
+ }
3824
+ class StringUtil {
3825
+ constructor();
3826
+ static Compare(strA: string, strB: string, ignoreCase: boolean): number;
3827
+ static StringsEqual(strA: string, strB: string, ignoreCase: boolean): boolean;
3828
+ Equals(obj: any): boolean;
3829
+ GetHashCode(): number;
3830
+ GetType(): System.Type;
3831
+ ToString(): string;
3832
+ }
3833
+ class TestCaseParameters {
3834
+ constructor();
3835
+ constructor(exception: System.Exception);
3836
+ constructor(args: any[]);
3837
+ constructor(data: NUnit.Framework.Interfaces.ITestCaseData);
3838
+ ExpectedResult: any;
3839
+ HasExpectedResult: boolean;
3840
+ RunState: NUnit.Framework.Interfaces.RunState;
3841
+ Arguments: any[];
3842
+ TestName: string;
3843
+ Properties: NUnit.Framework.Interfaces.IPropertyBag;
3844
+ OriginalArguments: any[];
3845
+ ApplyToTest(test: NUnit.Framework.Internal.Test): void;
3846
+ Equals(obj: any): boolean;
3847
+ GetHashCode(): number;
3848
+ GetType(): System.Type;
3849
+ ToString(): string;
3850
+ }
3896
3851
  interface ITestExecutionContext {
3897
3852
  CurrentTest: NUnit.Framework.Internal.Test;
3898
3853
  StartTime: System.DateTime;
@@ -3919,7 +3874,7 @@ export declare namespace NUnit {
3919
3874
  class TestExecutionContext {
3920
3875
  constructor();
3921
3876
  constructor(other: NUnit.Framework.Internal.TestExecutionContext);
3922
- static CurrentContext: NUnit.Framework.Internal.ITestExecutionContext;
3877
+ static CurrentContext: NUnit.Framework.Internal.TestExecutionContext;
3923
3878
  CurrentTest: NUnit.Framework.Internal.Test;
3924
3879
  StartTime: System.DateTime;
3925
3880
  StartTicks: number;
@@ -3955,6 +3910,11 @@ export declare namespace NUnit {
3955
3910
  GetType(): System.Type;
3956
3911
  ToString(): string;
3957
3912
  }
3913
+ enum TestExecutionStatus {
3914
+ Running = 0,
3915
+ StopRequested = 1,
3916
+ AbortRequested = 2
3917
+ }
3958
3918
  class TestFilter {
3959
3919
  IsEmpty: boolean;
3960
3920
  TopLevel: boolean;
@@ -3972,6 +3932,23 @@ export declare namespace NUnit {
3972
3932
  GetType(): System.Type;
3973
3933
  ToString(): string;
3974
3934
  }
3935
+ class TestFixtureParameters {
3936
+ constructor();
3937
+ constructor(exception: System.Exception);
3938
+ constructor(...args: any[]);
3939
+ constructor(data: NUnit.Framework.Interfaces.ITestFixtureData);
3940
+ TypeArgs: System.Type[];
3941
+ RunState: NUnit.Framework.Interfaces.RunState;
3942
+ Arguments: any[];
3943
+ TestName: string;
3944
+ Properties: NUnit.Framework.Interfaces.IPropertyBag;
3945
+ OriginalArguments: any[];
3946
+ ApplyToTest(test: NUnit.Framework.Internal.Test): void;
3947
+ Equals(obj: any): boolean;
3948
+ GetHashCode(): number;
3949
+ GetType(): System.Type;
3950
+ ToString(): string;
3951
+ }
3975
3952
  class TestListener {
3976
3953
  static NULL: NUnit.Framework.Interfaces.ITestListener;
3977
3954
  TestStarted(test: NUnit.Framework.Interfaces.ITest): void;
@@ -3982,6 +3959,33 @@ export declare namespace NUnit {
3982
3959
  GetType(): System.Type;
3983
3960
  ToString(): string;
3984
3961
  }
3962
+ class TestNameGenerator {
3963
+ constructor();
3964
+ constructor(pattern: string);
3965
+ static DefaultTestNamePattern: string;
3966
+ GetDisplayName(testMethod: NUnit.Framework.Internal.TestMethod): string;
3967
+ GetDisplayName(testMethod: NUnit.Framework.Internal.TestMethod, args: any[]): string;
3968
+ Equals(obj: any): boolean;
3969
+ GetHashCode(): number;
3970
+ GetType(): System.Type;
3971
+ ToString(): string;
3972
+ }
3973
+ class TestParameters {
3974
+ constructor();
3975
+ constructor(args: any[]);
3976
+ constructor(exception: System.Exception);
3977
+ constructor(data: NUnit.Framework.Interfaces.ITestData);
3978
+ RunState: NUnit.Framework.Interfaces.RunState;
3979
+ Arguments: any[];
3980
+ TestName: string;
3981
+ Properties: NUnit.Framework.Interfaces.IPropertyBag;
3982
+ OriginalArguments: any[];
3983
+ ApplyToTest(test: NUnit.Framework.Internal.Test): void;
3984
+ Equals(obj: any): boolean;
3985
+ GetHashCode(): number;
3986
+ GetType(): System.Type;
3987
+ ToString(): string;
3988
+ }
3985
3989
  class TestProgressReporter {
3986
3990
  constructor(handler: any);
3987
3991
  TestStarted(test: NUnit.Framework.Interfaces.ITest): void;
@@ -4278,7 +4282,36 @@ export declare namespace NUnit {
4278
4282
  Equals(obj: any): boolean;
4279
4283
  GetHashCode(): number;
4280
4284
  GetType(): System.Type;
4281
- ToString(): string;
4285
+ ToString(): string;
4286
+ }
4287
+ class TypeWrapper {
4288
+ constructor(type: System.Type);
4289
+ Type: System.Type;
4290
+ BaseType: NUnit.Framework.Interfaces.ITypeInfo;
4291
+ Name: string;
4292
+ FullName: string;
4293
+ Assembly: System.Reflection.Assembly;
4294
+ Namespace: string;
4295
+ IsAbstract: boolean;
4296
+ IsGenericType: boolean;
4297
+ ContainsGenericParameters: boolean;
4298
+ IsGenericTypeDefinition: boolean;
4299
+ IsSealed: boolean;
4300
+ IsStaticClass: boolean;
4301
+ IsType(type: System.Type): boolean;
4302
+ GetDisplayName(): string;
4303
+ GetDisplayName(args: any[]): string;
4304
+ MakeGenericType(typeArgs: System.Type[]): NUnit.Framework.Interfaces.ITypeInfo;
4305
+ GetGenericTypeDefinition(): System.Type;
4306
+ HasMethodWithAttribute(attributeType: System.Type): boolean;
4307
+ GetMethods(flags: System.Reflection.BindingFlags): NUnit.Framework.Interfaces.IMethodInfo[];
4308
+ GetConstructor(argTypes: System.Type[]): System.Reflection.ConstructorInfo;
4309
+ HasConstructor(argTypes: System.Type[]): boolean;
4310
+ Construct(args: any[]): any;
4311
+ ToString(): string;
4312
+ Equals(obj: any): boolean;
4313
+ GetHashCode(): number;
4314
+ GetType(): System.Type;
4282
4315
  }
4283
4316
  class TestCaseResult {
4284
4317
  constructor(test: NUnit.Framework.Internal.TestMethod);
@@ -4354,8 +4387,16 @@ export declare namespace NUnit {
4354
4387
  Server = 3
4355
4388
  }
4356
4389
  namespace Builders {
4357
- class ParameterDataProvider {
4358
- constructor(...providers: NUnit.Framework.Interfaces.IParameterDataProvider[]);
4390
+ class CombinatorialStrategy {
4391
+ constructor();
4392
+ GetTestCases(sources: System.Collections.IEnumerable[]): System.Collections.Generic.IEnumerable<NUnit.Framework.Interfaces.ITestCaseData>;
4393
+ Equals(obj: any): boolean;
4394
+ GetHashCode(): number;
4395
+ GetType(): System.Type;
4396
+ ToString(): string;
4397
+ }
4398
+ class DatapointProvider {
4399
+ constructor();
4359
4400
  HasDataFor(parameter: NUnit.Framework.Interfaces.IParameterInfo): boolean;
4360
4401
  GetDataFor(parameter: NUnit.Framework.Interfaces.IParameterInfo): System.Collections.IEnumerable;
4361
4402
  Equals(obj: any): boolean;
@@ -4372,9 +4413,12 @@ export declare namespace NUnit {
4372
4413
  GetType(): System.Type;
4373
4414
  ToString(): string;
4374
4415
  }
4375
- class NUnitTestCaseBuilder {
4416
+ class DefaultTestCaseBuilder {
4376
4417
  constructor();
4377
- BuildTestMethod(method: NUnit.Framework.Interfaces.IMethodInfo, parentSuite: NUnit.Framework.Internal.Test, parms: NUnit.Framework.Internal.TestCaseParameters): NUnit.Framework.Internal.TestMethod;
4418
+ CanBuildFrom(method: NUnit.Framework.Interfaces.IMethodInfo): boolean;
4419
+ BuildFrom(method: NUnit.Framework.Interfaces.IMethodInfo): NUnit.Framework.Internal.Test;
4420
+ CanBuildFrom(method: NUnit.Framework.Interfaces.IMethodInfo, parentSuite: NUnit.Framework.Internal.Test): boolean;
4421
+ BuildFrom(method: NUnit.Framework.Interfaces.IMethodInfo, parentSuite: NUnit.Framework.Internal.Test): NUnit.Framework.Internal.Test;
4378
4422
  Equals(obj: any): boolean;
4379
4423
  GetHashCode(): number;
4380
4424
  GetType(): System.Type;
@@ -4390,29 +4434,9 @@ export declare namespace NUnit {
4390
4434
  GetType(): System.Type;
4391
4435
  ToString(): string;
4392
4436
  }
4393
- class CombinatorialStrategy {
4394
- constructor();
4395
- GetTestCases(sources: System.Collections.IEnumerable[]): System.Collections.Generic.IEnumerable<NUnit.Framework.Interfaces.ITestCaseData>;
4396
- Equals(obj: any): boolean;
4397
- GetHashCode(): number;
4398
- GetType(): System.Type;
4399
- ToString(): string;
4400
- }
4401
- class DatapointProvider {
4402
- constructor();
4403
- HasDataFor(parameter: NUnit.Framework.Interfaces.IParameterInfo): boolean;
4404
- GetDataFor(parameter: NUnit.Framework.Interfaces.IParameterInfo): System.Collections.IEnumerable;
4405
- Equals(obj: any): boolean;
4406
- GetHashCode(): number;
4407
- GetType(): System.Type;
4408
- ToString(): string;
4409
- }
4410
- class DefaultTestCaseBuilder {
4437
+ class NUnitTestCaseBuilder {
4411
4438
  constructor();
4412
- CanBuildFrom(method: NUnit.Framework.Interfaces.IMethodInfo): boolean;
4413
- BuildFrom(method: NUnit.Framework.Interfaces.IMethodInfo): NUnit.Framework.Internal.Test;
4414
- CanBuildFrom(method: NUnit.Framework.Interfaces.IMethodInfo, parentSuite: NUnit.Framework.Internal.Test): boolean;
4415
- BuildFrom(method: NUnit.Framework.Interfaces.IMethodInfo, parentSuite: NUnit.Framework.Internal.Test): NUnit.Framework.Internal.Test;
4439
+ BuildTestMethod(method: NUnit.Framework.Interfaces.IMethodInfo, parentSuite: NUnit.Framework.Internal.Test, parms: NUnit.Framework.Internal.TestCaseParameters): NUnit.Framework.Internal.TestMethod;
4416
4440
  Equals(obj: any): boolean;
4417
4441
  GetHashCode(): number;
4418
4442
  GetType(): System.Type;
@@ -4435,6 +4459,15 @@ export declare namespace NUnit {
4435
4459
  GetType(): System.Type;
4436
4460
  ToString(): string;
4437
4461
  }
4462
+ class ParameterDataProvider {
4463
+ constructor(...providers: NUnit.Framework.Interfaces.IParameterDataProvider[]);
4464
+ HasDataFor(parameter: NUnit.Framework.Interfaces.IParameterInfo): boolean;
4465
+ GetDataFor(parameter: NUnit.Framework.Interfaces.IParameterInfo): System.Collections.IEnumerable;
4466
+ Equals(obj: any): boolean;
4467
+ GetHashCode(): number;
4468
+ GetType(): System.Type;
4469
+ ToString(): string;
4470
+ }
4438
4471
  class ParameterDataSourceProvider {
4439
4472
  constructor();
4440
4473
  HasDataFor(parameter: NUnit.Framework.Interfaces.IParameterInfo): boolean;
@@ -4454,30 +4487,19 @@ export declare namespace NUnit {
4454
4487
  }
4455
4488
  }
4456
4489
  namespace Commands {
4457
- class SetUpTearDownItem {
4458
- constructor(setUpMethods: System.Reflection.MethodInfo[], tearDownMethods: System.Reflection.MethodInfo[]);
4459
- HasMethods: boolean;
4460
- RunSetUp(context: NUnit.Framework.Internal.ITestExecutionContext): void;
4461
- RunTearDown(context: NUnit.Framework.Internal.ITestExecutionContext): void;
4462
- Equals(obj: any): boolean;
4463
- GetHashCode(): number;
4464
- GetType(): System.Type;
4465
- ToString(): string;
4466
- }
4467
- class TestActionCommand {
4468
- constructor(innerCommand: NUnit.Framework.Internal.Commands.TestCommand);
4490
+ class OneTimeSetUpCommand {
4491
+ constructor(suite: NUnit.Framework.Internal.TestSuite, setUpTearDown: NUnit.Framework.Internal.Commands.SetUpTearDownItem[], actions: NUnit.Framework.Internal.Commands.TestActionItem[]);
4469
4492
  Test: NUnit.Framework.Internal.Test;
4470
4493
  Execute(context: NUnit.Framework.Internal.ITestExecutionContext): NUnit.Framework.Internal.TestResult;
4471
- GetInnerCommand(): NUnit.Framework.Internal.Commands.TestCommand;
4472
4494
  Equals(obj: any): boolean;
4473
4495
  GetHashCode(): number;
4474
4496
  GetType(): System.Type;
4475
4497
  ToString(): string;
4476
4498
  }
4477
- class TestActionItem {
4478
- constructor(action: NUnit.Framework.ITestAction);
4479
- BeforeTest(test: NUnit.Framework.Interfaces.ITest): void;
4480
- AfterTest(test: NUnit.Framework.Interfaces.ITest): void;
4499
+ class OneTimeTearDownCommand {
4500
+ constructor(suite: NUnit.Framework.Internal.TestSuite, setUpTearDownItems: NUnit.Framework.Internal.Commands.SetUpTearDownItem[], actions: NUnit.Framework.Internal.Commands.TestActionItem[]);
4501
+ Test: NUnit.Framework.Internal.Test;
4502
+ Execute(context: NUnit.Framework.Internal.ITestExecutionContext): NUnit.Framework.Internal.TestResult;
4481
4503
  Equals(obj: any): boolean;
4482
4504
  GetHashCode(): number;
4483
4505
  GetType(): System.Type;
@@ -4494,6 +4516,12 @@ export declare namespace NUnit {
4494
4516
  GetType(): System.Type;
4495
4517
  ToString(): string;
4496
4518
  }
4519
+ enum CommandStage {
4520
+ Default = 0,
4521
+ BelowSetUpTearDown = 1,
4522
+ SetUpTearDown = 2,
4523
+ AboveSetUpTearDown = 3
4524
+ }
4497
4525
  class DelegatingTestCommand {
4498
4526
  Test: NUnit.Framework.Internal.Test;
4499
4527
  GetInnerCommand(): NUnit.Framework.Internal.Commands.TestCommand;
@@ -4513,17 +4541,28 @@ export declare namespace NUnit {
4513
4541
  GetType(): System.Type;
4514
4542
  ToString(): string;
4515
4543
  }
4516
- class OneTimeSetUpCommand {
4517
- constructor(suite: NUnit.Framework.Internal.TestSuite, setUpTearDown: NUnit.Framework.Internal.Commands.SetUpTearDownItem[], actions: NUnit.Framework.Internal.Commands.TestActionItem[]);
4544
+ class SetUpTearDownCommand {
4545
+ constructor(innerCommand: NUnit.Framework.Internal.Commands.TestCommand);
4518
4546
  Test: NUnit.Framework.Internal.Test;
4519
4547
  Execute(context: NUnit.Framework.Internal.ITestExecutionContext): NUnit.Framework.Internal.TestResult;
4548
+ GetInnerCommand(): NUnit.Framework.Internal.Commands.TestCommand;
4520
4549
  Equals(obj: any): boolean;
4521
4550
  GetHashCode(): number;
4522
4551
  GetType(): System.Type;
4523
4552
  ToString(): string;
4524
4553
  }
4525
- class OneTimeTearDownCommand {
4526
- constructor(suite: NUnit.Framework.Internal.TestSuite, setUpTearDownItems: NUnit.Framework.Internal.Commands.SetUpTearDownItem[], actions: NUnit.Framework.Internal.Commands.TestActionItem[]);
4554
+ class SetUpTearDownItem {
4555
+ constructor(setUpMethods: System.Reflection.MethodInfo[], tearDownMethods: System.Reflection.MethodInfo[]);
4556
+ HasMethods: boolean;
4557
+ RunSetUp(context: NUnit.Framework.Internal.ITestExecutionContext): void;
4558
+ RunTearDown(context: NUnit.Framework.Internal.ITestExecutionContext): void;
4559
+ Equals(obj: any): boolean;
4560
+ GetHashCode(): number;
4561
+ GetType(): System.Type;
4562
+ ToString(): string;
4563
+ }
4564
+ class SkipCommand {
4565
+ constructor(test: NUnit.Framework.Internal.Test);
4527
4566
  Test: NUnit.Framework.Internal.Test;
4528
4567
  Execute(context: NUnit.Framework.Internal.ITestExecutionContext): NUnit.Framework.Internal.TestResult;
4529
4568
  Equals(obj: any): boolean;
@@ -4531,7 +4570,7 @@ export declare namespace NUnit {
4531
4570
  GetType(): System.Type;
4532
4571
  ToString(): string;
4533
4572
  }
4534
- class SetUpTearDownCommand {
4573
+ class TestActionCommand {
4535
4574
  constructor(innerCommand: NUnit.Framework.Internal.Commands.TestCommand);
4536
4575
  Test: NUnit.Framework.Internal.Test;
4537
4576
  Execute(context: NUnit.Framework.Internal.ITestExecutionContext): NUnit.Framework.Internal.TestResult;
@@ -4541,10 +4580,10 @@ export declare namespace NUnit {
4541
4580
  GetType(): System.Type;
4542
4581
  ToString(): string;
4543
4582
  }
4544
- class SkipCommand {
4545
- constructor(test: NUnit.Framework.Internal.Test);
4546
- Test: NUnit.Framework.Internal.Test;
4547
- Execute(context: NUnit.Framework.Internal.ITestExecutionContext): NUnit.Framework.Internal.TestResult;
4583
+ class TestActionItem {
4584
+ constructor(action: NUnit.Framework.ITestAction);
4585
+ BeforeTest(test: NUnit.Framework.Interfaces.ITest): void;
4586
+ AfterTest(test: NUnit.Framework.Interfaces.ITest): void;
4548
4587
  Equals(obj: any): boolean;
4549
4588
  GetHashCode(): number;
4550
4589
  GetType(): System.Type;
@@ -4578,12 +4617,6 @@ export declare namespace NUnit {
4578
4617
  GetType(): System.Type;
4579
4618
  ToString(): string;
4580
4619
  }
4581
- enum CommandStage {
4582
- Default = 0,
4583
- BelowSetUpTearDown = 1,
4584
- SetUpTearDown = 2,
4585
- AboveSetUpTearDown = 3
4586
- }
4587
4620
  }
4588
4621
  namespace Execution {
4589
4622
  class EventListenerTextWriter {
@@ -4663,10 +4696,43 @@ export declare namespace NUnit {
4663
4696
  GetType(): System.Type;
4664
4697
  ToString(): string;
4665
4698
  }
4699
+ class CompositeWorkItem {
4700
+ constructor(suite: NUnit.Framework.Internal.TestSuite, childFilter: NUnit.Framework.Interfaces.ITestFilter);
4701
+ Children: NUnit.Framework.Internal.Execution.WorkItem[];
4702
+ State: NUnit.Framework.Internal.Execution.WorkItemState;
4703
+ Test: NUnit.Framework.Internal.Test;
4704
+ Context: NUnit.Framework.Internal.TestExecutionContext;
4705
+ WorkerId: string;
4706
+ Actions: NUnit.Framework.ITestAction[];
4707
+ Result: NUnit.Framework.Internal.TestResult;
4708
+ Cancel(force: boolean): void;
4709
+ InitializeContext(context: NUnit.Framework.Internal.TestExecutionContext): void;
4710
+ Execute(): void;
4711
+ Equals(obj: any): boolean;
4712
+ GetHashCode(): number;
4713
+ GetType(): System.Type;
4714
+ ToString(): string;
4715
+ }
4666
4716
  interface IWorkItemDispatcher {
4667
4717
  Dispatch(work: NUnit.Framework.Internal.Execution.WorkItem): void;
4668
4718
  CancelRun(force: boolean): void;
4669
4719
  }
4720
+ class SimpleWorkItem {
4721
+ constructor(test: NUnit.Framework.Internal.TestMethod, filter: NUnit.Framework.Interfaces.ITestFilter);
4722
+ State: NUnit.Framework.Internal.Execution.WorkItemState;
4723
+ Test: NUnit.Framework.Internal.Test;
4724
+ Context: NUnit.Framework.Internal.TestExecutionContext;
4725
+ WorkerId: string;
4726
+ Actions: NUnit.Framework.ITestAction[];
4727
+ Result: NUnit.Framework.Internal.TestResult;
4728
+ InitializeContext(context: NUnit.Framework.Internal.TestExecutionContext): void;
4729
+ Execute(): void;
4730
+ Cancel(force: boolean): void;
4731
+ Equals(obj: any): boolean;
4732
+ GetHashCode(): number;
4733
+ GetType(): System.Type;
4734
+ ToString(): string;
4735
+ }
4670
4736
  class SimpleWorkItemDispatcher {
4671
4737
  constructor();
4672
4738
  Dispatch(work: NUnit.Framework.Internal.Execution.WorkItem): void;
@@ -4742,50 +4808,6 @@ export declare namespace NUnit {
4742
4808
  GetType(): System.Type;
4743
4809
  ToString(): string;
4744
4810
  }
4745
- class CompositeWorkItem {
4746
- constructor(suite: NUnit.Framework.Internal.TestSuite, childFilter: NUnit.Framework.Interfaces.ITestFilter);
4747
- Children: NUnit.Framework.Internal.Execution.WorkItem[];
4748
- State: NUnit.Framework.Internal.Execution.WorkItemState;
4749
- Test: NUnit.Framework.Internal.Test;
4750
- Context: NUnit.Framework.Internal.TestExecutionContext;
4751
- WorkerId: string;
4752
- Actions: NUnit.Framework.ITestAction[];
4753
- Result: NUnit.Framework.Internal.TestResult;
4754
- Cancel(force: boolean): void;
4755
- InitializeContext(context: NUnit.Framework.Internal.TestExecutionContext): void;
4756
- Execute(): void;
4757
- Equals(obj: any): boolean;
4758
- GetHashCode(): number;
4759
- GetType(): System.Type;
4760
- ToString(): string;
4761
- }
4762
- class CountdownEvent {
4763
- constructor(initialCount: number);
4764
- InitialCount: number;
4765
- CurrentCount: number;
4766
- Signal(): void;
4767
- Wait(): void;
4768
- Equals(obj: any): boolean;
4769
- GetHashCode(): number;
4770
- GetType(): System.Type;
4771
- ToString(): string;
4772
- }
4773
- class SimpleWorkItem {
4774
- constructor(test: NUnit.Framework.Internal.TestMethod, filter: NUnit.Framework.Interfaces.ITestFilter);
4775
- State: NUnit.Framework.Internal.Execution.WorkItemState;
4776
- Test: NUnit.Framework.Internal.Test;
4777
- Context: NUnit.Framework.Internal.TestExecutionContext;
4778
- WorkerId: string;
4779
- Actions: NUnit.Framework.ITestAction[];
4780
- Result: NUnit.Framework.Internal.TestResult;
4781
- InitializeContext(context: NUnit.Framework.Internal.TestExecutionContext): void;
4782
- Execute(): void;
4783
- Cancel(force: boolean): void;
4784
- Equals(obj: any): boolean;
4785
- GetHashCode(): number;
4786
- GetType(): System.Type;
4787
- ToString(): string;
4788
- }
4789
4811
  class WorkItem {
4790
4812
  constructor(test: NUnit.Framework.Internal.Test);
4791
4813
  State: NUnit.Framework.Internal.Execution.WorkItemState;
@@ -4810,26 +4832,8 @@ export declare namespace NUnit {
4810
4832
  }
4811
4833
  }
4812
4834
  namespace Filters {
4813
- class CompositeFilter {
4814
- constructor();
4815
- constructor(...filters: NUnit.Framework.Interfaces.ITestFilter[]);
4816
- Filters: NUnit.Framework.Interfaces.ITestFilter[];
4817
- IsEmpty: boolean;
4818
- TopLevel: boolean;
4819
- Add(filter: NUnit.Framework.Interfaces.ITestFilter): void;
4820
- Pass(test: NUnit.Framework.Interfaces.ITest): boolean;
4821
- Match(test: NUnit.Framework.Interfaces.ITest): boolean;
4822
- IsExplicitMatch(test: NUnit.Framework.Interfaces.ITest): boolean;
4823
- AddToXml(parentNode: NUnit.Framework.Interfaces.TNode, recursive: boolean): NUnit.Framework.Interfaces.TNode;
4824
- MatchParent(test: NUnit.Framework.Interfaces.ITest): boolean;
4825
- ToXml(recursive: boolean): NUnit.Framework.Interfaces.TNode;
4826
- Equals(obj: any): boolean;
4827
- GetHashCode(): number;
4828
- GetType(): System.Type;
4829
- ToString(): string;
4830
- }
4831
- class PropertyFilter {
4832
- constructor(propertyName: string, expectedValue: string);
4835
+ class ClassNameFilter {
4836
+ constructor(expectedValue: string);
4833
4837
  ExpectedValue: string;
4834
4838
  IsRegex: boolean;
4835
4839
  IsEmpty: boolean;
@@ -4845,16 +4849,17 @@ export declare namespace NUnit {
4845
4849
  GetType(): System.Type;
4846
4850
  ToString(): string;
4847
4851
  }
4848
- class TestNameFilter {
4849
- constructor(expectedValue: string);
4850
- ExpectedValue: string;
4851
- IsRegex: boolean;
4852
+ class CompositeFilter {
4853
+ constructor();
4854
+ constructor(...filters: NUnit.Framework.Interfaces.ITestFilter[]);
4855
+ Filters: NUnit.Framework.Interfaces.ITestFilter[];
4852
4856
  IsEmpty: boolean;
4853
4857
  TopLevel: boolean;
4854
- Match(test: NUnit.Framework.Interfaces.ITest): boolean;
4855
- AddToXml(parentNode: NUnit.Framework.Interfaces.TNode, recursive: boolean): NUnit.Framework.Interfaces.TNode;
4858
+ Add(filter: NUnit.Framework.Interfaces.ITestFilter): void;
4856
4859
  Pass(test: NUnit.Framework.Interfaces.ITest): boolean;
4860
+ Match(test: NUnit.Framework.Interfaces.ITest): boolean;
4857
4861
  IsExplicitMatch(test: NUnit.Framework.Interfaces.ITest): boolean;
4862
+ AddToXml(parentNode: NUnit.Framework.Interfaces.TNode, recursive: boolean): NUnit.Framework.Interfaces.TNode;
4858
4863
  MatchParent(test: NUnit.Framework.Interfaces.ITest): boolean;
4859
4864
  ToXml(recursive: boolean): NUnit.Framework.Interfaces.TNode;
4860
4865
  Equals(obj: any): boolean;
@@ -4862,7 +4867,7 @@ export declare namespace NUnit {
4862
4867
  GetType(): System.Type;
4863
4868
  ToString(): string;
4864
4869
  }
4865
- class ClassNameFilter {
4870
+ class FullNameFilter {
4866
4871
  constructor(expectedValue: string);
4867
4872
  ExpectedValue: string;
4868
4873
  IsRegex: boolean;
@@ -4896,8 +4901,8 @@ export declare namespace NUnit {
4896
4901
  GetType(): System.Type;
4897
4902
  ToString(): string;
4898
4903
  }
4899
- class IdFilter {
4900
- constructor(id: string);
4904
+ class PropertyFilter {
4905
+ constructor(propertyName: string, expectedValue: string);
4901
4906
  ExpectedValue: string;
4902
4907
  IsRegex: boolean;
4903
4908
  IsEmpty: boolean;
@@ -4913,16 +4918,16 @@ export declare namespace NUnit {
4913
4918
  GetType(): System.Type;
4914
4919
  ToString(): string;
4915
4920
  }
4916
- class ValueMatchFilter {
4921
+ class TestNameFilter {
4917
4922
  constructor(expectedValue: string);
4918
4923
  ExpectedValue: string;
4919
4924
  IsRegex: boolean;
4920
4925
  IsEmpty: boolean;
4921
4926
  TopLevel: boolean;
4927
+ Match(test: NUnit.Framework.Interfaces.ITest): boolean;
4922
4928
  AddToXml(parentNode: NUnit.Framework.Interfaces.TNode, recursive: boolean): NUnit.Framework.Interfaces.TNode;
4923
4929
  Pass(test: NUnit.Framework.Interfaces.ITest): boolean;
4924
4930
  IsExplicitMatch(test: NUnit.Framework.Interfaces.ITest): boolean;
4925
- Match(test: NUnit.Framework.Interfaces.ITest): boolean;
4926
4931
  MatchParent(test: NUnit.Framework.Interfaces.ITest): boolean;
4927
4932
  ToXml(recursive: boolean): NUnit.Framework.Interfaces.TNode;
4928
4933
  Equals(obj: any): boolean;
@@ -4965,6 +4970,23 @@ export declare namespace NUnit {
4965
4970
  GetType(): System.Type;
4966
4971
  ToString(): string;
4967
4972
  }
4973
+ class IdFilter {
4974
+ constructor(id: string);
4975
+ ExpectedValue: string;
4976
+ IsRegex: boolean;
4977
+ IsEmpty: boolean;
4978
+ TopLevel: boolean;
4979
+ Match(test: NUnit.Framework.Interfaces.ITest): boolean;
4980
+ AddToXml(parentNode: NUnit.Framework.Interfaces.TNode, recursive: boolean): NUnit.Framework.Interfaces.TNode;
4981
+ Pass(test: NUnit.Framework.Interfaces.ITest): boolean;
4982
+ IsExplicitMatch(test: NUnit.Framework.Interfaces.ITest): boolean;
4983
+ MatchParent(test: NUnit.Framework.Interfaces.ITest): boolean;
4984
+ ToXml(recursive: boolean): NUnit.Framework.Interfaces.TNode;
4985
+ Equals(obj: any): boolean;
4986
+ GetHashCode(): number;
4987
+ GetType(): System.Type;
4988
+ ToString(): string;
4989
+ }
4968
4990
  class NotFilter {
4969
4991
  constructor(baseFilter: NUnit.Framework.Internal.TestFilter);
4970
4992
  BaseFilter: NUnit.Framework.Internal.TestFilter;
@@ -4999,16 +5021,16 @@ export declare namespace NUnit {
4999
5021
  GetType(): System.Type;
5000
5022
  ToString(): string;
5001
5023
  }
5002
- class FullNameFilter {
5024
+ class ValueMatchFilter {
5003
5025
  constructor(expectedValue: string);
5004
5026
  ExpectedValue: string;
5005
5027
  IsRegex: boolean;
5006
5028
  IsEmpty: boolean;
5007
5029
  TopLevel: boolean;
5008
- Match(test: NUnit.Framework.Interfaces.ITest): boolean;
5009
5030
  AddToXml(parentNode: NUnit.Framework.Interfaces.TNode, recursive: boolean): NUnit.Framework.Interfaces.TNode;
5010
5031
  Pass(test: NUnit.Framework.Interfaces.ITest): boolean;
5011
5032
  IsExplicitMatch(test: NUnit.Framework.Interfaces.ITest): boolean;
5033
+ Match(test: NUnit.Framework.Interfaces.ITest): boolean;
5012
5034
  MatchParent(test: NUnit.Framework.Interfaces.ITest): boolean;
5013
5035
  ToXml(recursive: boolean): NUnit.Framework.Interfaces.TNode;
5014
5036
  Equals(obj: any): boolean;