protected override void Given()
        {
            this.element = new XElement(XName.Get("sqlDatabaseSink", Constants.Namespace),
                                        new XAttribute("instanceName", "instanceName"),
                                        new XAttribute("connectionString", "Data Source=(localdb)\v11.0;Initial Catalog=SemanticLoggingTests;Integrated Security=True"));

            this.Sut = new SqlDatabaseSinkElement();
        }
Exemplo n.º 2
0
        protected override void Given()
        {
            this.element = new XElement(XName.Get("windowsAzureTableSink", Constants.Namespace),
                                        new XAttribute("instanceName", "instanceName"),
                                        new XAttribute("connectionString", "UseDevelopmentStorage=true"));

            this.Sut = new WindowsAzureTableSinkElement();
        }
        protected override void Given()
        {
            this.element = new XElement(XName.Get("sqlDatabaseSink", Constants.Namespace),
                                        new XAttribute("instanceName", "instanceName"),
                                        new XAttribute("connectionString", "Data Source=(localdb)\v11.0;Initial Catalog=SemanticLoggingTests;Integrated Security=True"));

            this.sut = new SqlDatabaseSinkElement();
        }
        protected override void Given()
        {
            this.element = new XElement(XName.Get("elasticsearchSink", Constants.Namespace),
                                        new XAttribute("instanceName", "instanceName"),
                                        new XAttribute("connectionString", "http://localhost:9200"));

            this.sut = new ElasticsearchSinkElement();
        }
        protected override void Given()
        {
            this.element = new XElement(XName.Get("windowsAzureTableSink", Constants.Namespace),
                                        new XAttribute("instanceName", "instanceName"),
                                        new XAttribute("connectionString", "UseDevelopmentStorage=true"));

            this.Sut = new WindowsAzureTableSinkElement();
        }
        protected override void Given()
        {
            this.element = new XElement(XName.Get("consoleSink", Constants.Namespace));

            this.Sut = new ConsoleSinkElement();
        }
        protected override void Given()
        {
            this.element = new XElement(XName.Get("consoleSink", Constants.Namespace));

            this.sut = new ConsoleSinkElement();
        }