Example #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
        }
Example #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
        }
Example #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
        }
Example #4
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
        }
Example #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
        }
Example #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
        }
Example #7
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
        }
Example #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
        }