# -*- coding: utf-8 -*-
# $Id: testJavaRE.py 1603 2011-10-10 12:33:02Z amelung $
#
# Copyright (c) 2007-2011 Otto-von-Guericke-Universität Magdeburg
#
# This file is part of ECSpooler.
import unittest
"""
"""
# -- individual tests -----------------------------------------------------
'submission': '"\\bheise online\\b"',
'modelSolution': '"\\bheise online\\b"',
'tests': ['findFirstGroup0'],
'testData': 'http://www.heise.de/newsticker/',
}
"""_manage_checkSyntax should return False for a syntactical incorrect program"""
#print 'jobId', job.getId()
if result:
else:
"""_manage_checkSyntax should return True for a correct program"""
#print 'jobId', job.getId()
if result:
else:
"""_manage_checkSemantic should return False for an incorrect program"""
#print 'jobId', job.getId()
if result:
else:
"""_manage_checkSemantic should return True for a correct program"""
if result:
else:
# -- ----------------------------------------------------------------------
"""_manage_checkSyntax should return False for this special regex"""
'"(?<=(\\\Q|\\\E))(.[^\\\Q|\\\E]*)(?=\\\Q|\\\E(.[^\\\Q|\\\E]*)\\\Q|\\\E)'
'"(?<=\|\s{0,5})([\w\s\.&&[^0-9]])*([\w\.&&[^0-9]])+(?=\s*\|)"'
if result:
else:
"""_manage_checkSyntax should return True for this special regex with leading and trailing white space"""
' "(?<=(\\\Q|\\\E))(.[^\\\Q|\\\E]*)(?=\\\Q|\\\E(.[^\\\Q|\\\E]*)\\\Q|\\\E)" '
'"(?<=\|\s{0,5})([\w\s\.&&[^0-9]])*([\w\.&&[^0-9]])+(?=\s*\|)"'
if result:
else:
def test_suite():
"""
"""
return suite
# -- main ---------------------------------------------------------------------
if __name__ == '__main__':