X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=test%2Fjalview%2Fio%2FFileFormatsTest.java;fp=test%2Fjalview%2Fio%2FFileFormatsTest.java;h=b589e94f9dbf4f306792344358a3b7c985a50137;hb=d043ce47fc710d3eb2629ba926a8a7417bd67d8c;hp=85657457cf536b299e073627dac127ce3f59daa5;hpb=49db0dff1da16c3355b43a41498c1fc93ef47e91;p=jalview.git diff --git a/test/jalview/io/FileFormatsTest.java b/test/jalview/io/FileFormatsTest.java index 8565745..b589e94 100644 --- a/test/jalview/io/FileFormatsTest.java +++ b/test/jalview/io/FileFormatsTest.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.io; import static org.testng.Assert.assertEquals; @@ -103,8 +123,10 @@ public class FileFormatsTest for (FileFormatI ff : FileFormat.values()) { assertSame(ff, formats.forName(ff.getName())); - assertSame(ff, formats.forName(ff.getName().toUpperCase(Locale.ROOT))); - assertSame(ff, formats.forName(ff.getName().toLowerCase(Locale.ROOT))); + assertSame(ff, + formats.forName(ff.getName().toUpperCase(Locale.ROOT))); + assertSame(ff, + formats.forName(ff.getName().toLowerCase(Locale.ROOT))); } assertNull(formats.forName(null)); assertNull(formats.forName("rubbish"));