X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=test%2Fjalview%2Fcontroller%2FAlignViewControllerTest.java;h=7fd89655f7f7a8b578e7b60973c08c3b65ba0cf4;hb=44d74820a0af7a277c10c1eab98b59eb7fceddf6;hp=3eefadaab87d6e79af743752a6c03e061faa0ba8;hpb=585a6abef0a5beef8b5247d9b44105dbf389ba45;p=jalview.git diff --git a/test/jalview/controller/AlignViewControllerTest.java b/test/jalview/controller/AlignViewControllerTest.java index 3eefada..7fd8965 100644 --- a/test/jalview/controller/AlignViewControllerTest.java +++ b/test/jalview/controller/AlignViewControllerTest.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.controller; import static org.testng.AssertJUnit.assertEquals; @@ -52,14 +72,13 @@ public class AlignViewControllerTest assertEquals(2, bs.cardinality()); assertTrue(bs.get(1)); assertTrue(bs.get(2)); - + /* * select the first four columns: Metal in seq1 2:4, seq2 4:4 */ sg.setEndRes(3); bs.clear(); - seqCount = AlignViewController.findColumnsWithFeature("Metal", sg, - bs); + seqCount = AlignViewController.findColumnsWithFeature("Metal", sg, bs); assertEquals(2, seqCount); assertEquals(3, bs.cardinality()); assertTrue(bs.get(1));