Beispiel #1
0
        public void CanCreateGraph()
        {
            // Arrange

            var fixture = new Fixture();

            var graphologist = new Graphologist(new MinimalTypeExclusions()
            {
                Exclude = new ExactNamespaceTypeExclusion("System")
            });

            // Act
            var graph = graphologist.Graph(fixture);
            // Assert
        }
Beispiel #2
0
        public void CanCreateGraph()
        {
            // Arrange

            var fixture = new Fixture();

            var graphologist = new Graphologist(new MinimalTypeExclusions()
                                                {
                                                    Exclude = new ExactNamespaceTypeExclusion("System")
                                                });

            // Act
            var graph = graphologist.Graph(fixture);
            // Assert
        }
Beispiel #3
0
        public void WriteGraphologistGraph()
        {
            // Arrange
            var projectPath = @"..\Graphology";
            var graphName   = "Graphologist";

            var graphologist = new Graphologist(new MinimalTypeExclusions()
            {
                Exclude = new ExactNamespaceTypeExclusion("System")
            });

            var target = graphologist;

            // Act
            graphologist.WriteGraph(target, projectPath, graphName);

            // Assert
        }
        public void WriteGraphologistGraph()
        {
            // Arrange
            var projectPath = @"..\Graphology";
            var graphName = "Graphologist";

            var graphologist = new Graphologist(new MinimalTypeExclusions()
                                                {
                                                    Exclude = new ExactNamespaceTypeExclusion("System")
                                                });

            var target = graphologist;

            // Act
            graphologist.WriteGraph(target, projectPath, graphName);

            // Assert
        }
Beispiel #5
0
        public void WriteGraph()
        {
            // Arrange
            var projectPath = @"..\Graphology.AutoFixture";
            var graphName = "Fixture";

            var fixture = new Fixture();

            var graphologist = new Graphologist(new MinimalTypeExclusions()
            {
                Exclude = new ExactNamespaceTypeExclusion("System")
            });

            // Act
            var graph = graphologist.Graph(fixture);
            graphologist.WriteGraph(fixture, projectPath, graphName);

            // Assert
        }
Beispiel #6
0
        public void WriteDefaultGraphVisualizationGraph()
        {
            // Arrange
            var projectPath = @"..\Graphology";
            var graphName   = "DefaultGraphVisualization";

            var graphologist = new Graphologist(new MinimalTypeExclusions()
            {
                Exclude = new ExactNamespaceTypeExclusion("System")
            });

            // This would be the evaluation of your composition root, like an IoC container resolution.
            var target = new DefaultGraphVisualization();

            // Act
            graphologist.WriteGraph(target, projectPath, graphName);

            // Assert
        }
        public void WriteDefaultGraphVisualizationGraph()
        {
            // Arrange
            var projectPath = @"..\Graphology";
            var graphName = "DefaultGraphVisualization";

            var graphologist = new Graphologist(new MinimalTypeExclusions()
                                                {
                                                    Exclude = new ExactNamespaceTypeExclusion("System")
                                                });

            // This would be the evaluation of your composition root, like an IoC container resolution.
            var target = new DefaultGraphVisualization();

            // Act
            graphologist.WriteGraph(target, projectPath, graphName);

            // Assert
        }
Beispiel #8
0
        public void WriteGraph()
        {
            // Arrange
            var projectPath = @"..\Graphology.AutoFixture";
            var graphName   = "Fixture";

            var fixture = new Fixture();

            var graphologist = new Graphologist(new MinimalTypeExclusions()
            {
                Exclude = new ExactNamespaceTypeExclusion("System")
            });

            // Act
            var graph = graphologist.Graph(fixture);

            graphologist.WriteGraph(fixture, projectPath, graphName);

            // Assert
        }