#include <stdio.h>
#include <string.h>
#include "linkoptions.h"
#include "epicsUnitTest.h"
#include "epicsString.h"
#include "testMain.h"
Go to the source code of this file.
|
const char | one [] ="BEE=4.2, A=42, Color=Green, name=fred" |
|
const char | two [] ="BEE=2.4, Color=Blue, name=ralph" |
|
◆ MAIN()
Definition at line 42 of file linkoptionsTest.c.
60 testOk1(strcmp(X.c,
"fred")==0);
72 testOk1(strcmp(X.c,
"ralph")==0);
int epicsShareAPI linkOptionsStore(const linkOptionDef *opts, void *user, const char *str, int options)
Parse a string a store the result.
◆ one
const char one[] ="BEE=4.2, A=42, Color=Green, name=fred" |
◆ two
const char two[] ="BEE=2.4, Color=Blue, name=ralph" |