From 520ffe4c093479d495d3c42f111bf7a9b7e40f30 Mon Sep 17 00:00:00 2001 From: huanghongxun Date: Sat, 17 Aug 2019 00:45:47 +0800 Subject: [PATCH] Add missing license header --- .../java/org/jackhuang/hmcl/util/TaskTest.java | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/HMCLCore/src/test/java/org/jackhuang/hmcl/util/TaskTest.java b/HMCLCore/src/test/java/org/jackhuang/hmcl/util/TaskTest.java index 9240a1a05..c226a5908 100644 --- a/HMCLCore/src/test/java/org/jackhuang/hmcl/util/TaskTest.java +++ b/HMCLCore/src/test/java/org/jackhuang/hmcl/util/TaskTest.java @@ -1,3 +1,20 @@ +/* + * Hello Minecraft! Launcher + * Copyright (C) 2019 huangyuhui and contributors + * + * This program 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. + * + * This program 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 this program. If not, see . + */ package org.jackhuang.hmcl.util; import javafx.embed.swing.JFXPanel; @@ -89,7 +106,6 @@ public class TaskTest { Assert.assertNull("CancellationException should not be recorded.", task.getException()); } - @Test public void testRejectedExecutionException() { Schedulers.defaultScheduler(); Schedulers.shutdown();