@@ -10,8 +10,8 @@ import {
10
10
import { expect } from "chai" ;
11
11
import { uploadSources } from "./lib/JavabuilderConnectionHelper.js" ;
12
12
13
- describe ( "Errors " , ( ) => {
14
- it ( "Compilation Error " , ( done ) => {
13
+ describe ( "Error States " , ( ) => {
14
+ it ( "Responds with compilation error when given malformed student code " , ( done ) => {
15
15
const expectedMessages = [
16
16
COMPILING_STATUS_MESSAGE ,
17
17
{ type : "SYSTEM_OUT" , value : "/HelloWorld.java:1: error: reached end of file while parsing\npublic class HelloWorld {\n ^\n" } ,
@@ -23,7 +23,7 @@ describe("Errors", () => {
23
23
verifyMessages ( compilationError , CONSOLE , assertOnMessagesReceived , done ) ;
24
24
} ) . timeout ( 20000 ) ;
25
25
26
- it ( "Runtime Error " , ( done ) => {
26
+ it ( "Responds with FileNotFound exception when unknown file is used " , ( done ) => {
27
27
const expectedMessages = [
28
28
...INITIAL_STATUS_MESSAGES ,
29
29
{
@@ -42,7 +42,7 @@ describe("Errors", () => {
42
42
verifyMessages ( theaterRuntimeFileNotFound , THEATER , assertOnMessagesReceived , done ) ;
43
43
} ) . timeout ( 20000 ) ;
44
44
45
- it ( "Uses blocked classes " , ( done ) => {
45
+ it ( "Throws exception when blocked class used in student code " , ( done ) => {
46
46
const expectedMessages = [
47
47
...INITIAL_STATUS_MESSAGES ,
48
48
{
0 commit comments