Class | Line # | Actions | |||
---|---|---|---|---|---|
MessageManager | 39 | 33 | 13 | 0.904761990.5% |
Class MessageManager |
Line # 39 |
33 |
13 |
0.904761990.5% |
---|---|---|---|---|
<clinit>, line 47() <clinit>, line 47() | 4747 | 9.09 | 3.03 | 0.5555556 0.555555655.6% |
getString(String) : String getString(String) : String | 8484 | 6.06 | 2.02 | 1.0 1.0100% |
getLocale() : Locale getLocale() : Locale | 9898 | 1.01 | 1.01 | 1.0 1.0100% |
formatMessage(String,Object) : String formatMessage(String,Object) : String | 112112 | 7.07 | 2.02 | 1.0 1.0100% |
formatMessage(String,String[]) : String formatMessage(String,String[]) : String | 138138 | 1.01 | 1.01 | 1.0 1.0100% |
getStringOrReturn(String,String) : String getStringOrReturn(String,String) : String | 159159 | 6.06 | 2.02 | 1.0 1.0100% |
logWarning(String,String) : void logWarning(String,String) : void | 181181 | 3.03 | 2.02 | 1.0 1.0100% |
0.52380955
|
jalview.schemes.ColourSchemesTest.testRegisterColourSchemejalview.schemes.ColourSchemesTest.testRegisterColourScheme | 1PASS | ||
0.52380955
|
jalview.io.AnnotatedPDBFileInputTest.testJalviewProjectRelocationAnnotationjalview.io.AnnotatedPDBFileInputTest.testJalviewProjectRelocationAnnotation | 1PASS | ||
0.52380955
|
jalview.gui.StructureChooserTest.openStructureFileForSequenceTestjalview.gui.StructureChooserTest.openStructureFileForSequenceTest | 1PASS | ||
0.52380955
|
jalview.io.CrossRef2xmlTests.openCrossrefsForEnsemblTwicejalview.io.CrossRef2xmlTests.openCrossrefsForEnsemblTwice | 1PASS | ||
0.52380955
|
jalview.gui.StructureChooserTest.openStructureFileForSequenceTestjalview.gui.StructureChooserTest.openStructureFileForSequenceTest | 1PASS | ||
0.52380955
|
jalview.io.gff.ExonerateHelperTest.testAddExonerateGffToAlignmentjalview.io.gff.ExonerateHelperTest.testAddExonerateGffToAlignment | 1PASS | ||
0.52380955
|
jalview.gui.StructureChooserTest.openStructureFileForSequenceTestjalview.gui.StructureChooserTest.openStructureFileForSequenceTest | 1PASS | ||
0.52380955
|
jalview.gui.StructureChooserTest.openStructureFileForSequenceTestjalview.gui.StructureChooserTest.openStructureFileForSequenceTest | 1PASS | ||
0.52380955
|
jalview.gui.StructureChooserTest.openStructureFileForSequenceTestjalview.gui.StructureChooserTest.openStructureFileForSequenceTest | 1PASS | ||
0.52380955
|
jalview.project.Jalview2xmlTests.gatherViewsHerejalview.project.Jalview2xmlTests.gatherViewsHere | 1PASS | ||
0.52380955
|
jalview.gui.StructureChooserTest.openStructureFileForSequenceTestjalview.gui.StructureChooserTest.openStructureFileForSequenceTest | 1PASS | ||
0.47619048
|
jalview.project.Jalview2xmlTests.testCopyViewSettingsjalview.project.Jalview2xmlTests.testCopyViewSettings | 1PASS | ||
0.47619048
|
jalview.io.FeaturesFileTest.testParse_mixedJalviewGffjalview.io.FeaturesFileTest.testParse_mixedJalviewGff | 1PASS | ||
0.47619048
|
jalview.project.Jalview2xmlTests.testMergeDatasetsforManyViewsjalview.project.Jalview2xmlTests.testMergeDatasetsforManyViews | 1PASS | ||
0.47619048
|
jalview.project.Jalview2xmlTests.testAutoShowOverviewForLegacyProjectsjalview.project.Jalview2xmlTests.testAutoShowOverviewForLegacyProjects | 1PASS | ||
0.47619048
|
jalview.io.BackupFilesTest.backupsEnabledRollMaxTestjalview.io.BackupFilesTest.backupsEnabledRollMaxTest | 1PASS | ||
0.47619048
|
jalview.project.Jalview2xmlTests.testMergeDatasetsforViewsjalview.project.Jalview2xmlTests.testMergeDatasetsforViews | 1PASS | ||
0.47619048
|
jalview.analysis.scoremodels.FeatureDistanceModelTest.testFindDistancesjalview.analysis.scoremodels.FeatureDistanceModelTest.testFindDistances | 1PASS | ||
0.47619048
|
jalview.project.Jalview2xmlTests.testStoreAndRecoverGeneLocusjalview.project.Jalview2xmlTests.testStoreAndRecoverGeneLocus | 1PASS | ||
0.47619048
|
jalview.io.vcf.VCFLoaderTest.testDoLoad_vepCsqjalview.io.vcf.VCFLoaderTest.testDoLoad_vepCsq | 1PASS | ||
0.47619048
|
jalview.analysis.scoremodels.SecondaryStructureDistanceModelTest.testFindDistances_withSSUndefinedInBothSeqsjalview.analysis.scoremodels.SecondaryStructureDistanceModelTest.testFindDistances_withSSUndefinedInBothSeqs | 1PASS | ||
0.47619048
|
jalview.analysis.scoremodels.SecondaryStructureDistanceModelTest.testFindDistances_withGapjalview.analysis.scoremodels.SecondaryStructureDistanceModelTest.testFindDistances_withGap | 1PASS | ||
0.47619048
|
jalview.project.Jalview2xmlTests.testStoreAndRecoverColourThresholdsjalview.project.Jalview2xmlTests.testStoreAndRecoverColourThresholds | 1PASS | ||
0.47619048
|
jalview.io.BackupFilesTest.backupsEnabledSingleFileBackupTestjalview.io.BackupFilesTest.backupsEnabledSingleFileBackupTest | 1PASS | ||
0.47619048
|
jalview.io.FeaturesFileTest.testPrintGffFormat_withFiltersjalview.io.FeaturesFileTest.testPrintGffFormat_withFilters | 1PASS | ||
0.47619048
|
jalview.project.Jalview2xmlTests.testStoreAndRestoreIDwidthAndAnnotationHeightjalview.project.Jalview2xmlTests.testStoreAndRestoreIDwidthAndAnnotationHeight | 1PASS | ||
0.47619048
|
jalview.io.FeaturesFileTest.testPrintJalviewFormatjalview.io.FeaturesFileTest.testPrintJalviewFormat | 1PASS | ||
0.47619048
|
jalview.io.gff.GffTests.testResolveExonerateGffjalview.io.gff.GffTests.testResolveExonerateGff | 1PASS | ||
0.47619048
|
jalview.io.BackupFilesTest.noBackupsEnabledTestjalview.io.BackupFilesTest.noBackupsEnabledTest | 1PASS | ||
0.47619048
|
jalview.io.BackupFilesTest.backupsEnabledNoRollMaxTestjalview.io.BackupFilesTest.backupsEnabledNoRollMaxTest | 1PASS | ||
0.47619048
|
jalview.project.Jalview2xmlTests.noDuplicatePdbMappingsMadejalview.project.Jalview2xmlTests.noDuplicatePdbMappingsMade | 1PASS | ||
0.47619048
|
jalview.project.Jalview2xmlTests.viewRefPdbAnnotationjalview.project.Jalview2xmlTests.viewRefPdbAnnotation | 1PASS | ||
0.47619048
|
jalview.project.Jalview2xmlTests.testPAEsaveRestorejalview.project.Jalview2xmlTests.testPAEsaveRestore | 1PASS | ||
0.47619048
|
jalview.project.Jalview2xmlTests.testStoreAndRecoverExpandedviewsjalview.project.Jalview2xmlTests.testStoreAndRecoverExpandedviews | 1PASS | ||
0.47619048
|
jalview.io.FeaturesFileTest.testParsejalview.io.FeaturesFileTest.testParse | 1PASS | ||
0.47619048
|
jalview.project.Jalview2xmlTests.testPcaViewAssociationjalview.project.Jalview2xmlTests.testPcaViewAssociation | 1PASS | ||
0.47619048
|
jalview.project.Jalview2xmlTests.testStoreAndRecoverGroupRepSeqsjalview.project.Jalview2xmlTests.testStoreAndRecoverGroupRepSeqs | 1PASS | ||
0.47619048
|
jalview.project.Jalview2xmlTests.testColourByAnnotScoresjalview.project.Jalview2xmlTests.testColourByAnnotScores | 1PASS | ||
0.47619048
|
jalview.project.Jalview2xmlTests.testStoreAndRecoverNoOverviewjalview.project.Jalview2xmlTests.testStoreAndRecoverNoOverview | 1PASS | ||
0.47619048
|
jalview.analysis.scoremodels.FeatureDistanceModelTest.testFeatureScoreModeljalview.analysis.scoremodels.FeatureDistanceModelTest.testFeatureScoreModel | 1PASS | ||
0.47619048
|
jalview.datamodel.AlignmentViewTest.testGetVisibleContigsjalview.datamodel.AlignmentViewTest.testGetVisibleContigs | 1PASS | ||
0.47619048
|
jalview.schemes.PIDColourSchemeTest.testFindColour_ignoreGapsjalview.schemes.PIDColourSchemeTest.testFindColour_ignoreGaps | 1PASS | ||
0.47619048
|
jalview.project.Jalview2xmlTests.testStoreAndRecoverAnnotationRowElementColoursjalview.project.Jalview2xmlTests.testStoreAndRecoverAnnotationRowElementColours | 1PASS | ||
0.47619048
|
jalview.io.FeaturesFileTest.testPrintGffFormatjalview.io.FeaturesFileTest.testPrintGffFormat | 1PASS | ||
0.47619048
|
jalview.analysis.scoremodels.FeatureDistanceModelTest.testFeatureScoreModel_HiddenColumnsjalview.analysis.scoremodels.FeatureDistanceModelTest.testFeatureScoreModel_HiddenColumns | 1PASS | ||
0.47619048
|
jalview.io.vcf.VCFLoaderTest.testDoLoad_reverseStrandjalview.io.vcf.VCFLoaderTest.testDoLoad_reverseStrand | 1PASS | ||
0.47619048
|
jalview.project.Jalview2xmlTests.testStoreAndRecoverReferenceSeqSettingsjalview.project.Jalview2xmlTests.testStoreAndRecoverReferenceSeqSettings | 1PASS | ||
0.47619048
|
jalview.project.Jalview2xmlTests.testTCoffeeScoresjalview.project.Jalview2xmlTests.testTCoffeeScores | 1PASS | ||
0.47619048
|
jalview.analysis.scoremodels.FeatureDistanceModelTest.testFindFeatureAt_PointFeaturejalview.analysis.scoremodels.FeatureDistanceModelTest.testFindFeatureAt_PointFeature | 1PASS | ||
0.47619048
|
jalview.io.AnnotationFileIOTest.testAnnotateAlignmentViewjalview.io.AnnotationFileIOTest.testAnnotateAlignmentView | 1PASS | ||
0.47619048
|
jalview.analysis.scoremodels.FeatureDistanceModelTest.testFindDistances_withParamsjalview.analysis.scoremodels.FeatureDistanceModelTest.testFindDistances_withParams | 1PASS | ||
0.47619048
|
jalview.project.Jalview2xmlTests.testRNAStructureRecoveryjalview.project.Jalview2xmlTests.testRNAStructureRecovery | 1PASS | ||
0.47619048
|
jalview.project.Jalview2xmlTests.testSaveLoadFeatureColoursAndFiltersjalview.project.Jalview2xmlTests.testSaveLoadFeatureColoursAndFilters | 1PASS | ||
0.47619048
|
jalview.analysis.scoremodels.SecondaryStructureDistanceModelTest.testFindDistances_withSSUndefinedInEitherOneSeqjalview.analysis.scoremodels.SecondaryStructureDistanceModelTest.testFindDistances_withSSUndefinedInEitherOneSeq | 1PASS | ||
0.47619048
|
jalview.io.AnnotationExporterTest.testAnnotationExportAsCSVjalview.io.AnnotationExporterTest.testAnnotationExportAsCSV | 1PASS | ||
0.47619048
|
jalview.io.FeaturesFileTest.testParse_pureGff3jalview.io.FeaturesFileTest.testParse_pureGff3 | 1PASS | ||
0.47619048
|
jalview.project.Jalview2xmlTests.testStoreAndRecoverPDBEntryjalview.project.Jalview2xmlTests.testStoreAndRecoverPDBEntry | 1PASS | ||
0.47619048
|
jalview.project.Jalview2xmlTests.testStoreAndRecoverOverviewjalview.project.Jalview2xmlTests.testStoreAndRecoverOverview | 1PASS | ||
0.47619048
|
jalview.io.FeaturesFileTest.simpleGff3FileLoaderjalview.io.FeaturesFileTest.simpleGff3FileLoader | 1PASS | ||
0.47619048
|
jalview.io.vcf.VCFLoaderTest.testDoLoadjalview.io.vcf.VCFLoaderTest.testDoLoad | 1PASS | ||
0.47619048
|
jalview.io.BackupFilesTest.backupsEnabledReverseRollMaxTestjalview.io.BackupFilesTest.backupsEnabledReverseRollMaxTest | 1PASS | ||
0.47619048
|
jalview.analysis.scoremodels.FeatureDistanceModelTest.testFeatureScoreModel_hiddenFirstColumnjalview.analysis.scoremodels.FeatureDistanceModelTest.testFeatureScoreModel_hiddenFirstColumn | 1PASS | ||
0.42857143
|
jalview.io.FeaturesFileTest.testPrintJalviewFormat_withFiltersjalview.io.FeaturesFileTest.testPrintJalviewFormat_withFilters | 1PASS | ||
0.42857143
|
jalview.io.FeaturesFileTest.testParse_jalviewFeaturesOnlyjalview.io.FeaturesFileTest.testParse_jalviewFeaturesOnly | 1PASS | ||
0.4047619
|
jalview.bin.CommandsTest.argFilesGlobAndSubstitutionsTestjalview.bin.CommandsTest.argFilesGlobAndSubstitutionsTest | 1PASS | ||
0.4047619
|
jalview.bin.CommandsTest.argFilesGlobAndSubstitutionsTestjalview.bin.CommandsTest.argFilesGlobAndSubstitutionsTest | 1PASS | ||
0.4047619
|
jalview.bin.CommandsTest.argFilesGlobAndSubstitutionsTestjalview.bin.CommandsTest.argFilesGlobAndSubstitutionsTest | 1PASS | ||
0.4047619
|
jalview.bin.CommandsTest.commandsOpenTestjalview.bin.CommandsTest.commandsOpenTest | 1PASS | ||
0.4047619
|
jalview.bin.CommandsTest.commandsOpenTestjalview.bin.CommandsTest.commandsOpenTest | 1PASS | ||
0.4047619
|
jalview.bin.CommandsTest.allLinkedIdsTestjalview.bin.CommandsTest.allLinkedIdsTest | 1PASS | ||
0.4047619
|
jalview.bin.CommandsTest.commandsOpenTestjalview.bin.CommandsTest.commandsOpenTest | 1PASS | ||
0.4047619
|
jalview.bin.CommandsTest.allLinkedIdsTestjalview.bin.CommandsTest.allLinkedIdsTest | 1PASS | ||
0.4047619
|
jalview.bin.CommandsTest.allLinkedIdsTestjalview.bin.CommandsTest.allLinkedIdsTest | 1PASS | ||
0.4047619
|
jalview.bin.CommandsTest.allLinkedIdsTestjalview.bin.CommandsTest.allLinkedIdsTest | 1PASS | ||
0.4047619
|
jalview.bin.CommandsTest.commandsOpenTestjalview.bin.CommandsTest.commandsOpenTest | 1PASS | ||
0.4047619
|
jalview.bin.CommandsTest.allLinkedIdsTestjalview.bin.CommandsTest.allLinkedIdsTest | 1PASS | ||
0.4047619
|
jalview.bin.CommandsTest.commandsOpenTestjalview.bin.CommandsTest.commandsOpenTest | 1PASS | ||
0.4047619
|
jalview.bin.CommandsTest.argFilesGlobAndSubstitutionsTestjalview.bin.CommandsTest.argFilesGlobAndSubstitutionsTest | 1PASS | ||
0.4047619
|
jalview.bin.CommandsTest.allLinkedIdsTestjalview.bin.CommandsTest.allLinkedIdsTest | 1PASS | ||
0.4047619
|
jalview.bin.CommandsTest.commandsOpenTestjalview.bin.CommandsTest.commandsOpenTest | 1PASS | ||
0.4047619
|
jalview.bin.CommandsTest.commandsOpenTestjalview.bin.CommandsTest.commandsOpenTest | 1PASS | ||
0.4047619
|
jalview.bin.CommandsTest.allLinkedIdsTestjalview.bin.CommandsTest.allLinkedIdsTest | 1PASS | ||
0.4047619
|
jalview.bin.CommandsTest.commandsOpenTestjalview.bin.CommandsTest.commandsOpenTest | 1PASS | ||
0.4047619
|
jalview.bin.CommandsTest.commandsOpenTestjalview.bin.CommandsTest.commandsOpenTest | 1PASS | ||
0.4047619
|
jalview.bin.CommandsTest.commandsOpenTestjalview.bin.CommandsTest.commandsOpenTest | 1PASS | ||
0.4047619
|
jalview.bin.CommandsTest.commandsOpenTestjalview.bin.CommandsTest.commandsOpenTest | 1PASS | ||
0.4047619
|
jalview.bin.CommandsTest.commandsOpenTestjalview.bin.CommandsTest.commandsOpenTest | 1PASS | ||
0.4047619
|
jalview.bin.CommandsTest.argFilesGlobAndSubstitutionsTestjalview.bin.CommandsTest.argFilesGlobAndSubstitutionsTest | 1PASS | ||
0.4047619
|
jalview.bin.CommandsTest.allLinkedIdsTestjalview.bin.CommandsTest.allLinkedIdsTest | 1PASS | ||
0.4047619
|
jalview.bin.CommandsTest.allLinkedIdsTestjalview.bin.CommandsTest.allLinkedIdsTest | 1PASS | ||
0.4047619
|
jalview.io.JalviewExportPropertiesTests.testImportExportPeriodGapsjalview.io.JalviewExportPropertiesTests.testImportExportPeriodGaps | 1PASS | ||
0.4047619
|
jalview.bin.CommandsTest.allLinkedIdsTestjalview.bin.CommandsTest.allLinkedIdsTest | 1PASS | ||
0.4047619
|
jalview.bin.CommandsTest.allLinkedIdsTestjalview.bin.CommandsTest.allLinkedIdsTest | 1PASS | ||
0.35714287
|
jalview.gui.SeqPanelTest.testFindMousePosition_wrapped_scaleAbovejalview.gui.SeqPanelTest.testFindMousePosition_wrapped_scaleAbove | 1PASS | ||
0.35714287
|
jalview.bin.CommandsTest.structureImageOutputTestjalview.bin.CommandsTest.structureImageOutputTest | 1PASS | ||
0.35714287
|
jalview.controller.AlignViewControllerTest.testSelectColumnsWithHighlightjalview.controller.AlignViewControllerTest.testSelectColumnsWithHighlight | 1PASS | ||
0.35714287
|
jalview.gui.AlignViewportTest.testGetConsensusSeqjalview.gui.AlignViewportTest.testGetConsensusSeq | 1PASS | ||
0.35714287
|
jalview.bin.CommandsTest.structureImageOutputTestjalview.bin.CommandsTest.structureImageOutputTest | 1PASS | ||
0.35714287
|
jalview.gui.AlignViewportTest.testDeregisterMapping_withReferencejalview.gui.AlignViewportTest.testDeregisterMapping_withReference | 1PASS | ||
0.35714287
|
jalview.gui.ScalePanelTest.testBuildPopupMenujalview.gui.ScalePanelTest.testBuildPopupMenu | 1PASS | ||
0.35714287
|
jalview.bin.CommandsTest2.structureOpeningArgsTestjalview.bin.CommandsTest2.structureOpeningArgsTest | 1PASS | ||
0.35714287
|
jalview.gui.FeatureSettingsTest.testSaveLoadjalview.gui.FeatureSettingsTest.testSaveLoad | 1PASS | ||
0.35714287
|
jalview.gui.AlignFrameTest.testChangeColour_background_groupsAndThresholdsjalview.gui.AlignFrameTest.testChangeColour_background_groupsAndThresholds | 1PASS | ||
0.35714287
|
jalview.bin.CommandsTest.structureImageAnnotationsOutputTestjalview.bin.CommandsTest.structureImageAnnotationsOutputTest | 1PASS | ||
0.35714287
|
jalview.structures.models.AAStructureBindingModelTest.testBuildColoursMapjalview.structures.models.AAStructureBindingModelTest.testBuildColoursMap | 1PASS | ||
0.35714287
|
jalview.bin.CommandsTest2.structureOpeningArgsTestjalview.bin.CommandsTest2.structureOpeningArgsTest | 1PASS | ||
0.35714287
|
jalview.gui.AlignViewportTest.testDeregisterMapping_onCloseViewjalview.gui.AlignViewportTest.testDeregisterMapping_onCloseView | 1PASS | ||
0.35714287
|
jalview.gui.ScalePanelTest.testSelectColumns_withHiddenjalview.gui.ScalePanelTest.testSelectColumns_withHidden | 1PASS | ||
0.35714287
|
jalview.gui.AlignViewportTest.testSetSelectionGroupjalview.gui.AlignViewportTest.testSetSelectionGroup | 1PASS | ||
0.35714287
|
jalview.gui.QuitHandlerTest.testInstantQuitjalview.gui.QuitHandlerTest.testInstantQuit | 1PASS | ||
0.35714287
|
jalview.ext.jmol.JmolViewerTest.testAddStrToSingleSeqViewJMoljalview.ext.jmol.JmolViewerTest.testAddStrToSingleSeqViewJMol | 1PASS | ||
0.35714287
|
jalview.gui.SeqPanelTest.testFindColumn_and_FindAlignmentColumn_wrappedjalview.gui.SeqPanelTest.testFindColumn_and_FindAlignmentColumn_wrapped | 1PASS | ||
0.35714287
|
jalview.gui.AlignViewportTest.testSetGetHasSearchResultsjalview.gui.AlignViewportTest.testSetGetHasSearchResults | 1PASS | ||
0.35714287
|
jalview.bin.CommandsTest.structureImageAnnotationsOutputTestjalview.bin.CommandsTest.structureImageAnnotationsOutputTest | 1PASS | ||
0.35714287
|
jalview.bin.CommandsTest.structureImageAnnotationsOutputTestjalview.bin.CommandsTest.structureImageAnnotationsOutputTest | 1PASS | ||
0.35714287
|
jalview.renderer.seqfeatures.FeatureRendererTest.testGetColourjalview.renderer.seqfeatures.FeatureRendererTest.testGetColour | 1PASS | ||
0.35714287
|
jalview.gui.QuitHandlerTest.testForceQuitjalview.gui.QuitHandlerTest.testForceQuit | 1PASS | ||
0.35714287
|
jalview.io.WindowsFileLoadAndSaveTest.loadAndSaveAlignmentjalview.io.WindowsFileLoadAndSaveTest.loadAndSaveAlignment | 1PASS | ||
0.35714287
|
jalview.bin.CommandsTest.structureImageAnnotationsOutputTestjalview.bin.CommandsTest.structureImageAnnotationsOutputTest | 1PASS | ||
0.35714287
|
jalview.bin.CommandsTest2.structureOpeningArgsTestjalview.bin.CommandsTest2.structureOpeningArgsTest | 1PASS | ||
0.35714287
|
jalview.gui.AnnotationLabelsTest2.testIdWidthChangesjalview.gui.AnnotationLabelsTest2.testIdWidthChanges | 1PASS | ||
0.35714287
|
jalview.gui.AnnotationLabelsTest2.testIdWidthNoChangesjalview.gui.AnnotationLabelsTest2.testIdWidthNoChanges | 1PASS | ||
0.35714287
|
jalview.renderer.seqfeatures.FeatureRendererTest.testFindFeaturesAtColumnjalview.renderer.seqfeatures.FeatureRendererTest.testFindFeaturesAtColumn | 1PASS | ||
0.35714287
|
jalview.gui.SeqPanelTest.testFindMousePosition_wrapped_noAnnotationsjalview.gui.SeqPanelTest.testFindMousePosition_wrapped_noAnnotations | 1PASS | ||
0.35714287
|
jalview.bin.CommandsTest2.structureOpeningArgsTestjalview.bin.CommandsTest2.structureOpeningArgsTest | 1PASS | ||
0.35714287
|
jalview.bin.CommandsTest.structureImageAnnotationsOutputTestjalview.bin.CommandsTest.structureImageAnnotationsOutputTest | 1PASS | ||
0.35714287
|
jalview.gui.AlignFrameTest.testNewView_dsRefPreservedjalview.gui.AlignFrameTest.testNewView_dsRefPreserved | 1PASS | ||
0.35714287
|
jalview.schemes.ColourSchemesTest.testGetColourSchemejalview.schemes.ColourSchemesTest.testGetColourScheme | 1PASS | ||
0.35714287
|
jalview.gui.AlignViewportTest.testGetSelectionAsNewSequences_withContactMatricesjalview.gui.AlignViewportTest.testGetSelectionAsNewSequences_withContactMatrices | 1PASS | ||
0.35714287
|
jalview.gui.AlignFrameTest.testNewView_colourThresholdsjalview.gui.AlignFrameTest.testNewView_colourThresholds | 1PASS | ||
0.35714287
|
jalview.bin.CommandsTest.structureImageAnnotationsOutputTestjalview.bin.CommandsTest.structureImageAnnotationsOutputTest | 1PASS | ||
0.35714287
|
jalview.gui.SeqPanelTest.testFindMousePosition_wrapped_annotationsjalview.gui.SeqPanelTest.testFindMousePosition_wrapped_annotations | 1PASS | ||
0.35714287
|
jalview.bin.CommandsTest.structureImageAnnotationsOutputTestjalview.bin.CommandsTest.structureImageAnnotationsOutputTest | 1PASS | ||
0.35714287
|
jalview.bin.CommandsTest2.structureOpeningArgsTestjalview.bin.CommandsTest2.structureOpeningArgsTest | 1PASS | ||
0.35714287
|
jalview.gui.QuitHandlerTest.testSavedAlignmentChangesjalview.gui.QuitHandlerTest.testSavedAlignmentChanges | 1PASS | ||
0.35714287
|
jalview.gui.AlignViewportTest.testDeregisterMapping_withNoReferencejalview.gui.AlignViewportTest.testDeregisterMapping_withNoReference | 1PASS | ||
0.35714287
|
jalview.gui.PairwiseAlignmentPanelTest.testConstructor_noSelectionGroupjalview.gui.PairwiseAlignmentPanelTest.testConstructor_noSelectionGroup | 1PASS | ||
0.35714287
|
jalview.renderer.ScaleRendererTest.testCalculateMarksjalview.renderer.ScaleRendererTest.testCalculateMarks | 1PASS | ||
0.35714287
|
jalview.gui.AnnotationLabelsTest2.testIdWidthNoChangesjalview.gui.AnnotationLabelsTest2.testIdWidthNoChanges | 1PASS | ||
0.35714287
|
jalview.gui.QuitHandlerTest.testNoGUIUnsavedChangesjalview.gui.QuitHandlerTest.testNoGUIUnsavedChanges | 1PASS | ||
0.35714287
|
jalview.gui.QuitHandlerTest.testSavedProjectChangesjalview.gui.QuitHandlerTest.testSavedProjectChanges | 1PASS | ||
0.35714287
|
jalview.schemes.ClustalxColourSchemeTest.testFindColour_ignoreGapsjalview.schemes.ClustalxColourSchemeTest.testFindColour_ignoreGaps | 1PASS | ||
0.35714287
|
jalview.gui.QuitHandlerTest.testUnsavedChangesjalview.gui.QuitHandlerTest.testUnsavedChanges | 1PASS | ||
0.35714287
|
jalview.renderer.seqfeatures.FeatureRendererTest.testFilterFeaturesForDisplayjalview.renderer.seqfeatures.FeatureRendererTest.testFilterFeaturesForDisplay | 1PASS | ||
0.35714287
|
jalview.renderer.seqfeatures.FeatureRendererTest.testFindComplementFeaturesAtResiduejalview.renderer.seqfeatures.FeatureRendererTest.testFindComplementFeaturesAtResidue | 1PASS | ||
0.35714287
|
jalview.bin.CommandsTest2.structureOpeningArgsTestjalview.bin.CommandsTest2.structureOpeningArgsTest | 1PASS | ||
0.35714287
|
jalview.gui.AlignFrameTest.testHideFeatureColumnsjalview.gui.AlignFrameTest.testHideFeatureColumns | 1PASS | ||
0.35714287
|
jalview.gui.AlignmentPanelTest.testSetOverviewTitle_automaticOverviewjalview.gui.AlignmentPanelTest.testSetOverviewTitle_automaticOverview | 1PASS | ||
0.35714287
|
jalview.ext.jmol.JmolParserTest.testAlignmentLoaderjalview.ext.jmol.JmolParserTest.testAlignmentLoader | 1PASS | ||
0.35714287
|
jalview.bin.CommandsTest2.structureOpeningArgsTestjalview.bin.CommandsTest2.structureOpeningArgsTest | 1PASS | ||
0.35714287
|
jalview.renderer.seqfeatures.FeatureRendererTest.testIsVisiblejalview.renderer.seqfeatures.FeatureRendererTest.testIsVisible | 1PASS | ||
0.35714287
|
jalview.gui.AlignViewportTest.testUpdateConservation_qualityOnlyjalview.gui.AlignViewportTest.testUpdateConservation_qualityOnly | 1PASS | ||
0.35714287
|
jalview.bin.CommandsTest2.structureOpeningArgsTestjalview.bin.CommandsTest2.structureOpeningArgsTest | 1PASS | ||
0.35714287
|
jalview.gui.AlignViewportTest.testShowOrDontShowOccupancyjalview.gui.AlignViewportTest.testShowOrDontShowOccupancy | 1PASS | ||
0.35714287
|
jalview.bin.CommandsTest2.structureOpeningArgsTestjalview.bin.CommandsTest2.structureOpeningArgsTest | 1PASS | ||
0.35714287
|
jalview.gui.SeqPanelTest.testAmbiguousAminoAcidGetsStatusMessagejalview.gui.SeqPanelTest.testAmbiguousAminoAcidGetsStatusMessage | 1PASS | ||
0.35714287
|
jalview.gui.DesktopTests.testInternalCopyPastejalview.gui.DesktopTests.testInternalCopyPaste | 1PASS | ||
0.35714287
|
jalview.gui.AnnotationLabelsTest2.testIdWidthChangesjalview.gui.AnnotationLabelsTest2.testIdWidthChanges | 1PASS | ||
0.35714287
|
jalview.ext.jmol.JmolViewerTest.testSingleSeqViewJMoljalview.ext.jmol.JmolViewerTest.testSingleSeqViewJMol | 1PASS | ||
0.35714287
|
jalview.gui.ColourMenuHelperTest.testAddMenuItems_forAlignFramejalview.gui.ColourMenuHelperTest.testAddMenuItems_forAlignFrame | 1PASS | ||
0.35714287
|
jalview.gui.SeqPanelTest.testFindColumn_unwrappedjalview.gui.SeqPanelTest.testFindColumn_unwrapped | 1PASS | ||
0.35714287
|
jalview.gui.AlignmentPanelTest.testSetOverviewTitlejalview.gui.AlignmentPanelTest.testSetOverviewTitle | 1PASS | ||
0.35714287
|
jalview.bin.CommandsTest.structureImageAnnotationsOutputTestjalview.bin.CommandsTest.structureImageAnnotationsOutputTest | 1PASS | ||
0.35714287
|
jalview.gui.SeqPanelTest.testFindMousePosition_wrapped_scales_longSequencejalview.gui.SeqPanelTest.testFindMousePosition_wrapped_scales_longSequence | 1PASS | ||
0.35714287
|
jalview.schemes.ClustalxColourSchemeTest.testFindColourjalview.schemes.ClustalxColourSchemeTest.testFindColour | 1PASS | ||
0.35714287
|
jalview.gui.AlignViewportTest.testSetGlobalColourSchemejalview.gui.AlignViewportTest.testSetGlobalColourScheme | 1PASS | ||
0.35714287
|
jalview.gui.QuitHandlerTest.testWaitForSaveQuitjalview.gui.QuitHandlerTest.testWaitForSaveQuit | 1PASS | ||
0.35714287
|
jalview.gui.PairwiseAlignmentPanelTest.testConstructor_withSelectionGroupjalview.gui.PairwiseAlignmentPanelTest.testConstructor_withSelectionGroup | 1PASS | ||
0.35714287
|
jalview.renderer.seqfeatures.FeatureRendererTest.testFindAllFeaturesjalview.renderer.seqfeatures.FeatureRendererTest.testFindAllFeatures | 1PASS | ||
0.35714287
|
jalview.bin.CommandsTest.structureImageOutputTestjalview.bin.CommandsTest.structureImageOutputTest | 1PASS | ||
0.35714287
|
jalview.analysis.AverageDistanceEngineTest.testUPGMAEnginejalview.analysis.AverageDistanceEngineTest.testUPGMAEngine | 1PASS | ||
0.35714287
|
jalview.bin.CommandsTest.structureImageOutputTestjalview.bin.CommandsTest.structureImageOutputTest | 1PASS | ||
0.35714287
|
jalview.io.JSONFileTest.testBioJSONRoundTripWithColourSchemeNonejalview.io.JSONFileTest.testBioJSONRoundTripWithColourSchemeNone | 1PASS | ||
0.35714287
|
jalview.bin.CommandsTest2.structureOpeningArgsTestjalview.bin.CommandsTest2.structureOpeningArgsTest | 1PASS | ||
0.35714287
|
jalview.gui.ColourMenuHelperTest.testAddMenuItems_nucleotidejalview.gui.ColourMenuHelperTest.testAddMenuItems_nucleotide | 1PASS | ||
0.30952382
|
jalview.gui.PopupMenuTest.testHideInsertionsjalview.gui.PopupMenuTest.testHideInsertions | 1PASS | ||
0.30952382
|
jalview.ext.jmol.JmolCommandsTest.testGetColourBySequenceCommands_hiddenColumnsjalview.ext.jmol.JmolCommandsTest.testGetColourBySequenceCommands_hiddenColumns | 1PASS | ||
0.30952382
|
jalview.gui.ScalePanelTest.testPreventNegativeStartColumnjalview.gui.ScalePanelTest.testPreventNegativeStartColumn | 1PASS | ||
0.30952382
|
jalview.gui.SeqPanelTest.testSetStatusReturnsNearestResiduePositionjalview.gui.SeqPanelTest.testSetStatusReturnsNearestResiduePosition | 1PASS | ||
0.30952382
|
jalview.io.JSONFileTest.testGrpParsed_colourNonejalview.io.JSONFileTest.testGrpParsed_colourNone | 1PASS | ||
0.30952382
|
jalview.controller.AlignViewControllerTest.testFindColumnsWithFeaturejalview.controller.AlignViewControllerTest.testFindColumnsWithFeature | 1PASS | ||
0.30952382
|
jalview.gui.PaintRefresherTest.testGetAssociatedPanelsjalview.gui.PaintRefresherTest.testGetAssociatedPanels | 1PASS | ||
0.2857143
|
jalview.util.MessageManagerTest.testGetStringOrReturnjalview.util.MessageManagerTest.testGetStringOrReturn | 1PASS | ||
0.2857143
|
jalview.util.MessageManagerTest.testGetString_invalidjalview.util.MessageManagerTest.testGetString_invalid | 1PASS | ||
0.2857143
|
jalview.structure.StructureSelectionManagerTest.testSetMapping_seqFeaturesjalview.structure.StructureSelectionManagerTest.testSetMapping_seqFeatures | 1PASS | ||
0.2857143
|
jalview.gui.structurechooser.StructureChooserQuerySourceTest.cascadingThreeDBandPDBQuerysjalview.gui.structurechooser.StructureChooserQuerySourceTest.cascadingThreeDBandPDBQuerys | 1PASS | ||
0.2857143
|
jalview.gui.structurechooser.StructureChooserQuerySourceTest.cascadingThreeDBandPDBQuerysjalview.gui.structurechooser.StructureChooserQuerySourceTest.cascadingThreeDBandPDBQuerys | 1PASS | ||
0.2857143
|
jalview.gui.StructureChooserTest.populateFilterComboBoxTestjalview.gui.StructureChooserTest.populateFilterComboBoxTest | 1PASS | ||
0.2857143
|
jalview.gui.structurechooser.StructureChooserQuerySourceTest.cascadingThreeDBandPDBQuerysjalview.gui.structurechooser.StructureChooserQuerySourceTest.cascadingThreeDBandPDBQuerys | 1PASS | ||
0.23809524
|
jalview.gui.ProgressBarTest.testConstructor_prematureInstantiationjalview.gui.ProgressBarTest.testConstructor_prematureInstantiation | 1PASS | ||
0.23809524
|
jalview.ext.ensembl.EnsemblProteinTest.testIsValidReferencejalview.ext.ensembl.EnsemblProteinTest.testIsValidReference | 1PASS | ||
0.23809524
|
jalview.urls.UrlProviderTest.testInitUrlProviderjalview.urls.UrlProviderTest.testInitUrlProvider | 1PASS | ||
0.23809524
|
jalview.gui.AnnotationColumnChooserTest.testResetjalview.gui.AnnotationColumnChooserTest.testReset | 1PASS | ||
0.23809524
|
jalview.io.JalviewFileViewTest.testGetImageIconjalview.io.JalviewFileViewTest.testGetImageIcon | 1PASS | ||
0.23809524
|
jalview.util.MappingUtilsTest.testMapSequenceGroup_sharedDatasetjalview.util.MappingUtilsTest.testMapSequenceGroup_sharedDataset | 1PASS | ||
0.23809524
|
jalview.util.MappingUtilsTest.testMapEditCommandjalview.util.MappingUtilsTest.testMapEditCommand | 1PASS | ||
0.23809524
|
jalview.datamodel.AlignedCodonFrameTest.testIsRealisableWithjalview.datamodel.AlignedCodonFrameTest.testIsRealisableWith | 1PASS | ||
0.23809524
|
jalview.datamodel.AlignmentTest.testAlignAs_cdnaAsProtein_singleSequencejalview.datamodel.AlignmentTest.testAlignAs_cdnaAsProtein_singleSequence | 1PASS | ||
0.23809524
|
jalview.gui.AnnotationChooserTest.testGetAnnotationTypesjalview.gui.AnnotationChooserTest.testGetAnnotationTypes | 1PASS | ||
0.23809524
|
jalview.datamodel.MappingTest.testIntersectVisContigsjalview.datamodel.MappingTest.testIntersectVisContigs | 1PASS | ||
0.23809524
|
jalview.workers.AlignCalcManagerTest.testRemoveWorkerForAnnotationjalview.workers.AlignCalcManagerTest.testRemoveWorkerForAnnotation | 1PASS | ||
0.23809524
|
jalview.gui.AlignmentPanelTest.testUpdateLayout_endResjalview.gui.AlignmentPanelTest.testUpdateLayout_endRes | 1PASS | ||
0.23809524
|
jalview.urls.IdentifiersUrlProviderTest.testUrlLinksjalview.urls.IdentifiersUrlProviderTest.testUrlLinks | 1PASS | ||
0.23809524
|
jalview.datamodel.AlignedCodonFrameTest.testGetMappedRegionjalview.datamodel.AlignedCodonFrameTest.testGetMappedRegion | 1PASS | ||
0.23809524
|
jalview.gui.PopupMenuTest.testConfigureReferenceAnnotationsMenu_alreadyAddedjalview.gui.PopupMenuTest.testConfigureReferenceAnnotationsMenu_alreadyAdded | 1PASS | ||
0.23809524
|
jalview.gui.AnnotationChooserTest.testSelectType_showForSelectedjalview.gui.AnnotationChooserTest.testSelectType_showForSelected | 1PASS | ||
0.23809524
|
jalview.gui.AnnotationChooserTest.testBuildShowHideOptionsPaneljalview.gui.AnnotationChooserTest.testBuildShowHideOptionsPanel | 1PASS | ||
0.23809524
|
jalview.gui.AnnotationChooserTest.testDeselectType_showForSelectedjalview.gui.AnnotationChooserTest.testDeselectType_showForSelected | 1PASS | ||
0.23809524
|
jalview.math.RotatableMatrixTest.testPrintjalview.math.RotatableMatrixTest.testPrint | 1PASS | ||
0.23809524
|
jalview.gui.ColourMenuHelperTest.testAddMenuItems_peptidejalview.gui.ColourMenuHelperTest.testAddMenuItems_peptide | 1PASS | ||
0.23809524
|
jalview.util.MappingUtilsTest.testMapSequenceGroup_columnsjalview.util.MappingUtilsTest.testMapSequenceGroup_columns | 1PASS | ||
0.23809524
|
jalview.ws.dbsources.UniprotTest.testimportOfProblemEntriesjalview.ws.dbsources.UniprotTest.testimportOfProblemEntries | 1PASS | ||
0.23809524
|
jalview.gui.SeqCanvasTest.testCalculateWrappedGeometry_noAnnotationsjalview.gui.SeqCanvasTest.testCalculateWrappedGeometry_noAnnotations | 1PASS | ||
0.23809524
|
jalview.gui.AnnotationChooserTest.testResetOriginalStatejalview.gui.AnnotationChooserTest.testResetOriginalState | 1PASS | ||
0.23809524
|
jalview.gui.StructureChooserTest.displayTDBQueryTestjalview.gui.StructureChooserTest.displayTDBQueryTest | 1PASS | ||
0.23809524
|
jalview.datamodel.AlignedCodonFrameTest.testRealiseWithjalview.datamodel.AlignedCodonFrameTest.testRealiseWith | 1PASS | ||
0.23809524
|
jalview.io.cache.AppCacheTest.appCacheTestjalview.io.cache.AppCacheTest.appCacheTest | 1PASS | ||
0.23809524
|
jalview.gui.AnnotationChooserTest.testDeselectType_hideForSelectedjalview.gui.AnnotationChooserTest.testDeselectType_hideForSelected | 1PASS | ||
0.23809524
|
jalview.gui.AnnotationChooserTest.testDeselectType_showForAlljalview.gui.AnnotationChooserTest.testDeselectType_showForAll | 1PASS | ||
0.23809524
|
jalview.gui.AnnotationChooserTest.testBuildActionButtonsPaneljalview.gui.AnnotationChooserTest.testBuildActionButtonsPanel | 1PASS | ||
0.23809524
|
jalview.util.MappingUtilsTest.testMapColumnSelection_proteinToDnajalview.util.MappingUtilsTest.testMapColumnSelection_proteinToDna | 1PASS | ||
0.23809524
|
jalview.util.ParseHtmlBodyAndLinksTest.testParseHtml_withLinksjalview.util.ParseHtmlBodyAndLinksTest.testParseHtml_withLinks | 1PASS | ||
0.23809524
|
jalview.util.MappingUtilsTest.testMapColumnSelection_hiddenColumnsjalview.util.MappingUtilsTest.testMapColumnSelection_hiddenColumns | 1PASS | ||
0.23809524
|
jalview.gui.AnnotationChooserTest.testSelectType_showForAlljalview.gui.AnnotationChooserTest.testSelectType_showForAll | 1PASS | ||
0.23809524
|
jalview.gui.AnnotationChooserTest.testBuildShowHidePaneljalview.gui.AnnotationChooserTest.testBuildShowHidePanel | 1PASS | ||
0.23809524
|
jalview.gui.AnnotationChooserTest.testIsInActionScope_unselectedScopejalview.gui.AnnotationChooserTest.testIsInActionScope_unselectedScope | 1PASS | ||
0.23809524
|
jalview.datamodel.AlignmentTest.testAddSequencePreserveDatasetIntegrityjalview.datamodel.AlignmentTest.testAddSequencePreserveDatasetIntegrity | 1PASS | ||
0.23809524
|
jalview.util.MappingUtilsTest.testBuildSearchResultsjalview.util.MappingUtilsTest.testBuildSearchResults | 1PASS | ||
0.23809524
|
jalview.util.MappingUtilsTest.testBuildSearchResults_withIntronjalview.util.MappingUtilsTest.testBuildSearchResults_withIntron | 1PASS | ||
0.23809524
|
jalview.util.MappingUtilsTest.testFindMappingsForSequencejalview.util.MappingUtilsTest.testFindMappingsForSequence | 1PASS | ||
0.23809524
|
jalview.io.TCoffeeScoreFileTest.testHeightAndWidthWithResidueNumbersjalview.io.TCoffeeScoreFileTest.testHeightAndWidthWithResidueNumbers | 1PASS | ||
0.23809524
|
jalview.gui.SeqPanelTest.testGetEditStatusMessage_lockedEditingjalview.gui.SeqPanelTest.testGetEditStatusMessage_lockedEditing | 1PASS | ||
0.23809524
|
jalview.datamodel.MappingTest.testToStringjalview.datamodel.MappingTest.testToString | 1PASS | ||
0.23809524
|
jalview.datamodel.AlignmentTest.testAlignAs_dnaAsDnajalview.datamodel.AlignmentTest.testAlignAs_dnaAsDna | 1PASS | ||
0.23809524
|
jalview.gui.ProgressBarTest.testSetProgressBarjalview.gui.ProgressBarTest.testSetProgressBar | 1PASS | ||
0.23809524
|
jalview.gui.AnnotationLabelsTest.testGetTooltipjalview.gui.AnnotationLabelsTest.testGetTooltip | 1PASS | ||
0.23809524
|
jalview.gui.AlignmentPanelTest.testCalculateIdWidth_noArgsjalview.gui.AlignmentPanelTest.testCalculateIdWidth_noArgs | 1PASS | ||
0.23809524
|
jalview.util.ParseHtmlBodyAndLinksTest.testParseHtml_noLinksjalview.util.ParseHtmlBodyAndLinksTest.testParseHtml_noLinks | 1PASS | ||
0.23809524
|
jalview.datamodel.MappingTest.testCopyConstructorjalview.datamodel.MappingTest.testCopyConstructor | 1PASS | ||
0.23809524
|
jalview.datamodel.AlignmentAnnotationTests.testGetDefaultRnaHelixSymboljalview.datamodel.AlignmentAnnotationTests.testGetDefaultRnaHelixSymbol | 1PASS | ||
0.23809524
|
jalview.analysis.ConservationTest.testCalculate_thresholdjalview.analysis.ConservationTest.testCalculate_threshold | 1PASS | ||
0.23809524
|
jalview.gui.AnnotationChooserTest.testDeselectType_hideForAlljalview.gui.AnnotationChooserTest.testDeselectType_hideForAll | 1PASS | ||
0.23809524
|
jalview.datamodel.AlignmentTest.testAlignAs_proteinAsCdnajalview.datamodel.AlignmentTest.testAlignAs_proteinAsCdna | 1PASS | ||
0.23809524
|
jalview.gui.PopupMenuTest.testBuildLinkMenujalview.gui.PopupMenuTest.testBuildLinkMenu | 1PASS | ||
0.23809524
|
jalview.datamodel.PAEContactMatrixTest.testSeqAssociatedPAEMatrixjalview.datamodel.PAEContactMatrixTest.testSeqAssociatedPAEMatrix | 1PASS | ||
0.23809524
|
jalview.datamodel.features.FeatureMatcherTest.testToStringjalview.datamodel.features.FeatureMatcherTest.testToString | 1PASS | ||
0.23809524
|
jalview.util.MappingUtilsTest.testFlattenRangesjalview.util.MappingUtilsTest.testFlattenRanges | 1PASS | ||
0.23809524
|
jalview.analysis.ConservationTest.testVerdictjalview.analysis.ConservationTest.testVerdict | 1PASS | ||
0.23809524
|
jalview.urls.IdentifiersUrlProviderTest.testDefaultUrljalview.urls.IdentifiersUrlProviderTest.testDefaultUrl | 1PASS | ||
0.23809524
|
jalview.gui.AnnotationChooserTest.testSelectType_hideForSelectedjalview.gui.AnnotationChooserTest.testSelectType_hideForSelected | 1PASS | ||
0.23809524
|
jalview.ext.jmol.JmolParserTest.testFileParserjalview.ext.jmol.JmolParserTest.testFileParser | 1PASS | ||
0.23809524
|
jalview.io.ScoreMatrixFileTest.testParseMatrix_aaindex_rowColMismatchjalview.io.ScoreMatrixFileTest.testParseMatrix_aaindex_rowColMismatch | 1PASS | ||
0.23809524
|
jalview.analysis.ConservationTest.testCalculate_noThresholdjalview.analysis.ConservationTest.testCalculate_noThreshold | 1PASS | ||
0.23809524
|
jalview.gui.AlignFrameTest.testColourThresholdActionsjalview.gui.AlignFrameTest.testColourThresholdActions | 1PASS | ||
0.23809524
|
jalview.io.ScoreMatrixFileTest.testParseMatrix_ncbiBadDelimiterjalview.io.ScoreMatrixFileTest.testParseMatrix_ncbiBadDelimiter | 1PASS | ||
0.23809524
|
jalview.analysis.FinderTest.testFind_ignoreHiddenColumnsjalview.analysis.FinderTest.testFind_ignoreHiddenColumns | 1PASS | ||
0.23809524
|
jalview.gui.SeqCanvasTest.testClear_HighlightAndSelectionjalview.gui.SeqCanvasTest.testClear_HighlightAndSelection | 1PASS | ||
0.23809524
|
jalview.datamodel.AlignedCodonFrameTest.testMarkMappedRegionjalview.datamodel.AlignedCodonFrameTest.testMarkMappedRegion | 1PASS | ||
0.23809524
|
jalview.gui.JvOptionPaneTest.showInternalConfirmDialogFamilyTestjalview.gui.JvOptionPaneTest.showInternalConfirmDialogFamilyTest | 1PASS | ||
0.23809524
|
jalview.util.MappingUtilsTest.testContainsjalview.util.MappingUtilsTest.testContains | 1PASS | ||
0.23809524
|
jalview.math.SparseMatrixTest.testConstructorjalview.math.SparseMatrixTest.testConstructor | 1PASS | ||
0.23809524
|
jalview.datamodel.MappingTypeTest.testGetFromRatiojalview.datamodel.MappingTypeTest.testGetFromRatio | 1PASS | ||
0.23809524
|
jalview.math.RotatableMatrixTest.testVectorMultiplyjalview.math.RotatableMatrixTest.testVectorMultiply | 1PASS | ||
0.23809524
|
jalview.datamodel.AlignmentAnnotationTests.testLiftOverjalview.datamodel.AlignmentAnnotationTests.testLiftOver | 1PASS | ||
0.23809524
|
jalview.util.MappingUtilsTest.testMapSequenceGroup_regionjalview.util.MappingUtilsTest.testMapSequenceGroup_region | 1PASS | ||
0.1904762
|
jalview.renderer.OverviewResColourFinderTest.testGetResidueBoxColour_zappojalview.renderer.OverviewResColourFinderTest.testGetResidueBoxColour_zappo | 1PASS | ||
0.1904762
|
jalview.gui.FeatureSettingsTest.testGetColorTooltipjalview.gui.FeatureSettingsTest.testGetColorTooltip | 1PASS | ||
0.1904762
|
jalview.analysis.FinderTest.testFindAll_sequenceIdsjalview.analysis.FinderTest.testFindAll_sequenceIds | 1PASS | ||
0.1904762
|
jalview.gui.SeqCanvasTest.testCalculateWrappedGeometry_withAnnotationsjalview.gui.SeqCanvasTest.testCalculateWrappedGeometry_withAnnotations | 1PASS | ||
0.1904762
|
jalview.analysis.FinderTest.testFind_inDescriptionjalview.analysis.FinderTest.testFind_inDescription | 1PASS | ||
0.1904762
|
jalview.util.MappingUtilsTest.testMapColumnSelection_nulljalview.util.MappingUtilsTest.testMapColumnSelection_null | 1PASS | ||
0.1904762
|
jalview.analysis.DnaTest.testReverseCdnajalview.analysis.DnaTest.testReverseCdna | 1PASS | ||
0.1904762
|
jalview.fts.threedbeacons.TDBeaconsPanelTest.populateCmbSearchTargetOptionsTestjalview.fts.threedbeacons.TDBeaconsPanelTest.populateCmbSearchTargetOptionsTest | 1PASS | ||
0.1904762
|
jalview.renderer.ResidueColourFinderTest.testGetResidueColour_zappojalview.renderer.ResidueColourFinderTest.testGetResidueColour_zappo | 1PASS | ||
0.1904762
|
jalview.util.MessageManagerTest.testFormatMessage_invalidjalview.util.MessageManagerTest.testFormatMessage_invalid | 1PASS | ||
0.1904762
|
jalview.renderer.OverviewResColourFinderTest.testGetResidueBoxColour_nonejalview.renderer.OverviewResColourFinderTest.testGetResidueBoxColour_none | 1PASS | ||
0.1904762
|
jalview.datamodel.HiddenSequencesTest.testHideShowSequence_withHiddenRepSequencejalview.datamodel.HiddenSequencesTest.testHideShowSequence_withHiddenRepSequence | 1PASS | ||
0.1904762
|
jalview.renderer.ResidueColourFinderTest.testGetResidueColour_nonejalview.renderer.ResidueColourFinderTest.testGetResidueColour_none | 1PASS | ||
0.1904762
|
jalview.renderer.OverviewResColourFinderTest.testGetResidueBoxColour_userdefjalview.renderer.OverviewResColourFinderTest.testGetResidueBoxColour_userdef | 1PASS | ||
0.1904762
|
jalview.util.MappingUtilsTest.testMapSequenceGroup_sequencesjalview.util.MappingUtilsTest.testMapSequenceGroup_sequences | 1PASS | ||
0.1904762
|
jalview.renderer.ResidueColourFinderTest.testGetResidueColour_userdefjalview.renderer.ResidueColourFinderTest.testGetResidueColour_userdef | 1PASS | ||
0.1904762
|
jalview.gui.StructureChooserTest.fetchStructuresInfoMockedTestjalview.gui.StructureChooserTest.fetchStructuresInfoMockedTest | 1PASS | ||
0.1904762
|
jalview.fts.service.pdb.PDBFTSPanelTest.populateCmbSearchTargetOptionsTestjalview.fts.service.pdb.PDBFTSPanelTest.populateCmbSearchTargetOptionsTest | 1PASS | ||
0.1904762
|
jalview.util.MappingUtilsTest.testMapColumnSelection_dnaToProteinjalview.util.MappingUtilsTest.testMapColumnSelection_dnaToProtein | 1PASS | ||
0.16666667
|
jalview.datamodel.AlignmentTest.testFindAnnotations_bySeqLabelandorCalcIdjalview.datamodel.AlignmentTest.testFindAnnotations_bySeqLabelandorCalcId | 1PASS | ||
0.16666667
|
jalview.io.BioJsHTMLOutputTest.getJalviewAlignmentAsJsonStringjalview.io.BioJsHTMLOutputTest.getJalviewAlignmentAsJsonString | 1PASS | ||
0.16666667
|
jalview.ws.dbsources.EBIAlphaFoldTest.checkPAEimportjalview.ws.dbsources.EBIAlphaFoldTest.checkPAEimport | 1PASS | ||
0.11904762
|
jalview.analysis.DnaTest.testTranslateCdna_simplejalview.analysis.DnaTest.testTranslateCdna_simple | 1PASS | ||
0.11904762
|
jalview.io.cache.AppCacheTest.appCacheLimitTestjalview.io.cache.AppCacheTest.appCacheLimitTest | 1PASS | ||
0.11904762
|
jalview.util.matcher.ConditionTest.testToStringjalview.util.matcher.ConditionTest.testToString | 1PASS | ||
0.11904762
|
jalview.gui.structurechooser.StructureChooserQuerySourceTest.cascadingThreeDBandPDBQuerysjalview.gui.structurechooser.StructureChooserQuerySourceTest.cascadingThreeDBandPDBQuerys | 1PASS | ||
0.11904762
|
jalview.util.MappingUtilsTest.testFindOverlapjalview.util.MappingUtilsTest.testFindOverlap | 1PASS | ||
0.11904762
|
jalview.gui.AnnotationChooserTest.testBuildApplyToOptionsPanel_withSelectionGroupjalview.gui.AnnotationChooserTest.testBuildApplyToOptionsPanel_withSelectionGroup | 1PASS | ||
0.11904762
|
jalview.urls.UrlProviderTest.testSetDefaultUrljalview.urls.UrlProviderTest.testSetDefaultUrl | 1PASS | ||
0.11904762
|
jalview.gui.PopupMenuTest.testBuildAnnotationTypesMenus_showDisabledjalview.gui.PopupMenuTest.testBuildAnnotationTypesMenus_showDisabled | 1PASS | ||
0.11904762
|
jalview.analysis.DnaTest.testTranslateCdna_withUntranslatableCodonsAndHiddenColumnsjalview.analysis.DnaTest.testTranslateCdna_withUntranslatableCodonsAndHiddenColumns | 1PASS | ||
0.11904762
|
jalview.util.MappingUtilsTest.testFindMappingsForSequenceAndOthersjalview.util.MappingUtilsTest.testFindMappingsForSequenceAndOthers | 1PASS | ||
0.11904762
|
jalview.ext.ensembl.EnsemblProteinTest.testGetAccesionIdFromQueryjalview.ext.ensembl.EnsemblProteinTest.testGetAccesionIdFromQuery | 1PASS | ||
0.11904762
|
jalview.io.SequenceAnnotationReportTest.testCreateSequenceAnnotationReport_withEllipsisjalview.io.SequenceAnnotationReportTest.testCreateSequenceAnnotationReport_withEllipsis | 1PASS | ||
0.11904762
|
jalview.datamodel.features.FeatureMatcherSetTest.testToStringjalview.datamodel.features.FeatureMatcherSetTest.testToString | 1PASS | ||
0.11904762
|
jalview.gui.ColourMenuHelperTest.testAddMenuItems_simpleOnlyjalview.gui.ColourMenuHelperTest.testAddMenuItems_simpleOnly | 1PASS | ||
0.11904762
|
jalview.gui.PopupMenuTest.testConfigureReferenceAnnotationsMenu_twoViewsjalview.gui.PopupMenuTest.testConfigureReferenceAnnotationsMenu_twoViews | 1PASS | ||
0.11904762
|
jalview.datamodel.AlignmentAnnotationTests.testIsQuantitativejalview.datamodel.AlignmentAnnotationTests.testIsQuantitative | 1PASS | ||
0.11904762
|
jalview.gui.PopupMenuTest.testBuildAnnotationTypesMenus_hideDisabledjalview.gui.PopupMenuTest.testBuildAnnotationTypesMenus_hideDisabled | 1PASS | ||
0.11904762
|
jalview.gui.PopupMenuTest.testBuildAnnotationTypesMenusjalview.gui.PopupMenuTest.testBuildAnnotationTypesMenus | 1PASS | ||
0.11904762
|
jalview.analysis.RnaTest.testGetSimpleBPs_unmatchedCloserjalview.analysis.RnaTest.testGetSimpleBPs_unmatchedCloser | 1PASS | ||
0.11904762
|
jalview.gui.PopupMenuTest.testConfigureReferenceAnnotationsMenujalview.gui.PopupMenuTest.testConfigureReferenceAnnotationsMenu | 1PASS | ||
0.11904762
|
jalview.datamodel.AlignmentAnnotationTests.testMakeVisibleAnnotationjalview.datamodel.AlignmentAnnotationTests.testMakeVisibleAnnotation | 1PASS | ||
0.11904762
|
jalview.gui.AnnotationLabelsTest.testGetStatusMessagejalview.gui.AnnotationLabelsTest.testGetStatusMessage | 1PASS | ||
0.11904762
|
jalview.io.PfamFormatInputTest.testPfamFormatValidLimitsjalview.io.PfamFormatInputTest.testPfamFormatValidLimits | 1PASS | ||
0.11904762
|
jalview.analysis.RnaTest.testGetSimpleBPs_unmatchedOpenerjalview.analysis.RnaTest.testGetSimpleBPs_unmatchedOpener | 1PASS | ||
0.11904762
|
jalview.structure.StructureSelectionManagerTest.testRegisterMappingjalview.structure.StructureSelectionManagerTest.testRegisterMapping | 1PASS | ||
0.11904762
|
jalview.analysis.ConservationTest.testCountConservationAndGapsjalview.analysis.ConservationTest.testCountConservationAndGaps | 1PASS | ||
0.11904762
|
jalview.gui.PopupMenuTest.testConfigureReferenceAnnotationsMenu_notOnAlignmentjalview.gui.PopupMenuTest.testConfigureReferenceAnnotationsMenu_notOnAlignment | 1PASS | ||
0.11904762
|
jalview.analysis.FinderTest.testFind_findAllInSelectionWithShortSequencejalview.analysis.FinderTest.testFind_findAllInSelectionWithShortSequence | 1PASS | ||
0.11904762
|
jalview.gui.AnnotationChooserTest.testBuildApplyToOptionsPanel_noSelectionGroupjalview.gui.AnnotationChooserTest.testBuildApplyToOptionsPanel_noSelectionGroup | 1PASS | ||
0.11904762
|
jalview.gui.AnnotationChooserTest.testIsInActionScope_selectedScopejalview.gui.AnnotationChooserTest.testIsInActionScope_selectedScope | 1PASS | ||
0.11904762
|
jalview.gui.structurechooser.StructureChooserQuerySourceTest.cascadingThreeDBandPDBQuerysjalview.gui.structurechooser.StructureChooserQuerySourceTest.cascadingThreeDBandPDBQuerys | 1PASS | ||
0.11904762
|
jalview.datamodel.AlignmentTest.testAppendjalview.datamodel.AlignmentTest.testAppend | 1PASS | ||
0.11904762
|
jalview.util.MappingUtilsTest.testFlattenRanges_reverseStrandjalview.util.MappingUtilsTest.testFlattenRanges_reverseStrand | 1PASS | ||
0.11904762
|
jalview.io.StockholmFileTest.testAnnotationEquivalencejalview.io.StockholmFileTest.testAnnotationEquivalence | 1PASS | ||
0.11904762
|
jalview.gui.AnnotationChooserTest.testSelectType_hideForAlljalview.gui.AnnotationChooserTest.testSelectType_hideForAll | 1PASS | ||
0.11904762
|
jalview.util.MappingUtilsTest.testRangeContainsjalview.util.MappingUtilsTest.testRangeContains | 1PASS | ||
0.11904762
|
jalview.io.ScoreMatrixFileTest.testParseMatrix_aaindexFormatjalview.io.ScoreMatrixFileTest.testParseMatrix_aaindexFormat | 1PASS | ||
0.11904762
|
jalview.analysis.DnaTest.testTranslateCdna_hiddenColumnsjalview.analysis.DnaTest.testTranslateCdna_hiddenColumns | 1PASS | ||
0.11904762
|
jalview.datamodel.AlignmentTest.testAddCodonFramejalview.datamodel.AlignmentTest.testAddCodonFrame | 1PASS | ||
0.11904762
|
jalview.analysis.DnaTest.testTranslateCdna_withUntranslatableCodonsjalview.analysis.DnaTest.testTranslateCdna_withUntranslatableCodons | 1PASS | ||
0.11904762
|
jalview.util.MappingUtilsTest.testRemoveStartPositions_reverseStrandjalview.util.MappingUtilsTest.testRemoveStartPositions_reverseStrand | 1PASS | ||
0.11904762
|
jalview.util.matcher.MatcherTest.testToStringjalview.util.matcher.MatcherTest.testToString | 1PASS | ||
0.11904762
|
jalview.analysis.DnaTest.testTranslateCdna_sequenceOrderIndependentjalview.analysis.DnaTest.testTranslateCdna_sequenceOrderIndependent | 1PASS | ||
0.11904762
|
jalview.schemes.BuriedColourSchemeTest.testFindColourjalview.schemes.BuriedColourSchemeTest.testFindColour | 1PASS | ||
0.11904762
|
jalview.gui.PopupMenuTest.testAddFeatureDetailsjalview.gui.PopupMenuTest.testAddFeatureDetails | 1PASS | ||
0.11904762
|
jalview.io.ScoreMatrixFileTest.testParseMatrix_aaindex_mMissingjalview.io.ScoreMatrixFileTest.testParseMatrix_aaindex_mMissing | 1PASS | ||
0.071428575
|
jalview.datamodel.AlignmentTest.testAssertDatasetIsNormalisedjalview.datamodel.AlignmentTest.testAssertDatasetIsNormalised | 1PASS | ||
0.071428575
|
jalview.io.SequenceAnnotationReportTest.testAppendFeature_DescEqualsTypejalview.io.SequenceAnnotationReportTest.testAppendFeature_DescEqualsType | 1PASS | ||
0.071428575
|
jalview.io.ScoreMatrixFileTest.testParseMatrix_headerMissingjalview.io.ScoreMatrixFileTest.testParseMatrix_headerMissing | 1PASS | ||
0.071428575
|
jalview.datamodel.AlignmentTest.testDeleteHiddenSequencejalview.datamodel.AlignmentTest.testDeleteHiddenSequence | 1PASS | ||
0.071428575
|
jalview.io.SequenceAnnotationReportTest.testAppendFeature_colouredByAttributejalview.io.SequenceAnnotationReportTest.testAppendFeature_colouredByAttribute | 1PASS | ||
0.071428575
|
jalview.datamodel.AlignmentTest.testCreateDatasetAlignmentWithMappedToSeqsjalview.datamodel.AlignmentTest.testCreateDatasetAlignmentWithMappedToSeqs | 1PASS | ||
0.071428575
|
jalview.io.TCoffeeScoreFileTest.testGetAsListjalview.io.TCoffeeScoreFileTest.testGetAsList | 1PASS | ||
0.071428575
|
jalview.io.SequenceAnnotationReportTest.testAppendFeature_statusjalview.io.SequenceAnnotationReportTest.testAppendFeature_status | 1PASS | ||
0.071428575
|
jalview.datamodel.AlignmentTest.testDeleteAllAnnotations_excludingAutocalculatedjalview.datamodel.AlignmentTest.testDeleteAllAnnotations_excludingAutocalculated | 1PASS | ||
0.071428575
|
jalview.datamodel.AlignmentTest.testCreateDataset_updateDbrefMappingsjalview.datamodel.AlignmentTest.testCreateDataset_updateDbrefMappings | 1PASS | ||
0.071428575
|
jalview.io.ScoreMatrixFileTest.testParseMatrix_aaindex_tooFewColumnsjalview.io.ScoreMatrixFileTest.testParseMatrix_aaindex_tooFewColumns | 1PASS | ||
0.071428575
|
jalview.datamodel.AlignmentTest.testEqualsjalview.datamodel.AlignmentTest.testEquals | 1PASS | ||
0.071428575
|
jalview.io.ScoreMatrixFileTest.testParseMatrix_ncbiBadGuideCharacterjalview.io.ScoreMatrixFileTest.testParseMatrix_ncbiBadGuideCharacter | 1PASS | ||
0.071428575
|
jalview.datamodel.AlignmentTest.testDeleteSequenceBySeqjalview.datamodel.AlignmentTest.testDeleteSequenceBySeq | 1PASS | ||
0.071428575
|
jalview.urls.UrlLinkTableModelTest.testColumnsjalview.urls.UrlLinkTableModelTest.testColumns | 1PASS | ||
0.071428575
|
jalview.util.imagemaker.BitmapImageSizeTest.testCacheSettingsRecoveryjalview.util.imagemaker.BitmapImageSizeTest.testCacheSettingsRecovery | 1PASS | ||
0.071428575
|
jalview.gui.AlignmentPanelTest.testSetScrollValuesjalview.gui.AlignmentPanelTest.testSetScrollValues | 1PASS | ||
0.071428575
|
jalview.io.SequenceAnnotationReportTest.testAppendFeature_stripHtmljalview.io.SequenceAnnotationReportTest.testAppendFeature_stripHtml | 1PASS | ||
0.071428575
|
jalview.schemes.FeatureColourTest.testGetDescriptionjalview.schemes.FeatureColourTest.testGetDescription | 1PASS | ||
0.071428575
|
jalview.datamodel.AlignmentTest.testDeleteSequenceByIndexjalview.datamodel.AlignmentTest.testDeleteSequenceByIndex | 1PASS | ||
0.071428575
|
jalview.io.TCoffeeScoreFileTest.testHeightAndWidthjalview.io.TCoffeeScoreFileTest.testHeightAndWidth | 1PASS | ||
0.071428575
|
jalview.io.ScoreMatrixFileTest.testParseMatrix_aaindex_tooManyRowsjalview.io.ScoreMatrixFileTest.testParseMatrix_aaindex_tooManyRows | 1PASS | ||
0.071428575
|
jalview.datamodel.AlignmentTest.testCopyConstructorjalview.datamodel.AlignmentTest.testCopyConstructor | 1PASS | ||
0.071428575
|
jalview.io.ScoreMatrixFileTest.testParseMatrix_ncbiBadFloatjalview.io.ScoreMatrixFileTest.testParseMatrix_ncbiBadFloat | 1PASS | ||
0.071428575
|
jalview.gui.SeqPanelTest.testGetEditStatusMessagejalview.gui.SeqPanelTest.testGetEditStatusMessage | 1PASS | ||
0.071428575
|
jalview.io.TCoffeeScoreFileTest.testGetAsArrayjalview.io.TCoffeeScoreFileTest.testGetAsArray | 1PASS | ||
0.071428575
|
jalview.ext.pymol.PymolManagerTest.testGetPostRequestjalview.ext.pymol.PymolManagerTest.testGetPostRequest | 1PASS | ||
0.071428575
|
jalview.datamodel.AlignmentTest.testDeleteAllAnnotations_includingAutocalculatedjalview.datamodel.AlignmentTest.testDeleteAllAnnotations_includingAutocalculated | 1PASS | ||
0.071428575
|
jalview.datamodel.AlignmentTest.testCreateDatasetAlignmentjalview.datamodel.AlignmentTest.testCreateDatasetAlignment | 1PASS | ||
0.071428575
|
jalview.io.SequenceAnnotationReportTest.testAppendFeature_virtualFeaturejalview.io.SequenceAnnotationReportTest.testAppendFeature_virtualFeature | 1PASS |
1 | /* | ||||||
2 | * Jalview - A Sequence Alignment Editor and Viewer ($$Version-Rel$$) | ||||||
3 | * Copyright (C) $$Year-Rel$$ The Jalview Authors | ||||||
4 | * | ||||||
5 | * This file is part of Jalview. | ||||||
6 | * | ||||||
7 | * Jalview is free software: you can redistribute it and/or | ||||||
8 | * modify it under the terms of the GNU General Public License | ||||||
9 | * as published by the Free Software Foundation, either version 3 | ||||||
10 | * of the License, or (at your option) any later version. | ||||||
11 | * | ||||||
12 | * Jalview is distributed in the hope that it will be useful, but | ||||||
13 | * WITHOUT ANY WARRANTY; without even the implied warranty | ||||||
14 | * of MERCHANTABILITY or FITNESS FOR A PARTICULAR | ||||||
15 | * PURPOSE. See the GNU General Public License for more details. | ||||||
16 | * | ||||||
17 | * You should have received a copy of the GNU General Public License | ||||||
18 | * along with Jalview. If not, see <http://www.gnu.org/licenses/>. | ||||||
19 | * The Jalview Authors are detailed in the 'AUTHORS' file. | ||||||
20 | */ | ||||||
21 | package jalview.util; | ||||||
22 | |||||||
23 | import java.text.MessageFormat; | ||||||
24 | import java.util.HashSet; | ||||||
25 | import java.util.Locale; | ||||||
26 | import java.util.ResourceBundle; | ||||||
27 | import java.util.ResourceBundle.Control; | ||||||
28 | import java.util.Set; | ||||||
29 | |||||||
30 | import jalview.bin.Console; | ||||||
31 | |||||||
32 | /** | ||||||
33 | * | ||||||
34 | * @author David Roldan Martinez | ||||||
35 | * @author Thomas Abeel | ||||||
36 | * | ||||||
37 | * | ||||||
38 | */ | ||||||
|
|||||||
39 | public class MessageManager | ||||||
40 | { | ||||||
41 | private static ResourceBundle rb; | ||||||
42 | |||||||
43 | private static Locale loc; | ||||||
44 | |||||||
45 | private static Set<String> reportedMissing = new HashSet<>(); | ||||||
46 | |||||||
|
|||||||
47 | 54 | static... | |||||
48 | { | ||||||
49 | 54 | try | |||||
50 | { | ||||||
51 | /* Localize Java dialogs */ | ||||||
52 | 54 | loc = Locale.getDefault(); | |||||
53 | // Locale.setDefault(loc); | ||||||
54 | /* Getting messages for GV */ | ||||||
55 | 54 | Console.info("Getting messages for lang: " + loc); | |||||
56 | 54 | Control control = Control.getControl(Control.FORMAT_PROPERTIES); | |||||
57 | 54 | rb = ResourceBundle.getBundle("lang.Messages", loc, control); | |||||
58 | // if (log.isLoggable(Level.FINEST)) | ||||||
59 | // { | ||||||
60 | // // this might take a while, so we only do it if it will be shown | ||||||
61 | // log.info("Language keys: " + rb.keySet()); // was FINEST | ||||||
62 | // } | ||||||
63 | } catch (Exception q) | ||||||
64 | { | ||||||
65 | 0 | Console.warn("Exception when initting Locale for i18n messages\n" | |||||
66 | + q.getMessage()); | ||||||
67 | 0 | q.printStackTrace(); | |||||
68 | } catch (Error v) | ||||||
69 | { | ||||||
70 | 0 | Console.warn("Error when initting Locale for i18n messages\n" | |||||
71 | + v.getMessage()); | ||||||
72 | 0 | v.printStackTrace(); | |||||
73 | } | ||||||
74 | |||||||
75 | } | ||||||
76 | |||||||
77 | /** | ||||||
78 | * Returns the resource bundle text for the given key, or if not found, the | ||||||
79 | * key prefixed by "[missing key]" | ||||||
80 | * | ||||||
81 | * @param key | ||||||
82 | * @return | ||||||
83 | */ | ||||||
|
|||||||
84 | 137751 | public static String getString(String key)... | |||||
85 | { | ||||||
86 | 137752 | String value = "[missing key] " + key; | |||||
87 | 137746 | try | |||||
88 | { | ||||||
89 | 137748 | value = rb.getString(key); | |||||
90 | } catch (Exception e) | ||||||
91 | { | ||||||
92 | 1 | String msg = "I18N missing: " + loc + "\t" + key; | |||||
93 | 1 | logWarning(key, msg); | |||||
94 | } | ||||||
95 | 137749 | return value; | |||||
96 | } | ||||||
97 | |||||||
|
|||||||
98 | 1755 | public static Locale getLocale()... | |||||
99 | { | ||||||
100 | 1755 | return loc; | |||||
101 | } | ||||||
102 | |||||||
103 | /** | ||||||
104 | * Returns the resource bundle text for the given key, with tokens {@code {0}, | ||||||
105 | * {1} etc replaced by the supplied parameters. If the key is not found, | ||||||
106 | * returns the key and values prefixed by "[missing key]" | ||||||
107 | * | ||||||
108 | * @param key | ||||||
109 | * | ||||||
110 | * @return | ||||||
111 | */ | ||||||
|
|||||||
112 | 40429 | public static String formatMessage(String key, Object... params)... | |||||
113 | { | ||||||
114 | 40429 | try | |||||
115 | { | ||||||
116 | 40429 | return MessageFormat.format(rb.getString(key), params); | |||||
117 | } catch (Exception e) | ||||||
118 | { | ||||||
119 | 1 | Console.warn("I18N missing: " + loc + "\t" + key); | |||||
120 | } | ||||||
121 | 1 | String value = "[missing key] " + key + ""; | |||||
122 | 1 | for (Object p : params) | |||||
123 | { | ||||||
124 | 2 | value += " '" + p.toString() + "'"; | |||||
125 | } | ||||||
126 | 1 | return value; | |||||
127 | } | ||||||
128 | |||||||
129 | /** | ||||||
130 | * Returns the resource bundle text for the given key, with tokens {@code {0}, | ||||||
131 | * {1} etc replaced by the supplied parameters. If the key is not found, | ||||||
132 | * returns the key and values prefixed by "[missing key]" | ||||||
133 | * | ||||||
134 | * @param key | ||||||
135 | * | ||||||
136 | * @return | ||||||
137 | */ | ||||||
|
|||||||
138 | 22789 | public static String formatMessage(String key, String[] params)... | |||||
139 | { | ||||||
140 | 22789 | return formatMessage(key, (Object[]) params); | |||||
141 | } | ||||||
142 | |||||||
143 | /** | ||||||
144 | * Returns resource bundle text given a root and a human-readable(ish) name | ||||||
145 | * that when combined might resolve to an i18n string. {@code name} is forced | ||||||
146 | * to lower case, with any spaces removed, and concatenated to {@code keyroot} | ||||||
147 | * to form a lookup key. | ||||||
148 | * <p> | ||||||
149 | * If the key doesn't resolve, then {@code name} is returned. | ||||||
150 | * <p> | ||||||
151 | * Use this for programmatically constructed keys that might have a human | ||||||
152 | * readable alternative used in the program (e.g. BLOSUM62 and | ||||||
153 | * label.score_blosum62). | ||||||
154 | * | ||||||
155 | * @param keyroot | ||||||
156 | * @param name | ||||||
157 | * @return | ||||||
158 | */ | ||||||
|
|||||||
159 | 10235 | public static String getStringOrReturn(String keyroot, String name)... | |||||
160 | { | ||||||
161 | 10235 | String smkey = keyroot | |||||
162 | + name.toLowerCase(Locale.ROOT).replaceAll(" ", ""); | ||||||
163 | 10235 | try | |||||
164 | { | ||||||
165 | 10235 | name = rb.getString(smkey); | |||||
166 | } catch (Exception x) | ||||||
167 | { | ||||||
168 | 321 | String msg = "I18N missing key with root " + keyroot + ": " + loc | |||||
169 | + "\t" + smkey; | ||||||
170 | 321 | logWarning(smkey, msg); | |||||
171 | } | ||||||
172 | 10235 | return name; | |||||
173 | } | ||||||
174 | |||||||
175 | /** | ||||||
176 | * Logs missing keys (each key once only per run) | ||||||
177 | * | ||||||
178 | * @param key | ||||||
179 | * @param msg | ||||||
180 | */ | ||||||
|
|||||||
181 | 322 | private static void logWarning(String key, String msg)... | |||||
182 | { | ||||||
183 | 322 | if (!reportedMissing.contains(key)) | |||||
184 | { | ||||||
185 | 4 | reportedMissing.add(key); | |||||
186 | 4 | Console.info(msg); | |||||
187 | } | ||||||
188 | } | ||||||
189 | } |