(result, string, exception_behavior = "")
| 44 | |
| 45 | # Wraps |string| in try..catch. |
| 46 | def TryCatch(result, string, exception_behavior = ""): |
| 47 | result.append("try { %s } catch(e) { %s }" % (string, exception_behavior)) |
| 48 | |
| 49 | |
| 50 | def BuildTests(function, full_name, options): |