Indentations break the feed.
[SquirrelJME.git] / buildSrc / src / main / java / cc / squirreljme / plugin / multivm / ResultantTestInfo.java
blob0bccf344a20c8d12a15a72508b8660b4954bb872
1 // -*- Mode: Java; indent-tabs-mode: t; tab-width: 4 -*-
2 // ---------------------------------------------------------------------------
3 // SquirrelJME
4 // Copyright (C) Stephanie Gawroriski <xer@multiphasicapps.net>
5 // ---------------------------------------------------------------------------
6 // SquirrelJME is under the Mozilla Public License Version 2.0.
7 // See license.mkd for licensing and copyright information.
8 // ---------------------------------------------------------------------------
10 package cc.squirreljme.plugin.multivm;
12 /**
13 * Results on test information.
15 * @since 2020/11/26
17 public final class ResultantTestInfo
19 /** The name of the test. */
20 public final String name;
22 /** The result of the test, if it passed or not. */
23 public final VMTestResult result;
25 /** The duration of the test. */
26 public final long nanoseconds;
28 /**
29 * Stores the resultant test information.
31 * @param __name The name of the test.
32 * @param __result The result of the test.
33 * @param __nanoseconds The nanoseconds of the test.
34 * @throws NullPointerException On null arguments.
35 * @since 2020/11/26
37 public ResultantTestInfo(String __name, VMTestResult __result,
38 long __nanoseconds)
39 throws NullPointerException
41 if (__name == null || __result == null)
42 throw new NullPointerException("NARG");
44 this.name = __name;
45 this.result = __result;
46 this.nanoseconds = __nanoseconds;