Home
last modified time | relevance | path

Searched refs:ExpectedException (Results 1 – 25 of 1514) sorted by relevance

12345678910>>...61

/dports/lang/mono/mono-5.10.1.57/external/nunit-lite/NUnitLite-1.0.0/src/testdata/
H A DExpectedExceptionData.cs33 [ExpectedException(typeof(ArgumentException))]
44 [ExpectedException(typeof(Exception))]
55 [ExpectedException(typeof(ArgumentException))]
62 [ExpectedException(ExpectedException=typeof(ArgumentException))]
76 [ExpectedException("System.ArgumentException")]
100 [ExpectedException(typeof(ArgumentException))]
116 [ExpectedException(typeof(ArgumentException))]
134 [Test, ExpectedException("System.ArgumentException")]
154 [Test, ExpectedException]
159 [Test, ExpectedException( UserMessage="custom message" )]
[all …]
/dports/lang/mono/mono-5.10.1.57/mcs/class/System.Web.DynamicData/Test/System.Web.DynamicData/
H A DDynamicDataManagerTest.cs119 [ExpectedException (typeof (Exception))]
241 [ExpectedException (typeof (Exception))]
250 [ExpectedException (typeof (Exception))]
259 [ExpectedException (typeof (Exception))]
269 [ExpectedException (typeof (Exception))]
278 [ExpectedException (typeof (Exception))]
287 [ExpectedException (typeof (Exception))]
296 [ExpectedException (typeof (Exception))]
305 [ExpectedException (typeof (Exception))]
314 [ExpectedException (typeof (Exception))]
[all …]
/dports/lang/ruby26/ruby-2.6.9/spec/mspec/spec/matchers/
H A Draise_error_spec.rb5 class ExpectedException < Exception; end class
10 proc = Proc.new { raise ExpectedException }
11 matcher = RaiseErrorMatcher.new(ExpectedException, nil)
17 proc = Proc.new { raise ExpectedException }
20 error.class.should == ExpectedException
28 proc = Proc.new { raise ExpectedException, "message" }
35 matcher = RaiseErrorMatcher.new(ExpectedException, /some/)
41 matcher = RaiseErrorMatcher.new(ExpectedException, nil)
50 exc = ExpectedException.new("unexpected")
56 }.should raise_error(ExpectedException)
[all …]
/dports/lang/mono/mono-5.10.1.57/mcs/class/System.Data.Linq/src/DbLinq/Test/
H A DDataContextTest.cs83 [Test, ExpectedException(typeof(ArgumentNullException))]
90 [Test, ExpectedException(typeof(ArgumentNullException))]
97 [Test, ExpectedException(typeof(NullReferenceException))]
104 [Test, ExpectedException(typeof(ArgumentException))]
110 [Test, ExpectedException(typeof(ArgumentException))]
116 [Test, ExpectedException(typeof(ArgumentException))]
122 [Test, ExpectedException(typeof(ArgumentException))]
128 [Test, ExpectedException(typeof(ArgumentException))]
134 [Test, ExpectedException(typeof(ArgumentNullException))]
142 [Test, ExpectedException(typeof(ArgumentNullException))]
[all …]
/dports/lang/mono/mono-5.10.1.57/mcs/class/corlib/Test/System.Threading/
H A DMonitorTest.cs50 [ExpectedException (typeof (ArgumentNullException))]
57 [ExpectedException (typeof (ArgumentNullException))]
77 [ExpectedException (typeof (ArgumentNullException))]
101 [ExpectedException (typeof (ArgumentNullException))]
125 [ExpectedException (typeof (ArgumentNullException))]
140 [ExpectedException (typeof (ArgumentNullException))]
163 [ExpectedException (typeof (ArgumentNullException))]
204 [ExpectedException (typeof (ArgumentNullException))]
228 [ExpectedException (typeof (ArgumentNullException))]
316 [ExpectedException (typeof (ArgumentException))]
[all …]
H A DWaitHandleTest.cs52 [ExpectedException (typeof (ArgumentNullException))]
59 [ExpectedException (typeof (NotSupportedException))]
66 [ExpectedException (typeof (ArgumentNullException))]
79 [ExpectedException (typeof (ArgumentNullException))]
86 [ExpectedException (typeof (NotSupportedException))]
93 [ExpectedException (typeof (ArgumentNullException))]
114 [ExpectedException (typeof (ArgumentNullException))]
121 [ExpectedException (typeof (NotSupportedException))]
128 [ExpectedException (typeof (ArgumentNullException))]
158 [ExpectedException (typeof (ArgumentNullException))]
[all …]
/dports/lang/mono/mono-5.10.1.57/mcs/class/corlib/Test/System.IO/
H A DFileStreamSafeHandleTest.cs31 [ExpectedException (typeof (ObjectDisposedException))]
40 [ExpectedException (typeof (ObjectDisposedException))]
49 [ExpectedException (typeof (ObjectDisposedException))]
58 [ExpectedException (typeof (ObjectDisposedException))]
67 [ExpectedException (typeof (ObjectDisposedException))]
76 [ExpectedException (typeof (ObjectDisposedException))]
85 [ExpectedException (typeof (ObjectDisposedException))]
94 [ExpectedException (typeof (ObjectDisposedException))]
103 [ExpectedException (typeof (ObjectDisposedException))]
112 [ExpectedException (typeof (ObjectDisposedException))]
[all …]
/dports/lang/mono/mono-5.10.1.57/mcs/class/corlib/Test/System/
H A DAppDomainCas.cs86 [ExpectedException (typeof (SecurityException))]
94 [ExpectedException (typeof (SecurityException))]
102 [ExpectedException (typeof (SecurityException))]
110 [ExpectedException (typeof (SecurityException))]
118 [ExpectedException (typeof (SecurityException))]
125 [ExpectedException (typeof (SecurityException))]
134 [ExpectedException (typeof (SecurityException))]
143 [ExpectedException (typeof (SecurityException))]
153 [ExpectedException (typeof (SecurityException))]
163 [ExpectedException (typeof (SecurityException))]
[all …]
H A DModuleHandleTest.cs58 [ExpectedException (typeof (ArgumentNullException))]
64 [ExpectedException (typeof (TypeLoadException))]
70 [ExpectedException (typeof (TypeLoadException))]
91 [ExpectedException (typeof (Exception))]
97 [ExpectedException (typeof (Exception))]
104 [ExpectedException (typeof (Exception))]
111 [ExpectedException (typeof (Exception))]
134 [ExpectedException (typeof (Exception))]
140 [ExpectedException (typeof (Exception))]
147 [ExpectedException (typeof (Exception))]
[all …]
/dports/lang/mono/mono-5.10.1.57/mcs/class/System/Test/System.Net/
H A DHttpListenerTest.cs93 [ExpectedException (typeof (InvalidOperationException))]
106 [ExpectedException (typeof (InvalidOperationException))]
120 [ExpectedException (typeof (InvalidOperationException))]
216 [ExpectedException (typeof (HttpListenerException))]
234 [ExpectedException (typeof (HttpListenerException))]
250 [ExpectedException (typeof (HttpListenerException))]
363 [ExpectedException (typeof (ObjectDisposedException))]
376 [ExpectedException (typeof (ObjectDisposedException))]
389 [ExpectedException (typeof (ObjectDisposedException))]
490 [ExpectedException (typeof (HttpListenerException))]
[all …]
H A DHttpListenerPrefixCollectionTest.cs42 [ExpectedException (typeof (PlatformNotSupportedException))]
55 [ExpectedException (typeof (PlatformNotSupportedException))]
69 [ExpectedException (typeof (PlatformNotSupportedException))]
86 [ExpectedException (typeof (PlatformNotSupportedException))]
104 [ExpectedException (typeof (PlatformNotSupportedException))]
161 [ExpectedException (typeof (ArgumentException))]
174 [ExpectedException (typeof (ArgumentException))]
232 [ExpectedException (typeof (ObjectDisposedException))]
246 [ExpectedException (typeof (ObjectDisposedException))]
260 [ExpectedException (typeof (ObjectDisposedException))]
[all …]
H A DDnsCas.cs59 [ExpectedException (typeof (SecurityException))]
67 [ExpectedException (typeof (ArgumentNullException))]
75 [ExpectedException (typeof (SecurityException))]
83 [ExpectedException (typeof (ArgumentNullException))]
91 [ExpectedException (typeof (SecurityException))]
99 [ExpectedException (typeof (SecurityException))]
107 [ExpectedException (typeof (SecurityException))]
115 [ExpectedException (typeof (ArgumentNullException))]
125 [ExpectedException (typeof (SecurityException))]
136 [ExpectedException (typeof (SecurityException))]
[all …]
/dports/lang/mono/mono-5.10.1.57/mcs/class/System.Runtime.Serialization/Test/System.Runtime.Serialization.Json/
H A DJsonWriterTest.cs103 [ExpectedException (typeof (XmlException))]
120 [ExpectedException (typeof (XmlException))]
157 [ExpectedException (typeof (XmlException))]
188 [ExpectedException (typeof (XmlException))]
198 [ExpectedException (typeof (XmlException))]
221 [ExpectedException (typeof (XmlException))]
230 [ExpectedException (typeof (XmlException))]
280 [ExpectedException (typeof (XmlException))]
442 [ExpectedException (typeof (XmlException))]
473 [ExpectedException (typeof (XmlException))]
[all …]
/dports/lang/mono/mono-5.10.1.57/mcs/class/System.ServiceModel/Test/System.ServiceModel.PeerResolvers/
H A DCustomPeerResolverServiceTest.cs45 [ExpectedException (typeof (InvalidOperationException))]
52 [ExpectedException (typeof (InvalidOperationException))]
61 [ExpectedException (typeof (ArgumentException))]
69 [ExpectedException (typeof (ArgumentException))]
77 [ExpectedException (typeof (ArgumentException))]
86 [ExpectedException (typeof (InvalidOperationException))]
99 [ExpectedException (typeof (ArgumentException))]
120 [ExpectedException (typeof( ArgumentException))]
141 [ExpectedException (typeof (ArgumentException))]
162 [ExpectedException (typeof (ArgumentException))]
[all …]
/dports/lang/mono/mono-5.10.1.57/mcs/class/corlib/Test/System.Text/
H A DUTF8EncodingTest.cs225 [ExpectedException (typeof (DecoderException))]
236 [ExpectedException (typeof (DecoderException))]
267 [ExpectedException (typeof (DecoderException))]
278 [ExpectedException (typeof (DecoderException))]
289 [ExpectedException (typeof (DecoderException))]
325 [ExpectedException (typeof (DecoderException))]
335 [ExpectedException (typeof (DecoderException))]
344 [ExpectedException (typeof (DecoderException))]
353 [ExpectedException (typeof (DecoderException))]
362 [ExpectedException (typeof (DecoderException))]
[all …]
/dports/lang/mono/mono-5.10.1.57/mcs/class/System.Data/Test/System.Data.SqlClient/
H A DSqlBulkCopyTest.cs43 [ExpectedException (typeof (PlatformNotSupportedException))]
45 [ExpectedException (typeof(ArgumentNullException))]
54 [ExpectedException (typeof (PlatformNotSupportedException))]
56 [ExpectedException (typeof(ArgumentNullException))]
65 [ExpectedException (typeof (PlatformNotSupportedException))]
67 [ExpectedException (typeof(ArgumentNullException))]
81 [ExpectedException (typeof (PlatformNotSupportedException))]
83 [ExpectedException (typeof(ArgumentNullException))]
97 [ExpectedException (typeof (PlatformNotSupportedException))]
99 [ExpectedException (typeof(ArgumentNullException))]
[all …]
/dports/lang/mono/mono-5.10.1.57/mcs/class/System.Xml.Linq/Test/System.Xml.Linq/
H A DXNameTest.cs47 [ExpectedException (typeof (ArgumentException))]
54 [ExpectedException (typeof (ArgumentException))]
61 [ExpectedException (typeof (XmlException))]
68 [ExpectedException (typeof (ArgumentException))]
75 [ExpectedException (typeof (XmlException))]
82 [ExpectedException (typeof (XmlException))]
89 [ExpectedException (typeof (XmlException))]
96 [ExpectedException (typeof (XmlException))]
103 [ExpectedException (typeof (XmlException))]
110 [ExpectedException (typeof (ArgumentException))]
[all …]
/dports/lang/mono-basic/mono-basic-4.7/vbruntime/Test/Microsoft.VisualBasic/
H A DFinancialTests.cs66 [ExpectedException(typeof(ArgumentException))]
73 [ExpectedException(typeof(ArgumentException))]
80 [ExpectedException(typeof(ArgumentException))]
87 [ExpectedException(typeof(ArgumentException))]
95 [ExpectedException(typeof(ArgumentException))]
133 [ExpectedException(typeof(ArgumentException))]
141 [ExpectedException(typeof(ArgumentException))]
149 [ExpectedException(typeof(ArgumentException))]
166 [ExpectedException(typeof(ArgumentException))]
174 [ExpectedException(typeof(ArgumentException))]
[all …]
/dports/lang/mono/mono-5.10.1.57/mcs/class/System.Web/Test/System.Web.UI.WebControls/
H A DRepeatInfoTest.auto.4.0.cs829 [ExpectedException (typeof (global::System.InvalidOperationException))]
847 [ExpectedException (typeof (global::System.InvalidOperationException))]
865 [ExpectedException (typeof (global::System.InvalidOperationException))]
883 [ExpectedException (typeof (global::System.InvalidOperationException))]
901 [ExpectedException (typeof (global::System.InvalidOperationException))]
919 [ExpectedException (typeof (global::System.InvalidOperationException))]
937 [ExpectedException (typeof (global::System.InvalidOperationException))]
955 [ExpectedException (typeof (global::System.InvalidOperationException))]
973 [ExpectedException (typeof (global::System.InvalidOperationException))]
991 [ExpectedException (typeof (global::System.InvalidOperationException))]
[all …]
/dports/lang/mono/mono-5.10.1.57/mcs/class/corlib/Test/System.IO.IsolatedStorage/
H A DIsolatedStorageTest.cs83 [ExpectedException (typeof (ArgumentException))]
91 [ExpectedException (typeof (ArgumentException))]
98 [ExpectedException (typeof (ArgumentException))]
106 [ExpectedException (typeof (ArgumentException))]
113 [ExpectedException (typeof (ArgumentException))]
120 [ExpectedException (typeof (ArgumentException))]
127 [ExpectedException (typeof (ArgumentException))]
134 [ExpectedException (typeof (ArgumentException))]
142 [ExpectedException (typeof (IsolatedStorageException))]
150 [ExpectedException (typeof (NotImplementedException))]
[all …]
/dports/lang/mono/mono-5.10.1.57/mcs/class/System/Test/System.Text.RegularExpressions/
H A DRegexTest.cs77 [Test, ExpectedException (typeof (ArgumentNullException))]
83 [Test, ExpectedException (typeof (ArgumentNullException))]
147 [Test, ExpectedException (typeof (ArgumentNullException))]
195 [Test, ExpectedException (typeof (ArgumentNullException))]
202 [Test, ExpectedException (typeof (ArgumentNullException))]
209 [Test, ExpectedException (typeof (ArgumentNullException))]
237 [Test, ExpectedException (typeof (ArgumentNullException))]
246 [Test, ExpectedException (typeof (ArgumentNullException))]
254 [Test, ExpectedException (typeof (ArgumentNullException))]
263 [Test, ExpectedException (typeof (ArgumentNullException))]
[all …]
/dports/lang/mono/mono-5.10.1.57/mcs/class/corlib/Test/System.Security.Cryptography/
H A DHashAlgorithmTestBase.cs111 [ExpectedException (typeof (ArgumentNullException))]
192 [ExpectedException (typeof (ArgumentException))]
200 [ExpectedException (typeof (ArgumentException))]
208 [ExpectedException (typeof (ArgumentException))]
245 [ExpectedException (typeof (ArgumentException))]
254 [ExpectedException (typeof (ArgumentException))]
263 [ExpectedException (typeof (ArgumentException))]
288 [ExpectedException (typeof (ArgumentException))]
323 [ExpectedException (typeof (ArgumentException))]
331 [ExpectedException (typeof (ArgumentException))]
[all …]
/dports/lang/mono/mono-5.10.1.57/mcs/class/corlib/Test/System.Security/
H A DSecureStringTest.cs96 [ExpectedException (typeof (ArgumentNullException))]
103 [ExpectedException (typeof (ArgumentOutOfRangeException))]
282 [ExpectedException (typeof (InvalidOperationException))]
290 [ExpectedException (typeof (InvalidOperationException))]
341 [ExpectedException (typeof (ObjectDisposedException))]
349 [ExpectedException (typeof (ObjectDisposedException))]
357 [ExpectedException (typeof (ObjectDisposedException))]
365 [ExpectedException (typeof (ObjectDisposedException))]
373 [ExpectedException (typeof (ObjectDisposedException))]
381 [ExpectedException (typeof (ObjectDisposedException))]
[all …]
/dports/lang/mono/mono-5.10.1.57/mcs/class/System/Test/System.CodeDom.Compiler/
H A DCodeDomProviderCas.cs107 [ExpectedException (typeof (NotImplementedException))]
115 [ExpectedException (typeof (NotImplementedException))]
123 [ExpectedException (typeof (NotImplementedException))]
131 [ExpectedException (typeof (NotImplementedException))]
236 [ExpectedException (typeof (SecurityException))]
271 [ExpectedException (typeof (SecurityException))]
281 [ExpectedException (typeof (SecurityException))]
292 [ExpectedException (typeof (SecurityException))]
303 [ExpectedException (typeof (SecurityException))]
314 [ExpectedException (typeof (SecurityException))]
[all …]
/dports/lang/mono/mono-5.10.1.57/mcs/class/System.Runtime.Serialization/Test/System.Xml/
H A DUniqueIdTest.cs60 [ExpectedException (typeof (FormatException))]
67 [ExpectedException (typeof (ArgumentNullException))]
73 [Test, ExpectedException (typeof (ArgumentNullException))]
79 [Test, ExpectedException (typeof (ArgumentOutOfRangeException))]
85 [Test, ExpectedException (typeof (ArgumentException))]
91 [Test, ExpectedException (typeof (ArgumentException))]
106 [Test, ExpectedException (typeof (ArgumentNullException))]
112 [Test, ExpectedException (typeof (ArgumentOutOfRangeException))]
136 [Test, ExpectedException (typeof (FormatException))]
214 [Test, ExpectedException (typeof (ArgumentNullException))]
[all …]

12345678910>>...61