diff options
author | ankitjavalkar | 2016-03-29 19:00:12 +0530 |
---|---|---|
committer | ankitjavalkar | 2016-05-05 19:00:33 +0530 |
commit | e8e6b4bc35c7d012d9c41fb37d91687eb605b56c (patch) | |
tree | 2f0488eaed410e23a5d0e0a18b9bdae1e2b2f2d1 /yaksh/settings.py | |
parent | 1f4542cdbea66899899b9c7de3ea38e39d794112 (diff) | |
download | online_test-e8e6b4bc35c7d012d9c41fb37d91687eb605b56c.tar.gz online_test-e8e6b4bc35c7d012d9c41fb37d91687eb605b56c.tar.bz2 online_test-e8e6b4bc35c7d012d9c41fb37d91687eb605b56c.zip |
- Refactor Scilab, Bash, Java and C
- Add Test Cases to reflect refactoring changes
- Fix language registry
- Add test case for language registry
- Fix register in settings
- Keep snippet field for now
Diffstat (limited to 'yaksh/settings.py')
-rw-r--r-- | yaksh/settings.py | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/yaksh/settings.py b/yaksh/settings.py index 30fab0a..aaf6226 100644 --- a/yaksh/settings.py +++ b/yaksh/settings.py @@ -20,12 +20,12 @@ SERVER_TIMEOUT = 2 URL_ROOT = '' code_evaluators = { - "python": {"standardtestcase": "python_assertion_evaluator.PythonStandardEvaluator", - "stdoutbasedtestcase": "python_stdout_evaluator.PythonStdoutEvaluator" - }, - "c": "cpp_code_evaluator.CppCodeEvaluator", - "cpp": "cpp_code_evaluator.CppCodeEvaluator", - "java": "java_code_evaluator.JavaCodeEvaluator", - "bash": "bash_code_evaluator.BashCodeEvaluator", - "scilab": "scilab_code_evaluator.ScilabCodeEvaluator", + "python": {"standardtestcase": "yaksh.python_assertion_evaluator.PythonAssertionEvaluator", + "stdoutbasedtestcase": "yaksh.python_stdout_evaluator.PythonStdoutEvaluator" + }, + "c": {"standardtestcase": "yaksh.cpp_code_evaluator.CppCodeEvaluator"}, + "cpp": {"standardtestcase": "yaksh.cpp_code_evaluator.CppCodeEvaluator"}, + "java": {"standardtestcase": "yaksh.java_code_evaluator.JavaCodeEvaluator"}, + "bash": {"standardtestcase": "yaksh.bash_code_evaluator.BashCodeEvaluator"}, + "scilab": {"standardtestcase": "yaksh.scilab_code_evaluator.ScilabCodeEvaluator"}, } |