Skip to content

Fix detection of OurWord projects (#982) #526

Fix detection of OurWord projects (#982)

Fix detection of OurWord projects (#982) #526

GitHub Actions / C# Unit Tests succeeded Jul 25, 2024 in 0s

All 53 tests pass in 6s

53 tests   53 ✅  6s ⏱️
10 suites   0 💤
 1 files     0 ❌

Results for commit d1d4f3f.

Annotations

Check notice on line 0 in .github

See this annotation in the file changed.

@github-actions github-actions / C# Unit Tests

53 tests found

There are 53 tests, see "Raw output" for the full list of tests.
Raw output
Testing.ApiTests.HeaderTests ‑ CheckCloudflareHeaderSizeLimit
Testing.Fixtures.IntegrationFixtureTests ‑ CanFindTheProjectZipFile
Testing.Fixtures.IntegrationFixtureTests ‑ CanInitFlexProjectRepo
Testing.Fixtures.IntegrationFixtureTests ‑ InitCreatesARepoWithTheProject
Testing.LexCore.CrdtServerCommitTests ‑ CanRoundTripCommitChanges
Testing.LexCore.CrdtServerCommitTests ‑ CanSaveServerCommit
Testing.LexCore.CrdtServerCommitTests ‑ TypePropertyShouldAlwaysBeFirst
Testing.LexCore.LexAuthUserTests ‑ CanGetClaimsFromUser
Testing.LexCore.LexAuthUserTests ‑ CanParseFromKnownGoodJwt
Testing.LexCore.LexAuthUserTests ‑ CanRoundTripClaimsThroughAPrincipal
Testing.LexCore.LexAuthUserTests ‑ CanRoundTripClaimsThroughJwt
Testing.LexCore.LexAuthUserTests ‑ CanRoundTripClaimsWhenUsingSecurityTokenDescriptor
Testing.LexCore.LexAuthUserTests ‑ CanRoundTripFromAuthTicketToAuthTicket
Testing.LexCore.LexAuthUserTests ‑ CanRoundTripJwtFromUserThroughLexAuthService
Testing.LexCore.LexAuthUserTests ‑ CanRoundTripThroughRefresh
Testing.LexCore.LexAuthUserTests ‑ CheckingJwtLength
Testing.LexCore.PasswordHashingTests ‑ CanHashPassword(pw: "5!2j6cwau2ZqUXL", salt: "57b7216f93b66d8dfa6cc0dad910025d", hash: "f17f1754dfcf346298e2154071fc077203900a28")
Testing.LexCore.PasswordHashingTests ‑ CanHashPassword(pw: "h0vJVjQUOfxaEC3Uddz", salt: "266d7346dbf074a28ab29ef730191feb", hash: "ba205a1131e34030fa1507a77cb9d1bd0c5fb800")
Testing.LexCore.ProjectCodeTests ‑ InvalidCodesThrows(code: "!")
Testing.LexCore.ProjectCodeTests ‑ InvalidCodesThrows(code: "#")
Testing.LexCore.ProjectCodeTests ‑ InvalidCodesThrows(code: "-not-start-with-dash")
Testing.LexCore.ProjectCodeTests ‑ InvalidCodesThrows(code: "../hacker")
Testing.LexCore.ProjectCodeTests ‑ InvalidCodesThrows(code: "/hacker")
Testing.LexCore.ProjectCodeTests ‑ InvalidCodesThrows(code: "_____deleted_____")
Testing.LexCore.ProjectCodeTests ‑ InvalidCodesThrows(code: "_____temp_____")
Testing.LexCore.ProjectCodeTests ‑ InvalidCodesThrows(code: "api")
Testing.LexCore.ProjectCodeTests ‑ InvalidCodesThrows(code: "hacker/test")
Testing.LexCore.ProjectCodeTests ‑ InvalidCodesThrows(code: "hacker\\test")
Testing.LexCore.ProjectCodeTests ‑ InvalidCodesThrows(code: "❌")
Testing.LexCore.ProjectCodeTests ‑ ValidCodes(code: "123-name")
Testing.LexCore.ProjectCodeTests ‑ ValidCodes(code: "test")
Testing.LexCore.ProjectCodeTests ‑ ValidCodes(code: "test-name123")
Testing.LexCore.Services.HgServiceTests ‑ CanFinishResetByUnZippingAnArchive(filePath: ".hg/important-file.bin")
Testing.LexCore.Services.HgServiceTests ‑ CanFinishResetByUnZippingAnArchive(filePath: "unzip-test/.hg/important-file.bin")
Testing.LexCore.Services.HgServiceTests ‑ DetermineProjectPrefixWorks(type: hgWeb, expectedUrl: "https://hg.lexbox")
Testing.LexCore.Services.HgServiceTests ‑ DetermineProjectPrefixWorks(type: resumable, expectedUrl: "https://resumable.lexbox")
Testing.LexCore.Services.HgServiceTests ‑ ProjectCodesMayNotStartWithHyphen(code: "-123")
Testing.LexCore.Services.HgServiceTests ‑ ProjectCodesMayNotStartWithHyphen(code: "-x-y-z")
Testing.LexCore.Services.HgServiceTests ‑ ProjectCodesMayNotStartWithHyphen(code: "-xy")
Testing.LexCore.Services.HgServiceTests ‑ ThrowsIfNoHgFolderIsFound
Testing.LexCore.Services.ProjectServiceTest ‑ CanCreateProject
Testing.LexCore.Services.ProjectServiceTest ‑ CanUpdateProjectLangTags
Testing.LexCore.Services.ProjectServiceTest ‑ ShouldErrorIfCreatingAProjectWithTheSameCode
Testing.LexCore.Utils.ConcurrentWeakDictionaryTests ‑ Add_Then_Collect_And_Check_That_Key_Is_Removed_Test
Testing.LexCore.Utils.ConcurrentWeakDictionaryTests ‑ Add_Then_Try_Get_Value_Test
Testing.LexCore.Utils.ConcurrentWeakDictionaryTests ‑ GetOrAdd_Existing_Key_Should_Return_Existing_Value_Test
Testing.LexCore.Utils.ConcurrentWeakDictionaryTests ‑ GetOrAdd_New_Key_Should_Add_And_Return_New_Value_Test
Testing.Services.UtilsTests ‑ VerifyToProjectCodeFriendlyString(input: "ModifyProjectData", expected: "modify-project-data")
Testing.Services.UtilsTests ‑ VerifyToProjectCodeFriendlyString(input: "SendNewProject_Medium (res)", expected: "send-new-project-medium-res")
Testing.Services.UtilsTests ‑ VerifyToProjectCodeFriendlyString(input: "SendNewProject_Medium", expected: "send-new-project-medium")
Testing.Services.UtilsTests ‑ VerifyToProjectCodeFriendlyString(input: "SimultaneousResetsDontResultIn404S", expected: "simultaneous-resets-dont-result-in-404-s")
Testing.Services.UtilsTests ‑ VerifyToProjectCodeFriendlyString(input: "SimultaneousResetsDontResultIn404s", expected: "simultaneous-resets-dont-result-in-404s")
Testing.Services.UtilsTests ‑ VerifyToProjectCodeFriendlyString(input: "_DashAround__123theBlock", expected: "dash-around-123the-block")