Skip to content

Removed SafeEquals from FuncSharp #213

Removed SafeEquals from FuncSharp

Removed SafeEquals from FuncSharp #213

This check has been archived and is scheduled for deletion. Learn more about checks retention
GitHub Actions / Mews.Fiscalizations.All-Windows Tests succeeded Dec 27, 2023 in 0s

Mews.Fiscalizations.All-Windows Tests ✅

Tests passed successfully

Report Passed Failed Skipped Time
src/Austria/Mews.Fiscalizations.Austria.Tests/TestResults/test-results-Windows.trx 3✅ 5s
src/Basque/Mews.Fiscalizations.Basque.Tests/TestResults/test-results-Windows.trx 32✅ 23s
src/Core/Mews.Fiscalizations.Core.Tests/TestResults/test-results-Windows.trx 70✅ 3s
src/Germany/Mews.Fiscalizations.Germany.Tests/TestResults/test-results-Windows.trx 11✅ 44s
src/Hungary/Mews.Fiscalizations.Hungary.Tests/TestResults/test-results-Windows.trx 15✅ 54s
src/Italy/Mews.Fiscalizations.Italy.Tests/TestResults/test-results-Windows.trx 3✅ 3s
src/Spain/Mews.Fiscalizations.Spain.Tests/TestResults/test-results-Windows.trx 2⚪ 1s

✅ src/Austria/Mews.Fiscalizations.Austria.Tests/TestResults/test-results-Windows.trx

3 tests were completed in 5s with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Mews.Fiscalizations.Austria.Tests.ATrustSignerTests 2✅ 2s
Mews.Fiscalizations.Austria.Tests.OfflineTests 1✅ 108ms

✅ Mews.Fiscalizations.Austria.Tests.ATrustSignerTests

✅ ATrustSignerWorks
✅ GetCertificateInfoWorks

✅ Mews.Fiscalizations.Austria.Tests.OfflineTests

✅ OfflineSignatureWorks

✅ src/Basque/Mews.Fiscalizations.Basque.Tests/TestResults/test-results-Windows.trx

32 tests were completed in 23s with 32 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Mews.Fiscalizations.Basque.Tests.Bizkaia.BizkaiaDataValidationTests 2✅ 193ms
Mews.Fiscalizations.Basque.Tests.Bizkaia.DtoToModelConverterTests 2✅ 160ms
Mews.Fiscalizations.Basque.Tests.Bizkaia.LROERequestDtoValidationTests 2✅ 111ms
Mews.Fiscalizations.Basque.Tests.Bizkaia.LROEResponseDeserializationTests 4✅ 18ms
Mews.Fiscalizations.Basque.Tests.SendInvoiceTests 15✅ 21s
Mews.Fiscalizations.Basque.Tests.ValidationTests 7✅ 1ms

✅ Mews.Fiscalizations.Basque.Tests.Bizkaia.BizkaiaDataValidationTests

✅ Create_BizkaiaData_Json_Serialization_Deserialization_Succeeds
✅ Create_BizkaiaData_JsonSerialization_Succeeds

✅ Mews.Fiscalizations.Basque.Tests.Bizkaia.DtoToModelConverterTests

✅ CorrectResponse_Generates_CorrectResult
✅ IncorrectResponse_Generates_IncorrectResponse

✅ Mews.Fiscalizations.Basque.Tests.Bizkaia.LROERequestDtoValidationTests

✅ CreateBatuzInvoiceDto_XmlSerialization_Succeeds
✅ CreateTicketBaiInvoice_XsdValidation_Succeeds

✅ Mews.Fiscalizations.Basque.Tests.Bizkaia.LROEResponseDeserializationTests

✅ CorrectResponse_Deserialization_Succeeds
✅ IncorrectResponse_Deserialization_Succeeds
✅ PartiallyCorrectResponse_Deserialization_Succeeds
✅ WrongFileFormat_Deserialization_Fails

✅ Mews.Fiscalizations.Basque.Tests.SendInvoiceTests

✅ Araba - Invoice chaining
✅ Araba - Send invoice with foreign receiver
✅ Araba - Send invoice with local receiver
✅ Araba - Send negative invoice with foreign receiver
✅ Araba - Send negative invoice with local receiver
✅ Bizkaia - Invoice chaining
✅ Bizkaia - Send invoice with foreign receiver
✅ Bizkaia - Send invoice with local receiver
✅ Bizkaia - Send negative invoice with foreign receiver
✅ Bizkaia - Send negative invoice with local receiver
✅ Gipuzkoa - Invoice chaining
✅ Gipuzkoa - Send invoice with foreign receiver
✅ Gipuzkoa - Send invoice with local receiver
✅ Gipuzkoa - Send negative invoice with foreign receiver
✅ Gipuzkoa - Send negative invoice with local receiver

✅ Mews.Fiscalizations.Basque.Tests.ValidationTests

✅ PostalCodeTests(" ",False)
✅ PostalCodeTests("",False)
✅ PostalCodeTests("12345",True)
✅ PostalCodeTests("12345@",False)
✅ PostalCodeTests("123456789123456789102",False)
✅ PostalCodeTests("ABCDEF123456",True)
✅ PostalCodeTests("ABCDEFG",True)

✅ src/Core/Mews.Fiscalizations.Core.Tests/TestResults/test-results-Windows.trx

70 tests were completed in 3s with 70 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Mews.Fiscalizations.Core.Tests.Compression.GzipCompressionTests 1✅ 60ms
Mews.Fiscalizations.Core.Tests.Model.BasicLatinStringTests 7✅ 16ms
Mews.Fiscalizations.Core.Tests.Model.CountryTests 11✅ 22ms
Mews.Fiscalizations.Core.Tests.Model.String1To50Tests 5✅ 106ms
Mews.Fiscalizations.Core.Tests.Model.TaxpayerIdentificationNumberTests 46✅ 6ms

✅ Mews.Fiscalizations.Core.Tests.Compression.GzipCompressionTests

✅ GzipCompress_Decompress_Returns_Original_String

✅ Mews.Fiscalizations.Core.Tests.Model.BasicLatinStringTests

✅ ToBasicLatinStringSucceeds("   ","   ")
✅ ToBasicLatinStringSucceeds("!@#$%^&**()_-","!@#$%^&**()_-")
✅ ToBasicLatinStringSucceeds("","")
✅ ToBasicLatinStringSucceeds("€€€","")
✅ ToBasicLatinStringSucceeds("abcdefghijklmnopqrstuvwxyz0123456789","abcdefghijklmnopqrstuvwxyz0123456789")
✅ ToBasicLatinStringSucceeds("Euro € sign","Euro  sign")
✅ ToBasicLatinStringSucceeds(null,null)

✅ Mews.Fiscalizations.Core.Tests.Model.CountryTests

✅ CountryWithInvalidCountryCodeNotFound("")
✅ CountryWithInvalidCountryCodeNotFound("invalid")
✅ CountryWithInvalidCountryCodeNotFound(null)
✅ CountryWithValidCountryCodeFound("AU")
✅ CountryWithValidCountryCodeFound("US")
✅ EuropeanCountryWithInvalidCountryCodeNotFound("")
✅ EuropeanCountryWithInvalidCountryCodeNotFound("invalid")
✅ EuropeanCountryWithInvalidCountryCodeNotFound("US")
✅ EuropeanCountryWithInvalidCountryCodeNotFound(null)
✅ EuropeanCountryWithValidCountryCodeFound("CZ")
✅ EuropeanCountryWithValidCountryCodeFound("PL")

✅ Mews.Fiscalizations.Core.Tests.Model.String1To50Tests

✅ String1To50ValidatesCorrectly("   ",True)
✅ String1To50ValidatesCorrectly("",False)
✅ String1To50ValidatesCorrectly("12345678901234567890123456789012345678901234567890",True)
✅ String1To50ValidatesCorrectly("123456789012345678901234567890123456789012345678901",False)
✅ String1To50ValidatesCorrectly(null,False)

✅ Mews.Fiscalizations.Core.Tests.Model.TaxpayerIdentificationNumberTests

✅ CreatingInvalidEuropeanTaxpayerNumberFails("CZ","")
✅ CreatingInvalidEuropeanTaxpayerNumberFails("CZ","ABC1234567")
✅ CreatingInvalidEuropeanTaxpayerNumberFails("CZ",null)
✅ CreatingInvalidEuropeanTaxpayerNumberFails(null,"ABCD12344")
✅ CreatingInvalidEuropeanTaxpayerNumberFails(null,null)
✅ CreatingInvalidSpanishTaxpayerNumberFails("123456789")
✅ CreatingInvalidSpanishTaxpayerNumberFails("A0123456789")
✅ CreatingInvalidSpanishTaxpayerNumberFails("A1234")
✅ CreatingInvalidSpanishTaxpayerNumberFails("AAAAAAAAA")
✅ CreatingInvalidTaxpayerNumberFails("US","")
✅ CreatingInvalidTaxpayerNumberFails("US",null)
✅ CreatingInvalidTaxpayerNumberFails(null,"ABCD12345")
✅ CreatingInvalidTaxpayerNumberFails(null,null)
✅ CreatingValidEuropeanTaxpayerNumberSucceeds("AT","U99999999")
✅ CreatingValidEuropeanTaxpayerNumberSucceeds("BE","0999999999")
✅ CreatingValidEuropeanTaxpayerNumberSucceeds("BG","999999999")
✅ CreatingValidEuropeanTaxpayerNumberSucceeds("CY","99999999L")
✅ CreatingValidEuropeanTaxpayerNumberSucceeds("CZ","99999999")
✅ CreatingValidEuropeanTaxpayerNumberSucceeds("DE","999999999")
✅ CreatingValidEuropeanTaxpayerNumberSucceeds("DK","99999999")
✅ CreatingValidEuropeanTaxpayerNumberSucceeds("EE","999999999")
✅ CreatingValidEuropeanTaxpayerNumberSucceeds("ES","X9999999X")
✅ CreatingValidEuropeanTaxpayerNumberSucceeds("FI","99999999")
✅ CreatingValidEuropeanTaxpayerNumberSucceeds("FR","XX999999999")
✅ CreatingValidEuropeanTaxpayerNumberSucceeds("GB","999999999")
✅ CreatingValidEuropeanTaxpayerNumberSucceeds("GR","999999999")
✅ CreatingValidEuropeanTaxpayerNumberSucceeds("HU","99999999")
✅ CreatingValidEuropeanTaxpayerNumberSucceeds("IE","9S99999L")
✅ CreatingValidEuropeanTaxpayerNumberSucceeds("IE","IE1111111L")
✅ CreatingValidEuropeanTaxpayerNumberSucceeds("IT","99999999999")
✅ CreatingValidEuropeanTaxpayerNumberSucceeds("LT","999999999")
✅ CreatingValidEuropeanTaxpayerNumberSucceeds("LU","99999999")
✅ CreatingValidEuropeanTaxpayerNumberSucceeds("LV","99999999999")
✅ CreatingValidEuropeanTaxpayerNumberSucceeds("MT","99999999")
✅ CreatingValidEuropeanTaxpayerNumberSucceeds("NL","999999999B99")
✅ CreatingValidEuropeanTaxpayerNumberSucceeds("PL","9999999999")
✅ CreatingValidEuropeanTaxpayerNumberSucceeds("PT","999999999")
✅ CreatingValidEuropeanTaxpayerNumberSucceeds("RO","99")
✅ CreatingValidEuropeanTaxpayerNumberSucceeds("SE","999999999999")
✅ CreatingValidEuropeanTaxpayerNumberSucceeds("SI","99999999")
✅ CreatingValidEuropeanTaxpayerNumberSucceeds("SK","9999999999")
✅ CreatingValidNonEuropeanTaxpayerNumberSucceeds("AU","ABCD12345111")
✅ CreatingValidNonEuropeanTaxpayerNumberSucceeds("US","123456789")
✅ CreatingValidSpanishTaxpayerNumberSucceeds("A12345678")
✅ CreatingValidSpanishTaxpayerNumberSucceeds("A1234567A")
✅ CreatingValidSpanishTaxpayerNumberSucceeds("ESA1234567A")

✅ src/Germany/Mews.Fiscalizations.Germany.Tests/TestResults/test-results-Windows.trx

11 tests were completed in 44s with 11 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Mews.Fiscalizations.Germany.Tests.V2.AccessTokenTests 1✅ 166ms
Mews.Fiscalizations.Germany.Tests.V2.ClientTests 3✅ 2s
Mews.Fiscalizations.Germany.Tests.V2.TransactionTests 4✅ 3s
Mews.Fiscalizations.Germany.Tests.V2.TssTests 3✅ 23s

✅ Mews.Fiscalizations.Germany.Tests.V2.AccessTokenTests

✅ GetAccessTokenSucceeds

✅ Mews.Fiscalizations.Germany.Tests.V2.ClientTests

✅ CreateClientSucceeds
✅ GetAllTssClientsSucceeds
✅ GetClientSucceeds

✅ Mews.Fiscalizations.Germany.Tests.V2.TransactionTests

✅ GetTransactionSucceeds
✅ StartAndFinishTransactionSucceeds
✅ StartTransactionSucceeds
✅ StatusCheckSucceeds

✅ Mews.Fiscalizations.Germany.Tests.V2.TssTests

✅ CreateTssSucceeds
✅ GetAllTSSsSucceeds
✅ GetTssSucceeds

✅ src/Hungary/Mews.Fiscalizations.Hungary.Tests/TestResults/test-results-Windows.trx

15 tests were completed in 54s with 15 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Mews.Fiscalizations.Hungary.Tests.InvoiceTests 12✅ 52s
Mews.Fiscalizations.Hungary.Tests.StatusTests 3✅ 937ms

✅ Mews.Fiscalizations.Hungary.Tests.InvoiceTests

✅ SendCorrectionCustomerInvoiceSucceeds
✅ SendCorrectionForeignCompanyInvoiceSucceeds("CZ","CZ12345678")
✅ SendCorrectionForeignCompanyInvoiceSucceeds("CZ",null)
✅ SendCorrectionForeignCompanyInvoiceSucceeds("US","UsTaxId")
✅ SendCorrectionForeignCompanyInvoiceSucceeds("US",null)
✅ SendCorrectionLocalCompanyInvoiceSucceeds
✅ SendCustomerInvoiceSucceeds
✅ SendForeignCompanyInvoiceSucceeds("CZ","CZ12345678")
✅ SendForeignCompanyInvoiceSucceeds("CZ",null)
✅ SendForeignCompanyInvoiceSucceeds("US","UsTaxId")
✅ SendForeignCompanyInvoiceSucceeds("US",null)
✅ SendLocalCompanyInvoiceSucceeds

✅ Mews.Fiscalizations.Hungary.Tests.StatusTests

✅ GetExchangeTokenSucceeds
✅ GetTaxerpayerDataSucceeds
✅ GetTransactionStatusSucceeds

✅ src/Italy/Mews.Fiscalizations.Italy.Tests/TestResults/test-results-Windows.trx

3 tests were completed in 3s with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Mews.Fiscalizations.Italy.Tests.UniwixClientTests 3✅ 2s

✅ Mews.Fiscalizations.Italy.Tests.UniwixClientTests

✅ GetInvoiceStateWithInvalidFileIdReturnsCorrectErrorType
✅ SendInvoiceSucceeds
✅ VerifyCredentialsSucceeds

✅ src/Spain/Mews.Fiscalizations.Spain.Tests/TestResults/test-results-Windows.trx

2 tests were completed in 1s with 0 passed, 0 failed and 2 skipped.

Test suite Passed Failed Skipped Time
Mews.Fiscalizations.Spain.Tests.IssuedInvoices.Basics 2⚪ 3ms

✅ Mews.Fiscalizations.Spain.Tests.IssuedInvoices.Basics

⚪ CheckNif
⚪ PostInvoice