~halega/+junk/sharpdevelop

« back to all changes in this revision

Viewing changes to src/AddIns/Analysis/UnitTesting/Test/Utils/MockAttribute.cs

  • Committer: sk
  • Date: 2011-09-10 05:17:57 UTC
  • Revision ID: halega@halega.com-20110910051757-qfouz1llya9m6boy
4.1.0.7915 Release Candidate 1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
 
2
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
 
3
 
 
4
using ICSharpCode.SharpDevelop.Dom;
 
5
using System;
 
6
 
 
7
namespace UnitTesting.Tests.Utils
 
8
{
 
9
        public class MockAttribute : IAttribute
 
10
        {
 
11
                IReturnType type;
 
12
                
 
13
                public MockAttribute(string name)
 
14
                {
 
15
                        type = new DefaultReturnType(new MockClass(name));
 
16
                }
 
17
                
 
18
                public IReturnType AttributeType {
 
19
                        get {
 
20
                                return type;
 
21
                        }
 
22
                }
 
23
                
 
24
                public ICompilationUnit CompilationUnit {
 
25
                        get {
 
26
                                throw new NotImplementedException();
 
27
                        }
 
28
                }
 
29
                
 
30
                public DomRegion Region {
 
31
                        get {
 
32
                                throw new NotImplementedException();
 
33
                        }
 
34
                }
 
35
                
 
36
                public AttributeTarget AttributeTarget {
 
37
                        get {
 
38
                                throw new NotImplementedException();
 
39
                        }
 
40
                }
 
41
                
 
42
                public System.Collections.Generic.IList<object> PositionalArguments {
 
43
                        get {
 
44
                                throw new NotImplementedException();
 
45
                        }
 
46
                }
 
47
                
 
48
                public System.Collections.Generic.IDictionary<string, object> NamedArguments {
 
49
                        get {
 
50
                                throw new NotImplementedException();
 
51
                        }
 
52
                }
 
53
                
 
54
                public bool IsFrozen {
 
55
                        get {
 
56
                                throw new NotImplementedException();
 
57
                        }
 
58
                }
 
59
                
 
60
                public void Freeze()
 
61
                {
 
62
                        throw new NotImplementedException();
 
63
                }
 
64
        }
 
65
}