Commit | Line | Data |
---|---|---|
970ed795 EL |
1 | /****************************************************************************** |
2 | * Copyright (c) 2000-2014 Ericsson Telecom AB | |
3 | * All rights reserved. This program and the accompanying materials | |
4 | * are made available under the terms of the Eclipse Public License v1.0 | |
5 | * which accompanies this distribution, and is available at | |
6 | * http://www.eclipse.org/legal/epl-v10.html | |
7 | ******************************************************************************/ | |
8 | module tryCatch_Functions{ | |
9 | ||
10 | function f_matchAndVerdict(in charstring pl_msg, in template charstring pl_template) { | |
11 | if(match(pl_msg, pl_template)) | |
12 | { setverdict(pass) } else {setverdict(fail)}; | |
13 | } | |
14 | ||
15 | } |