projects
/
m6w6
/
libmemcached
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
|
inline
| side by side (parent:
9ce1a02
)
fix whitespace.
author
Brian Aker
<brian@gaz>
Sat, 19 Dec 2009 03:04:33 +0000
(19:04 -0800)
committer
Brian Aker
<brian@gaz>
Sat, 19 Dec 2009 03:04:33 +0000
(19:04 -0800)
tests/test.c
patch
|
blob
|
history
tests/test.h
patch
|
blob
|
history
diff --git
a/tests/test.c
b/tests/test.c
index a10cc47655097d86383328880d5257e421c8d02b..7cfb8395d69c66b230c1c2627149255c98e48216 100644
(file)
--- a/
tests/test.c
+++ b/
tests/test.c
@@
-57,7
+57,6
@@
const char *test_strerror(test_return_t code)
fprintf(stderr, "Unknown return value\n");
abort();
}
fprintf(stderr, "Unknown return value\n");
abort();
}
-
}
void create_core(void)
}
void create_core(void)
diff --git
a/tests/test.h
b/tests/test.h
index 302a09075ea3a8b22b51cc78be1c0b82509c8253..051262911e36e48225da783a372329835fe122cd 100644
(file)
--- a/
tests/test.h
+++ b/
tests/test.h
@@
-57,7
+57,7
@@
struct collection_st {
/**
/**
- Structure which houses the actual callers for the test cases contained in
+ Structure which houses the actual callers for the test cases contained in
the collections.
*/
typedef struct {
the collections.
*/
typedef struct {
@@
-75,7
+75,7
@@
typedef struct {
struct world_st {
collection_st *collections;
struct world_st {
collection_st *collections;
-
+
/* These methods are called outside of any collection call. */
test_callback_create_fn create;
test_callback_fn destroy;
/* These methods are called outside of any collection call. */
test_callback_create_fn create;
test_callback_fn destroy;
@@
-92,15
+92,15
@@
struct world_st {
*/
test_callback_fn pre_run;
test_callback_fn post_run;
*/
test_callback_fn pre_run;
test_callback_fn post_run;
-
- /**
+
+ /**
If an error occurs during the test, this is called.
*/
test_callback_error_fn on_error;
/**
Runner represents the callers for the tests. If not implemented we will use
If an error occurs during the test, this is called.
*/
test_callback_error_fn on_error;
/**
Runner represents the callers for the tests. If not implemented we will use
- a set of default implementations.
+ a set of default implementations.
*/
world_runner_st *runner;
};
*/
world_runner_st *runner;
};