-
Notifications
You must be signed in to change notification settings - Fork 23
/
Copy pathTestAttribute.cs
40 lines (31 loc) · 1.3 KB
/
TestAttribute.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Reflection;
using System.Text;
namespace Meadow.UnitTestTemplate
{
// TODO: Features to add test description, notes that can point to contract, function, and line number.
// The test report generator will use this info for the report.
public class TestAttribute : Attribute, ITestMethod
{
public string TestMethodName => throw new NotImplementedException();
public string TestClassName => throw new NotImplementedException();
public Type ReturnType => throw new NotImplementedException();
public object[] Arguments => throw new NotImplementedException();
public ParameterInfo[] ParameterTypes => throw new NotImplementedException();
public MethodInfo MethodInfo => throw new NotImplementedException();
public Attribute[] GetAllAttributes(bool inherit)
{
throw new NotImplementedException();
}
public TAttributeType[] GetAttributes<TAttributeType>(bool inherit) where TAttributeType : Attribute
{
throw new NotImplementedException();
}
public TestResult Invoke(object[] arguments)
{
throw new NotImplementedException();
}
}
}