Definition at line 10 of file CastTest.cs.
void Deveel.Data.CastTest.CastToBoolean |
( |
object |
data, |
|
|
bool |
expected |
|
) |
| |
|
inline |
Definition at line 46 of file CastTest.cs.
47 TObject obj = TObject.CreateAndCastFromObject(TType.GetBooleanType(
SqlType.Boolean), data);
48 Assert.IsNotNull(obj);
49 Assert.AreEqual(obj.TType.SqlType,
SqlType.Boolean);
50 Assert.AreEqual(expected, obj.Object);
Defines the properties of a specific SQL Type and handles the values compatible.
void Deveel.Data.CastTest.DateCast |
( |
object |
data | ) |
|
|
inline |
Definition at line 13 of file CastTest.cs.
14 TObject obj = TObject.CreateAndCastFromObject(TType.GetDateType(
SqlType.Date), data);
15 Assert.IsNotNull(obj);
16 Assert.AreEqual(obj.TType.SqlType,
SqlType.Date);
Defines the properties of a specific SQL Type and handles the values compatible.
void Deveel.Data.CastTest.TimeCast |
( |
object |
data | ) |
|
|
inline |
Definition at line 24 of file CastTest.cs.
25 TObject obj = TObject.CreateAndCastFromObject(TType.GetDateType(
SqlType.Time), data);
26 Assert.IsNotNull(obj);
27 Assert.AreEqual(obj.TType.SqlType,
SqlType.Time);
Defines the properties of a specific SQL Type and handles the values compatible.
void Deveel.Data.CastTest.TimeStampCast |
( |
string |
data | ) |
|
|
inline |
Definition at line 35 of file CastTest.cs.
36 TObject obj = TObject.CreateAndCastFromObject(TType.GetDateType(
SqlType.TimeStamp), data);
37 Assert.IsNotNull(obj);
38 Assert.AreEqual(obj.TType.SqlType,
SqlType.TimeStamp);
Defines the properties of a specific SQL Type and handles the values compatible.
The documentation for this class was generated from the following file:
- /var/calculate/remote/distfiles/egit-src/deveeldb.git/src/deveeldb-nunit/Deveel.Data/CastTest.cs