Definition at line 26 of file FunctionBuildTests.cs.
void Deveel.Data.Routines.FunctionBuildTests.ScalarWithNoArguments |
( |
| ) |
|
|
inline |
Definition at line 28 of file FunctionBuildTests.cs.
29 FunctionProvider factory1 = null;
30 Assert.DoesNotThrow(() => factory1 =
new Factory1());
32 IFunction
function = null;
33 Assert.DoesNotThrow(() =>
function = factory1.ResolveFunction(
"user2"));
34 Assert.IsNotNull(
function);
36 InvokeResult result=null;
37 Assert.DoesNotThrow(() => result =
function.
Execute(
Query));
38 Assert.IsNotNull(result);
39 Assert.AreEqual(
AdminUserName, result.ReturnValue.Value.ToString());
const string AdminUserName
void Deveel.Data.Routines.FunctionBuildTests.ScalarWithTwoArgument |
( |
| ) |
|
|
inline |
Definition at line 43 of file FunctionBuildTests.cs.
44 Factory2 factory2 = null;
45 Assert.DoesNotThrow(() => factory2 =
new Factory2());
47 IFunction
function = null;
49 Assert.DoesNotThrow(() =>
function = factory2.ResolveFunction(
"add2", args));
50 Assert.IsNotNull(
function);
52 InvokeResult result = null;
53 Assert.DoesNotThrow(() => result =
function.
Execute(args));
54 Assert.IsNotNull(result);
56 Assert.IsInstanceOf<
SqlNumber>(result.ReturnValue.Value);
59 Assert.AreEqual(56, value);
static DataObject Number(SqlNumber value)
Represents a dynamic object that encapsulates a defined SqlType and a compatible constant ISqlObject ...
long IConvertible. ToInt64(IFormatProvider provider)
static DataObject BigInt(long value)
The documentation for this class was generated from the following file:
- /var/calculate/remote/distfiles/egit-src/deveeldb.git/src/deveeldb-nunit/Deveel.Data.Routines/FunctionBuildTests.cs