Skip to content
This repository has been archived by the owner on Apr 9, 2024. It is now read-only.

Solve problem with too long file names on Windows #1087

Merged
merged 2 commits into from
May 29, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,9 @@
* Licensed under the MIT License. See LICENSE in the project root for license information.
*--------------------------------------------------------------------------------------------*/

using System;
using System.Collections.Generic;
using Events.NotificationGateway.Reporting.SMS;
using Policies.Reporting.Notifications;

namespace Policies.Specs.Reporting.for_notifications.when_parsing_a_text_message_with_a_correctly_formated_aggregated_case_report.given
namespace Policies.Specs.Reporting.for_notifications.when_parsing_a_correctly_formated_aggregated_case_report_sms.given
{
public class text_message_received_events_containing_aggregated_case_reports : Policies.Specs.Reporting.for_notifications.given.text_message_received_events
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,12 @@
* Licensed under the MIT License. See LICENSE in the project root for license information.
*--------------------------------------------------------------------------------------------*/

using System;
using System.Collections.Generic;
using Events.NotificationGateway.Reporting.SMS;
using Policies.Reporting.Notifications;
using Policies.Specs.Reporting.for_notifications.when_parsing_a_correctly_formated_aggregated_case_report_sms.given;

namespace Policies.Specs.Reporting.for_notifications.when_parsing_a_text_message_with_a_correctly_formated_aggregated_case_report.separated_by_hash.given
namespace Policies.Specs.Reporting.for_notifications.when_parsing_a_correctly_formated_aggregated_case_report_sms.separated_by_hash.given
{
public class text_message_received_events_containing_aggregated_case_report_separated_by_hash : Policies.Specs.Reporting.for_notifications.when_parsing_a_text_message_with_a_correctly_formated_aggregated_case_report.
given.text_message_received_events_containing_aggregated_case_reports
public class text_message_received_events_containing_aggregated_case_report : text_message_received_events_containing_aggregated_case_reports
{
static readonly char separator = '#';
protected static TextMessageReceived valid_text_message_received(int males_under_5, int males_over_5, int females_under_5, int females_over_5 ) => valid_text_message_received(males_under_5, males_over_5, females_under_5, females_over_5, separator);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,15 @@
* Licensed under the MIT License. See LICENSE in the project root for license information.
*--------------------------------------------------------------------------------------------*/

using System;
using System.Collections.Generic;
using Events.NotificationGateway.Reporting.SMS;
using Machine.Specifications;
using Policies.Reporting.Notifications;
using Policies.Specs.Reporting.for_notifications.when_parsing_a_correctly_formated_aggregated_case_report_sms.separated_by_hash.given;

namespace Policies.Specs.Reporting.for_notifications.when_parsing_a_text_message_with_a_correctly_formated_aggregated_case_report.separated_by_hash
namespace Policies.Specs.Reporting.for_notifications.when_parsing_a_correctly_formated_aggregated_case_report_sms.separated_by_hash
{
[Subject("Notification")]
public class when_it_is_a_valid_report : given.text_message_received_events_containing_aggregated_case_report_separated_by_hash
public class when_it_is_a_valid_report : text_message_received_events_containing_aggregated_case_report
{
static readonly int cases_of_male_under_5 = 0;
static readonly int cases_of_male_over_5 = 1;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,15 @@
* Licensed under the MIT License. See LICENSE in the project root for license information.
*--------------------------------------------------------------------------------------------*/

using System;
using System.Collections.Generic;
using Events.NotificationGateway.Reporting.SMS;
using Machine.Specifications;
using Policies.Reporting.Notifications;
using Policies.Specs.Reporting.for_notifications.when_parsing_a_correctly_formated_aggregated_case_report_sms.separated_by_hash.given;

namespace Policies.Specs.Reporting.for_notifications.when_parsing_a_text_message_with_a_correctly_formated_aggregated_case_report.separated_by_star
namespace Policies.Specs.Reporting.for_notifications.when_parsing_a_correctly_formated_aggregated_case_report_sms.separated_by_hash
{
[Subject("Notification")]
public class when_report_has_a_negative_health_risk : given.text_message_received_events_containing_aggregated_case_report_separated_by_star
public class when_report_has_a_negative_health_risk : text_message_received_events_containing_aggregated_case_report
{
static readonly NotificationParser parser = new NotificationParser();
static TextMessageReceived received_text_message;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,15 @@
* Licensed under the MIT License. See LICENSE in the project root for license information.
*--------------------------------------------------------------------------------------------*/

using System;
using System.Collections.Generic;
using Events.NotificationGateway.Reporting.SMS;
using Machine.Specifications;
using Policies.Reporting.Notifications;
using Policies.Specs.Reporting.for_notifications.when_parsing_a_correctly_formated_aggregated_case_report_sms.separated_by_hash.given;

namespace Policies.Specs.Reporting.for_notifications.when_parsing_a_text_message_with_a_correctly_formated_aggregated_case_report.separated_by_star_and_hash
namespace Policies.Specs.Reporting.for_notifications.when_parsing_a_correctly_formated_aggregated_case_report_sms.separated_by_hash
{
[Subject("Notification")]
public class when_report_has_a_negative_number_of_cases_of_females_over_5 : given.text_message_received_events_containing_aggregated_case_report_separated_by_star_and_hash
public class when_report_has_a_negative_number_of_cases_of_females_over_5 : text_message_received_events_containing_aggregated_case_report
{
static readonly NotificationParser parser = new NotificationParser();
static TextMessageReceived received_text_message;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,15 @@
* Licensed under the MIT License. See LICENSE in the project root for license information.
*--------------------------------------------------------------------------------------------*/

using System;
using System.Collections.Generic;
using Events.NotificationGateway.Reporting.SMS;
using Machine.Specifications;
using Policies.Reporting.Notifications;
using Policies.Specs.Reporting.for_notifications.when_parsing_a_correctly_formated_aggregated_case_report_sms.separated_by_hash.given;

namespace Policies.Specs.Reporting.for_notifications.when_parsing_a_text_message_with_a_correctly_formated_aggregated_case_report.separated_by_hash
namespace Policies.Specs.Reporting.for_notifications.when_parsing_a_correctly_formated_aggregated_case_report_sms.separated_by_hash
{
[Subject("Notification")]
public class when_report_has_a_negative_number_of_cases_of_females_under_5 : given.text_message_received_events_containing_aggregated_case_report_separated_by_hash
public class when_report_has_a_negative_number_of_cases_of_females_under_5 : text_message_received_events_containing_aggregated_case_report
{
static readonly NotificationParser parser = new NotificationParser();
static TextMessageReceived received_text_message;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,15 @@
* Licensed under the MIT License. See LICENSE in the project root for license information.
*--------------------------------------------------------------------------------------------*/

using System;
using System.Collections.Generic;
using Events.NotificationGateway.Reporting.SMS;
using Machine.Specifications;
using Policies.Reporting.Notifications;
using Policies.Specs.Reporting.for_notifications.when_parsing_a_correctly_formated_aggregated_case_report_sms.separated_by_hash.given;

namespace Policies.Specs.Reporting.for_notifications.when_parsing_a_text_message_with_a_correctly_formated_aggregated_case_report.separated_by_star
namespace Policies.Specs.Reporting.for_notifications.when_parsing_a_correctly_formated_aggregated_case_report_sms.separated_by_hash
{
[Subject("Notification")]
public class when_report_has_a_negative_number_of_cases_of_males_over_5 : given.text_message_received_events_containing_aggregated_case_report_separated_by_star
public class when_report_has_a_negative_number_of_cases_of_males_over_5 : text_message_received_events_containing_aggregated_case_report
{
static readonly NotificationParser parser = new NotificationParser();
static TextMessageReceived received_text_message;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,15 @@
* Licensed under the MIT License. See LICENSE in the project root for license information.
*--------------------------------------------------------------------------------------------*/

using System;
using System.Collections.Generic;
using Events.NotificationGateway.Reporting.SMS;
using Machine.Specifications;
using Policies.Reporting.Notifications;
using Policies.Specs.Reporting.for_notifications.when_parsing_a_correctly_formated_aggregated_case_report_sms.separated_by_hash.given;

namespace Policies.Specs.Reporting.for_notifications.when_parsing_a_text_message_with_a_correctly_formated_aggregated_case_report.separated_by_star_and_hash
namespace Policies.Specs.Reporting.for_notifications.when_parsing_a_correctly_formated_aggregated_case_report_sms.separated_by_hash
{
[Subject("Notification")]
public class when_report_has_a_negative_number_of_cases_of_males_under_5 : given.text_message_received_events_containing_aggregated_case_report_separated_by_star_and_hash
public class when_report_has_a_negative_number_of_cases_of_males_under_5 : text_message_received_events_containing_aggregated_case_report
{
static readonly NotificationParser parser = new NotificationParser();
static TextMessageReceived received_text_message;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,15 @@
* Licensed under the MIT License. See LICENSE in the project root for license information.
*--------------------------------------------------------------------------------------------*/

using System;
using System.Collections.Generic;
using Events.NotificationGateway.Reporting.SMS;
using Machine.Specifications;
using Policies.Reporting.Notifications;
using Policies.Specs.Reporting.for_notifications.when_parsing_a_correctly_formated_aggregated_case_report_sms.separated_by_hash.given;

namespace Policies.Specs.Reporting.for_notifications.when_parsing_a_text_message_with_a_correctly_formated_aggregated_case_report.separated_by_star
namespace Policies.Specs.Reporting.for_notifications.when_parsing_a_correctly_formated_aggregated_case_report_sms.separated_by_hash
{
[Subject("Notification")]
public class when_report_has_an_invalid_value_for_females_over_5 : given.text_message_received_events_containing_aggregated_case_report_separated_by_star
public class when_report_has_an_invalid_value_for_females_over_5 : text_message_received_events_containing_aggregated_case_report
{
static readonly NotificationParser parser = new NotificationParser();
static TextMessageReceived received_text_message;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,15 @@
* Licensed under the MIT License. See LICENSE in the project root for license information.
*--------------------------------------------------------------------------------------------*/

using System;
using System.Collections.Generic;
using Events.NotificationGateway.Reporting.SMS;
using Machine.Specifications;
using Policies.Reporting.Notifications;
using Policies.Specs.Reporting.for_notifications.when_parsing_a_correctly_formated_aggregated_case_report_sms.separated_by_hash.given;

namespace Policies.Specs.Reporting.for_notifications.when_parsing_a_text_message_with_a_correctly_formated_aggregated_case_report.separated_by_hash
namespace Policies.Specs.Reporting.for_notifications.when_parsing_a_correctly_formated_aggregated_case_report_sms.separated_by_hash
{
[Subject("Notification")]
public class when_report_has_an_invalid_value_for_females_under_5 : given.text_message_received_events_containing_aggregated_case_report_separated_by_hash
public class when_report_has_an_invalid_value_for_females_under_5 : text_message_received_events_containing_aggregated_case_report
{
static readonly NotificationParser parser = new NotificationParser();
static TextMessageReceived received_text_message;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,15 @@
* Licensed under the MIT License. See LICENSE in the project root for license information.
*--------------------------------------------------------------------------------------------*/

using System;
using System.Collections.Generic;
using Events.NotificationGateway.Reporting.SMS;
using Machine.Specifications;
using Policies.Reporting.Notifications;
using Policies.Specs.Reporting.for_notifications.when_parsing_a_correctly_formated_aggregated_case_report_sms.separated_by_hash.given;

namespace Policies.Specs.Reporting.for_notifications.when_parsing_a_text_message_with_a_correctly_formated_aggregated_case_report.separated_by_star
namespace Policies.Specs.Reporting.for_notifications.when_parsing_a_correctly_formated_aggregated_case_report_sms.separated_by_hash
{
[Subject("Notification")]
public class when_report_has_an_invalid_value_for_health_risk : given.text_message_received_events_containing_aggregated_case_report_separated_by_star
public class when_report_has_an_invalid_value_for_health_risk : text_message_received_events_containing_aggregated_case_report
{
static readonly NotificationParser parser = new NotificationParser();
static TextMessageReceived received_text_message;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,15 @@
* Licensed under the MIT License. See LICENSE in the project root for license information.
*--------------------------------------------------------------------------------------------*/

using System;
using System.Collections.Generic;
using Events.NotificationGateway.Reporting.SMS;
using Machine.Specifications;
using Policies.Reporting.Notifications;
using Policies.Specs.Reporting.for_notifications.when_parsing_a_correctly_formated_aggregated_case_report_sms.separated_by_hash.given;

namespace Policies.Specs.Reporting.for_notifications.when_parsing_a_text_message_with_a_correctly_formated_aggregated_case_report.separated_by_star
namespace Policies.Specs.Reporting.for_notifications.when_parsing_a_correctly_formated_aggregated_case_report_sms.separated_by_hash
{
[Subject("Notification")]
public class when_report_has_an_invalid_value_for_males_over_5 : given.text_message_received_events_containing_aggregated_case_report_separated_by_star
public class when_report_has_an_invalid_value_for_males_over_5 : text_message_received_events_containing_aggregated_case_report
{
static readonly NotificationParser parser = new NotificationParser();
static TextMessageReceived received_text_message;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,15 @@
* Licensed under the MIT License. See LICENSE in the project root for license information.
*--------------------------------------------------------------------------------------------*/

using System;
using System.Collections.Generic;
using Events.NotificationGateway.Reporting.SMS;
using Machine.Specifications;
using Policies.Reporting.Notifications;
using Policies.Specs.Reporting.for_notifications.when_parsing_a_correctly_formated_aggregated_case_report_sms.separated_by_hash.given;

namespace Policies.Specs.Reporting.for_notifications.when_parsing_a_text_message_with_a_correctly_formated_aggregated_case_report.separated_by_hash
namespace Policies.Specs.Reporting.for_notifications.when_parsing_a_correctly_formated_aggregated_case_report_sms.separated_by_hash
{
[Subject("Notification")]
public class when_report_has_an_invalid_value_for_males_under_5 : given.text_message_received_events_containing_aggregated_case_report_separated_by_hash
public class when_report_has_an_invalid_value_for_males_under_5 : text_message_received_events_containing_aggregated_case_report
{
static readonly NotificationParser parser = new NotificationParser();
static TextMessageReceived received_text_message;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,12 @@
* Licensed under the MIT License. See LICENSE in the project root for license information.
*--------------------------------------------------------------------------------------------*/

using System;
using System.Collections.Generic;
using Events.NotificationGateway.Reporting.SMS;
using Policies.Reporting.Notifications;
using Policies.Specs.Reporting.for_notifications.when_parsing_a_correctly_formated_aggregated_case_report_sms.given;

namespace Policies.Specs.Reporting.for_notifications.when_parsing_a_text_message_with_a_correctly_formated_aggregated_case_report.separated_by_star.given
namespace Policies.Specs.Reporting.for_notifications.when_parsing_a_correctly_formated_aggregated_case_report_sms.separated_by_star.given
{
public class text_message_received_events_containing_aggregated_case_report_separated_by_star : Policies.Specs.Reporting.for_notifications.when_parsing_a_text_message_with_a_correctly_formated_aggregated_case_report.
given.text_message_received_events_containing_aggregated_case_reports
public class text_message_received_events_containing_aggregated_case_report : text_message_received_events_containing_aggregated_case_reports
{
static readonly char separator = '*';
protected static TextMessageReceived valid_text_message_received(int males_under_5, int males_over_5, int females_under_5, int females_over_5 ) => valid_text_message_received(males_under_5, males_over_5, females_under_5, females_over_5, separator);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,15 @@
* Licensed under the MIT License. See LICENSE in the project root for license information.
*--------------------------------------------------------------------------------------------*/

using System;
using System.Collections.Generic;
using Events.NotificationGateway.Reporting.SMS;
using Machine.Specifications;
using Policies.Reporting.Notifications;
using Policies.Specs.Reporting.for_notifications.when_parsing_a_correctly_formated_aggregated_case_report_sms.separated_by_star.given;

namespace Policies.Specs.Reporting.for_notifications.when_parsing_a_text_message_with_a_correctly_formated_aggregated_case_report.separated_by_star
namespace Policies.Specs.Reporting.for_notifications.when_parsing_a_correctly_formated_aggregated_case_report_sms.separated_by_star
{
[Subject("Notification")]
public class when_it_is_a_valid_report : given.text_message_received_events_containing_aggregated_case_report_separated_by_star
public class when_it_is_a_valid_report : text_message_received_events_containing_aggregated_case_report
{
static readonly int cases_of_male_under_5 = 0;
static readonly int cases_of_male_over_5 = 1;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,15 @@
* Licensed under the MIT License. See LICENSE in the project root for license information.
*--------------------------------------------------------------------------------------------*/

using System;
using System.Collections.Generic;
using Events.NotificationGateway.Reporting.SMS;
using Machine.Specifications;
using Policies.Reporting.Notifications;
using Policies.Specs.Reporting.for_notifications.when_parsing_a_correctly_formated_aggregated_case_report_sms.separated_by_star.given;

namespace Policies.Specs.Reporting.for_notifications.when_parsing_a_text_message_with_a_correctly_formated_aggregated_case_report.separated_by_star_and_hash
namespace Policies.Specs.Reporting.for_notifications.when_parsing_a_correctly_formated_aggregated_case_report_sms.separated_by_star
{
[Subject("Notification")]
public class when_report_has_a_negative_health_risk : given.text_message_received_events_containing_aggregated_case_report_separated_by_star_and_hash
public class when_report_has_a_negative_health_risk : text_message_received_events_containing_aggregated_case_report
{
static readonly NotificationParser parser = new NotificationParser();
static TextMessageReceived received_text_message;
Expand Down
Loading