@@ -36,7 +36,7 @@ public void ConvertTest_Empty()
36
36
public void ConvertTest_Vertex ( )
37
37
{
38
38
// Arrange
39
- var entity = new Vertex { Name = _random . RandomString ( ) , Partitioned = _random . RandomBool ( ) , Static = _random . RandomBool ( ) } ;
39
+ var entity = new Model . Database . Vertex { Name = RandomGenerator . RandomString ( ) , Partitioned = RandomGenerator . RandomBool ( ) , Static = RandomGenerator . RandomBool ( ) } ;
40
40
var schema = new Schema
41
41
{
42
42
Vertices = { entity }
@@ -65,7 +65,7 @@ public void ConvertTest_Vertex()
65
65
public void ConvertTest_Edge ( )
66
66
{
67
67
// Arrange
68
- var entity = new Edge { Name = _random . RandomString ( ) , Directed = _random . RandomBool ( ) , Multiplicity = _random . RandomEnum < Multiplicity > ( ) , Unidirected = _random . RandomBool ( ) } ;
68
+ var entity = new Model . Database . Edge { Name = RandomGenerator . RandomString ( ) , Directed = RandomGenerator . RandomBool ( ) , Multiplicity = RandomGenerator . RandomEnum < Multiplicity > ( ) , Unidirected = RandomGenerator . RandomBool ( ) } ;
69
69
var schema = new Schema
70
70
{
71
71
Edges = { entity }
@@ -93,7 +93,7 @@ public void ConvertTest_Edge()
93
93
public void ConvertTest_Connection ( )
94
94
{
95
95
// Arrange
96
- var entity = new Connection { Edge = _random . RandomString ( ) , Ingoing = _random . RandomString ( ) , Outgoing = _random . RandomString ( ) } ;
96
+ var entity = new Connection { Edge = RandomGenerator . RandomString ( ) , Ingoing = RandomGenerator . RandomString ( ) , Outgoing = RandomGenerator . RandomString ( ) } ;
97
97
var schema = new Schema
98
98
{
99
99
Connections = { entity }
@@ -122,7 +122,7 @@ public void ConvertTest_Connection()
122
122
public void ConvertTest_PropertyKey ( )
123
123
{
124
124
// Arrange
125
- var entity = new PropertyKey { Name = _random . RandomString ( ) , DataType = _random . RandomString ( ) , Cardinality = _random . RandomEnum < Cardinality > ( ) } ;
125
+ var entity = new PropertyKey { Name = RandomGenerator . RandomString ( ) , DataType = RandomGenerator . RandomString ( ) , Cardinality = RandomGenerator . RandomEnum < Cardinality > ( ) } ;
126
126
var schema = new Schema
127
127
{
128
128
PropertyKeys = { entity }
@@ -151,7 +151,7 @@ public void ConvertTest_PropertyKey()
151
151
public void ConvertTest_EdgePropertyKeyBinding ( )
152
152
{
153
153
// Arrange
154
- var entity = new PropertyBinding { Name = _random . RandomString ( ) , Entity = _random . RandomString ( ) } ;
154
+ var entity = new PropertyBinding { Name = RandomGenerator . RandomString ( ) , Entity = RandomGenerator . RandomString ( ) } ;
155
155
var schema = new Schema
156
156
{
157
157
EdgesPropertyBindings = { entity }
@@ -179,7 +179,7 @@ public void ConvertTest_EdgePropertyKeyBinding()
179
179
public void ConvertTest_VertexPropertyKeyBinding ( )
180
180
{
181
181
// Arrange
182
- var entity = new PropertyBinding { Name = _random . RandomString ( ) , Entity = _random . RandomString ( ) } ;
182
+ var entity = new PropertyBinding { Name = RandomGenerator . RandomString ( ) , Entity = RandomGenerator . RandomString ( ) } ;
183
183
var schema = new Schema
184
184
{
185
185
VertexPropertyBindings = { entity }
@@ -207,7 +207,7 @@ public void ConvertTest_VertexPropertyKeyBinding()
207
207
public void ConvertTest_MixedIndices ( )
208
208
{
209
209
// Arrange
210
- var entity = new Model . Database . Index { Name = _random . RandomString ( ) , BackendIndex = _random . RandomString ( ) , IndexedElement = _random . RandomString ( ) , IsUnique = _random . RandomBool ( ) , IsCompositeIndex = false , IsMixedIndex = true } ;
210
+ var entity = new Model . Database . Index { Name = RandomGenerator . RandomString ( ) , BackendIndex = RandomGenerator . RandomString ( ) , IndexedElement = RandomGenerator . RandomString ( ) , IsUnique = RandomGenerator . RandomBool ( ) , IsCompositeIndex = false , IsMixedIndex = true } ;
211
211
var schema = new Schema
212
212
{
213
213
Indices = { entity }
@@ -237,7 +237,7 @@ public void ConvertTest_MixedIndices()
237
237
public void ConvertTest_CompositeIndices ( )
238
238
{
239
239
// Arrange
240
- var entity = new Model . Database . Index { Name = _random . RandomString ( ) , BackendIndex = _random . RandomString ( ) , IndexedElement = _random . RandomString ( ) , IsUnique = _random . RandomBool ( ) , IsCompositeIndex = true , IsMixedIndex = false } ;
240
+ var entity = new Model . Database . Index { Name = RandomGenerator . RandomString ( ) , BackendIndex = RandomGenerator . RandomString ( ) , IndexedElement = RandomGenerator . RandomString ( ) , IsUnique = RandomGenerator . RandomBool ( ) , IsCompositeIndex = true , IsMixedIndex = false } ;
241
241
var schema = new Schema
242
242
{
243
243
Indices = { entity }
@@ -267,7 +267,7 @@ public void ConvertTest_CompositeIndices()
267
267
public void ConvertTest_IndexBindings ( )
268
268
{
269
269
// Arrange
270
- var entity = new IndexBinding { IndexName = _random . RandomString ( ) , Parameter = _random . RandomString ( ) , PropertyName = _random . RandomString ( ) } ;
270
+ var entity = new IndexBinding { IndexName = RandomGenerator . RandomString ( ) , Parameter = RandomGenerator . RandomString ( ) , PropertyName = RandomGenerator . RandomString ( ) } ;
271
271
var schema = new Schema
272
272
{
273
273
IndexBindings = { entity }
0 commit comments