X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=test%2Fjalview%2Fio%2FFileFormatsTest.java;fp=test%2Fjalview%2Fio%2FFileFormatsTest.java;h=27cfa5e7fe09e4dd832f9b0bdb9435de92ab7c38;hb=9c98d4bd666346f6ad3892c5394b7da3be82d93e;hp=3d25bf156bc6358ccb952bdb73576888c2b5d9f6;hpb=c7b2143c9cf7c5e05ad63251f7d3910751b16d20;p=jalview.git diff --git a/test/jalview/io/FileFormatsTest.java b/test/jalview/io/FileFormatsTest.java index 3d25bf1..27cfa5e 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 java.util.Locale; @@ -105,8 +125,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"));