wxMaxima
Loading...
Searching...
No Matches
Data Structures | Macros | Typedefs | Functions
test_InterruptChannel.cpp File Reference

Tests the channel wxMaxima interrupts Maxima through (GH #2289): the handshake that decides whether a connection may interrupt Maxima, and the channel itself over a real local socket, with the test playing Maxima's part. More...

#include "InterruptChannelHandshake.h"
#include "MaximaAuthLine.h"
#include "MaximaInterruptChannel.h"
#include <wx/app.h>
#include <wx/evtloop.h>
#include <wx/log.h>
#include <wx/socket.h>
#include <wx/stopwatch.h>
#include <cstdio>
#include <cstring>
#include <functional>
#include <memory>
#include <string>
#include <catch2/catch.hpp>
Include dependency graph for test_InterruptChannel.cpp:

Data Structures

class  TestApp
 

Typedefs

using State = InterruptChannelHandshake::State
 

Functions

 SCENARIO ("Maxima's auth= line is checked and never left in the text")
 
 SCENARIO ("The interrupt channel handshake only accepts the secret")
 
 SCENARIO ("The interrupt channel carries interrupts to Maxima")
 
 wxDECLARE_APP (TestApp)
 
 wxIMPLEMENT_APP_NO_MAIN (TestApp)
 
int main (int argc, char **argv)
 

Detailed Description

Tests the channel wxMaxima interrupts Maxima through (GH #2289): the handshake that decides whether a connection may interrupt Maxima, and the channel itself over a real local socket, with the test playing Maxima's part.