Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added: clientAPI based tests on $created handlers

  • Loading branch information...
commit c8766ef7a4b203d130888e5f23fcff05428e4d1e 1 parent a6a9ede
@ysw ysw authored
Showing with 334 additions and 44 deletions.
  1. 0  ...e → when_handling_created}/with_from_all_any_foreach_projection/when_running_and_events_are_indexed.cs
  2. +71 −0 .../ClientAPI/when_handling_created/with_from_all_any_foreach_projection/when_running_and_events_are_posted.cs
  3. +71 −0 ...sts/ClientAPI/when_handling_created/with_from_all_foreach_projection/when_running_and_events_are_indexed.cs
  4. +73 −0 ...lientAPI/when_handling_created/with_from_category_foreach_projection/when_running_and_events_are_indexed.cs
  5. +1 −1  ...ed}/with_from_all_any_foreach_projection/recovery/when_running_and_a_stream_gets_deleted_before_recovery.cs
  6. +1 −1  ... when_handling_deleted}/with_from_all_any_foreach_projection/recovery/when_running_and_events_are_posted.cs
  7. +72 −0 ...ClientAPI/when_handling_deleted/with_from_all_any_foreach_projection/when_running_and_events_are_indexed.cs
  8. +1 −1  ...te → when_handling_deleted}/with_from_all_any_foreach_projection/when_running_and_events_are_posted.cs
  9. +1 −1  ..._from_all_any_foreach_projection/when_running_and_events_are_posted_but_a_stream_and_tombstone_postponed.cs
  10. +1 −1  ..._handling_deleted}/with_from_all_any_foreach_projection/when_running_and_events_are_posted_but_tombstone.cs
  11. +1 −1  ...ing_deleted}/with_from_all_any_foreach_projection/when_running_and_events_are_posted_including_tombstone.cs
  12. +1 −1  ...eted}/with_from_all_any_foreach_projection/when_running_and_then_other_events_tombstone_ant_other_events.cs
  13. +1 −1  ...rr; when_handling_deleted}/with_from_all_foreach_projection/recovery/when_running_and_events_are_indexed.cs
  14. +1 −1  ...g_deleted}/with_from_all_foreach_projection/recovery/when_running_and_events_get_indexed_before_recovery.cs
  15. +1 −1  ...elete → when_handling_deleted}/with_from_all_foreach_projection/when_running_and_events_are_indexed.cs
  16. +1 −1  ...deleted}/with_from_all_foreach_projection/when_running_and_events_are_indexed_but_a_stream_and_tombstone.cs
  17. +1 −1  ...eted}/with_from_all_foreach_projection/when_running_and_events_are_indexed_but_more_events_and_tombstone.cs
  18. +1 −1  ...hen_handling_deleted}/with_from_all_foreach_projection/when_running_and_events_are_indexed_but_tombstone.cs
  19. +1 −1  ...dling_delete → when_handling_deleted}/with_from_all_foreach_projection/when_running_and_no_indexing.cs
  20. +1 −1  ...r; when_handling_deleted}/with_from_all_foreach_projection/when_running_and_no_indexing_and_other_events.cs
  21. +1 −1  ...hen_handling_deleted}/with_from_category_foreach_projection/recovery/when_running_and_events_are_indexed.cs
  22. +1 −1  ...eted}/with_from_category_foreach_projection/recovery/when_running_and_events_get_indexed_before_recovery.cs
  23. +1 −1  ... → when_handling_deleted}/with_from_category_foreach_projection/when_running_and_events_are_indexed.cs
  24. +1 −1  ...rom_category_foreach_projection/when_running_and_events_are_indexed_but_a_stream_and_tombstone_postponed.cs
  25. +1 −1  ...andling_deleted}/with_from_category_foreach_projection/when_running_and_events_are_indexed_but_tombstone.cs
  26. +1 −1  ...g_deleted}/with_from_category_foreach_projection/when_running_and_events_are_indexed_including_tombstone.cs
  27. +1 −1  ...ted}/with_from_category_foreach_projection/when_running_and_then_other_events_tombstone_ant_other_events.cs
  28. +25 −22 src/EventStore/EventStore.Projections.Core.Tests/EventStore.Projections.Core.Tests.csproj
View
0  ...on/when_running_and_events_are_indexed.cs → ...on/when_running_and_events_are_indexed.cs
File renamed without changes
View
71 ...ndling_created/with_from_all_any_foreach_projection/when_running_and_events_are_posted.cs
@@ -0,0 +1,71 @@
+// Copyright (c) 2012, Event Store LLP
+// All rights reserved.
+//
+// Redistribution and use in source and binary forms, with or without
+// modification, are permitted provided that the following conditions are
+// met:
+//
+// Redistributions of source code must retain the above copyright notice,
+// this list of conditions and the following disclaimer.
+// Redistributions in binary form must reproduce the above copyright
+// notice, this list of conditions and the following disclaimer in the
+// documentation and/or other materials provided with the distribution.
+// Neither the name of the Event Store LLP nor the names of its
+// contributors may be used to endorse or promote products derived from
+// this software without specific prior written permission
+// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+// HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+//
+
+using NUnit.Framework;
+
+namespace EventStore.Projections.Core.Tests.ClientAPI.when_handling_created.with_from_all_any_foreach_projection
+{
+ [TestFixture]
+ public class when_running_and_events_are_posted : specification_with_standard_projections_runnning
+ {
+ protected override bool GivenStandardProjectionsRunning()
+ {
+ return false;
+ }
+
+ protected override void Given()
+ {
+ base.Given();
+ PostEvent("stream-1", "type1", "{}");
+ PostEvent("stream-1", "type2", "{}");
+ PostEvent("stream-2", "type1", "{}");
+ PostEvent("stream-2", "type2", "{}");
+ WaitIdle();
+ }
+
+ protected override void When()
+ {
+ base.When();
+ PostProjection(@"
+fromAll().foreachStream().when({
+ $init: function(){return {a:0}},
+ $any: function(s,e) {s.a++;},
+ $created: function(s,e){s.a++;},
+}).outputState();
+");
+ WaitIdle();
+ }
+
+ [Test, Category("Network")]
+ public void receives_created_notification()
+ {
+ AssertStreamTail("$projections-test-projection-stream-1-result", "Result:{\"a\":3}");
+ AssertStreamTail("$projections-test-projection-stream-2-result", "Result:{\"a\":3}");
+ }
+ }
+}
View
71 ..._handling_created/with_from_all_foreach_projection/when_running_and_events_are_indexed.cs
@@ -0,0 +1,71 @@
+// Copyright (c) 2012, Event Store LLP
+// All rights reserved.
+//
+// Redistribution and use in source and binary forms, with or without
+// modification, are permitted provided that the following conditions are
+// met:
+//
+// Redistributions of source code must retain the above copyright notice,
+// this list of conditions and the following disclaimer.
+// Redistributions in binary form must reproduce the above copyright
+// notice, this list of conditions and the following disclaimer in the
+// documentation and/or other materials provided with the distribution.
+// Neither the name of the Event Store LLP nor the names of its
+// contributors may be used to endorse or promote products derived from
+// this software without specific prior written permission
+// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+// HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+//
+
+using NUnit.Framework;
+
+namespace EventStore.Projections.Core.Tests.ClientAPI.when_handling_created.with_from_all_foreach_projection
+{
+ [TestFixture]
+ public class when_running_and_events_are_indexed : specification_with_standard_projections_runnning
+ {
+ protected override bool GivenStandardProjectionsRunning()
+ {
+ return false;
+ }
+
+ protected override void Given()
+ {
+ base.Given();
+ PostEvent("stream-1", "type1", "{}");
+ PostEvent("stream-1", "type2", "{}");
+ PostEvent("stream-2", "type1", "{}");
+ PostEvent("stream-2", "type2", "{}");
+ }
+
+ protected override void When()
+ {
+ base.When();
+ PostProjection(@"
+fromAll().foreachStream().when({
+ $init: function(){return {a:0}},
+ type1: function(s,e){s.a++;},
+ type2: function(s,e){s.a++;},
+ $created: function(s,e){s.a++;},
+}).outputState();
+");
+ WaitIdle();
+ }
+
+ [Test, Category("Network")]
+ public void receives_deleted_notification()
+ {
+ AssertStreamTail("$projections-test-projection-stream-1-result", "Result:{\"a\":3}");
+ AssertStreamTail("$projections-test-projection-stream-2-result", "Result:{\"a\":3}");
+ }
+ }
+}
View
73 ...ling_created/with_from_category_foreach_projection/when_running_and_events_are_indexed.cs
@@ -0,0 +1,73 @@
+// Copyright (c) 2012, Event Store LLP
+// All rights reserved.
+//
+// Redistribution and use in source and binary forms, with or without
+// modification, are permitted provided that the following conditions are
+// met:
+//
+// Redistributions of source code must retain the above copyright notice,
+// this list of conditions and the following disclaimer.
+// Redistributions in binary form must reproduce the above copyright
+// notice, this list of conditions and the following disclaimer in the
+// documentation and/or other materials provided with the distribution.
+// Neither the name of the Event Store LLP nor the names of its
+// contributors may be used to endorse or promote products derived from
+// this software without specific prior written permission
+// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+// HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+//
+
+using NUnit.Framework;
+
+namespace EventStore.Projections.Core.Tests.ClientAPI.when_handling_created.with_from_category_foreach_projection
+{
+ [TestFixture]
+ public class when_running_and_events_are_indexed : specification_with_standard_projections_runnning
+ {
+ protected override bool GivenStandardProjectionsRunning()
+ {
+ return false;
+ }
+
+ protected override void Given()
+ {
+ base.Given();
+ PostEvent("stream-1", "type1", "{}");
+ PostEvent("stream-1", "type2", "{}");
+ PostEvent("stream-2", "type1", "{}");
+ PostEvent("stream-2", "type2", "{}");
+ WaitIdle();
+ EnableStandardProjections();
+ }
+
+ protected override void When()
+ {
+ base.When();
+ PostProjection(@"
+fromCategory('stream').foreachStream().when({
+ $init: function(){return {a:0}},
+ type1: function(s,e){s.a++;},
+ type2: function(s,e){s.a++;},
+ $created: function(s,e){s.a++;},
+}).outputState();
+");
+ WaitIdle();
+ }
+
+ [Test, Category("Network")]
+ public void receives_deleted_notification()
+ {
+ AssertStreamTail("$projections-test-projection-stream-1-result", "Result:{\"a\":3}");
+ AssertStreamTail("$projections-test-projection-stream-2-result", "Result:{\"a\":3}");
+ }
+ }
+}
View
2  ..._a_stream_gets_deleted_before_recovery.cs → ..._a_stream_gets_deleted_before_recovery.cs
@@ -28,7 +28,7 @@
using NUnit.Framework;
-namespace EventStore.Projections.Core.Tests.ClientAPI.when_handling_delete.with_from_all_any_foreach_projection.recovery
+namespace EventStore.Projections.Core.Tests.ClientAPI.when_handling_deleted.with_from_all_any_foreach_projection.recovery
{
[TestFixture]
public class when_running_and_a_stream_gets_deleted_before_recovery : specification_with_standard_projections_runnning
View
2  ...ery/when_running_and_events_are_posted.cs → ...ery/when_running_and_events_are_posted.cs
@@ -28,7 +28,7 @@
using NUnit.Framework;
-namespace EventStore.Projections.Core.Tests.ClientAPI.when_handling_delete.with_from_all_any_foreach_projection.recovery
+namespace EventStore.Projections.Core.Tests.ClientAPI.when_handling_deleted.with_from_all_any_foreach_projection.recovery
{
[TestFixture]
public class when_running_and_events_are_posted : specification_with_standard_projections_runnning
View
72 ...dling_deleted/with_from_all_any_foreach_projection/when_running_and_events_are_indexed.cs
@@ -0,0 +1,72 @@
+// Copyright (c) 2012, Event Store LLP
+// All rights reserved.
+//
+// Redistribution and use in source and binary forms, with or without
+// modification, are permitted provided that the following conditions are
+// met:
+//
+// Redistributions of source code must retain the above copyright notice,
+// this list of conditions and the following disclaimer.
+// Redistributions in binary form must reproduce the above copyright
+// notice, this list of conditions and the following disclaimer in the
+// documentation and/or other materials provided with the distribution.
+// Neither the name of the Event Store LLP nor the names of its
+// contributors may be used to endorse or promote products derived from
+// this software without specific prior written permission
+// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+// HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+//
+
+using NUnit.Framework;
+
+namespace EventStore.Projections.Core.Tests.ClientAPI.when_handling_delete.with_from_all_any_foreach_projection
+{
+ [TestFixture]
+ public class when_running_and_events_are_indexed : specification_with_standard_projections_runnning
+ {
+ protected override bool GivenStandardProjectionsRunning()
+ {
+ return false;
+ }
+
+ protected override void Given()
+ {
+ base.Given();
+ PostEvent("stream-1", "type1", "{}");
+ PostEvent("stream-1", "type2", "{}");
+ PostEvent("stream-2", "type1", "{}");
+ PostEvent("stream-2", "type2", "{}");
+ HardDeleteStream("stream-1");
+ WaitIdle();
+ }
+
+ protected override void When()
+ {
+ base.When();
+ PostProjection(@"
+fromAll().foreachStream().when({
+ $init: function(){return {a:0}},
+ $any: function(s,e){s.a++},
+ $deleted: function(s,e){s.deleted=1;},
+}).outputState();
+");
+ WaitIdle();
+ }
+
+ [Test, Category("Network")]
+ public void receives_deleted_notification()
+ {
+ AssertStreamTail("$projections-test-projection-stream-1-result", "Result:{\"deleted\":1}");
+ AssertStreamTail("$projections-test-projection-stream-2-result", "Result:{\"a\":2}");
+ }
+ }
+}
View
2  ...ion/when_running_and_events_are_posted.cs → ...ion/when_running_and_events_are_posted.cs
@@ -28,7 +28,7 @@
using NUnit.Framework;
-namespace EventStore.Projections.Core.Tests.ClientAPI.when_handling_delete.with_from_all_any_foreach_projection
+namespace EventStore.Projections.Core.Tests.ClientAPI.when_handling_deleted.with_from_all_any_foreach_projection
{
[TestFixture]
public class when_running_and_events_are_posted : specification_with_standard_projections_runnning
View
2  ...d_but_a_stream_and_tombstone_postponed.cs → ...d_but_a_stream_and_tombstone_postponed.cs
@@ -28,7 +28,7 @@
using NUnit.Framework;
-namespace EventStore.Projections.Core.Tests.ClientAPI.when_handling_delete.with_from_all_any_foreach_projection
+namespace EventStore.Projections.Core.Tests.ClientAPI.when_handling_deleted.with_from_all_any_foreach_projection
{
[TestFixture]
public class when_running_and_events_are_posted_but_a_stream_and_tombstone_postponed :
View
2  ...ng_and_events_are_posted_but_tombstone.cs → ...ng_and_events_are_posted_but_tombstone.cs
@@ -28,7 +28,7 @@
using NUnit.Framework;
-namespace EventStore.Projections.Core.Tests.ClientAPI.when_handling_delete.with_from_all_any_foreach_projection
+namespace EventStore.Projections.Core.Tests.ClientAPI.when_handling_deleted.with_from_all_any_foreach_projection
{
[TestFixture]
public class when_running_and_events_are_posted_but_tombstone : specification_with_standard_projections_runnning
View
2  ..._events_are_posted_including_tombstone.cs → ..._events_are_posted_including_tombstone.cs
@@ -28,7 +28,7 @@
using NUnit.Framework;
-namespace EventStore.Projections.Core.Tests.ClientAPI.when_handling_delete.with_from_all_any_foreach_projection
+namespace EventStore.Projections.Core.Tests.ClientAPI.when_handling_deleted.with_from_all_any_foreach_projection
{
[TestFixture]
public class when_running_and_events_are_posted_including_tombstone :
View
2  ...ther_events_tombstone_ant_other_events.cs → ...ther_events_tombstone_ant_other_events.cs
@@ -28,7 +28,7 @@
using NUnit.Framework;
-namespace EventStore.Projections.Core.Tests.ClientAPI.when_handling_delete.with_from_all_any_foreach_projection
+namespace EventStore.Projections.Core.Tests.ClientAPI.when_handling_deleted.with_from_all_any_foreach_projection
{
[TestFixture]
public class when_running_and_then_other_events_tombstone_ant_other_events : specification_with_standard_projections_runnning
View
2  ...ry/when_running_and_events_are_indexed.cs → ...ry/when_running_and_events_are_indexed.cs
@@ -28,7 +28,7 @@
using NUnit.Framework;
-namespace EventStore.Projections.Core.Tests.ClientAPI.when_handling_delete.with_from_all_foreach_projection.recovery
+namespace EventStore.Projections.Core.Tests.ClientAPI.when_handling_deleted.with_from_all_foreach_projection.recovery
{
[TestFixture]
public class when_running_and_events_are_indexed : specification_with_standard_projections_runnning
View
2  ...and_events_get_indexed_before_recovery.cs → ...and_events_get_indexed_before_recovery.cs
@@ -28,7 +28,7 @@
using NUnit.Framework;
-namespace EventStore.Projections.Core.Tests.ClientAPI.when_handling_delete.with_from_all_foreach_projection.recovery
+namespace EventStore.Projections.Core.Tests.ClientAPI.when_handling_deleted.with_from_all_foreach_projection.recovery
{
[TestFixture]
public class when_running_and_events_get_indexed_before_recovery : specification_with_standard_projections_runnning
View
2  ...on/when_running_and_events_are_indexed.cs → ...on/when_running_and_events_are_indexed.cs
@@ -28,7 +28,7 @@
using NUnit.Framework;
-namespace EventStore.Projections.Core.Tests.ClientAPI.when_handling_delete.with_from_all_foreach_projection
+namespace EventStore.Projections.Core.Tests.ClientAPI.when_handling_deleted.with_from_all_foreach_projection
{
[TestFixture]
public class when_running_and_events_are_indexed : specification_with_standard_projections_runnning
View
2  ...are_indexed_but_a_stream_and_tombstone.cs → ...are_indexed_but_a_stream_and_tombstone.cs
@@ -28,7 +28,7 @@
using NUnit.Framework;
-namespace EventStore.Projections.Core.Tests.ClientAPI.when_handling_delete.with_from_all_foreach_projection
+namespace EventStore.Projections.Core.Tests.ClientAPI.when_handling_deleted.with_from_all_foreach_projection
{
[TestFixture]
public class when_running_and_events_are_indexed_but_a_stream_and_tombstone :
View
2  ..._indexed_but_more_events_and_tombstone.cs → ..._indexed_but_more_events_and_tombstone.cs
@@ -28,7 +28,7 @@
using NUnit.Framework;
-namespace EventStore.Projections.Core.Tests.ClientAPI.when_handling_delete.with_from_all_foreach_projection
+namespace EventStore.Projections.Core.Tests.ClientAPI.when_handling_deleted.with_from_all_foreach_projection
{
[TestFixture]
public class when_running_and_events_are_indexed_but_more_events_and_tombstone :
View
2  ...g_and_events_are_indexed_but_tombstone.cs → ...g_and_events_are_indexed_but_tombstone.cs
@@ -28,7 +28,7 @@
using NUnit.Framework;
-namespace EventStore.Projections.Core.Tests.ClientAPI.when_handling_delete.with_from_all_foreach_projection
+namespace EventStore.Projections.Core.Tests.ClientAPI.when_handling_deleted.with_from_all_foreach_projection
{
[TestFixture]
public class when_running_and_events_are_indexed_but_tombstone : specification_with_standard_projections_runnning
View
2  ...rojection/when_running_and_no_indexing.cs → ...rojection/when_running_and_no_indexing.cs
@@ -28,7 +28,7 @@
using NUnit.Framework;
-namespace EventStore.Projections.Core.Tests.ClientAPI.when_handling_delete.with_from_all_foreach_projection
+namespace EventStore.Projections.Core.Tests.ClientAPI.when_handling_deleted.with_from_all_foreach_projection
{
[TestFixture]
public class when_running_and_no_indexing : specification_with_standard_projections_runnning
View
2  ...nning_and_no_indexing_and_other_events.cs → ...nning_and_no_indexing_and_other_events.cs
@@ -28,7 +28,7 @@
using NUnit.Framework;
-namespace EventStore.Projections.Core.Tests.ClientAPI.when_handling_delete.with_from_all_foreach_projection
+namespace EventStore.Projections.Core.Tests.ClientAPI.when_handling_deleted.with_from_all_foreach_projection
{
[TestFixture]
public class when_running_and_no_indexing_and_other_events : specification_with_standard_projections_runnning
View
2  ...ry/when_running_and_events_are_indexed.cs → ...ry/when_running_and_events_are_indexed.cs
@@ -28,7 +28,7 @@
using NUnit.Framework;
-namespace EventStore.Projections.Core.Tests.ClientAPI.when_handling_delete.with_from_category_foreach_projection.recovery
+namespace EventStore.Projections.Core.Tests.ClientAPI.when_handling_deleted.with_from_category_foreach_projection.recovery
{
[TestFixture]
public class when_running_and_events_are_indexed : specification_with_standard_projections_runnning
View
2  ...and_events_get_indexed_before_recovery.cs → ...and_events_get_indexed_before_recovery.cs
@@ -28,7 +28,7 @@
using NUnit.Framework;
-namespace EventStore.Projections.Core.Tests.ClientAPI.when_handling_delete.with_from_category_foreach_projection.recovery
+namespace EventStore.Projections.Core.Tests.ClientAPI.when_handling_deleted.with_from_category_foreach_projection.recovery
{
[TestFixture]
public class when_running_and_events_get_indexed_before_recovery : specification_with_standard_projections_runnning
View
2  ...on/when_running_and_events_are_indexed.cs → ...on/when_running_and_events_are_indexed.cs
@@ -28,7 +28,7 @@
using NUnit.Framework;
-namespace EventStore.Projections.Core.Tests.ClientAPI.when_handling_delete.with_from_category_foreach_projection
+namespace EventStore.Projections.Core.Tests.ClientAPI.when_handling_deleted.with_from_category_foreach_projection
{
[TestFixture]
public class when_running_and_events_are_indexed : specification_with_standard_projections_runnning
View
2  ...d_but_a_stream_and_tombstone_postponed.cs → ...d_but_a_stream_and_tombstone_postponed.cs
@@ -28,7 +28,7 @@
using NUnit.Framework;
-namespace EventStore.Projections.Core.Tests.ClientAPI.when_handling_delete.with_from_category_foreach_projection
+namespace EventStore.Projections.Core.Tests.ClientAPI.when_handling_deleted.with_from_category_foreach_projection
{
[TestFixture]
public class when_running_and_events_are_indexed_but_a_stream_and_tombstone_postponed :
View
2  ...g_and_events_are_indexed_but_tombstone.cs → ...g_and_events_are_indexed_but_tombstone.cs
@@ -28,7 +28,7 @@
using NUnit.Framework;
-namespace EventStore.Projections.Core.Tests.ClientAPI.when_handling_delete.with_from_category_foreach_projection
+namespace EventStore.Projections.Core.Tests.ClientAPI.when_handling_deleted.with_from_category_foreach_projection
{
[TestFixture]
public class when_running_and_events_are_indexed_but_tombstone : specification_with_standard_projections_runnning
View
2  ...events_are_indexed_including_tombstone.cs → ...events_are_indexed_including_tombstone.cs
@@ -28,7 +28,7 @@
using NUnit.Framework;
-namespace EventStore.Projections.Core.Tests.ClientAPI.when_handling_delete.with_from_category_foreach_projection
+namespace EventStore.Projections.Core.Tests.ClientAPI.when_handling_deleted.with_from_category_foreach_projection
{
[TestFixture]
public class when_running_and_events_are_indexed_including_tombstone :
View
2  ...ther_events_tombstone_ant_other_events.cs → ...ther_events_tombstone_ant_other_events.cs
@@ -28,7 +28,7 @@
using NUnit.Framework;
-namespace EventStore.Projections.Core.Tests.ClientAPI.when_handling_delete.with_from_category_foreach_projection
+namespace EventStore.Projections.Core.Tests.ClientAPI.when_handling_deleted.with_from_category_foreach_projection
{
[TestFixture]
public class when_running_and_then_other_events_tombstone_ant_other_events : specification_with_standard_projections_runnning
View
47 src/EventStore/EventStore.Projections.Core.Tests/EventStore.Projections.Core.Tests.csproj
@@ -109,28 +109,31 @@
<Compile Include="ClientAPI\event_by_type_index.cs" />
<Compile Include="ClientAPI\event_by_type_index\when_reverting_after_index_catches_up.cs" />
<Compile Include="ClientAPI\specification_with_standard_projections_runnning.cs" />
- <Compile Include="ClientAPI\when_handling_delete\with_from_all_any_foreach_projection\recovery\when_running_and_events_are_posted.cs" />
- <Compile Include="ClientAPI\when_handling_delete\with_from_all_any_foreach_projection\recovery\when_running_and_a_stream_gets_deleted_before_recovery.cs" />
- <Compile Include="ClientAPI\when_handling_delete\with_from_all_any_foreach_projection\when_running_and_events_are_posted.cs" />
- <Compile Include="ClientAPI\when_handling_delete\with_from_all_any_foreach_projection\when_running_and_events_are_posted_but_a_stream_and_tombstone_postponed.cs" />
- <Compile Include="ClientAPI\when_handling_delete\with_from_all_any_foreach_projection\when_running_and_events_are_posted_but_tombstone.cs" />
- <Compile Include="ClientAPI\when_handling_delete\with_from_all_any_foreach_projection\when_running_and_events_are_posted_including_tombstone.cs" />
- <Compile Include="ClientAPI\when_handling_delete\with_from_all_any_foreach_projection\when_running_and_then_other_events_tombstone_ant_other_events.cs" />
- <Compile Include="ClientAPI\when_handling_delete\with_from_category_foreach_projection\recovery\when_running_and_events_are_indexed.cs" />
- <Compile Include="ClientAPI\when_handling_delete\with_from_category_foreach_projection\recovery\when_running_and_events_get_indexed_before_recovery.cs" />
- <Compile Include="ClientAPI\when_handling_delete\with_from_category_foreach_projection\when_running_and_events_are_indexed.cs" />
- <Compile Include="ClientAPI\when_handling_delete\with_from_category_foreach_projection\when_running_and_events_are_indexed_but_a_stream_and_tombstone_postponed.cs" />
- <Compile Include="ClientAPI\when_handling_delete\with_from_category_foreach_projection\when_running_and_events_are_indexed_including_tombstone.cs" />
- <Compile Include="ClientAPI\when_handling_delete\with_from_category_foreach_projection\when_running_and_events_are_indexed_but_tombstone.cs" />
- <Compile Include="ClientAPI\when_handling_delete\with_from_category_foreach_projection\when_running_and_then_other_events_tombstone_ant_other_events.cs" />
- <Compile Include="ClientAPI\when_handling_delete\with_from_all_foreach_projection\recovery\when_running_and_events_are_indexed.cs" />
- <Compile Include="ClientAPI\when_handling_delete\with_from_all_foreach_projection\recovery\when_running_and_events_get_indexed_before_recovery.cs" />
- <Compile Include="ClientAPI\when_handling_delete\with_from_all_foreach_projection\when_running_and_no_indexing.cs" />
- <Compile Include="ClientAPI\when_handling_delete\with_from_all_foreach_projection\when_running_and_events_are_indexed.cs" />
- <Compile Include="ClientAPI\when_handling_delete\with_from_all_foreach_projection\when_running_and_events_are_indexed_but_a_stream_and_tombstone.cs" />
- <Compile Include="ClientAPI\when_handling_delete\with_from_all_foreach_projection\when_running_and_events_are_indexed_but_more_events_and_tombstone.cs" />
- <Compile Include="ClientAPI\when_handling_delete\with_from_all_foreach_projection\when_running_and_events_are_indexed_but_tombstone.cs" />
- <Compile Include="ClientAPI\when_handling_delete\with_from_all_foreach_projection\when_running_and_no_indexing_and_other_events.cs" />
+ <Compile Include="ClientAPI\when_handling_created\with_from_all_any_foreach_projection\when_running_and_events_are_posted.cs" />
+ <Compile Include="ClientAPI\when_handling_created\with_from_all_foreach_projection\when_running_and_events_are_indexed.cs" />
+ <Compile Include="ClientAPI\when_handling_created\with_from_category_foreach_projection\when_running_and_events_are_indexed.cs" />
+ <Compile Include="ClientAPI\when_handling_deleted\with_from_all_any_foreach_projection\recovery\when_running_and_events_are_posted.cs" />
+ <Compile Include="ClientAPI\when_handling_deleted\with_from_all_any_foreach_projection\recovery\when_running_and_a_stream_gets_deleted_before_recovery.cs" />
+ <Compile Include="ClientAPI\when_handling_deleted\with_from_all_any_foreach_projection\when_running_and_events_are_posted.cs" />
+ <Compile Include="ClientAPI\when_handling_deleted\with_from_all_any_foreach_projection\when_running_and_events_are_posted_but_a_stream_and_tombstone_postponed.cs" />
+ <Compile Include="ClientAPI\when_handling_deleted\with_from_all_any_foreach_projection\when_running_and_events_are_posted_but_tombstone.cs" />
+ <Compile Include="ClientAPI\when_handling_deleted\with_from_all_any_foreach_projection\when_running_and_events_are_posted_including_tombstone.cs" />
+ <Compile Include="ClientAPI\when_handling_deleted\with_from_all_any_foreach_projection\when_running_and_then_other_events_tombstone_ant_other_events.cs" />
+ <Compile Include="ClientAPI\when_handling_deleted\with_from_category_foreach_projection\recovery\when_running_and_events_are_indexed.cs" />
+ <Compile Include="ClientAPI\when_handling_deleted\with_from_category_foreach_projection\recovery\when_running_and_events_get_indexed_before_recovery.cs" />
+ <Compile Include="ClientAPI\when_handling_deleted\with_from_category_foreach_projection\when_running_and_events_are_indexed.cs" />
+ <Compile Include="ClientAPI\when_handling_deleted\with_from_category_foreach_projection\when_running_and_events_are_indexed_but_a_stream_and_tombstone_postponed.cs" />
+ <Compile Include="ClientAPI\when_handling_deleted\with_from_category_foreach_projection\when_running_and_events_are_indexed_including_tombstone.cs" />
+ <Compile Include="ClientAPI\when_handling_deleted\with_from_category_foreach_projection\when_running_and_events_are_indexed_but_tombstone.cs" />
+ <Compile Include="ClientAPI\when_handling_deleted\with_from_category_foreach_projection\when_running_and_then_other_events_tombstone_ant_other_events.cs" />
+ <Compile Include="ClientAPI\when_handling_deleted\with_from_all_foreach_projection\recovery\when_running_and_events_are_indexed.cs" />
+ <Compile Include="ClientAPI\when_handling_deleted\with_from_all_foreach_projection\recovery\when_running_and_events_get_indexed_before_recovery.cs" />
+ <Compile Include="ClientAPI\when_handling_deleted\with_from_all_foreach_projection\when_running_and_no_indexing.cs" />
+ <Compile Include="ClientAPI\when_handling_deleted\with_from_all_foreach_projection\when_running_and_events_are_indexed.cs" />
+ <Compile Include="ClientAPI\when_handling_deleted\with_from_all_foreach_projection\when_running_and_events_are_indexed_but_a_stream_and_tombstone.cs" />
+ <Compile Include="ClientAPI\when_handling_deleted\with_from_all_foreach_projection\when_running_and_events_are_indexed_but_more_events_and_tombstone.cs" />
+ <Compile Include="ClientAPI\when_handling_deleted\with_from_all_foreach_projection\when_running_and_events_are_indexed_but_tombstone.cs" />
+ <Compile Include="ClientAPI\when_handling_deleted\with_from_all_foreach_projection\when_running_and_no_indexing_and_other_events.cs" />
<Compile Include="ClientAPI\with_standard_projections_running.cs" />
<Compile Include="Integration\from_streams_matching\when_running_without_stream_metadata.cs" />
<Compile Include="Integration\from_streams_matching\when_running_wit_stream_metadata.cs" />
Please sign in to comment.
Something went wrong with that request. Please try again.