@@ -19,7 +19,10 @@ defmodule Cadet.Test.XMLGenerator do
1919 ) do
2020 assessment_wide_library =
2121 if opts [ :library ] do
22- process_library ( opts [ :library ] , using: & deployment / 2 , no_deployment: opts [ :no_deployment ] )
22+ process_library ( opts [ :library ] ,
23+ using: & programminglanguage / 2 ,
24+ no_deployment: opts [ :no_programminglanguage ]
25+ )
2326 else
2427 [ ]
2528 end
@@ -28,8 +31,8 @@ defmodule Cadet.Test.XMLGenerator do
2831 if opts [ :grading_library ] do
2932 process_library (
3033 opts [ :grading_library ] ,
31- using: & graderdeployment / 2 ,
32- no_deployment: opts [ :no_deployment ]
34+ using: & graderprogramminglanguage / 2 ,
35+ no_deployment: opts [ :no_programminglanguage ]
3336 )
3437 else
3538 [ ]
@@ -63,13 +66,13 @@ defmodule Cadet.Test.XMLGenerator do
6366 process_question_by_question_type ( question ) ++
6467 process_library (
6568 question . library ,
66- using: & deployment / 2 ,
67- no_deployment: opts [ :no_deployment ]
69+ using: & programminglanguage / 2 ,
70+ no_deployment: opts [ :no_programminglanguage ]
6871 ) ++
6972 process_library (
7073 question . grading_library ,
71- using: & graderdeployment / 2 ,
72- no_deployment: opts [ :no_deployment ]
74+ using: & graderprogramminglanguage / 2 ,
75+ no_deployment: opts [ :no_programminglanguage ]
7376 )
7477 )
7578 end
@@ -171,12 +174,12 @@ defmodule Cadet.Test.XMLGenerator do
171174 { "VOTING" , map_permit_keys ( raw_attr , ~w( assessment_number reveal_hours token_divider) a ) }
172175 end
173176
174- defp deployment ( raw_attrs , children ) do
175- { "DEPLOYMENT " , map_permit_keys ( raw_attrs , ~w( interpreter) a ) , children }
177+ defp programminglanguage ( raw_attrs , children ) do
178+ { "PROGRAMMINGLANGUAGE " , map_permit_keys ( raw_attrs , ~w( interpreter) a ) , children }
176179 end
177180
178- defp graderdeployment ( raw_attrs , children ) do
179- { "GRADERDEPLOYMENT " , map_permit_keys ( raw_attrs , ~w( interpreter) a ) , children }
181+ defp graderprogramminglanguage ( raw_attrs , children ) do
182+ { "GRADERPROGRAMMINGLANGUAGE " , map_permit_keys ( raw_attrs , ~w( interpreter) a ) , children }
180183 end
181184
182185 defp external ( raw_attrs , children ) do
0 commit comments