• Home
  • Raw
  • Download

Lines Matching +full:test +full:- +full:sequencer

6 to the network-related apis inside lws.
12 ![lws_abstract overview](/doc-assets/abstract-overview.svg)
32 up the protocol implementation to a test jig sending canned
33 test vectors and confirming the response at buffer level, without
39 protocol and the transport are passed in at instantiation-time,
43 and lws provides a raw socket transport built-in.
50- [abstract.h](https://libwebsockets.org/git/libwebsockets/tree/include/libwebsockets/abstract/abs…
51- [protocols.h](https://libwebsockets.org/git/libwebsockets/tree/include/libwebsockets/abstract/pr…
52- [transports.h](https://libwebsockets.org/git/libwebsockets/tree/include/libwebsockets/abstract/t…
76 At the moment only "`raw-skt`" is defined as an lws built-in, athough
78 test jigs.
81 |---|---|
93 |---|---|
133 - add the public header in `./include/libwebsockets/abstract/protocols/`
134 - add a directory under `./lib/abstract/protocols/`
135 - add your protocol sources in the new directory
136 - in CMakeLists.txt:
137 - add an `LWS_WITH_xxx` for your protocol
138 - search for "using any abstract protocol" and add your `LWS_WITH_xxx` to
140 - add a clause to append your source to SOURCES if `LWS_WITH_xxx` enabled
141 - add your `lws_abs_protocol` to the list `available_abs_protocols` in
146 - add the public header in `./include/libwebsockets/abstract/transports/`
147 - add your transport sources under `./lib/abstract/transports/`
148 - in CMakeLists.txt append your transport sources to SOURCES if `LWS_WITH_ABSTRACT`
150 - add an extern for your transport `lws_protocols` in `./lib/core-net/private.h`
151 - add your transport `lws_protocols` to `available_abstract_protocols` in
152 `./lib/core-net/vhost.c`
153 - add your `lws_abs_transport` to the list `available_abs_transports` in
162 protocol test vector buffers and confirming the response of the protocol matches
163 the test vectors.
165 ## test-sequencer section in Protocol testing
167 test-sequencer is a helper that sequences running an array of unit tests and
170 See the SMTP client api test for an example of how to use.