Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F12239314
test.c
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
test.c
View Options
/* -------------------------------------------------------------
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
),
// strutils
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-c
Expires
Sat, Oct 11, 21:19 (1 d, 27 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3064048
Default Alt Text
test.c (1 KB)
Attached To
Mode
rRABBITMQTCL RabbitMQ TCL extension
Attached
Detach File
Event Timeline
Log In to Comment