FIx: Fixed Coverage Screenshots And htmlRepot.
This commit is contained in:
@@ -0,0 +1,173 @@
|
||||
|
||||
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html id="htmlId">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
|
||||
<title>Coverage Report > GameStages</title>
|
||||
<style type="text/css">
|
||||
@import "../../css/coverage.css";
|
||||
@import "../../css/idea.min.css";
|
||||
</style>
|
||||
<script type="text/javascript" src="../../js/highlight.min.js"></script>
|
||||
<script type="text/javascript" src="../../js/highlightjs-line-numbers.min.js"></script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="content">
|
||||
<div class="breadCrumbs">
|
||||
Current scope: <a href="../../index.html">all classes</a>
|
||||
<span class="separator">|</span>
|
||||
<a href="../index.html">it.polimi.ingsw.gc14.Model.GamePackage</a>
|
||||
</div>
|
||||
|
||||
<h1>Coverage Summary for Class: GameStages (it.polimi.ingsw.gc14.Model.GamePackage)</h1>
|
||||
|
||||
<table class="coverageStats">
|
||||
<tr>
|
||||
<th class="name">Class</th>
|
||||
<th class="coverageStat
|
||||
">
|
||||
Class, %
|
||||
</th>
|
||||
<th class="coverageStat
|
||||
">
|
||||
Method, %
|
||||
</th>
|
||||
<th class="coverageStat
|
||||
">
|
||||
Line, %
|
||||
</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="name">GameStages</td>
|
||||
<td class="coverageStat">
|
||||
<span class="percent">
|
||||
100%
|
||||
</span>
|
||||
<span class="absValue">
|
||||
(1/1)
|
||||
</span>
|
||||
</td>
|
||||
<td class="coverageStat">
|
||||
<span class="percent">
|
||||
75%
|
||||
</span>
|
||||
<span class="absValue">
|
||||
(3/4)
|
||||
</span>
|
||||
</td>
|
||||
<td class="coverageStat">
|
||||
<span class="percent">
|
||||
91.7%
|
||||
</span>
|
||||
<span class="absValue">
|
||||
(11/12)
|
||||
</span>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
|
||||
<br/>
|
||||
<br/>
|
||||
|
||||
|
||||
<pre>
|
||||
<code class="sourceCode" id="sourceCode"> package it.polimi.ingsw.gc14.Model.GamePackage;
|
||||
|
||||
/**
|
||||
* Represents the possible stages of a game.
|
||||
*/
|
||||
<b class="fc"> public enum GameStages {</b>
|
||||
|
||||
/**
|
||||
* Stage in which the game is waiting for players to join.
|
||||
*/
|
||||
<b class="fc"> WAITING("Waiting"),</b>
|
||||
|
||||
/**
|
||||
* Stage in which players choose their totems.
|
||||
*/
|
||||
<b class="fc"> TOTEM_CHOICE("Totem"),</b>
|
||||
|
||||
/**
|
||||
* Stage in which players select their action slots.
|
||||
*/
|
||||
<b class="fc"> SLOT_CHOICE("Slot"),</b>
|
||||
|
||||
/**
|
||||
* Stage in which the mandatory actions associated with the chosen slots are resolved.
|
||||
*/
|
||||
<b class="fc"> RES_ACTIONS("Actions"),</b>
|
||||
|
||||
/**
|
||||
* Stage in which an optional card effect can be resolved.
|
||||
*/
|
||||
<b class="fc"> OPT_CARD_E("Card Effect"),</b>
|
||||
|
||||
/**
|
||||
* Stage in which an event card is being resolved.
|
||||
*/
|
||||
<b class="fc"> RES_EVENT("Event"),</b>
|
||||
|
||||
/**
|
||||
* Stage in which end-of-game scoring and ranking are computed.
|
||||
*/
|
||||
<b class="fc"> ENDING("Ending"),</b>
|
||||
|
||||
/**
|
||||
* Stage indicating that the game has ended.
|
||||
*/
|
||||
<b class="fc"> ENDED("Ended");</b>
|
||||
|
||||
/** The human-readable name of this stage, used in {@link #toString()}. */
|
||||
private final String displayName;
|
||||
|
||||
/**
|
||||
* Constructs a {@code GameStages} value with the given display name.
|
||||
*
|
||||
* @param displayName the human-readable label for this stage
|
||||
*/
|
||||
<b class="fc"> GameStages(String displayName) {</b>
|
||||
<b class="fc"> this.displayName = displayName;</b>
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the human-readable name of this stage.
|
||||
*
|
||||
* @return the display name (e.g. {@code "Slot"} for {@code SLOT_CHOICE})
|
||||
*/
|
||||
@Override
|
||||
public String toString() {
|
||||
<b class="nc"> return displayName;</b>
|
||||
}
|
||||
}
|
||||
</code>
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<script type="text/javascript">
|
||||
(function() {
|
||||
var msie = false, msie9 = false;
|
||||
/*@cc_on
|
||||
msie = true;
|
||||
@if (@_jscript_version >= 9)
|
||||
msie9 = true;
|
||||
@end
|
||||
@*/
|
||||
|
||||
if (!msie || msie && msie9) {
|
||||
hljs.highlightAll()
|
||||
hljs.initLineNumbersOnLoad();
|
||||
}
|
||||
})();
|
||||
</script>
|
||||
|
||||
<div class="footer">
|
||||
|
||||
<div style="float:right;">generated on 2026-06-19 22:53</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user