Limit how often GC can be run.
[SquirrelJME.git] / buildSrc / src / main / java / cc / squirreljme / plugin / multivm / AvailableTests.java
blob1cac65b88552f79980807b425174d7951efcaea2
1 // ---------------------------------------------------------------------------
2 // SquirrelJME
3 // Copyright (C) Stephanie Gawroriski <xer@multiphasicapps.net>
4 // ---------------------------------------------------------------------------
5 // SquirrelJME is under the Mozilla Public License Version 2.0.
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;