Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F25451643
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
2 KB
Referenced Files
None
Subscribers
None
View Options
diff --git a/tests/test.c b/tests/test.c
index 65016c3..a9ad083 100644
--- a/tests/test.c
+++ b/tests/test.c
@@ -1,47 +1,47 @@
/* -------------------------------------------------------------
RabbitMQ TCL - Unit testing
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
___ __ \_____ ___ /____ /____(_)_ /___ |/ /_ __ \
__ /_/ / __ `/_ __ \_ __ \_ /_ __/_ /|_/ /_ / / /
_ _, _// /_/ /_ /_/ / /_/ / / / /_ _ / / / / /_/ /
/_/ |_| \__,_/ /_.___//_.___//_/ \__/ /_/ /_/ \___\_\
_____________________
RabbitMQ C AMQP client library TCL wrapper ___ __/_ ____/__ /
TCL module to connect to AMQP brokers. __ / _ / __ /
_ / / /___ _ /___
(c) 2015, Nasqueron, some rights reserved. /_/ \____/ /_____/
Released under BSD-2-Clause license.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Software: RabbitMQ TCL
Author: Sébastien Santoro aka Dereckson
Filename: test.c
Created: 2015-12-12
Licence: BSD-2-Clause
------------------------------------------------------------- */
#include <stdarg.h>
#include <stddef.h>
#include <setjmp.h>
#include <cmocka.h>
#include "test.h"
/* -------------------------------------------------------------
Test entry point
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
int main(void) {
const UnitTest tests[] = {
// netutils
- unit_test(test_get_host), unit_test(test_get_port),
+ unit_test(test_get_host), unit_test(test_get_port),
// strutils
- unit_test(test_strpos), unit_test(test_str_replace),
+ unit_test(test_strpos), unit_test(test_str_replace),
// helper functions
unit_test(test_is_mq_connected),
};
return run_tests(tests);
}
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Thu, Apr 16, 05:27 (1 d, 6 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3626567
Default Alt Text
(2 KB)
Attached To
Mode
rRABBITMQTCL RabbitMQ TCL extension
Attached
Detach File
Event Timeline
Log In to Comment