@@ -57,10 +57,10 @@ private void mockGoblintServerIsAlive(GoblintServer goblintServer) {
5757 when (goblintConfWatcher .refreshGoblintConfig ()).thenReturn (true );
5858 }
5959
60- /*
61- Mock test to ensure @analyze function
62- messages user when analyzes fails
63- */
60+ /**
61+ * Mock test to ensure @analyze function
62+ * messages user when analyzes fails
63+ */
6464 @ Test
6565 void analyzeFailed () {
6666 mockGoblintServerIsAlive (goblintServer );
@@ -82,10 +82,10 @@ void analyzeFailed() {
8282 verify (magpieServer ).forwardMessageToClient (new MessageParams (MessageType .Error , "GobPie failed to analyze the code:\n Testing failed analysis" ));
8383 }
8484
85- /*
86- Mock test to ensure @analyze function
87- behaviour in abort situation
88- */
85+ /**
86+ * Mock test to ensure @analyze function
87+ * behaviour in abort situation
88+ */
8989 @ Test
9090 void abortAnalysis () throws IOException {
9191 // Mock server and change goblintAnalysis value
@@ -111,10 +111,10 @@ void abortAnalysis() throws IOException {
111111 runningProcess .complete (null );
112112 }
113113
114- /*
115- Mock test to ensure @analyze function
116- behaves correctly when abort fails
117- */
114+ /**
115+ * Mock test to ensure @analyze function
116+ * behaves correctly when abort fails
117+ */
118118 @ Test
119119 void abortAnalysisFails () throws IOException {
120120 // Mock server and change goblintAnalysis value
@@ -143,11 +143,10 @@ void abortAnalysisFails() throws IOException {
143143 runningProcess .complete (null );
144144 }
145145
146- /*
147- Mock test to ensure @preAnalyse function
148- is functional and is called out in @analyze function
149- */
150-
146+ /**
147+ * Mock test to ensure @preAnalyse function
148+ * is functional and is called out in @analyze function
149+ */
151150 @ Test
152151 void preAnalyseTest () {
153152 mockGoblintServerIsAlive (goblintServer );
@@ -172,10 +171,10 @@ void preAnalyseTest() {
172171 assertTrue (systemOut .getLines ().anyMatch (line -> line .contains (processPrintout )));
173172 }
174173
175- /*
176- Mock test to ensure @preAnalyse function
177- is functional when preAnalyzeCommand is empty
178- */
174+ /**
175+ * Mock test to ensure @preAnalyse function
176+ * is functional when preAnalyzeCommand is empty
177+ */
179178 @ Test
180179 void preAnalyseEmpty () {
181180 mockGoblintServerIsAlive (goblintServer );
@@ -201,10 +200,10 @@ void preAnalyseEmpty() {
201200 verify (magpieServer ).forwardMessageToClient (new MessageParams (MessageType .Info , "GobPie finished analyzing the code." ));
202201 }
203202
204- /*
205- Mock test to ensure @preAnalyse function
206- is functional when preAnalyzeCommand is null
207- */
203+ /**
204+ * Mock test to ensure @preAnalyse function
205+ * is functional when preAnalyzeCommand is null
206+ */
208207 @ Test
209208 void preAnalyseNull () {
210209 mockGoblintServerIsAlive (goblintServer );
@@ -229,10 +228,10 @@ void preAnalyseNull() {
229228 verify (magpieServer ).forwardMessageToClient (new MessageParams (MessageType .Info , "GobPie finished analyzing the code." ));
230229 }
231230
232- /*
233- Mock test to ensure @preAnalyse function
234- messages user when preAnalysis command fails
235- */
231+ /**
232+ * Mock test to ensure @preAnalyse function
233+ * messages user when preAnalysis command fails
234+ */
236235 @ Test
237236 void preAnalyseError () {
238237 mockGoblintServerIsAlive (goblintServer );
0 commit comments