Test case 1
1: String string0 = "query";
2: GFFStreamFeature gFFStreamFeature0 = new GFFStreamFeature("query");
3: ChadoCanonicalGene chadoCanonicalGene0 = new ChadoCanonicalGene();
4: Clipboard clipboard0 = new Clipboard(string0);
5: Selection selection0 = new Selection(clipboard0);
6: ProteinMapPanel proteinMapPanel0 = new ProteinMapPanel(gFFStreamFeature0, chadoCanonicalGene0, selection0);
7: Graphics2D graphics2D0 = null;
8: int int0 = 0;
9: int int1 = 139;
10: int int2 = 2;
11: String[] stringArray0 = new String[4];
12: stringArray0[0] = string0;
13: String string1 = "strokeWidth";
14: boolean boolean0 = false;
15: chadoCanonicalGene0.addSplicedFeatures(string1, (Feature) gFFStreamFeature0, boolean0);
16: stringArray0[1] = string0;
17: stringArray0[2] = string0;
18: stringArray0[3] = proteinMapPanel0.POLYPEPTIDE_DOMAIN;
19: proteinMapPanel0.drawPrediction(gFFStreamFeature0, graphics2D0, int0, int1, int1, int2, stringArray0);
20: int int3 = 261;
21: long long0 = (-725L);
22: int int4 = 0;
23: int int5 = 0;
24: MouseWheelEvent mouseWheelEvent0 = new MouseWheelEvent(proteinMapPanel0, int3, long0, int4, int5, int0, int5, boolean0, int5, int0, int0);
25: proteinMapPanel0.getToolTipText((MouseEvent) mouseWheelEvent0);
Test case 2
1: Document document0 = null;
2: IndexedGFFDocumentEntry indexedGFFDocumentEntry0 = new IndexedGFFDocumentEntry((Document) null);
3: String string0 = "av?>`Dxh:Nkd:@";
4: String string1 = "INSERT failed ";
5: SimpleAssembly simpleAssembly0 = new SimpleAssembly(string0, string1);
6: FramedFeature.Template framedFeature_Template0 = new FramedFeature.Template();
7: SimpleFramedFeature simpleFramedFeature0 = new SimpleFramedFeature(simpleAssembly0, simpleAssembly0, framedFeature_Template0);
8: BlastEntryInformation blastEntryInformation0 = new BlastEntryInformation();
9: GAMEFormat gAMEFormat0 = new GAMEFormat();
10: BioJavaEntry bioJavaEntry0 = new BioJavaEntry(blastEntryInformation0, document0, gAMEFormat0);
11: BioJavaFeature bioJavaFeature0 = new BioJavaFeature(simpleFramedFeature0, bioJavaEntry0);
12: Key key0 = bioJavaFeature0.getKey();
13: Location location0 = null;
14: QualifierVector qualifierVector0 = new QualifierVector();
15: Feature feature0 = indexedGFFDocumentEntry0.createFeature(key0, location0, qualifierVector0);
16: ChadoCanonicalGene chadoCanonicalGene0 = new ChadoCanonicalGene();
17: Selection selection0 = null;
18: FeatureVector featureVector0 = new FeatureVector();
19: uk.ac.sanger.artemis.Feature feature1 = featureVector0.lastElement();
20: SimpleEntryGroup simpleEntryGroup0 = new SimpleEntryGroup();
21: ChadoTransactionManager chadoTransactionManager0 = null;
22: BasicGeneBuilderFrame basicGeneBuilderFrame0 = new BasicGeneBuilderFrame(feature1, simpleEntryGroup0, selection0, chadoTransactionManager0);
23: BasicProteinMapPanel basicProteinMapPanel0 = new BasicProteinMapPanel(feature0, chadoCanonicalGene0, selection0, basicGeneBuilderFrame0);
24: int int0 = 0;
25: long long0 = (-1140L);
26: int int1 = 0;
27: boolean boolean0 = true;
28: MenuElement[] menuElementArray0 = new MenuElement[7];
29: JMenuBar jMenuBar0 = new JMenuBar();
30: JMenu jMenu0 = jMenuBar0.getMenu(int0);
31: menuElementArray0[0] = (MenuElement) jMenu0;
32: JPopupMenu jPopupMenu0 = basicProteinMapPanel0.getComponentPopupMenu();
33: menuElementArray0[1] = (MenuElement) jPopupMenu0;
34: JMenu jMenu1 = new JMenu(string1);
35: menuElementArray0[2] = (MenuElement) jMenu1;
36: JPopupMenu jPopupMenu1 = new JPopupMenu();
37: menuElementArray0[3] = (MenuElement) jPopupMenu1;
38: String string2 = "1X^FDZx4)DG1q\"";
39: JInternalFrame jInternalFrame0 = new JInternalFrame(string2, boolean0);
40: JMenuBar jMenuBar1 = jInternalFrame0.getJMenuBar();
41: menuElementArray0[4] = (MenuElement) jMenuBar1;
42: String string3 = "#/S)md";
43: String string4 = "WF),9c!'?-LZN}7-";
44: URL uRL0 = MockURL.URL(string4);
45: String string5 = "H_lWB";
46: URL uRL1 = MockURL.URL(uRL0, string5);
47: ImageIcon imageIcon0 = new ImageIcon(uRL1);
48: JMenuItem jMenuItem0 = new JMenuItem(string3, imageIcon0);
49: menuElementArray0[5] = (MenuElement) jMenuItem0;
50: String string6 = "NM|s";
51: JMenu jMenu2 = new JMenu(string6, boolean0);
52: menuElementArray0[6] = (MenuElement) jMenu2;
53: MenuSelectionManager menuSelectionManager0 = MenuSelectionManager.defaultManager();
54: MenuDragMouseEvent menuDragMouseEvent0 = new MenuDragMouseEvent(basicProteinMapPanel0, int0, long0, int0, int1, int1, int1, boolean0, menuElementArray0, menuSelectionManager0);
55: basicProteinMapPanel0.getToolTipText((MouseEvent) menuDragMouseEvent0);
Test case 3
1: Key key0 = Key.CDS;
2: NewSimpleAssembly newSimpleAssembly0 = new NewSimpleAssembly("", "");
3: RestrictionSite.Template restrictionSite_Template0 = new RestrictionSite.Template();
4: SimpleFeature simpleFeature0 = new SimpleFeature(newSimpleAssembly0, newSimpleAssembly0, restrictionSite_Template0);
5: BioJavaEntry bioJavaEntry0 = new BioJavaEntry(newSimpleAssembly0);
6: BioJavaFeature bioJavaFeature0 = new BioJavaFeature(simpleFeature0, bioJavaEntry0);
7: Location location0 = bioJavaFeature0.getLocation();
8: Feature feature0 = new Feature(bioJavaFeature0);
9: QualifierVector qualifierVector0 = ProteinMapPanel.getProteinMapQualifiers(feature0);
10: ReadOnlyEmblStreamFeature readOnlyEmblStreamFeature0 = new ReadOnlyEmblStreamFeature(key0, location0, qualifierVector0);
11: ChadoCanonicalGene chadoCanonicalGene0 = new ChadoCanonicalGene();
12: String string0 = "c&Z)K+&";
13: Clipboard clipboard0 = new Clipboard(string0);
14: Selection selection0 = new Selection(clipboard0);
15: ProteinMapPanel proteinMapPanel0 = new ProteinMapPanel(readOnlyEmblStreamFeature0, chadoCanonicalGene0, selection0);
16: String string1 = "";
17: String string2 = "non_cytoplasmic_polypeptide_region";
18: GenericDocumentType genericDocumentType0 = new GenericDocumentType(restrictionSite_Template0.type, string1, string2);
19: DOMImplementation dOMImplementation0 = null;
20: GenericDocument genericDocument0 = new GenericDocument(genericDocumentType0, dOMImplementation0);
21: SVGGraphics2D sVGGraphics2D0 = new SVGGraphics2D(genericDocument0);
22: int int0 = 5;
23: int int1 = 0;
24: int int2 = (-1340);
25: Graphics graphics0 = sVGGraphics2D0.create((int) genericDocumentType0.DOCUMENT_POSITION_CONTAINED_BY, int0, int1, int2);
26: DebugGraphics debugGraphics0 = new DebugGraphics(graphics0);
27: proteinMapPanel0.paintComponent(debugGraphics0);
Test case 4
1: GenbankStreamFeature genbankStreamFeature0 = new GenbankStreamFeature();
2: ChadoCanonicalGene chadoCanonicalGene0 = new ChadoCanonicalGene();
3: Clipboard clipboard0 = new Clipboard("04e+Rbp");
4: Selection selection0 = new Selection(clipboard0);
5: ProteinMapPanel proteinMapPanel0 = new ProteinMapPanel(genbankStreamFeature0, chadoCanonicalGene0, selection0);
6: JPopupMenu jPopupMenu0 = new JPopupMenu();
7: MenuElement[] menuElementArray0 = new MenuElement[4];
8: menuElementArray0[0] = (MenuElement) jPopupMenu0;
9: menuElementArray0[1] = (MenuElement) jPopupMenu0;
10: menuElementArray0[2] = (MenuElement) jPopupMenu0;
11: SynthTreeUI synthTreeUI0 = new SynthTreeUI();
12: Icon icon0 = synthTreeUI0.getExpandedIcon();
13: JRadioButtonMenuItem jRadioButtonMenuItem0 = new JRadioButtonMenuItem(icon0, false);
14: menuElementArray0[3] = (MenuElement) jRadioButtonMenuItem0;
15: MenuSelectionManager menuSelectionManager0 = MenuSelectionManager.defaultManager();
16: MenuDragMouseEvent menuDragMouseEvent0 = new MenuDragMouseEvent(jPopupMenu0, 110, 110, (-5296), 110, (-5296), (-5296), (-5296), 1707, false, menuElementArray0, menuSelectionManager0);
17: proteinMapPanel0.getToolTipText((MouseEvent) menuDragMouseEvent0);
18: GenericDocumentType genericDocumentType0 = new GenericDocumentType("polypeptide_domain", "{a", "{a");
19: GenericDOMImplementation genericDOMImplementation0 = (GenericDOMImplementation)GenericDOMImplementation.getDOMImplementation();
20: GenericDocument genericDocument0 = new GenericDocument(genericDocumentType0, genericDOMImplementation0);
21: SVGGraphics2D sVGGraphics2D0 = new SVGGraphics2D(genericDocument0);
22: SVGGraphics2D sVGGraphics2D1 = new SVGGraphics2D(sVGGraphics2D0);
23: genericDocument0.getPreviousSibling();
24: proteinMapPanel0.drawDomain(genbankStreamFeature0, sVGGraphics2D1, 3001, 0, (short)32, 3);
25: Qualifier qualifier0 = new Qualifier("");
26: proteinMapPanel0.drawGPIArrow(sVGGraphics2D1, qualifier0, (short)1, 0, (short)1, (-641));
Test case 5
1: QualifierVector qualifierVector0 = new QualifierVector();
2: qualifierVector0.getQualifierByName("");
3: ProteinMapPanel.isProteinMapElement((Qualifier) null);
Test case 6
1: ClusterLazyQualifierValue clusterLazyQualifierValue0 = new ClusterLazyQualifierValue(":vcma-^;@5YIzf", ":vcma-^;@5YIzf", (GFFStreamFeature) null);
2: QualifierLazyLoading qualifierLazyLoading0 = new QualifierLazyLoading(":vcma-^;@5YIzf", clusterLazyQualifierValue0);
3: boolean boolean0 = ProteinMapPanel.isProteinMapElement(qualifierLazyLoading0);
4: assertFalse(boolean0);
Test case 7
1: ProteinMapPanel.getProteinsWithProteinMapElement((GFFStreamFeature) null);
Test case 8
1: ProteinMapPanel.getProteinMapQualifiers((Feature) null);
Test case 9
1: ChadoCanonicalGene chadoCanonicalGene0 = new ChadoCanonicalGene();
2: FeatureVector featureVector0 = new FeatureVector();
3: StringVector stringVector0 = Feature.getAllQualifierNames(featureVector0);
4: chadoCanonicalGene0.containsTranscript(stringVector0);
5: ProteinMapPanel proteinMapPanel0 = new ProteinMapPanel((uk.ac.sanger.artemis.io.Feature) null, chadoCanonicalGene0, (Selection) null);
6: GenericDocumentType genericDocumentType0 = new GenericDocumentType("polypeptide_domain", "polypeptide_domain", "polypeptide_domain");
7: GenericDOMImplementation genericDOMImplementation0 = (GenericDOMImplementation)GenericDOMImplementation.getDOMImplementation();
8: GenericDocument genericDocument0 = new GenericDocument(genericDocumentType0, genericDOMImplementation0);
9: DefaultImageHandler defaultImageHandler0 = new DefaultImageHandler();
10: DefaultExtensionHandler defaultExtensionHandler0 = new DefaultExtensionHandler();
11: SVGGraphics2D sVGGraphics2D0 = new SVGGraphics2D(genericDocument0, defaultImageHandler0, defaultExtensionHandler0, true);
12: SVGGraphics2D sVGGraphics2D1 = new SVGGraphics2D(sVGGraphics2D0);
13: proteinMapPanel0.drawDomain((uk.ac.sanger.artemis.io.Feature) null, sVGGraphics2D1, (short)4, (-2039), (short)1, (short)1);
Test case 10
1: Clipboard clipboard0 = new Clipboard("");
2: Selection selection0 = new Selection(clipboard0);
3: ProteinMapPanel proteinMapPanel0 = new ProteinMapPanel((Feature) null, (ChadoCanonicalGene) null, selection0);
4: GenericDocumentType genericDocumentType0 = new GenericDocumentType("polypeptide_domain", "cytoplasm_location", "transmembrane_polypeptide_region");
5: GenericDOMImplementation genericDOMImplementation0 = new GenericDOMImplementation();
6: GenericDocument genericDocument0 = new GenericDocument(genericDocumentType0, genericDOMImplementation0);
7: SVGGraphics2D sVGGraphics2D0 = new SVGGraphics2D(genericDocument0);
8: SVGGraphics2D sVGGraphics2D1 = new SVGGraphics2D(sVGGraphics2D0);
9: String[] stringArray0 = new String[3];
10: stringArray0[0] = "transmembrane_polypeptide_region";
11: stringArray0[1] = "ISO-8859-1";
12: stringArray0[2] = "ISO-8859-1";
13: proteinMapPanel0.drawPrediction((Feature) null, sVGGraphics2D1, 0, (short)8, (short)16, (short)1, stringArray0);
Test case 11
1: ChadoCanonicalGene chadoCanonicalGene0 = new ChadoCanonicalGene();
2: ProteinMapPanel proteinMapPanel0 = new ProteinMapPanel((Feature) null, chadoCanonicalGene0, (Selection) null);
3: GenericDocumentType genericDocumentType0 = new GenericDocumentType("polypeptide_domain", "polypeptide_domain", "polypeptide_domain");
4: GenericDOMImplementation genericDOMImplementation0 = new GenericDOMImplementation();
5: GenericDocument genericDocument0 = new GenericDocument(genericDocumentType0, genericDOMImplementation0);
6: ImageHandlerBase64Encoder imageHandlerBase64Encoder0 = new ImageHandlerBase64Encoder();
7: DefaultExtensionHandler defaultExtensionHandler0 = new DefaultExtensionHandler();
8: SVGGraphics2D sVGGraphics2D0 = new SVGGraphics2D(genericDocument0, imageHandlerBase64Encoder0, defaultExtensionHandler0, false);
9: DebugGraphics debugGraphics0 = new DebugGraphics(sVGGraphics2D0);
10: proteinMapPanel0.paintComponent(debugGraphics0);
Test case 12
1: GenbankStreamFeature genbankStreamFeature0 = new GenbankStreamFeature();
2: ChadoCanonicalGene chadoCanonicalGene0 = new ChadoCanonicalGene();
3: Clipboard clipboard0 = new Clipboard("");
4: Selection selection0 = new Selection(clipboard0);
5: ProteinMapPanel proteinMapPanel0 = new ProteinMapPanel(genbankStreamFeature0, chadoCanonicalGene0, selection0);
6: GenericDocumentType genericDocumentType0 = new GenericDocumentType("polypeptide_domain", "", "");
7: GenericDocument genericDocument0 = new GenericDocument(genericDocumentType0, (DOMImplementation) null);
8: SVGGeneratorContext sVGGeneratorContext0 = SVGGeneratorContext.createDefault(genericDocument0);
9: SVGGraphics2D sVGGraphics2D0 = new SVGGraphics2D(sVGGeneratorContext0, true);
10: SVGGraphics2D sVGGraphics2D1 = new SVGGraphics2D(sVGGraphics2D0);
11: String[] stringArray0 = new String[9];
12: stringArray0[0] = "polypeptide_domain";
13: stringArray0[1] = "";
14: stringArray0[2] = "ISO-8859-1";
15: stringArray0[3] = "ISO-8859-1";
16: stringArray0[4] = "ISO-8859-1";
17: stringArray0[5] = "ISO-8859-1";
18: stringArray0[6] = "/~Isj|R'Cxl";
19: stringArray0[7] = "";
20: stringArray0[8] = "ISO-8859-1";
21: proteinMapPanel0.drawPrediction(genbankStreamFeature0, sVGGraphics2D1, (short)4, 3, 3, 583, stringArray0);
22: assertEquals(3, SVGGraphics2D.DEFAULT_MAX_GC_OVERRIDES);
Test case 13
1: BlastEntryInformation blastEntryInformation0 = new BlastEntryInformation();
2: Key key0 = Key.CDS;
3: blastEntryInformation0.getValidQualifierNames(key0);
4: Qualifier qualifier0 = new Qualifier("61pi", (StringVector) null);
5: ProteinMapPanel.isProteinMapElement(qualifier0);
6: ChadoCanonicalGene chadoCanonicalGene0 = new ChadoCanonicalGene();
7: chadoCanonicalGene0.getTranscriptFeatureFromName("61pi");
8: Clipboard clipboard0 = new Clipboard("61pi");
9: Selection selection0 = new Selection(clipboard0);
10: ProteinMapPanel proteinMapPanel0 = new ProteinMapPanel((Feature) null, chadoCanonicalGene0, selection0);
11: GenericDocumentType genericDocumentType0 = new GenericDocumentType("polypeptide_domain", "polypeptide_domain", "Xw`Mme {~* 3zo;P|74");
12: GenericDOMImplementation genericDOMImplementation0 = new GenericDOMImplementation();
13: GenericDocument genericDocument0 = new GenericDocument(genericDocumentType0, genericDOMImplementation0);
14: SVGGraphics2D sVGGraphics2D0 = new SVGGraphics2D(genericDocument0);
15: QualifierLazyLoading qualifierLazyLoading0 = new QualifierLazyLoading("", (List) null);
16: proteinMapPanel0.drawGPIArrow(sVGGraphics2D0, qualifierLazyLoading0, (short)4, (short)8, 1048576, (short)1);
Test case 14
1: GenbankStreamFeature genbankStreamFeature0 = new GenbankStreamFeature();
2: ChadoCanonicalGene chadoCanonicalGene0 = new ChadoCanonicalGene();
3: Clipboard clipboard0 = new Clipboard("Filter minimum score must be less than maximum score");
4: Selection selection0 = new Selection(clipboard0);
5: ProteinMapPanel proteinMapPanel0 = new ProteinMapPanel(genbankStreamFeature0, chadoCanonicalGene0, selection0);
6: selection0.getAllSegments();
7: MouseEvent mouseEvent0 = new MouseEvent(proteinMapPanel0, 4, 4, 4, 4, (-678), 4, true);
8: MouseEvent.getMouseModifiersText(58);
9: proteinMapPanel0.getToolTipText(mouseEvent0);
10: GenericDocumentType genericDocumentType0 = new GenericDocumentType(")Q5S0sxmu!^O", "", (String) null);
11: GenericDocument genericDocument0 = new GenericDocument(genericDocumentType0, (DOMImplementation) null);
12: SVGGeneratorContext sVGGeneratorContext0 = SVGGeneratorContext.createDefault(genericDocument0);
13: SVGGraphics2D sVGGraphics2D0 = new SVGGraphics2D(sVGGeneratorContext0, true);
14: SVGGraphics2D sVGGraphics2D1 = new SVGGraphics2D(sVGGraphics2D0);
15: proteinMapPanel0.drawPrediction(genbankStreamFeature0, sVGGraphics2D1, 0, 0, 1406, 1368, (String[]) null);
16: assertFalse(proteinMapPanel0.isFocusCycleRoot());
Test case 15
1: ChadoCanonicalGene chadoCanonicalGene0 = new ChadoCanonicalGene();
2: chadoCanonicalGene0.setSrcfeature_id(0);
3: chadoCanonicalGene0.getTranscriptFeatureFromName("R");
4: Clipboard clipboard0 = new Clipboard("R");
5: Selection selection0 = new Selection(clipboard0);
6: ProteinMapPanel proteinMapPanel0 = new ProteinMapPanel((Feature) null, chadoCanonicalGene0, selection0);
7: proteinMapPanel0.getToolTipText((MouseEvent) null);