aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2020-04-28 13:45:39 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2020-04-28 13:45:39 -0400
commit165fc0645c4bcd0c0120931ea99339f7b9559c61 (patch)
treea233c5c88c24e2b069476042c63d95cc9cbf7e80 /tests
parent5ac5354dc76159d2c53dcd16b0177c5889580bd7 (diff)
downloadspmc-165fc0645c4bcd0c0120931ea99339f7b9559c61.tar.gz
Refactor TestValue member names
Diffstat (limited to 'tests')
-rw-r--r--tests/framework.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/tests/framework.h b/tests/framework.h
index 312e917..9b56267 100644
--- a/tests/framework.h
+++ b/tests/framework.h
@@ -8,15 +8,20 @@ union TestValue {
const char *sptr;
char **slptr;
const char **cslptr;
- char character;
- unsigned int unsigned_integer;
- signed int signed_integer;
+ unsigned char unsigned_char;
+ char signed_char;
+ unsigned short unsigned_short;
+ signed short signed_short;
+ unsigned int unsigned_int;
+ signed int signed_int;
unsigned long unsigned_long;
signed long signed_long;
unsigned long long unsigned_long_long;
signed long long signed_long_long;
float floating;
+ void *voidptr;
char str[PATH_MAX];
+ char *strlptr[255];
};
struct TestCase {