X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=test%2Fjalview%2Fgui%2FScalePanelTest.java;fp=test%2Fjalview%2Fgui%2FScalePanelTest.java;h=446c6ad2cdbdd5295800b32a1b54c63ff03097cb;hb=9c98d4bd666346f6ad3892c5394b7da3be82d93e;hp=7d39ea92624987cc7f961cd91884c10c5da39cd0;hpb=c7b2143c9cf7c5e05ad63251f7d3910751b16d20;p=jalview.git diff --git a/test/jalview/gui/ScalePanelTest.java b/test/jalview/gui/ScalePanelTest.java index 7d39ea9..446c6ad 100644 --- a/test/jalview/gui/ScalePanelTest.java +++ b/test/jalview/gui/ScalePanelTest.java @@ -1,3 +1,23 @@ +/* + * Jalview - A Sequence Alignment Editor and Viewer ($$Version-Rel$$) + * Copyright (C) $$Year-Rel$$ The Jalview Authors + * + * This file is part of Jalview. + * + * Jalview is free software: you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation, either version 3 + * of the License, or (at your option) any later version. + * + * Jalview is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty + * of MERCHANTABILITY or FITNESS FOR A PARTICULAR + * PURPOSE. See the GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Jalview. If not, see . + * The Jalview Authors are detailed in the 'AUTHORS' file. + */ package jalview.gui; import static org.testng.Assert.assertEquals; @@ -83,7 +103,7 @@ public class ScalePanelTest alignFrame.alignPanel.updateLayout(); assertEquals(ranges.getStartRes(), 0); assertEquals(ranges.getEndRes(), 22); - + int cw = viewport.getCharWidth(); int xPos = 9 * cw + 2; MouseEvent mouse = new MouseEvent(scalePanel, 0, 1, 0, xPos, 0, 1,