Пример #1
0
 public EntityTestSetup(GraphDefinitionSetupDelegate graphSetup)
     : this(null, graphSetup)
 {
 }
Пример #2
0
 protected void SetupTestGraphDefinitionMultipleFrames(GraphDefinitionSetupDelegate graphSetup, StepDelegate systemSetup = null, params StepDelegate[] frameChecks)
 {
     SetupMultiEntitiesTestGraph(new List <EntityTestSetup> {
         new EntityTestSetup(graphSetup)
     }, ApplyOnlyFirstEntity(systemSetup), frameChecks.Select(ApplyOnlyFirstEntity).ToArray());
 }
Пример #3
0
 protected void SetupMultiEntitiesTestGraph(GraphDefinitionSetupDelegate setupA, GraphDefinitionSetupDelegate setupB, StepMultiEntitiesDelegate systemSetup = null, params StepMultiEntitiesDelegate[] frameChecks)
 {
     SetupMultiEntitiesTestGraph(new EntityTestSetup(setupA), new EntityTestSetup(setupB), systemSetup, frameChecks);
 }
Пример #4
0
 public EntityTestSetup(Action <Entity> entityDefined, GraphDefinitionSetupDelegate graphSetup)
 {
     GraphSetup    = graphSetup;
     EntityDefined = entityDefined;
 }