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.5952381
|
jalview.project.Jalview2xmlTests.testPcaViewAssociationjalview.project.Jalview2xmlTests.testPcaViewAssociation | 1PASS | ||
0.52380955
|
jalview.io.AnnotatedPDBFileInputTest.testJalviewProjectRelocationAnnotationjalview.io.AnnotatedPDBFileInputTest.testJalviewProjectRelocationAnnotation | 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.gui.StructureChooserTest.openStructureFileForSequenceTestjalview.gui.StructureChooserTest.openStructureFileForSequenceTest | 1PASS | ||
0.52380955
|
jalview.project.Jalview2xmlTests.gatherViewsHerejalview.project.Jalview2xmlTests.gatherViewsHere | 1PASS | ||
0.52380955
|
jalview.schemes.ColourSchemesTest.testRegisterColourSchemejalview.schemes.ColourSchemesTest.testRegisterColourScheme | 1PASS | ||
0.52380955
|
jalview.io.CrossRef2xmlTests.openCrossrefsForEnsemblTwicejalview.io.CrossRef2xmlTests.openCrossrefsForEnsemblTwice | 1PASS | ||
0.52380955
|
jalview.gui.StructureChooserTest.openStructureFileForSequenceTestjalview.gui.StructureChooserTest.openStructureFileForSequenceTest | 1PASS | ||
0.52380955
|
jalview.gui.StructureChooserTest.openStructureFileForSequenceTestjalview.gui.StructureChooserTest.openStructureFileForSequenceTest | 1PASS | ||
0.47619048
|
jalview.io.FeaturesFileTest.testPrintGffFormatjalview.io.FeaturesFileTest.testPrintGffFormat | 1PASS | ||
0.47619048
|
jalview.schemes.PIDColourSchemeTest.testFindColour_ignoreGapsjalview.schemes.PIDColourSchemeTest.testFindColour_ignoreGaps | 1PASS | ||
0.47619048
|
jalview.project.Jalview2xmlTests.testStoreAndRecoverGeneLocusjalview.project.Jalview2xmlTests.testStoreAndRecoverGeneLocus | 1PASS | ||
0.47619048
|
jalview.io.FeaturesFileTest.testParse_jalviewFeaturesOnlyjalview.io.FeaturesFileTest.testParse_jalviewFeaturesOnly | 1PASS | ||
0.47619048
|
jalview.analysis.scoremodels.FeatureDistanceModelTest.testFindDistancesjalview.analysis.scoremodels.FeatureDistanceModelTest.testFindDistances | 1PASS | ||
0.47619048
|
jalview.io.BackupFilesTest.backupsEnabledReverseRollMaxTestjalview.io.BackupFilesTest.backupsEnabledReverseRollMaxTest | 1PASS | ||
0.47619048
|
jalview.project.Jalview2xmlTests.testAutoShowOverviewForLegacyProjectsjalview.project.Jalview2xmlTests.testAutoShowOverviewForLegacyProjects | 1PASS | ||
0.47619048
|
jalview.io.FeaturesFileTest.testPrintJalviewFormat_withFiltersjalview.io.FeaturesFileTest.testPrintJalviewFormat_withFilters | 1PASS | ||
0.47619048
|
jalview.project.Jalview2xmlTests.testStoreAndRecoverColourThresholdsjalview.project.Jalview2xmlTests.testStoreAndRecoverColourThresholds | 1PASS | ||
0.47619048
|
jalview.datamodel.AlignmentViewTest.testGetVisibleContigsjalview.datamodel.AlignmentViewTest.testGetVisibleContigs | 1PASS | ||
0.47619048
|
jalview.project.Jalview2xmlTests.testStoreAndRecoverPDBEntryjalview.project.Jalview2xmlTests.testStoreAndRecoverPDBEntry | 1PASS | ||
0.47619048
|
jalview.io.vcf.VCFLoaderTest.testDoLoad_vepCsqjalview.io.vcf.VCFLoaderTest.testDoLoad_vepCsq | 1PASS | ||
0.47619048
|
jalview.io.FeaturesFileTest.testPrintJalviewFormatjalview.io.FeaturesFileTest.testPrintJalviewFormat | 1PASS | ||
0.47619048
|
jalview.io.AnnotationFileIOTest.testAnnotateAlignmentViewjalview.io.AnnotationFileIOTest.testAnnotateAlignmentView | 1PASS | ||
0.47619048
|
jalview.project.Jalview2xmlTests.testSaveLoadFeatureColoursAndFiltersjalview.project.Jalview2xmlTests.testSaveLoadFeatureColoursAndFilters | 1PASS | ||
0.47619048
|
jalview.io.vcf.VCFLoaderTest.testDoLoad_reverseStrandjalview.io.vcf.VCFLoaderTest.testDoLoad_reverseStrand | 1PASS | ||
0.47619048
|
jalview.io.gff.ExonerateHelperTest.testAddExonerateGffToAlignmentjalview.io.gff.ExonerateHelperTest.testAddExonerateGffToAlignment | 1PASS | ||
0.47619048
|
jalview.io.gff.GffTests.testResolveExonerateGffjalview.io.gff.GffTests.testResolveExonerateGff | 1PASS | ||
0.47619048
|
jalview.io.BackupFilesTest.backupsEnabledRollMaxTestjalview.io.BackupFilesTest.backupsEnabledRollMaxTest | 1PASS | ||
0.47619048
|
jalview.analysis.scoremodels.FeatureDistanceModelTest.testFeatureScoreModel_hiddenFirstColumnjalview.analysis.scoremodels.FeatureDistanceModelTest.testFeatureScoreModel_hiddenFirstColumn | 1PASS | ||
0.47619048
|
jalview.io.AnnotationExporterTest.testAnnotationExportAsCSVjalview.io.AnnotationExporterTest.testAnnotationExportAsCSV | 1PASS | ||
0.47619048
|
jalview.project.Jalview2xmlTests.testTCoffeeScoresjalview.project.Jalview2xmlTests.testTCoffeeScores | 1PASS | ||
0.47619048
|
jalview.analysis.scoremodels.FeatureDistanceModelTest.testFeatureScoreModeljalview.analysis.scoremodels.FeatureDistanceModelTest.testFeatureScoreModel | 1PASS | ||
0.47619048
|
jalview.project.Jalview2xmlTests.testStoreAndRecoverOverviewjalview.project.Jalview2xmlTests.testStoreAndRecoverOverview | 1PASS | ||
0.47619048
|
jalview.project.Jalview2xmlTests.testStoreAndRecoverNoOverviewjalview.project.Jalview2xmlTests.testStoreAndRecoverNoOverview | 1PASS | ||
0.47619048
|
jalview.analysis.scoremodels.FeatureDistanceModelTest.testFindFeatureAt_PointFeaturejalview.analysis.scoremodels.FeatureDistanceModelTest.testFindFeatureAt_PointFeature | 1PASS | ||
0.47619048
|
jalview.io.FeaturesFileTest.testPrintGffFormat_withFiltersjalview.io.FeaturesFileTest.testPrintGffFormat_withFilters | 1PASS | ||
0.47619048
|
jalview.io.BackupFilesTest.backupsEnabledNoRollMaxTestjalview.io.BackupFilesTest.backupsEnabledNoRollMaxTest | 1PASS | ||
0.47619048
|
jalview.project.Jalview2xmlTests.testMergeDatasetsforManyViewsjalview.project.Jalview2xmlTests.testMergeDatasetsforManyViews | 1PASS | ||
0.47619048
|
jalview.io.WindowsFileLoadAndSaveTest.loadAndSaveAlignmentjalview.io.WindowsFileLoadAndSaveTest.loadAndSaveAlignment | 1PASS | ||
0.47619048
|
jalview.analysis.scoremodels.SecondaryStructureDistanceModelTest.testFindDistances_withSSUndefinedInBothSeqsjalview.analysis.scoremodels.SecondaryStructureDistanceModelTest.testFindDistances_withSSUndefinedInBothSeqs | 1PASS | ||
0.47619048
|
jalview.project.Jalview2xmlTests.testStoreAndRestoreIDwidthAndAnnotationHeightjalview.project.Jalview2xmlTests.testStoreAndRestoreIDwidthAndAnnotationHeight | 1PASS | ||
0.47619048
|
jalview.project.Jalview2xmlTests.viewRefPdbAnnotationjalview.project.Jalview2xmlTests.viewRefPdbAnnotation | 1PASS | ||
0.47619048
|
jalview.project.Jalview2xmlTests.noDuplicatePdbMappingsMadejalview.project.Jalview2xmlTests.noDuplicatePdbMappingsMade | 1PASS | ||
0.47619048
|
jalview.project.Jalview2xmlTests.testMergeDatasetsforViewsjalview.project.Jalview2xmlTests.testMergeDatasetsforViews | 1PASS | ||
0.47619048
|
jalview.project.Jalview2xmlTests.testStoreAndRecoverReferenceSeqSettingsjalview.project.Jalview2xmlTests.testStoreAndRecoverReferenceSeqSettings | 1PASS | ||
0.47619048
|
jalview.io.FeaturesFileTest.testParse_mixedJalviewGffjalview.io.FeaturesFileTest.testParse_mixedJalviewGff | 1PASS | ||
0.47619048
|
jalview.project.Jalview2xmlTests.testColourByAnnotScoresjalview.project.Jalview2xmlTests.testColourByAnnotScores | 1PASS | ||
0.47619048
|
jalview.io.FeaturesFileTest.testParsejalview.io.FeaturesFileTest.testParse | 1PASS | ||
0.47619048
|
jalview.analysis.scoremodels.SecondaryStructureDistanceModelTest.testFindDistances_withSSUndefinedInEitherOneSeqjalview.analysis.scoremodels.SecondaryStructureDistanceModelTest.testFindDistances_withSSUndefinedInEitherOneSeq | 1PASS | ||
0.47619048
|
jalview.project.Jalview2xmlTests.testRNAStructureRecoveryjalview.project.Jalview2xmlTests.testRNAStructureRecovery | 1PASS | ||
0.47619048
|
jalview.io.FeaturesFileTest.simpleGff3FileLoaderjalview.io.FeaturesFileTest.simpleGff3FileLoader | 1PASS | ||
0.47619048
|
jalview.analysis.scoremodels.FeatureDistanceModelTest.testFindDistances_withParamsjalview.analysis.scoremodels.FeatureDistanceModelTest.testFindDistances_withParams | 1PASS | ||
0.47619048
|
jalview.project.Jalview2xmlTests.testStoreAndRecoverExpandedviewsjalview.project.Jalview2xmlTests.testStoreAndRecoverExpandedviews | 1PASS | ||
0.47619048
|
jalview.io.BackupFilesTest.noBackupsEnabledTestjalview.io.BackupFilesTest.noBackupsEnabledTest | 1PASS | ||
0.47619048
|
jalview.project.Jalview2xmlTests.testStoreAndRecoverAnnotationRowElementColoursjalview.project.Jalview2xmlTests.testStoreAndRecoverAnnotationRowElementColours | 1PASS | ||
0.47619048
|
jalview.project.Jalview2xmlTests.testCopyViewSettingsjalview.project.Jalview2xmlTests.testCopyViewSettings | 1PASS | ||
0.47619048
|
jalview.project.Jalview2xmlTests.testPAEsaveRestorejalview.project.Jalview2xmlTests.testPAEsaveRestore | 1PASS | ||
0.47619048
|
jalview.analysis.scoremodels.FeatureDistanceModelTest.testFeatureScoreModel_HiddenColumnsjalview.analysis.scoremodels.FeatureDistanceModelTest.testFeatureScoreModel_HiddenColumns | 1PASS | ||
0.47619048
|
jalview.project.Jalview2xmlTests.testStoreAndRecoverGroupRepSeqsjalview.project.Jalview2xmlTests.testStoreAndRecoverGroupRepSeqs | 1PASS | ||
0.47619048
|
jalview.io.BackupFilesTest.backupsEnabledSingleFileBackupTestjalview.io.BackupFilesTest.backupsEnabledSingleFileBackupTest | 1PASS | ||
0.47619048
|
jalview.io.FeaturesFileTest.testParse_pureGff3jalview.io.FeaturesFileTest.testParse_pureGff3 | 1PASS | ||
0.47619048
|
jalview.io.vcf.VCFLoaderTest.testDoLoadjalview.io.vcf.VCFLoaderTest.testDoLoad | 1PASS | ||
0.42857143
|
jalview.analysis.scoremodels.SecondaryStructureDistanceModelTest.testFindDistances_withGapjalview.analysis.scoremodels.SecondaryStructureDistanceModelTest.testFindDistances_withGap | 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.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.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.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.commandsOpenTestjalview.bin.CommandsTest.commandsOpenTest | 1PASS | ||
0.4047619
|
jalview.bin.CommandsTest.allLinkedIdsTestjalview.bin.CommandsTest.allLinkedIdsTest | 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.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.allLinkedIdsTestjalview.bin.CommandsTest.allLinkedIdsTest | 1PASS | ||
0.4047619
|
jalview.bin.CommandsTest.allLinkedIdsTestjalview.bin.CommandsTest.allLinkedIdsTest | 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.io.JalviewExportPropertiesTests.testImportExportPeriodGapsjalview.io.JalviewExportPropertiesTests.testImportExportPeriodGaps | 1PASS | ||
0.35714287
|
jalview.gui.ColourMenuHelperTest.testAddMenuItems_nucleotidejalview.gui.ColourMenuHelperTest.testAddMenuItems_nucleotide | 1PASS | ||
0.35714287
|
jalview.gui.ColourMenuHelperTest.testAddMenuItems_forAlignFramejalview.gui.ColourMenuHelperTest.testAddMenuItems_forAlignFrame | 1PASS | ||
0.35714287
|
jalview.gui.AlignFrameTest.testNewView_dsRefPreservedjalview.gui.AlignFrameTest.testNewView_dsRefPreserved | 1PASS | ||
0.35714287
|
jalview.gui.PairwiseAlignmentPanelTest.testConstructor_withSelectionGroupjalview.gui.PairwiseAlignmentPanelTest.testConstructor_withSelectionGroup | 1PASS | ||
0.35714287
|
jalview.bin.CommandsTest2.structureOpeningArgsTestjalview.bin.CommandsTest2.structureOpeningArgsTest | 1PASS | ||
0.35714287
|
jalview.gui.SeqPanelTest.testFindColumn_and_FindAlignmentColumn_wrappedjalview.gui.SeqPanelTest.testFindColumn_and_FindAlignmentColumn_wrapped | 1PASS | ||
0.35714287
|
jalview.bin.CommandsTest.structureImageAnnotationsOutputTestjalview.bin.CommandsTest.structureImageAnnotationsOutputTest | 1PASS | ||
0.35714287
|
jalview.renderer.ScaleRendererTest.testCalculateMarksjalview.renderer.ScaleRendererTest.testCalculateMarks | 1PASS | ||
0.35714287
|
jalview.bin.CommandsTest.structureImageAnnotationsOutputTestjalview.bin.CommandsTest.structureImageAnnotationsOutputTest | 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.gui.AlignViewportTest.testSetSelectionGroupjalview.gui.AlignViewportTest.testSetSelectionGroup | 1PASS | ||
0.35714287
|
jalview.gui.AlignmentPanelTest.testSetOverviewTitle_automaticOverviewjalview.gui.AlignmentPanelTest.testSetOverviewTitle_automaticOverview | 1PASS | ||
0.35714287
|
jalview.schemes.ClustalxColourSchemeTest.testFindColour_ignoreGapsjalview.schemes.ClustalxColourSchemeTest.testFindColour_ignoreGaps | 1PASS | ||
0.35714287
|
jalview.gui.PairwiseAlignmentPanelTest.testConstructor_noSelectionGroupjalview.gui.PairwiseAlignmentPanelTest.testConstructor_noSelectionGroup | 1PASS | ||
0.35714287
|
jalview.bin.CommandsTest2.structureOpeningArgsTestjalview.bin.CommandsTest2.structureOpeningArgsTest | 1PASS | ||
0.35714287
|
jalview.gui.AlignViewportTest.testUpdateConservation_qualityOnlyjalview.gui.AlignViewportTest.testUpdateConservation_qualityOnly | 1PASS | ||
0.35714287
|
jalview.io.JSONFileTest.testGrpParsed_colourNonejalview.io.JSONFileTest.testGrpParsed_colourNone | 1PASS | ||
0.35714287
|
jalview.gui.QuitHandlerTest.testNoGUIUnsavedChangesjalview.gui.QuitHandlerTest.testNoGUIUnsavedChanges | 1PASS | ||
0.35714287
|
jalview.gui.QuitHandlerTest.testUnsavedChangesjalview.gui.QuitHandlerTest.testUnsavedChanges | 1PASS | ||
0.35714287
|
jalview.renderer.seqfeatures.FeatureRendererTest.testGetColourjalview.renderer.seqfeatures.FeatureRendererTest.testGetColour | 1PASS | ||
0.35714287
|
jalview.gui.QuitHandlerTest.testSavedAlignmentChangesjalview.gui.QuitHandlerTest.testSavedAlignmentChanges | 1PASS | ||
0.35714287
|
jalview.gui.SeqPanelTest.testFindMousePosition_wrapped_noAnnotationsjalview.gui.SeqPanelTest.testFindMousePosition_wrapped_noAnnotations | 1PASS | ||
0.35714287
|
jalview.bin.CommandsTest.structureImageAnnotationsOutputTestjalview.bin.CommandsTest.structureImageAnnotationsOutputTest | 1PASS | ||
0.35714287
|
jalview.bin.CommandsTest.structureImageAnnotationsOutputTestjalview.bin.CommandsTest.structureImageAnnotationsOutputTest | 1PASS | ||
0.35714287
|
jalview.gui.ScalePanelTest.testSelectColumns_withHiddenjalview.gui.ScalePanelTest.testSelectColumns_withHidden | 1PASS | ||
0.35714287
|
jalview.gui.AlignViewportTest.testDeregisterMapping_withNoReferencejalview.gui.AlignViewportTest.testDeregisterMapping_withNoReference | 1PASS | ||
0.35714287
|
jalview.gui.AnnotationLabelsTest2.testIdWidthNoChangesjalview.gui.AnnotationLabelsTest2.testIdWidthNoChanges | 1PASS | ||
0.35714287
|
jalview.gui.AlignFrameTest.testHideFeatureColumnsjalview.gui.AlignFrameTest.testHideFeatureColumns | 1PASS | ||
0.35714287
|
jalview.bin.CommandsTest.structureImageAnnotationsOutputTestjalview.bin.CommandsTest.structureImageAnnotationsOutputTest | 1PASS | ||
0.35714287
|
jalview.gui.AnnotationLabelsTest2.testIdWidthNoChangesjalview.gui.AnnotationLabelsTest2.testIdWidthNoChanges | 1PASS | ||
0.35714287
|
jalview.gui.AnnotationLabelsTest2.testIdWidthChangesjalview.gui.AnnotationLabelsTest2.testIdWidthChanges | 1PASS | ||
0.35714287
|
jalview.controller.AlignViewControllerTest.testSelectColumnsWithHighlightjalview.controller.AlignViewControllerTest.testSelectColumnsWithHighlight | 1PASS | ||
0.35714287
|
jalview.bin.CommandsTest2.structureOpeningArgsTestjalview.bin.CommandsTest2.structureOpeningArgsTest | 1PASS | ||
0.35714287
|
jalview.gui.QuitHandlerTest.testForceQuitjalview.gui.QuitHandlerTest.testForceQuit | 1PASS | ||
0.35714287
|
jalview.bin.CommandsTest2.structureOpeningArgsTestjalview.bin.CommandsTest2.structureOpeningArgsTest | 1PASS | ||
0.35714287
|
jalview.ext.jmol.JmolParserTest.testAlignmentLoaderjalview.ext.jmol.JmolParserTest.testAlignmentLoader | 1PASS | ||
0.35714287
|
jalview.renderer.seqfeatures.FeatureRendererTest.testFindComplementFeaturesAtResiduejalview.renderer.seqfeatures.FeatureRendererTest.testFindComplementFeaturesAtResidue | 1PASS | ||
0.35714287
|
jalview.renderer.seqfeatures.FeatureRendererTest.testFindAllFeaturesjalview.renderer.seqfeatures.FeatureRendererTest.testFindAllFeatures | 1PASS | ||
0.35714287
|
jalview.bin.CommandsTest2.structureOpeningArgsTestjalview.bin.CommandsTest2.structureOpeningArgsTest | 1PASS | ||
0.35714287
|
jalview.schemes.ColourSchemesTest.testGetColourSchemejalview.schemes.ColourSchemesTest.testGetColourScheme | 1PASS | ||
0.35714287
|
jalview.bin.CommandsTest2.structureOpeningArgsTestjalview.bin.CommandsTest2.structureOpeningArgsTest | 1PASS | ||
0.35714287
|
jalview.gui.QuitHandlerTest.testSavedProjectChangesjalview.gui.QuitHandlerTest.testSavedProjectChanges | 1PASS | ||
0.35714287
|
jalview.bin.CommandsTest.structureImageOutputTestjalview.bin.CommandsTest.structureImageOutputTest | 1PASS | ||
0.35714287
|
jalview.renderer.seqfeatures.FeatureRendererTest.testFindFeaturesAtColumnjalview.renderer.seqfeatures.FeatureRendererTest.testFindFeaturesAtColumn | 1PASS | ||
0.35714287
|
jalview.gui.AnnotationLabelsTest2.testIdWidthChangesjalview.gui.AnnotationLabelsTest2.testIdWidthChanges | 1PASS | ||
0.35714287
|
jalview.gui.SeqPanelTest.testFindColumn_unwrappedjalview.gui.SeqPanelTest.testFindColumn_unwrapped | 1PASS | ||
0.35714287
|
jalview.gui.SeqPanelTest.testFindMousePosition_wrapped_scaleAbovejalview.gui.SeqPanelTest.testFindMousePosition_wrapped_scaleAbove | 1PASS | ||
0.35714287
|
jalview.gui.SeqPanelTest.testFindMousePosition_wrapped_scales_longSequencejalview.gui.SeqPanelTest.testFindMousePosition_wrapped_scales_longSequence | 1PASS | ||
0.35714287
|
jalview.bin.CommandsTest2.structureOpeningArgsTestjalview.bin.CommandsTest2.structureOpeningArgsTest | 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.AlignViewportTest.testSetGetHasSearchResultsjalview.gui.AlignViewportTest.testSetGetHasSearchResults | 1PASS | ||
0.35714287
|
jalview.bin.CommandsTest.structureImageOutputTestjalview.bin.CommandsTest.structureImageOutputTest | 3FAIL | ||
0.35714287
|
jalview.gui.QuitHandlerTest.testWaitForSaveQuitjalview.gui.QuitHandlerTest.testWaitForSaveQuit | 1PASS | ||
0.35714287
|
jalview.gui.ScalePanelTest.testBuildPopupMenujalview.gui.ScalePanelTest.testBuildPopupMenu | 1PASS | ||
0.35714287
|
jalview.ext.jmol.JmolViewerTest.testAddStrToSingleSeqViewJMoljalview.ext.jmol.JmolViewerTest.testAddStrToSingleSeqViewJMol | 1PASS | ||
0.35714287
|
jalview.gui.AlignViewportTest.testShowOrDontShowOccupancyjalview.gui.AlignViewportTest.testShowOrDontShowOccupancy | 1PASS | ||
0.35714287
|
jalview.schemes.ClustalxColourSchemeTest.testFindColourjalview.schemes.ClustalxColourSchemeTest.testFindColour | 1PASS | ||
0.35714287
|
jalview.ext.jmol.JmolViewerTest.testSingleSeqViewJMoljalview.ext.jmol.JmolViewerTest.testSingleSeqViewJMol | 1PASS | ||
0.35714287
|
jalview.gui.AlignmentPanelTest.testSetOverviewTitlejalview.gui.AlignmentPanelTest.testSetOverviewTitle | 1PASS | ||
0.35714287
|
jalview.gui.AlignViewportTest.testSetGlobalColourSchemejalview.gui.AlignViewportTest.testSetGlobalColourScheme | 1PASS | ||
0.35714287
|
jalview.gui.AlignFrameTest.testChangeColour_background_groupsAndThresholdsjalview.gui.AlignFrameTest.testChangeColour_background_groupsAndThresholds | 1PASS | ||
0.35714287
|
jalview.gui.AlignViewportTest.testGetConsensusSeqjalview.gui.AlignViewportTest.testGetConsensusSeq | 1PASS | ||
0.35714287
|
jalview.gui.ScalePanelTest.testPreventNegativeStartColumnjalview.gui.ScalePanelTest.testPreventNegativeStartColumn | 1PASS | ||
0.35714287
|
jalview.bin.CommandsTest2.structureOpeningArgsTestjalview.bin.CommandsTest2.structureOpeningArgsTest | 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.AlignViewportTest.testDeregisterMapping_onCloseViewjalview.gui.AlignViewportTest.testDeregisterMapping_onCloseView | 1PASS | ||
0.35714287
|
jalview.renderer.seqfeatures.FeatureRendererTest.testFilterFeaturesForDisplayjalview.renderer.seqfeatures.FeatureRendererTest.testFilterFeaturesForDisplay | 1PASS | ||
0.35714287
|
jalview.gui.DesktopTests.testInternalCopyPastejalview.gui.DesktopTests.testInternalCopyPaste | 1PASS | ||
0.35714287
|
jalview.bin.CommandsTest2.structureOpeningArgsTestjalview.bin.CommandsTest2.structureOpeningArgsTest | 1PASS | ||
0.35714287
|
jalview.gui.AlignFrameTest.testNewView_colourThresholdsjalview.gui.AlignFrameTest.testNewView_colourThresholds | 1PASS | ||
0.35714287
|
jalview.gui.FeatureSettingsTest.testSaveLoadjalview.gui.FeatureSettingsTest.testSaveLoad | 1PASS | ||
0.35714287
|
jalview.bin.CommandsTest.structureImageAnnotationsOutputTestjalview.bin.CommandsTest.structureImageAnnotationsOutputTest | 1PASS | ||
0.35714287
|
jalview.renderer.seqfeatures.FeatureRendererTest.testIsVisiblejalview.renderer.seqfeatures.FeatureRendererTest.testIsVisible | 1PASS | ||
0.35714287
|
jalview.bin.CommandsTest.structureImageOutputTestjalview.bin.CommandsTest.structureImageOutputTest | 1PASS | ||
0.35714287
|
jalview.gui.QuitHandlerTest.testInstantQuitjalview.gui.QuitHandlerTest.testInstantQuit | 1PASS | ||
0.35714287
|
jalview.analysis.AverageDistanceEngineTest.testUPGMAEnginejalview.analysis.AverageDistanceEngineTest.testUPGMAEngine | 1PASS | ||
0.35714287
|
jalview.gui.SeqPanelTest.testFindMousePosition_wrapped_annotationsjalview.gui.SeqPanelTest.testFindMousePosition_wrapped_annotations | 1PASS | ||
0.30952382
|
jalview.ext.jmol.JmolCommandsTest.testGetColourBySequenceCommands_hiddenColumnsjalview.ext.jmol.JmolCommandsTest.testGetColourBySequenceCommands_hiddenColumns | 1PASS | ||
0.30952382
|
jalview.controller.AlignViewControllerTest.testFindColumnsWithFeaturejalview.controller.AlignViewControllerTest.testFindColumnsWithFeature | 1PASS | ||
0.30952382
|
jalview.gui.SeqPanelTest.testAmbiguousAminoAcidGetsStatusMessagejalview.gui.SeqPanelTest.testAmbiguousAminoAcidGetsStatusMessage | 1PASS | ||
0.30952382
|
jalview.gui.PopupMenuTest.testHideInsertionsjalview.gui.PopupMenuTest.testHideInsertions | 1PASS | ||
0.30952382
|
jalview.gui.SeqPanelTest.testSetStatusReturnsNearestResiduePositionjalview.gui.SeqPanelTest.testSetStatusReturnsNearestResiduePosition | 1PASS | ||
0.30952382
|
jalview.io.JSONFileTest.testBioJSONRoundTripWithColourSchemeNonejalview.io.JSONFileTest.testBioJSONRoundTripWithColourSchemeNone | 1PASS | ||
0.30952382
|
jalview.gui.PaintRefresherTest.testGetAssociatedPanelsjalview.gui.PaintRefresherTest.testGetAssociatedPanels | 1PASS | ||
0.2857143
|
jalview.util.MessageManagerTest.testGetString_invalidjalview.util.MessageManagerTest.testGetString_invalid | 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.structure.StructureSelectionManagerTest.testSetMapping_seqFeaturesjalview.structure.StructureSelectionManagerTest.testSetMapping_seqFeatures | 1PASS | ||
0.2857143
|
jalview.util.MessageManagerTest.testGetStringOrReturnjalview.util.MessageManagerTest.testGetStringOrReturn | 1PASS | ||
0.2857143
|
jalview.gui.StructureChooserTest.populateFilterComboBoxTestjalview.gui.StructureChooserTest.populateFilterComboBoxTest | 1PASS | ||
0.2857143
|
jalview.io.cache.JvCacheableInputBoxTest.updateCacheTestjalview.io.cache.JvCacheableInputBoxTest.updateCacheTest | 1PASS | ||
0.2857143
|
jalview.gui.JvOptionPaneTest.showInternalConfirmDialogFamilyTestjalview.gui.JvOptionPaneTest.showInternalConfirmDialogFamilyTest | 1PASS | ||
0.2857143
|
jalview.gui.structurechooser.StructureChooserQuerySourceTest.cascadingThreeDBandPDBQuerysjalview.gui.structurechooser.StructureChooserQuerySourceTest.cascadingThreeDBandPDBQuerys | 1PASS | ||
0.23809524
|
jalview.datamodel.AlignmentTest.testGetVisibleWidthjalview.datamodel.AlignmentTest.testGetVisibleWidth | 1PASS | ||
0.23809524
|
jalview.util.SetUtilsTest.testCountDisjunctionjalview.util.SetUtilsTest.testCountDisjunction | 1PASS | ||
0.23809524
|
jalview.analysis.FinderTest.testFind_withHiddenColumnsjalview.analysis.FinderTest.testFind_withHiddenColumns | 1PASS | ||
0.23809524
|
jalview.datamodel.AlignmentTest.testFindAnnotation_byCalcIdjalview.datamodel.AlignmentTest.testFindAnnotation_byCalcId | 1PASS | ||
0.23809524
|
jalview.util.MappingUtilsTest.testRemoveStartPositionsjalview.util.MappingUtilsTest.testRemoveStartPositions | 1PASS | ||
0.23809524
|
jalview.gui.StructureChooserTest.displayTDBQueryTestjalview.gui.StructureChooserTest.displayTDBQueryTest | 1PASS | ||
0.23809524
|
jalview.datamodel.AlignmentTest.testSetDataset_selfReferencejalview.datamodel.AlignmentTest.testSetDataset_selfReference | 1PASS | ||
0.23809524
|
jalview.gui.StructureChooserTest.sanitizeSeqNameTestjalview.gui.StructureChooserTest.sanitizeSeqNameTest | 1PASS | ||
0.23809524
|
jalview.io.StockholmFileTest.curlyWUSSsecondaryStructureForRNASequencejalview.io.StockholmFileTest.curlyWUSSsecondaryStructureForRNASequence | 1PASS | ||
0.23809524
|
jalview.datamodel.features.FeatureMatcherTest.testToStringjalview.datamodel.features.FeatureMatcherTest.testToString | 1PASS | ||
0.23809524
|
jalview.gui.AnnotationChooserTest.testSelectType_showForSelectedjalview.gui.AnnotationChooserTest.testSelectType_showForSelected | 1PASS | ||
0.23809524
|
jalview.gui.AnnotationChooserTest.testIsInActionScope_unselectedScopejalview.gui.AnnotationChooserTest.testIsInActionScope_unselectedScope | 1PASS | ||
0.23809524
|
jalview.io.ScoreMatrixFileTest.testParseMatrix_aaindex_tooManyRowsjalview.io.ScoreMatrixFileTest.testParseMatrix_aaindex_tooManyRows | 1PASS | ||
0.23809524
|
jalview.datamodel.AlignmentTest.testSetHiddenColumnsjalview.datamodel.AlignmentTest.testSetHiddenColumns | 1PASS | ||
0.23809524
|
jalview.io.ScoreMatrixFileTest.testParseMatrix_headerMissingjalview.io.ScoreMatrixFileTest.testParseMatrix_headerMissing | 1PASS | ||
0.23809524
|
jalview.gui.AnnotationLabelsTest.testDrawLabelsjalview.gui.AnnotationLabelsTest.testDrawLabels | 1PASS | ||
0.23809524
|
jalview.gui.SeqCanvasTest.testClear_HighlightAndSelectionjalview.gui.SeqCanvasTest.testClear_HighlightAndSelection | 1PASS | ||
0.23809524
|
jalview.gui.AlignViewportTest.testHideRevealSequencesjalview.gui.AlignViewportTest.testHideRevealSequences | 1PASS | ||
0.23809524
|
jalview.datamodel.AlignmentTest.testPropagateInsertionsOverlapjalview.datamodel.AlignmentTest.testPropagateInsertionsOverlap | 1PASS | ||
0.23809524
|
jalview.io.ScoreMatrixFileTest.testParseMatrix_aaindex_mMissingjalview.io.ScoreMatrixFileTest.testParseMatrix_aaindex_mMissing | 1PASS | ||
0.23809524
|
jalview.gui.AlignViewportTest.testGetSelectionAsNewSequences_withContactMatricesjalview.gui.AlignViewportTest.testGetSelectionAsNewSequences_withContactMatrices | 1PASS | ||
0.23809524
|
jalview.datamodel.ResidueCountTest.test_unexpectedPeptidejalview.datamodel.ResidueCountTest.test_unexpectedPeptide | 1PASS | ||
0.23809524
|
jalview.datamodel.MatchTest.testEqualsjalview.datamodel.MatchTest.testEquals | 1PASS | ||
0.23809524
|
jalview.gui.PopupMenuTest.testBuildAnnotationTypesMenus_hideDisabledjalview.gui.PopupMenuTest.testBuildAnnotationTypesMenus_hideDisabled | 1PASS | ||
0.23809524
|
jalview.urls.UrlProviderTest.testInitUrlProviderjalview.urls.UrlProviderTest.testInitUrlProvider | 1PASS | ||
0.23809524
|
jalview.datamodel.AlignmentTest.testAlignAs_cdnaAsProteinjalview.datamodel.AlignmentTest.testAlignAs_cdnaAsProtein | 1PASS | ||
0.23809524
|
jalview.datamodel.AlignmentTest.testPropagateInsertionsjalview.datamodel.AlignmentTest.testPropagateInsertions | 1PASS | ||
0.23809524
|
jalview.util.MappingUtilsTest.testGetLengthjalview.util.MappingUtilsTest.testGetLength | 1PASS | ||
0.23809524
|
jalview.urls.UrlProviderTest.testSetDefaultUrlWronglyjalview.urls.UrlProviderTest.testSetDefaultUrlWrongly | 1PASS | ||
0.23809524
|
jalview.gui.PopupMenuTest.testConfigureReferenceAnnotationsMenujalview.gui.PopupMenuTest.testConfigureReferenceAnnotationsMenu | 1PASS | ||
0.23809524
|
jalview.datamodel.AlignmentTest.testAlignAs_proteinAsCdnajalview.datamodel.AlignmentTest.testAlignAs_proteinAsCdna | 1PASS | ||
0.23809524
|
jalview.io.ScoreMatrixFileTest.testParseMatrix_aaindex_rowColMismatchjalview.io.ScoreMatrixFileTest.testParseMatrix_aaindex_rowColMismatch | 1PASS | ||
0.23809524
|
jalview.datamodel.AlignmentTest.testDeleteSequenceByIndexjalview.datamodel.AlignmentTest.testDeleteSequenceByIndex | 1PASS | ||
0.23809524
|
jalview.gui.AlignFrameTest.testColourThresholdActionsjalview.gui.AlignFrameTest.testColourThresholdActions | 1PASS | ||
0.23809524
|
jalview.datamodel.AlignmentTest.testDeleteAllAnnotations_excludingAutocalculatedjalview.datamodel.AlignmentTest.testDeleteAllAnnotations_excludingAutocalculated | 1PASS | ||
0.23809524
|
jalview.datamodel.ResidueCountTest.test_countNucleotidejalview.datamodel.ResidueCountTest.test_countNucleotide | 1PASS | ||
0.23809524
|
jalview.gui.ProgressBarTest.testSetProgressBarjalview.gui.ProgressBarTest.testSetProgressBar | 1PASS | ||
0.23809524
|
jalview.io.PhylipFileTests.testSequentialDataExtractionjalview.io.PhylipFileTests.testSequentialDataExtraction | 1PASS | ||
0.23809524
|
jalview.util.MappingUtilsTest.testFlattenRangesjalview.util.MappingUtilsTest.testFlattenRanges | 1PASS | ||
0.23809524
|
jalview.io.ScoreMatrixFileTest.testParseMatrix_aaindex_extraDataLinesjalview.io.ScoreMatrixFileTest.testParseMatrix_aaindex_extraDataLines | 1PASS | ||
0.23809524
|
jalview.gui.AnnotationChooserTest.testSelectType_hideForAlljalview.gui.AnnotationChooserTest.testSelectType_hideForAll | 1PASS | ||
0.23809524
|
jalview.util.MappingUtilsTest.testFindMappingsForSequenceAndOthersjalview.util.MappingUtilsTest.testFindMappingsForSequenceAndOthers | 1PASS | ||
0.23809524
|
jalview.math.MatrixTest.testFindMinMax_timingjalview.math.MatrixTest.testFindMinMax_timing | 1PASS | ||
0.23809524
|
jalview.gui.ColourMenuHelperTest.testAddMenuItems_peptidejalview.gui.ColourMenuHelperTest.testAddMenuItems_peptide | 1PASS | ||
0.23809524
|
jalview.util.MappingUtilsTest.testMapColumnSelection_proteinToDnajalview.util.MappingUtilsTest.testMapColumnSelection_proteinToDna | 1PASS | ||
0.23809524
|
jalview.util.MappingUtilsTest.testMapColumnSelection_hiddenColumnsjalview.util.MappingUtilsTest.testMapColumnSelection_hiddenColumns | 1PASS | ||
0.23809524
|
jalview.datamodel.ResidueCountTest.testToStringjalview.datamodel.ResidueCountTest.testToString | 1PASS | ||
0.23809524
|
jalview.io.ScoreMatrixFileTest.testParse_ncbiFormatjalview.io.ScoreMatrixFileTest.testParse_ncbiFormat | 1PASS | ||
0.23809524
|
jalview.datamodel.AlignmentTest.testDeleteSequenceBySeqjalview.datamodel.AlignmentTest.testDeleteSequenceBySeq | 1PASS | ||
0.23809524
|
jalview.util.MappingUtilsTest.testFindOverlapjalview.util.MappingUtilsTest.testFindOverlap | 1PASS | ||
0.23809524
|
jalview.util.MappingUtilsTest.testMapColumnSelection_nulljalview.util.MappingUtilsTest.testMapColumnSelection_null | 1PASS | ||
0.23809524
|
jalview.gui.AnnotationColumnChooserTest.testResetjalview.gui.AnnotationColumnChooserTest.testReset | 1PASS | ||
0.23809524
|
jalview.datamodel.ResidueCountTest.testGetSymbolCounts_nucleotidejalview.datamodel.ResidueCountTest.testGetSymbolCounts_nucleotide | 1PASS | ||
0.23809524
|
jalview.datamodel.AlignmentTest.testEqualsjalview.datamodel.AlignmentTest.testEquals | 1PASS | ||
0.23809524
|
jalview.gui.AnnotationChooserTest.testResetOriginalStatejalview.gui.AnnotationChooserTest.testResetOriginalState | 1PASS | ||
0.23809524
|
jalview.gui.ProgressBarTest.testConstructor_prematureInstantiationjalview.gui.ProgressBarTest.testConstructor_prematureInstantiation | 1PASS | ||
0.23809524
|
jalview.datamodel.AlignmentTest.testVerifyAlignmentDatasetRefsjalview.datamodel.AlignmentTest.testVerifyAlignmentDatasetRefs | 1PASS | ||
0.23809524
|
jalview.analysis.FinderTest.testFind_inDescriptionjalview.analysis.FinderTest.testFind_inDescription | 1PASS | ||
0.23809524
|
jalview.gui.AlignmentPanelTest.testCalculateIdWidth_noArgsjalview.gui.AlignmentPanelTest.testCalculateIdWidth_noArgs | 1PASS | ||
0.23809524
|
jalview.renderer.ResidueShaderTest.testFindColour_gapColourjalview.renderer.ResidueShaderTest.testFindColour_gapColour | 1PASS | ||
0.23809524
|
jalview.datamodel.AlignmentTest.testAssertDatasetIsNormalisedjalview.datamodel.AlignmentTest.testAssertDatasetIsNormalised | 1PASS | ||
0.23809524
|
jalview.util.MappingUtilsTest.testFlattenRanges_reverseStrandjalview.util.MappingUtilsTest.testFlattenRanges_reverseStrand | 1PASS | ||
0.23809524
|
jalview.datamodel.AlignmentTest.testCreateDatasetAlignmentWithMappedToSeqsjalview.datamodel.AlignmentTest.testCreateDatasetAlignmentWithMappedToSeqs | 1PASS | ||
0.23809524
|
jalview.datamodel.AlignmentTest.testDeleteHiddenSequencejalview.datamodel.AlignmentTest.testDeleteHiddenSequence | 1PASS | ||
0.23809524
|
jalview.io.ScoreMatrixFileTest.testParseMatrix_ncbiNotEnoughRowsjalview.io.ScoreMatrixFileTest.testParseMatrix_ncbiNotEnoughRows | 1PASS | ||
0.23809524
|
jalview.ext.jmol.JmolParserTest.testFileParserjalview.ext.jmol.JmolParserTest.testFileParser | 1PASS | ||
0.23809524
|
jalview.workers.AlignCalcManagerTest.testRemoveWorkerForAnnotationjalview.workers.AlignCalcManagerTest.testRemoveWorkerForAnnotation | 1PASS | ||
0.23809524
|
jalview.util.MappingUtilsTest.testMapColumnSelection_dnaToProteinjalview.util.MappingUtilsTest.testMapColumnSelection_dnaToProtein | 1PASS | ||
0.23809524
|
jalview.datamodel.ResidueCountTest.testPutjalview.datamodel.ResidueCountTest.testPut | 1PASS | ||
0.23809524
|
jalview.io.vcf.VCFLoaderTest.testLoadVCFContigjalview.io.vcf.VCFLoaderTest.testLoadVCFContig | 1PASS | ||
0.23809524
|
jalview.io.PhylipFileTests.testInterleavedIOjalview.io.PhylipFileTests.testInterleavedIO | 1PASS | ||
0.23809524
|
jalview.datamodel.AlignmentTest.testCreateDataset_updateDbrefMappingsjalview.datamodel.AlignmentTest.testCreateDataset_updateDbrefMappings | 1PASS | ||
0.23809524
|
jalview.datamodel.AlignmentTest.testAddSequencePreserveDatasetIntegrityjalview.datamodel.AlignmentTest.testAddSequencePreserveDatasetIntegrity | 1PASS | ||
0.23809524
|
jalview.io.PhylipFileTests.testInterleavedDataExtractionjalview.io.PhylipFileTests.testInterleavedDataExtraction | 1PASS | ||
0.23809524
|
jalview.analysis.FinderTest.testFind_ignoreHiddenColumnsjalview.analysis.FinderTest.testFind_ignoreHiddenColumns | 1PASS | ||
0.23809524
|
jalview.util.MappingUtilsTest.testMapSequenceGroup_regionjalview.util.MappingUtilsTest.testMapSequenceGroup_region | 1PASS | ||
0.23809524
|
jalview.datamodel.AlignmentTest.testPadGapsjalview.datamodel.AlignmentTest.testPadGaps | 1PASS | ||
0.23809524
|
jalview.datamodel.ResidueCountTest.testGetResiduesForCountjalview.datamodel.ResidueCountTest.testGetResiduesForCount | 1PASS | ||
0.1904762
|
jalview.gui.AnnotationChooserTest.testBuildShowHidePaneljalview.gui.AnnotationChooserTest.testBuildShowHidePanel | 1PASS | ||
0.1904762
|
jalview.gui.AnnotationChooserTest.testBuildApplyToOptionsPanel_noSelectionGroupjalview.gui.AnnotationChooserTest.testBuildApplyToOptionsPanel_noSelectionGroup | 1PASS | ||
0.1904762
|
jalview.util.MessageManagerTest.testFormatMessage_invalidjalview.util.MessageManagerTest.testFormatMessage_invalid | 1PASS | ||
0.1904762
|
jalview.analysis.FinderTest.testFindAll_sequenceIdsjalview.analysis.FinderTest.testFindAll_sequenceIds | 1PASS | ||
0.1904762
|
jalview.renderer.OverviewResColourFinderTest.testGetResidueBoxColour_userdefjalview.renderer.OverviewResColourFinderTest.testGetResidueBoxColour_userdef | 1PASS | ||
0.1904762
|
jalview.util.MappingUtilsTest.testMapSequenceGroup_columnsjalview.util.MappingUtilsTest.testMapSequenceGroup_columns | 1PASS | ||
0.1904762
|
jalview.gui.AnnotationChooserTest.testDeselectType_hideForAlljalview.gui.AnnotationChooserTest.testDeselectType_hideForAll | 1PASS | ||
0.1904762
|
jalview.gui.AnnotationChooserTest.testIsInActionScope_selectedScopejalview.gui.AnnotationChooserTest.testIsInActionScope_selectedScope | 1PASS | ||
0.1904762
|
jalview.gui.FeatureSettingsTest.testGetColorTooltipjalview.gui.FeatureSettingsTest.testGetColorTooltip | 1PASS | ||
0.1904762
|
jalview.gui.AnnotationChooserTest.testBuildActionButtonsPaneljalview.gui.AnnotationChooserTest.testBuildActionButtonsPanel | 1PASS | ||
0.1904762
|
jalview.analysis.DnaTest.testReverseCdnajalview.analysis.DnaTest.testReverseCdna | 1PASS | ||
0.1904762
|
jalview.gui.PopupMenuTest.testBuildLinkMenujalview.gui.PopupMenuTest.testBuildLinkMenu | 1PASS | ||
0.1904762
|
jalview.gui.AnnotationChooserTest.testDeselectType_showForSelectedjalview.gui.AnnotationChooserTest.testDeselectType_showForSelected | 1PASS | ||
0.1904762
|
jalview.gui.AnnotationChooserTest.testBuildShowHideOptionsPaneljalview.gui.AnnotationChooserTest.testBuildShowHideOptionsPanel | 1PASS | ||
0.1904762
|
jalview.renderer.OverviewResColourFinderTest.testGetResidueBoxColour_zappojalview.renderer.OverviewResColourFinderTest.testGetResidueBoxColour_zappo | 1PASS | ||
0.1904762
|
jalview.gui.AnnotationChooserTest.testDeselectType_hideForSelectedjalview.gui.AnnotationChooserTest.testDeselectType_hideForSelected | 1PASS | ||
0.1904762
|
jalview.gui.AnnotationChooserTest.testSelectType_hideForSelectedjalview.gui.AnnotationChooserTest.testSelectType_hideForSelected | 1PASS | ||
0.1904762
|
jalview.gui.AnnotationChooserTest.testSelectType_showForAlljalview.gui.AnnotationChooserTest.testSelectType_showForAll | 1PASS | ||
0.1904762
|
jalview.renderer.ResidueColourFinderTest.testGetResidueColour_zappojalview.renderer.ResidueColourFinderTest.testGetResidueColour_zappo | 1PASS | ||
0.1904762
|
jalview.util.MappingUtilsTest.testMapSequenceGroup_sequencesjalview.util.MappingUtilsTest.testMapSequenceGroup_sequences | 1PASS | ||
0.1904762
|
jalview.gui.StructureChooserTest.fetchStructuresInfoMockedTestjalview.gui.StructureChooserTest.fetchStructuresInfoMockedTest | 1PASS | ||
0.1904762
|
jalview.gui.AnnotationChooserTest.testDeselectType_showForAlljalview.gui.AnnotationChooserTest.testDeselectType_showForAll | 1PASS | ||
0.1904762
|
jalview.fts.service.pdb.PDBFTSPanelTest.populateCmbSearchTargetOptionsTestjalview.fts.service.pdb.PDBFTSPanelTest.populateCmbSearchTargetOptionsTest | 1PASS | ||
0.1904762
|
jalview.gui.AnnotationChooserTest.testGetAnnotationTypesjalview.gui.AnnotationChooserTest.testGetAnnotationTypes | 1PASS | ||
0.1904762
|
jalview.datamodel.HiddenSequencesTest.testHideShowSequence_withHiddenRepSequencejalview.datamodel.HiddenSequencesTest.testHideShowSequence_withHiddenRepSequence | 1PASS | ||
0.1904762
|
jalview.gui.AnnotationChooserTest.testBuildApplyToOptionsPanel_withSelectionGroupjalview.gui.AnnotationChooserTest.testBuildApplyToOptionsPanel_withSelectionGroup | 1PASS | ||
0.1904762
|
jalview.fts.threedbeacons.TDBeaconsPanelTest.populateCmbSearchTargetOptionsTestjalview.fts.threedbeacons.TDBeaconsPanelTest.populateCmbSearchTargetOptionsTest | 1PASS | ||
0.1904762
|
jalview.renderer.OverviewResColourFinderTest.testGetResidueBoxColour_nonejalview.renderer.OverviewResColourFinderTest.testGetResidueBoxColour_none | 1PASS | ||
0.1904762
|
jalview.util.MappingUtilsTest.testMapSequenceGroup_sharedDatasetjalview.util.MappingUtilsTest.testMapSequenceGroup_sharedDataset | 1PASS | ||
0.1904762
|
jalview.renderer.ResidueColourFinderTest.testGetResidueColour_nonejalview.renderer.ResidueColourFinderTest.testGetResidueColour_none | 1PASS | ||
0.1904762
|
jalview.renderer.ResidueColourFinderTest.testGetResidueColour_userdefjalview.renderer.ResidueColourFinderTest.testGetResidueColour_userdef | 1PASS | ||
0.16666667
|
jalview.analysis.GeneticCodesTest.testGetCodeTablesjalview.analysis.GeneticCodesTest.testGetCodeTables | 1PASS | ||
0.16666667
|
jalview.schemes.FeatureColourTest.testToJalviewFormatjalview.schemes.FeatureColourTest.testToJalviewFormat | 1PASS | ||
0.16666667
|
jalview.io.BioJsHTMLOutputTest.getJalviewAlignmentAsJsonStringjalview.io.BioJsHTMLOutputTest.getJalviewAlignmentAsJsonString | 1PASS | ||
0.16666667
|
jalview.bin.HiDPISettingTest2.testHiDPISettingsjalview.bin.HiDPISettingTest2.testHiDPISettings | 1PASS | ||
0.16666667
|
jalview.datamodel.SeqCigarTest.testFindPositionjalview.datamodel.SeqCigarTest.testFindPosition | 1PASS | ||
0.11904762
|
jalview.gui.ColourMenuHelperTest.testAddMenuItems_simpleOnlyjalview.gui.ColourMenuHelperTest.testAddMenuItems_simpleOnly | 1PASS | ||
0.11904762
|
jalview.gui.PopupMenuTest.testBuildAnnotationTypesMenusjalview.gui.PopupMenuTest.testBuildAnnotationTypesMenus | 1PASS | ||
0.11904762
|
jalview.urls.UrlProviderTest.testSetDefaultUrljalview.urls.UrlProviderTest.testSetDefaultUrl | 1PASS | ||
0.11904762
|
jalview.io.ScoreMatrixFileTest.testParseMatrix_ncbiFormatjalview.io.ScoreMatrixFileTest.testParseMatrix_ncbiFormat | 1PASS | ||
0.11904762
|
jalview.gui.PopupMenuTest.testBuildAnnotationTypesMenus_showDisabledjalview.gui.PopupMenuTest.testBuildAnnotationTypesMenus_showDisabled | 1PASS | ||
0.11904762
|
jalview.util.MappingUtilsTest.testFindMappingsForSequencejalview.util.MappingUtilsTest.testFindMappingsForSequence | 1PASS | ||
0.11904762
|
jalview.io.SequenceAnnotationReportTest.testCreateSequenceAnnotationReport_withEllipsisjalview.io.SequenceAnnotationReportTest.testCreateSequenceAnnotationReport_withEllipsis | 1PASS | ||
0.11904762
|
jalview.gui.SeqCanvasTest.testCalculateWrappedGeometry_withAnnotationsjalview.gui.SeqCanvasTest.testCalculateWrappedGeometry_withAnnotations | 1PASS | ||
0.11904762
|
jalview.util.matcher.MatcherTest.testToStringjalview.util.matcher.MatcherTest.testToString | 1PASS | ||
0.11904762
|
jalview.datamodel.ResidueCountTest.testGetModalCountjalview.datamodel.ResidueCountTest.testGetModalCount | 1PASS | ||
0.11904762
|
jalview.util.matcher.ConditionTest.testToStringjalview.util.matcher.ConditionTest.testToString | 1PASS | ||
0.11904762
|
jalview.util.MathUtilsTest.testGcdjalview.util.MathUtilsTest.testGcd | 1PASS | ||
0.11904762
|
jalview.gui.ProgressBarTest.testConstructor_wrongLayoutjalview.gui.ProgressBarTest.testConstructor_wrongLayout | 1PASS | ||
0.11904762
|
jalview.analysis.DnaTest.testTranslateCdna_simplejalview.analysis.DnaTest.testTranslateCdna_simple | 1PASS | ||
0.11904762
|
jalview.gui.structurechooser.StructureChooserQuerySourceTest.cascadingThreeDBandPDBQuerysjalview.gui.structurechooser.StructureChooserQuerySourceTest.cascadingThreeDBandPDBQuerys | 1PASS | ||
0.11904762
|
jalview.datamodel.ResidueCountTest.testOverflowjalview.datamodel.ResidueCountTest.testOverflow | 1PASS | ||
0.11904762
|
jalview.structure.StructureSelectionManagerTest.testRegisterMappingjalview.structure.StructureSelectionManagerTest.testRegisterMapping | 1PASS | ||
0.11904762
|
jalview.gui.structurechooser.StructureChooserQuerySourceTest.cascadingThreeDBandPDBQuerysjalview.gui.structurechooser.StructureChooserQuerySourceTest.cascadingThreeDBandPDBQuerys | 1PASS | ||
0.11904762
|
jalview.analysis.RnaTest.testGetSimpleBPs_unmatchedCloserjalview.analysis.RnaTest.testGetSimpleBPs_unmatchedCloser | 1PASS | ||
0.11904762
|
jalview.datamodel.AlignmentTest.testGetContactMapjalview.datamodel.AlignmentTest.testGetContactMap | 1PASS | ||
0.11904762
|
jalview.schemes.ResiduePropertiesTest.testGetDssp3Statejalview.schemes.ResiduePropertiesTest.testGetDssp3State | 1PASS | ||
0.11904762
|
jalview.analysis.FinderTest.testFind_withHiddenColumnsAndSelectionjalview.analysis.FinderTest.testFind_withHiddenColumnsAndSelection | 1PASS | ||
0.11904762
|
jalview.datamodel.ResidueCountTest.test_unexpectedNucleotidejalview.datamodel.ResidueCountTest.test_unexpectedNucleotide | 1PASS | ||
0.11904762
|
jalview.gui.PopupMenuTest.testConfigureReferenceAnnotationsMenu_notOnAlignmentjalview.gui.PopupMenuTest.testConfigureReferenceAnnotationsMenu_notOnAlignment | 1PASS | ||
0.11904762
|
jalview.analysis.DnaTest.testTranslateCdna_withUntranslatableCodonsjalview.analysis.DnaTest.testTranslateCdna_withUntranslatableCodons | 1PASS | ||
0.11904762
|
jalview.project.Jalview2xmlTests.testMatrixToFloatsAndBackjalview.project.Jalview2xmlTests.testMatrixToFloatsAndBack | 1PASS | ||
0.11904762
|
jalview.datamodel.ResidueCountTest.testGetSymbolCounts_peptidejalview.datamodel.ResidueCountTest.testGetSymbolCounts_peptide | 1PASS | ||
0.11904762
|
jalview.io.ScoreMatrixFileTest.testParseMatrix_aaindex_tooFewColumnsjalview.io.ScoreMatrixFileTest.testParseMatrix_aaindex_tooFewColumns | 1PASS | ||
0.11904762
|
jalview.datamodel.features.FeatureMatcherSetTest.testToStringjalview.datamodel.features.FeatureMatcherSetTest.testToString | 1PASS | ||
0.11904762
|
jalview.analysis.DnaTest.testTranslateCdna_sequenceOrderIndependentjalview.analysis.DnaTest.testTranslateCdna_sequenceOrderIndependent | 1PASS | ||
0.11904762
|
jalview.io.StockholmFileTest.testAnnotationEquivalencejalview.io.StockholmFileTest.testAnnotationEquivalence | 1PASS | ||
0.11904762
|
jalview.analysis.RnaTest.testGetSimpleBPs_unmatchedOpenerjalview.analysis.RnaTest.testGetSimpleBPs_unmatchedOpener | 1PASS | ||
0.11904762
|
jalview.util.MappingUtilsTest.testRemoveStartPositions_reverseStrandjalview.util.MappingUtilsTest.testRemoveStartPositions_reverseStrand | 1PASS | ||
0.11904762
|
jalview.analysis.FinderTest.testFind_residueNumberjalview.analysis.FinderTest.testFind_residueNumber | 1PASS | ||
0.11904762
|
jalview.analysis.DnaTest.testTranslateCdna_withUntranslatableCodonsAndHiddenColumnsjalview.analysis.DnaTest.testTranslateCdna_withUntranslatableCodonsAndHiddenColumns | 1PASS | ||
0.11904762
|
jalview.analysis.DnaTest.testTranslateCdna_hiddenColumnsjalview.analysis.DnaTest.testTranslateCdna_hiddenColumns | 1PASS | ||
0.11904762
|
jalview.gui.AlignmentPanelTest.testSetScrollValuesjalview.gui.AlignmentPanelTest.testSetScrollValues | 1PASS | ||
0.11904762
|
jalview.bin.ArgsParserTest.testContainsjalview.bin.ArgsParserTest.testContains | 1PASS | ||
0.11904762
|
jalview.gui.PopupMenuTest.testAddFeatureDetailsjalview.gui.PopupMenuTest.testAddFeatureDetails | 1PASS | ||
0.071428575
|
jalview.datamodel.SearchResultsTest.testAddResultjalview.datamodel.SearchResultsTest.testAddResult | 1PASS | ||
0.071428575
|
jalview.schemes.FeatureColourTest.testConstructorsjalview.schemes.FeatureColourTest.testConstructors | 1PASS | ||
0.071428575
|
jalview.io.JalviewFileChooserTest.checkDefaultSaveFormatjalview.io.JalviewFileChooserTest.checkDefaultSaveFormat | 1PASS | ||
0.071428575
|
jalview.schemes.FeatureColourTest.testGetColor_aboveBelowThresholdjalview.schemes.FeatureColourTest.testGetColor_aboveBelowThreshold | 1PASS | ||
0.071428575
|
jalview.analysis.GroupingTest.testMakeGroupsWithBothjalview.analysis.GroupingTest.testMakeGroupsWithBoth | 1PASS | ||
0.071428575
|
jalview.util.CaseInsensitiveStringTest.testEqualsjalview.util.CaseInsensitiveStringTest.testEquals | 1PASS | ||
0.071428575
|
jalview.analysis.GeneticCodesTest.testTranslate_standardTableAmbiguityCodesjalview.analysis.GeneticCodesTest.testTranslate_standardTableAmbiguityCodes | 1PASS | ||
0.071428575
|
jalview.schemes.FeatureColourTest.testIsOutwithThresholdjalview.schemes.FeatureColourTest.testIsOutwithThreshold | 1PASS | ||
0.071428575
|
jalview.schemes.FeatureColourTest.testGetColor_Graduatedjalview.schemes.FeatureColourTest.testGetColor_Graduated | 1PASS | ||
0.071428575
|
jalview.schemes.FeatureColourTest.testGetColor_colourByLabeljalview.schemes.FeatureColourTest.testGetColor_colourByLabel | 1PASS | ||
0.071428575
|
jalview.io.cache.AppCacheTest.appCacheTestjalview.io.cache.AppCacheTest.appCacheTest | 1PASS | ||
0.071428575
|
jalview.gui.SeqPanelTest.testGetEditStatusMessagejalview.gui.SeqPanelTest.testGetEditStatusMessage | 1PASS | ||
0.071428575
|
jalview.io.RNAMLfileTest.testRnamlSeqImportjalview.io.RNAMLfileTest.testRnamlSeqImport | 1PASS | ||
0.071428575
|
jalview.schemes.FeatureColourTest.testGetColor_GraduatedByAttributeValuejalview.schemes.FeatureColourTest.testGetColor_GraduatedByAttributeValue | 1PASS | ||
0.071428575
|
jalview.analysis.GeneticCodesTest.testTranslate_standardTablejalview.analysis.GeneticCodesTest.testTranslate_standardTable | 1PASS | ||
0.071428575
|
jalview.schemes.FeatureColourTest.testGetDescriptionjalview.schemes.FeatureColourTest.testGetDescription | 1PASS | ||
0.071428575
|
jalview.util.CaseInsensitiveStringTest.testHashcodejalview.util.CaseInsensitiveStringTest.testHashcode | 1PASS | ||
0.071428575
|
jalview.datamodel.SearchResultsTest.testMatchConstructorjalview.datamodel.SearchResultsTest.testMatchConstructor | 1PASS | ||
0.071428575
|
jalview.datamodel.SearchResultsTest.testEqualsjalview.datamodel.SearchResultsTest.testEquals | 1PASS | ||
0.071428575
|
jalview.datamodel.AlignmentTest.testAlignAs_dnaAsDnajalview.datamodel.AlignmentTest.testAlignAs_dnaAsDna | 1PASS | ||
0.071428575
|
jalview.analysis.GeneticCodesTest.testTranslate_nonStandardTableAmbiguityCodesjalview.analysis.GeneticCodesTest.testTranslate_nonStandardTableAmbiguityCodes | 1PASS | ||
0.071428575
|
jalview.urls.UrlLinkTableModelTest.testColumnsjalview.urls.UrlLinkTableModelTest.testColumns | 1PASS | ||
0.071428575
|
jalview.datamodel.SearchResultsTest.testEquals_distinctSequencesjalview.datamodel.SearchResultsTest.testEquals_distinctSequences | 1PASS | ||
0.071428575
|
jalview.datamodel.SearchResultsTest.testMatchAdjacentjalview.datamodel.SearchResultsTest.testMatchAdjacent | 1PASS | ||
0.071428575
|
jalview.datamodel.SearchResultsTest.testHashcodejalview.datamodel.SearchResultsTest.testHashcode | 1PASS | ||
0.071428575
|
jalview.datamodel.SearchResultsTest.testGetSequencesjalview.datamodel.SearchResultsTest.testGetSequences | 1PASS | ||
0.071428575
|
jalview.schemes.FeatureColourTest.testGetColor_colourByAttributeTextjalview.schemes.FeatureColourTest.testGetColor_colourByAttributeText | 1PASS | ||
0.071428575
|
jalview.datamodel.SearchResultsTest.testToStringjalview.datamodel.SearchResultsTest.testToString | 1PASS | ||
0.071428575
|
jalview.datamodel.SearchResultsTest.testEquals_orderDiffersjalview.datamodel.SearchResultsTest.testEquals_orderDiffers | 1PASS | ||
0.071428575
|
jalview.datamodel.SearchResultsTest.testInvolvesSequencejalview.datamodel.SearchResultsTest.testInvolvesSequence | 1PASS | ||
0.071428575
|
jalview.gui.SeqPanelTest.testGetEditStatusMessage_lockedEditingjalview.gui.SeqPanelTest.testGetEditStatusMessage_lockedEditing | 1PASS | ||
0.071428575
|
jalview.util.ShiftListTest.testParseMapjalview.util.ShiftListTest.testParseMap | 1PASS | ||
0.071428575
|
jalview.schemes.FeatureColourTest.testCopyConstructorjalview.schemes.FeatureColourTest.testCopyConstructor | 1PASS | ||
0.071428575
|
jalview.schemes.HelixColourSchemeTest.testFindColourjalview.schemes.HelixColourSchemeTest.testFindColour | 1PASS | ||
0.071428575
|
jalview.util.ArrayUtilsTest.testReverseIntArrayjalview.util.ArrayUtilsTest.testReverseIntArray | 1PASS | ||
0.071428575
|
jalview.datamodel.SearchResultsTest.testAppendResultjalview.datamodel.SearchResultsTest.testAppendResult | 1PASS | ||
0.071428575
|
jalview.datamodel.SearchResultsTest.testMarkColumnsjalview.datamodel.SearchResultsTest.testMarkColumns | 1PASS | ||
0.071428575
|
jalview.io.cache.AppCacheTest.appCacheLimitTestjalview.io.cache.AppCacheTest.appCacheLimitTest | 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 | 330759 | public static String getString(String key)... | |||||
85 | { | ||||||
86 | 330761 | String value = "[missing key] " + key; | |||||
87 | 330754 | try | |||||
88 | { | ||||||
89 | 330757 | value = rb.getString(key); | |||||
90 | } catch (Exception e) | ||||||
91 | { | ||||||
92 | 3 | String msg = "I18N missing: " + loc + "\t" + key; | |||||
93 | 3 | logWarning(key, msg); | |||||
94 | } | ||||||
95 | 330760 | return value; | |||||
96 | } | ||||||
97 | |||||||
|
|||||||
98 | 1703 | public static Locale getLocale()... | |||||
99 | { | ||||||
100 | 1703 | 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 | 38401 | public static String formatMessage(String key, Object... params)... | |||||
113 | { | ||||||
114 | 38401 | try | |||||
115 | { | ||||||
116 | 38401 | 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 | 19765 | public static String formatMessage(String key, String[] params)... | |||||
139 | { | ||||||
140 | 19765 | 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 | 10237 | public static String getStringOrReturn(String keyroot, String name)... | |||||
160 | { | ||||||
161 | 10237 | String smkey = keyroot | |||||
162 | + name.toLowerCase(Locale.ROOT).replaceAll(" ", ""); | ||||||
163 | 10237 | try | |||||
164 | { | ||||||
165 | 10237 | name = rb.getString(smkey); | |||||
166 | } catch (Exception x) | ||||||
167 | { | ||||||
168 | 323 | String msg = "I18N missing key with root " + keyroot + ": " + loc | |||||
169 | + "\t" + smkey; | ||||||
170 | 323 | logWarning(smkey, msg); | |||||
171 | } | ||||||
172 | 10237 | return name; | |||||
173 | } | ||||||
174 | |||||||
175 | /** | ||||||
176 | * Logs missing keys (each key once only per run) | ||||||
177 | * | ||||||
178 | * @param key | ||||||
179 | * @param msg | ||||||
180 | */ | ||||||
|
|||||||
181 | 326 | private static void logWarning(String key, String msg)... | |||||
182 | { | ||||||
183 | 326 | if (!reportedMissing.contains(key)) | |||||
184 | { | ||||||
185 | 5 | reportedMissing.add(key); | |||||
186 | 5 | Console.info(msg); | |||||
187 | } | ||||||
188 | } | ||||||
189 | } |