Definition at line 25 of file ObjectNameTest.cs.
void Deveel.Data.ObjectNameTest.ComplexName |
( |
| ) |
|
|
inline |
Definition at line 37 of file ObjectNameTest.cs.
39 Assert.IsNotNull(objName);
40 Assert.IsNotNull(objName.Parent);
41 Assert.AreEqual(
"parent", objName.Parent.Name);
42 Assert.IsNotNull(objName.Name);
43 Assert.AreEqual(
"id", objName.Name);
44 Assert.AreEqual(
"parent.id", objName.FullName);
45 Assert.IsFalse(objName.IsGlob);
Describes the name of an object within a database.
void Deveel.Data.ObjectNameTest.ComplexName_Parse |
( |
| ) |
|
|
inline |
Definition at line 71 of file ObjectNameTest.cs.
74 Assert.IsNotNull(objName);
75 Assert.IsNotNull(objName.
Parent);
76 Assert.AreEqual(
"parent", objName.
Parent.
Name);
77 Assert.IsNotNull(objName.
Name);
78 Assert.AreEqual(
"id", objName.
Name);
79 Assert.AreEqual(
"parent.id", objName.
FullName);
80 Assert.IsFalse(objName.
IsGlob);
static ObjectName Parse(string s)
Parses the given string into a ObjectName object.
Describes the name of an object within a database.
bool IsGlob
Indicates if this reference equivales to GlobName.
string FullName
Gets the full reference name formatted.
ObjectName Parent
Gets the parent reference of the current one, if any or null if none.
string Name
Gets the name of the object being referenced.
void Deveel.Data.ObjectNameTest.ComplexNameWithGlob |
( |
| ) |
|
|
inline |
Definition at line 49 of file ObjectNameTest.cs.
51 Assert.IsNotNull(objName);
52 Assert.IsNotNull(objName.Parent);
53 Assert.AreEqual(
"parent", objName.Parent.Name);
54 Assert.IsNotNull(objName.Name);
55 Assert.AreEqual(
"*", objName.Name);
56 Assert.AreEqual(
"parent.*", objName.FullName);
57 Assert.IsTrue(objName.IsGlob);
Describes the name of an object within a database.
void Deveel.Data.ObjectNameTest.SimpleName |
( |
| ) |
|
|
inline |
Definition at line 27 of file ObjectNameTest.cs.
29 Assert.IsNotNull(objName);
30 Assert.IsNull(objName.Parent);
31 Assert.AreEqual(
"id", objName.Name);
32 Assert.AreEqual(
"id", objName.FullName);
33 Assert.IsFalse(objName.IsGlob);
Describes the name of an object within a database.
void Deveel.Data.ObjectNameTest.SimpleName_Compare |
( |
| ) |
|
|
inline |
Definition at line 84 of file ObjectNameTest.cs.
89 Assert.DoesNotThrow(() => i = objName1.CompareTo(objName2));
90 Assert.AreEqual(-1, i);
Describes the name of an object within a database.
void Deveel.Data.ObjectNameTest.SimpleName_Equals |
( |
| ) |
|
|
inline |
Definition at line 94 of file ObjectNameTest.cs.
97 Assert.IsTrue(objName1.Equals(objName2));
Describes the name of an object within a database.
void Deveel.Data.ObjectNameTest.SimpleName_NotEquals |
( |
| ) |
|
|
inline |
Definition at line 101 of file ObjectNameTest.cs.
104 Assert.IsFalse(objName1.Equals(objName2));
Describes the name of an object within a database.
void Deveel.Data.ObjectNameTest.SimpleName_Parse |
( |
| ) |
|
|
inline |
Definition at line 61 of file ObjectNameTest.cs.
64 Assert.IsNotNull(objName);
65 Assert.AreEqual(
"id", objName.
Name);
66 Assert.AreEqual(
"id", objName.
FullName);
67 Assert.IsFalse(objName.
IsGlob);
static ObjectName Parse(string s)
Parses the given string into a ObjectName object.
Describes the name of an object within a database.
bool IsGlob
Indicates if this reference equivales to GlobName.
string FullName
Gets the full reference name formatted.
string Name
Gets the name of the object being referenced.
The documentation for this class was generated from the following file:
- /var/calculate/remote/distfiles/egit-src/deveeldb.git/src/deveeldb-nunit/Deveel.Data/ObjectNameTest.cs