Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement PHP string escaping semantics #64

Merged
merged 3 commits into from
Aug 1, 2024

Add another test

eb1cd1f
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

Implement PHP string escaping semantics #64

Add another test
eb1cd1f
Select commit
Loading
Failed to load commit list.
GitHub Actions / Test Results (macOS) succeeded Aug 1, 2024 in 0s

Test Results (macOS) ✔️

Tests passed successfully

✔️ TestResults-macOS.trx

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

Test suite Passed Failed Skipped Time
LocalisationAnalyser.Tests.Analysers.LocalisationKeyUsedMultipleTimesInClassAnalyserTests 1✔️ 2s
LocalisationAnalyser.Tests.Analysers.ResolvedAttributeRedundantNullabilityAnalyserTests 1✔️ 5s
LocalisationAnalyser.Tests.Analysers.StringCanBeLocalisedAnalyserTests 10✔️ 3s
LocalisationAnalyser.Tests.Analysers.TextDoesNotMatchXmlDocAnalyserTests 1✔️ 6s
LocalisationAnalyser.Tests.Analysers.XmlDocDoesNotMatchTextAnalyserTests 1✔️ 5s
LocalisationAnalyser.Tests.CodeFixes.LocaliseClassStringCodeFixProviderTests 16✔️ 5s
LocalisationAnalyser.Tests.CodeFixes.LocaliseCommonStringCodeFixProviderTests 1✔️ 8s
LocalisationAnalyser.Tests.CodeFixes.MakeTextMatchXmlDocCodeFixProviderTests 1✔️ 3s
LocalisationAnalyser.Tests.CodeFixes.MakeXmlDocMatchTextCodeFixProviderTests 1✔️ 7s
LocalisationAnalyser.Tests.Localisation.LocalisationFileTests 15✔️ 1s

✔️ LocalisationAnalyser.Tests.Analysers.LocalisationKeyUsedMultipleTimesInClassAnalyserTests

✔️ RunTest(name: "DuplicatedLocalisationKeys")

✔️ LocalisationAnalyser.Tests.Analysers.ResolvedAttributeRedundantNullabilityAnalyserTests

✔️ RunTest(name: "ResolvedAttributeRedundancy")

✔️ LocalisationAnalyser.Tests.Analysers.StringCanBeLocalisedAnalyserTests

✔️ RunTest(name: "Attribute")
✔️ RunTest(name: "BasicString")
✔️ RunTest(name: "DescriptionAttribute")
✔️ RunTest(name: "EmptyString")
✔️ RunTest(name: "InterpolatedString")
✔️ RunTest(name: "NumericString")
✔️ RunTest(name: "SettingSourceAttribute")
✔️ RunTest(name: "StringConcatenation")
✔️ RunTest(name: "VerbatimInterpolatedString")
✔️ RunTest(name: "VerbatimString")

✔️ LocalisationAnalyser.Tests.Analysers.TextDoesNotMatchXmlDocAnalyserTests

✔️ RunTest(name: "TextDoesNotMatchXmlDoc")

✔️ LocalisationAnalyser.Tests.Analysers.XmlDocDoesNotMatchTextAnalyserTests

✔️ RunTest(name: "XmlDocDoesNotMatchText")

✔️ LocalisationAnalyser.Tests.CodeFixes.LocaliseClassStringCodeFixProviderTests

✔️ Check(name: "BasicString")
✔️ Check(name: "CustomLocalisationNamespace")
✔️ Check(name: "CustomPrefixNamespace")
✔️ Check(name: "CustomResourceNamespace")
✔️ Check(name: "DescriptionAttribute")
✔️ Check(name: "InterpolatedString")
✔️ Check(name: "InterpolatedStringWithQuotes")
✔️ Check(name: "LicenseHeader")
✔️ Check(name: "LongString")
✔️ Check(name: "NestedClass")
✔️ Check(name: "SequentialCapitals")
✔️ Check(name: "SettingSourceAttribute")
✔️ Check(name: "StringWithApostrophe")
✔️ Check(name: "VerbatimString")
✔️ CheckWithBrokenAnalyzerConfigFiles(name: "CustomFileNamespace")
✔️ CheckWithBrokenAnalyzerConfigFiles(name: "CustomPrefixNamespace")

✔️ LocalisationAnalyser.Tests.CodeFixes.LocaliseCommonStringCodeFixProviderTests

✔️ Check(name: "CommonBasicString")

✔️ LocalisationAnalyser.Tests.CodeFixes.MakeTextMatchXmlDocCodeFixProviderTests

✔️ Check(name: "MakeTextMatchXmlDoc")

✔️ LocalisationAnalyser.Tests.CodeFixes.MakeXmlDocMatchTextCodeFixProviderTests

✔️ Check(name: "MakeXmlDocMatchText")

✔️ LocalisationAnalyser.Tests.Localisation.LocalisationFileTests

✔️ CheckMethodMemberIsReadCorrectly
✔️ CheckPropertyMemberIsReadCorrectly
✔️ CheckVerbatimStringIsConvertedToLiteral
✔️ ClassGeneratedForNoFile
✔️ CustomXmlDoc
✔️ EmptyFileContainsNoMembers
✔️ EncodeEnglishStringIntoXmlDoc
✔️ FileIsNotChangedAfterReSaving
✔️ MethodIsGeneratedFromParameters
✔️ MultiLineEnglishTextGeneratesMultipleXmlDocLines
✔️ PropertyIsGeneratedFromNoParameters
✔️ ReservedKeywordIsPrefixed
✔️ XmlDocIsHtmlDecoded
✔️ XmlDocWithNewlines
✔️ XmlDocWithXmlEntities