@@ -55,13 +55,6 @@ public virtual void GetBoolean_works()
55
55
r => r . GetBoolean ( 0 ) ,
56
56
true ) ;
57
57
58
- [ Fact ]
59
- public virtual void GetByte_works ( )
60
- => GetX_works (
61
- "SELECT 1;" ,
62
- r => r . GetByte ( 0 ) ,
63
- ( byte ) 1 ) ;
64
-
65
58
[ Fact ]
66
59
public virtual void GetBytes_works ( )
67
60
{
@@ -100,13 +93,6 @@ public virtual void GetChars_works()
100
93
}
101
94
}
102
95
103
- [ Fact ]
104
- public virtual void GetDateTime_works_with_text ( )
105
- => GetX_works (
106
- "SELECT '2014-04-15 10:47:16';" ,
107
- r => r . GetDateTime ( 0 ) ,
108
- new DateTime ( 2014 , 4 , 15 , 10 , 47 , 16 ) ) ;
109
-
110
96
[ Fact ]
111
97
public virtual void GetDateTime_throws_when_null ( )
112
98
=> GetX_throws_when_null ( r => r . GetDateTime ( 0 ) ) ;
@@ -254,52 +240,10 @@ public virtual void GetFieldType_throws_when_ordinal_out_of_range()
254
240
public virtual void GetFieldType_throws_when_closed ( )
255
241
=> X_throws_when_closed ( r => r . GetFieldType ( 0 ) ) ;
256
242
257
- [ Fact ]
258
- public virtual void GetFloat_works ( )
259
- => GetX_works (
260
- "SELECT 3" ,
261
- r => r . GetFloat ( 0 ) ,
262
- 3 ) ;
263
-
264
- [ Fact ]
265
- public virtual void GetGuid_works_when_blob ( )
266
- => GetX_works (
267
- "SELECT X'0E7E0DDC5D364849AB9B8CA8056BF93A';" ,
268
- r => r . GetGuid ( 0 ) ,
269
- new Guid ( "dc0d7e0e-365d-4948-ab9b-8ca8056bf93a" ) ) ;
270
-
271
- [ Fact ]
272
- public virtual void GetGuid_works_when_text ( )
273
- => GetX_works (
274
- "SELECT 'dc0d7e0e-365d-4948-ab9b-8ca8056bf93a';" ,
275
- r => r . GetGuid ( 0 ) ,
276
- new Guid ( "dc0d7e0e-365d-4948-ab9b-8ca8056bf93a" ) ) ;
277
-
278
243
[ Fact ]
279
244
public virtual void GetGuid_throws_when_null ( )
280
245
=> GetX_throws_when_null ( r => r . GetGuid ( 0 ) ) ;
281
246
282
- [ Fact ]
283
- public virtual void GetInt16_works ( )
284
- => GetX_works (
285
- "SELECT 1;" ,
286
- r => r . GetInt16 ( 0 ) ,
287
- ( short ) 1 ) ;
288
-
289
- [ Fact ]
290
- public virtual void GetInt32_works ( )
291
- => GetX_works (
292
- "SELECT 1;" ,
293
- r => r . GetInt32 ( 0 ) ,
294
- 1 ) ;
295
-
296
- [ Fact ]
297
- public virtual void GetInt64_works ( )
298
- => GetX_works (
299
- "SELECT 1;" ,
300
- r => r . GetInt64 ( 0 ) ,
301
- 1L ) ;
302
-
303
247
[ Fact ]
304
248
public virtual void GetInt64_throws_when_null ( )
305
249
=> GetX_throws_when_null (
0 commit comments