Cherry pick the banglets and such from wip-l1summercoat, this will be the basis for...
[SquirrelJME.git] / buildSrc / src / main / java / cc / squirreljme / plugin / multivm / AvailableTests.java
blobc2166bf80df5a41d05925c5ff23264c6e40cbfa5
1 // ---------------------------------------------------------------------------
2 // SquirrelJME
3 // Copyright (C) Stephanie Gawroriski <xer@multiphasicapps.net>
4 // ---------------------------------------------------------------------------
5 // SquirrelJME is under the GNU General Public License v3+, or later.
6 // See license.mkd for licensing and copyright information.
7 // ---------------------------------------------------------------------------
9 package cc.squirreljme.plugin.multivm;
11 import java.util.Map;
13 /**
14 * Represents tests that are available.
16 * @since 2022/04/22
18 public final class AvailableTests
20 /** Candidate tests. */
21 public final Map<String, CandidateTestFiles> tests;
23 /** Is this a single-test? */
24 public final boolean isSingle;
26 /**
27 * Initializes the available tests.
29 * @param __tests The tests that are available.
30 * @param __isSingle Is this a single test?
31 * @throws NullPointerException On null arguments.
32 * @since 2022/04/22
34 public AvailableTests(Map<String, CandidateTestFiles> __tests,
35 boolean __isSingle)
36 throws NullPointerException
38 if (__tests == null)
39 throw new NullPointerException("NARG");
41 this.tests = __tests;
42 this.isSingle = __isSingle;