Skip to content

Use username & password (from env vars) for Mongo (#336) #43

Use username & password (from env vars) for Mongo (#336)

Use username & password (from env vars) for Mongo (#336) #43

GitHub Actions / Test Results succeeded May 20, 2024 in 0s

All 293 tests pass, 20 skipped in 5m 44s

    2 files  ±0    20 suites  ±0   5m 44s ⏱️ +4s
313 tests ±0  293 ✔️ ±0  20 💤 ±0  0 ±0 
316 runs  ±0  296 ✔️ ±0  20 💤 ±0  0 ±0 

Results for commit 025f6b6. ± Comparison against earlier commit 51b8ad7.

Annotations

Check notice on line 0 in .github

See this annotation in the file changed.

@github-actions github-actions / Test Results

20 skipped tests found

There are 20 skipped tests, see "Raw output" for the full list of skipped tests.
Raw output
ExistingProject
NonexistingProject
RoundTrip_LcmToMongoToLcmToMongo_ShouldKeepModifiedValuesInEntries
RoundTrip_LcmToMongoToLcmToMongo_ShouldKeepModifiedValuesInExample
RoundTrip_LcmToMongoToLcmToMongo_ShouldKeepModifiedValuesInSenses
RoundTrip_LcmToMongoToLcmToMongo_ShouldKeepOriginalValuesInEntries
RoundTrip_LcmToMongoToLcm_ShouldKeepOriginalValuesInExampleSentences
RoundTrip_LcmToMongoToLcm_ShouldKeepOriginalValuesInSenses
RoundTrip_MongoToLcmToMongo_ShouldAddAndDeleteNewEntry
RoundTrip_MongoToLcmToMongo_ShouldAddAndDeleteNewExample
RoundTrip_MongoToLcmToMongo_ShouldAddAndDeleteNewPicture
RoundTrip_MongoToLcmToMongo_ShouldAddAndDeleteNewSense
RoundTrip_MongoToLcmToMongo_ShouldBeAbleToAddAndModifyParagraphsInCustomMultiParaField
RoundTrip_MongoToLcmToMongo_ShouldBeAbleToDeleteParagraphsInCustomMultiParaField
Success_ChangesFromOthersNoChangesFromUs
Success_ChangesFromUsNoChangesFromOthers
Success_NoNewChangesFromOthersAndUs
SynchronizeAction_LDDataChanged_GlossChanged
SynchronizeAction_LFDataChanged_GlossChanged
SynchronizeAction_NoChangedData_GlossUnchanged

Check notice on line 0 in .github

See this annotation in the file changed.

@github-actions github-actions / Test Results

313 tests found

There are 313 tests, see "Raw output" for the full list of tests.
Raw output
Action_ChangedWithSampleData_ShouldUpdatePictures
Action_IsInitialClone_ShouldPopulateMongoInputSystems
Action_IsInitialClone_ShouldUpdateDates
Action_NoDataChanged_ShouldUpdateCustomFieldConfig
Action_NoDataChanged_ShouldUpdateLexemes
Action_NoDataChanged_ShouldUpdatePictures
Action_RunTwiceWithOneNewEntryEachTime_ShouldCountTwoAddedInTotal
Action_RunTwiceWithTheSameEntryDeletedEachTime_ShouldCountJustOneDeletedInTotal
Action_RunTwiceWithTheSameEntryModifiedEachTime_ShouldCountTwoModifiedInTotal
Action_RunTwice_ShouldNotDuplicatePictures
Action_Should_UpdateDefinitions
Action_WithEmptyMongoGrammar_ShouldPopulateMongoGrammarFromLcmGrammar
Action_WithEmptyMongoGrammar_ShouldPreserveLcmGrammarEntries
Action_WithNoChangesFromMongo_ShouldCountZeroChanges
Action_WithOneDeletedEntry_ShouldCountOneDeleted
Action_WithOneDeletedEntry_ShouldNotCountThatDeletedEntryOnSecondRun
Action_WithOneModifiedEntry_ShouldCountOneModified
Action_WithOneModifiedEntry_ShouldNotCountThatModifiedEntryOnSecondRun
Action_WithOneNewEntry_ShouldCountOneAdded
Action_WithOneNewEntry_ShouldNotCountThatNewEntryOnSecondRun
Action_WithPreviousMongoGrammarWithGuids_ShouldReplaceItemsFromLfGrammarWithItemsFromLcmGrammar
Action_WithPreviousMongoGrammarWithMatchingGuids_ShouldBeUpdatedFromLcmGrammar
Action_WithPreviousMongoGrammarWithNoGuids_ShouldStillReplaceItemsFromLfGrammarWithItemsFromLcmGrammar
Action_WithTwoDeletedEntries_ShouldCountTwoDeleted
Action_WithTwoModifiedEntries_ShouldCountTwoModified
Action_WithTwoNewEntries_ShouldCountTwoAdded
AddDoubleDuplicate_WillFail
AddDoubleDuplicate_WillNotChangeDict
AddSingleDuplicate_InFirstPosition_WillFail
AddSingleDuplicate_InFirstPosition_WillNotChangeDict
AddSingleDuplicate_InSecondPosition_WillFail
AddSingleDuplicate_InSecondPosition_WillNotChangeDict
CanClassifySpansByLanguage_ContainsAngleBrackets
CanClassifySpansByLanguage_ContainsBrTags
CanClassifySpansByLanguage_ContainsBrTagsStripped
CanClassifySpansByLanguage_ContainsHtml
CanClassifySpansByLanguage_OneGuidOneStyle
CanClassifySpansByLanguage_TwoGuids
CanClassifySpansByLanguage_TwoGuidsOneStyle
CanClassifySpansByLanguage_TwoGuidsTwoStylesNoLangs
CanClassifySpansByLanguage_TwoGuidsTwoStylesOneLang
CanClassifySpansByLanguage_TwoGuidsTwoStylesTwoLangs
CanClassifySpansByLanguage_TwoLangs
CanClassifySpansByLanguage_TwoStyles
CanClassifySpansByLanguage_TwoStylesTwoLangsOneOtherProperty
CanClassifySpansByLanguage_TwoStylesTwoLangsTwoOtherProperties
CanClassifySpansByLanguage_TwoStylesTwoLangsTwoOtherPropertiesEscaped
CanClassifySpansByLanguage_ZeroSpans
CanCreateTsStringsFromSpans_ContainsAngleBrackets
CanCreateTsStringsFromSpans_ContainsBrTags
CanCreateTsStringsFromSpans_ContainsBrTagsStripped
CanCreateTsStringsFromSpans_ContainsHtml
CanCreateTsStringsFromSpans_OneGuidOneStyle
CanCreateTsStringsFromSpans_TwoGuids
CanCreateTsStringsFromSpans_TwoGuidsOneStyle
CanCreateTsStringsFromSpans_TwoGuidsTwoStylesNoLangs
CanCreateTsStringsFromSpans_TwoGuidsTwoStylesOneLang
CanCreateTsStringsFromSpans_TwoGuidsTwoStylesTwoLangs
CanCreateTsStringsFromSpans_TwoLangs
CanCreateTsStringsFromSpans_TwoStyles
CanCreateTsStringsFromSpans_TwoStylesTwoLangsOneOtherProperty
CanCreateTsStringsFromSpans_TwoStylesTwoLangsTwoOtherProperties
CanCreateTsStringsFromSpans_TwoStylesTwoLangsTwoOtherPropertiesEscaped
CanCreateTsStringsFromSpans_ZeroSpans
CanDetectSpans_ContainsAngleBrackets
CanDetectSpans_ContainsBrTags
CanDetectSpans_ContainsBrTagsStripped
CanDetectSpans_ContainsHtml
CanDetectSpans_OneGuidOneStyle
CanDetectSpans_TwoGuids
CanDetectSpans_TwoGuidsOneStyle
CanDetectSpans_TwoGuidsTwoStylesNoLangs
CanDetectSpans_TwoGuidsTwoStylesOneLang
CanDetectSpans_TwoGuidsTwoStylesTwoLangs
CanDetectSpans_TwoLangs
CanDetectSpans_TwoStyles
CanDetectSpans_TwoStylesTwoLangsOneOtherProperty
CanDetectSpans_TwoStylesTwoLangsTwoOtherProperties
CanDetectSpans_TwoStylesTwoLangsTwoOtherPropertiesEscaped
CanDetectSpans_ZeroSpans
CanExtractGuidsFromSpans_ContainsAngleBrackets
CanExtractGuidsFromSpans_ContainsBrTags
CanExtractGuidsFromSpans_ContainsBrTagsStripped
CanExtractGuidsFromSpans_ContainsHtml
CanExtractGuidsFromSpans_OneGuidOneStyle
CanExtractGuidsFromSpans_TwoGuids
CanExtractGuidsFromSpans_TwoGuidsOneStyle
CanExtractGuidsFromSpans_TwoGuidsTwoStylesNoLangs
CanExtractGuidsFromSpans_TwoGuidsTwoStylesOneLang
CanExtractGuidsFromSpans_TwoGuidsTwoStylesTwoLangs
CanExtractGuidsFromSpans_TwoLangs
CanExtractGuidsFromSpans_TwoStyles
CanExtractGuidsFromSpans_TwoStylesTwoLangsTwoOtherProperties
CanExtractGuidsFromSpans_TwoStylesTwoLangsTwoOtherPropertiesEscaped
CanExtractGuidsFromSpans_ZeroSpans
CanExtractRunsFromSpans_ContainsAngleBrackets
CanExtractRunsFromSpans_ContainsBrTags
CanExtractRunsFromSpans_ContainsBrTagsStripped
CanExtractRunsFromSpans_ContainsHtml
CanExtractRunsFromSpans_OneGuidOneStyle
CanExtractRunsFromSpans_TwoGuids
CanExtractRunsFromSpans_TwoGuidsOneStyle
CanExtractRunsFromSpans_TwoGuidsTwoStylesNoLangs
CanExtractRunsFromSpans_TwoGuidsTwoStylesOneLang
CanExtractRunsFromSpans_TwoGuidsTwoStylesTwoLangs
CanExtractRunsFromSpans_TwoLangs
CanExtractRunsFromSpans_TwoStyles
CanExtractRunsFromSpans_TwoStylesTwoLangsOneOtherProperty
CanExtractRunsFromSpans_TwoStylesTwoLangsTwoOtherProperties
CanExtractRunsFromSpans_TwoStylesTwoLangsTwoOtherPropertiesEscaped
CanExtractRunsFromSpans_ZeroSpans
CanExtractStylesFromSpans_ContainsAngleBrackets
CanExtractStylesFromSpans_ContainsBrTags
CanExtractStylesFromSpans_ContainsBrTagsStripped
CanExtractStylesFromSpans_ContainsHtml
CanExtractStylesFromSpans_OneGuidOneStyle
CanExtractStylesFromSpans_TwoGuids
CanExtractStylesFromSpans_TwoGuidsOneStyle
CanExtractStylesFromSpans_TwoGuidsTwoStylesNoLangs
CanExtractStylesFromSpans_TwoGuidsTwoStylesOneLang
CanExtractStylesFromSpans_TwoGuidsTwoStylesTwoLangs
CanExtractStylesFromSpans_TwoLangs
CanExtractStylesFromSpans_TwoStyles
CanExtractStylesFromSpans_TwoStylesTwoLangsOneOtherProperty
CanExtractStylesFromSpans_TwoStylesTwoLangsTwoOtherProperties
CanExtractStylesFromSpans_TwoStylesTwoLangsTwoOtherPropertiesEscaped
CanExtractStylesFromSpans_ZeroSpans
CanExtractTextInsideSpans_ContainsAngleBrackets
CanExtractTextInsideSpans_ContainsBrTags
CanExtractTextInsideSpans_ContainsBrTagsStripped
CanExtractTextInsideSpans_ContainsHtml
CanExtractTextInsideSpans_OneGuidOneStyle
CanExtractTextInsideSpans_TwoGuids
CanExtractTextInsideSpans_TwoGuidsOneStyle
CanExtractTextInsideSpans_TwoGuidsTwoStylesNoLangs
CanExtractTextInsideSpans_TwoGuidsTwoStylesOneLang
CanExtractTextInsideSpans_TwoGuidsTwoStylesTwoLangs
CanExtractTextInsideSpans_TwoLangs
CanExtractTextInsideSpans_TwoStyles
CanExtractTextInsideSpans_TwoStylesTwoLangsOneOtherProperty
CanExtractTextInsideSpans_TwoStylesTwoLangsTwoOtherProperties
CanExtractTextInsideSpans_TwoStylesTwoLangsTwoOtherPropertiesEscaped
CanExtractTextInsideSpans_ZeroSpans
CleanupAndRescheduleJobs_NothingToDo(CLONED)
CleanupAndRescheduleJobs_NothingToDo(ERROR)
CleanupAndRescheduleJobs_NothingToDo(HOLD)
CleanupAndRescheduleJobs_NothingToDo(IDLE)
CleanupAndRescheduleJobs_Reschedule(CLONING)
CleanupAndRescheduleJobs_Reschedule(SYNCING)
CleanupAndRescheduleJobs_UnknownState(42)
CurrentAction_Works(Synchronize)
CustomMultiListRef_WithTwoOriginalItemsSettingJustTheFirstItem_ShouldDeleteTheSecond
CustomMultiListRef_WithTwoOriginalItemsSettingJustTheSecondItem_ShouldDeleteTheFirst
CustomMultiListRef_WithTwoOriginalItemsSettingNoneOfThem_ShouldDeleteBoth
CustomMultiListRef_WithTwoOriginalItemsSettingTheSameItems_ShouldRemainUnchanged
CustomMultiListRef_WithZeroOriginalItemsSettingADifferentItem_ShouldAlsoReturnThatOneItem
CustomMultiListRef_WithZeroOriginalItemsSettingJustOneItem_ShouldReturnThatOneItem
CustomMultiListRef_WithZeroOriginalItemsSettingNoneOfThem_ShouldAddNone
CustomMultiListRef_WithZeroOriginalItemsSettingTwoItems_ShouldRemainUnchanged
DequeueProject_NonExistingProject_Ignored
DequeueProject_Works
Deserialize_EmptyStateFile_DoesntThrow
Deserialize_InvalidStateFile_DoesntThrow
Deserialize_NonexistingStateFile_ReturnsCloning
Deserialize_ValidStateFile_MatchesState
EnqueueProject_Works
EnsureClone_CloneEmptyRepo_SetsRecoverableError
EnsureClone_NonExistingProject_SetsStateOnError
EnsureClone_NotFlexProject_SetsRecoverableError
EnsureClone_OtherException_SetsStateOnHold
EnsureClone_ProjectDirExistHgDoesntExist_ClonesProject
EnsureClone_ProjectThatHasAPreviouslyClonedDateButDoesNotHaveAnSRProjectCode_RunsInitialClone
EnsureClone_ProjectThatHasAPreviouslyClonedDate_DoesNotRunInitialClone
EnsureClone_ProjectThatHasNeverBeenCloned_RunsInitialClone
EnsureClone_ProjectThatHasPreviousUserData_DoesNotRunInitialClone
EnsureClone_StateFileDoesntExistAndStateCloning_CloneProject
EnsureClone_StateFileDoesntExistAndStateNotCloning_ClonesProject
EnsureClone_StateFileExistsStateCloning_CloneProject
EnsureClone_StateFileExistsStateNotCloning_DoesntCloneProject
EnumerateActionsStartingWith(Commit,Synchronize)
EnumerateActionsStartingWith(Edit,TransferLcmToMongo)
EnumerateActionsStartingWith(EnsureClone,TransferMongoToLcm)
EnumerateActionsStartingWith(None,EnsureClone)
EnumerateActionsStartingWith(Synchronize,Edit)
EnumerateActionsStartingWith(TransferLcmToMongo,None)
EnumerateActionsStartingWith(TransferMongoToLcm,Commit)
Error_CloneHasHigherModelVersion
Error_DifferentBranch
Error_InvalidUtf8InXml
Error_NewerBranch
Error_NoBranch_OlderSupportedBranch
Error_NoBranch_UnsupportedBranch
Error_NoCommitsInRepository
Error_NoHgRepo
Error_NotAFlexProject
Error_WrongXmlEncoding
ExistingProject
GetCustomFieldForThisCmObject_ShouldGetMultiListRef
GetCustomFieldForThisCmObject_ShouldGetSingleLineAll
GetCustomFieldsForThisCmObject_ShouldGetCustomFieldSettings
GetStateFileName_Correct
GetSyncUri_NameWithSpace
GetSyncUri_SimpleName
Invalid args
IsEmpty_ExistingFiles_ReturnsNotEmpty
IsEmpty_NoFiles_ReturnsEmpty
IsSupportedModelVersion("7000060")
IsSupportedModelVersion("7000067")
IsSupportedModelVersion("7000068")
IsSupportedModelVersion("7000069")
IsSupportedModelVersion("7000071")
IsSupportedModelVersion("7000072")
IsSupportedModelVersion_InvalidVersion_Throws
Keys_AfterDeletionByFirst_ReturnsTwoKeys
Keys_AfterDeletionBySecond_ReturnsTwoKeys
Keys_AfterInsertion_ReturnsFourKeys
Keys_ReturnsAllThreeKeys
LcmDirs_AbsolutePathsRemainAbsolute
LcmDirs_RelativePathsAreSubdirsOfBasedir
MissingFwDataFixer_Throws
NextAction([Synchronize])
No arguments
NonexistingProject
Prio project specified
PutOnHold_Args
PutOnHold_NoArgs
QueuedProjects_PriorityProject_ReturnsPriorityBeforeNext("proja",["proja", "projd", "projc", "projb"])
QueuedProjects_PriorityProject_ReturnsPriorityBeforeNext("projb",["projb", "proja", "projd", "projc"])
QueuedProjects_PriorityProject_ReturnsPriorityBeforeNext("projc",["projc", "projb", "proja", "projd"])
QueuedProjects_PriorityProject_ReturnsPriorityBeforeNext("projd",["projd", "projc", "projb", "proja"])
QueuedProjects_ReturnsOldestFirst
RemoteDataIsForDifferentModelVersion_DifferentVersion
RemoteDataIsForDifferentModelVersion_SameVersion
RemoveKeyValuePair_OfExistingItem_ChangesCount
RemoveKeyValuePair_OfExistingItem_Succeeds
RemoveKeyValuePair_OfNonexistentItemByFirstValue_DoesNotChangeCount
RemoveKeyValuePair_OfNonexistentItemBySecondValue_DoesNotChangeCount
RemoveKeyValuePair_OfNonexistentItem_Fails
RoundTrip_LcmToMongoToLcmToMongo_ShouldKeepModifiedValuesInEntries
RoundTrip_LcmToMongoToLcmToMongo_ShouldKeepModifiedValuesInExample
RoundTrip_LcmToMongoToLcmToMongo_ShouldKeepModifiedValuesInSenses
RoundTrip_LcmToMongoToLcmToMongo_ShouldKeepOriginalValuesInEntries
RoundTrip_LcmToMongoToLcm_ShouldKeepOriginalValuesInExampleSentences
RoundTrip_LcmToMongoToLcm_ShouldKeepOriginalValuesInSenses
RoundTrip_MongoToLcmToMongo_ShouldAddAndDeleteNewEntry
RoundTrip_MongoToLcmToMongo_ShouldAddAndDeleteNewExample
RoundTrip_MongoToLcmToMongo_ShouldAddAndDeleteNewPicture
RoundTrip_MongoToLcmToMongo_ShouldAddAndDeleteNewSense
RoundTrip_MongoToLcmToMongo_ShouldBeAbleToAddAndModifyParagraphsInCustomMultiParaField
RoundTrip_MongoToLcmToMongo_ShouldBeAbleToDeleteParagraphsInCustomMultiParaField
Serialization_Roundtrip
SetErrorState_Enum
SetErrorState_Int
SetErrorState_MissingMessage
SetModelVersion
StartLfMerge_UnsupportedVersion_SetsErrorCode
State(Commit,SYNCING)
State(Edit,SYNCING)
State(TransferLcmToMongo,SYNCING)
State(TransferMongoToLcm,SYNCING)
StateDirectory_Correct
State_SettingProperty_ChangesLastStateChangeTicks
State_SettingProperty_SerializesState
State_SkipsHoldState(Commit)
State_SkipsHoldState(Edit)
State_SkipsHoldState(Synchronize)
State_SkipsHoldState(TransferLcmToMongo)
State_SkipsHoldState(TransferMongoToLcm)
Success_AlreadyOnIt
Success_ChangesFromOthersNoChangesFromUs
Success_ChangesFromUsNoChangesFromOthers
Success_DirectoryAlreadyExists_ShouldRecreateFwdataFile
Success_NewBranchFormat_LfMerge70
Success_NoNewChangesFromOthersAndUs
Success_Update
SynchronizeAction_CustomReferenceAtomicField_DoesNotThrowExceptionDuringSync
SynchronizeAction_LDDataChanged_GlossChanged
SynchronizeAction_LFDataChangedLDDataChanged_LFWins
SynchronizeAction_LFDataChangedLDEntryDeleted_LFWins
SynchronizeAction_LFDataChangedLDOtherDataChanged_ModifiedDateUpdated
SynchronizeAction_LFDataChanged_GlossChanged
SynchronizeAction_LFDataDeletedLDDataChanged_LDWins
SynchronizeAction_LFDataDeleted_EntryRemoved
SynchronizeAction_LFEntryDeletedLDDataChanged_LDWins
SynchronizeAction_NoChangedData_GlossUnchanged
TransferMongoToLcmAction_NoChangedData_DateModifiedUnchanged
TsStringCanRoundTripLcmToMongoToLcm_ContainsAngleBrackets
TsStringCanRoundTripLcmToMongoToLcm_ContainsAngleBracketsEscaped
TsStringCanRoundTripLcmToMongoToLcm_ContainsBrTags
TsStringCanRoundTripLcmToMongoToLcm_ContainsBrTagsEscaped
TsStringCanRoundTripLcmToMongoToLcm_ContainsHtml
TsStringCanRoundTripLcmToMongoToLcm_ContainsHtmlEscaped
TsStringCanRoundTripLcmToMongoToLcm_SingleRunString
TsStringCanRoundTripLcmToMongoToLcm_StringWithThreeLanguages
TsStringCanRoundTripLcmToMongoToLcm_StringWithThreeLanguagesAndArbitraryProperties
TsStringCanRoundTripLcmToMongoToLcm_StringWithThreeLanguagesAndObjectDataAndArbitraryProperties
TsStringCanRoundTripLcmToMongoToLcm_StringWithTwoLanguages
TsStringsAreHtmlEscapedWhenConvertedToSpanText_ContainsAngleBrackets
TsStringsAreHtmlEscapedWhenConvertedToSpanText_ContainsHtml
TsStringsAreHtmlUnescapedWhenConvertedBackFromSpanText_ContainsAngleBrackets
TsStringsAreHtmlUnescapedWhenConvertedBackFromSpanText_ContainsHtml
TsStringsCanRoundTripMongoToLcmToMongo_ContainsAngleBrackets
TsStringsCanRoundTripMongoToLcmToMongo_ContainsBrTags
TsStringsCanRoundTripMongoToLcmToMongo_ContainsBrTagsStripped
TsStringsCanRoundTripMongoToLcmToMongo_ContainsHtml
TsStringsCanRoundTripMongoToLcmToMongo_SingleRunString
TsStringsCanRoundTripMongoToLcmToMongo_StringWithThreeLanguages
TsStringsCanRoundTripMongoToLcmToMongo_StringWithThreeLanguagesAndArbitraryProperties
TsStringsCanRoundTripMongoToLcmToMongo_StringWithTwoLanguages
Values_AfterDeletionByFirst_ReturnsTwoValues
Values_AfterDeletionBySecond_ReturnsTwoValues
Values_AfterInsertion_ReturnsFourValues
Values_ReturnsAllThreeValues