ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
test_socket_ipi.cpp File Reference
#include "../socket_ipi.h"
#include "gtest/gtest.h"
#include <cerrno>
#include <cstdint>
#include <cstdlib>
#include <cstring>
#include <exception>
#include <limits>
#include <stdexcept>
#include <string>
#include <sys/socket.h>
#include <sys/un.h>
#include <thread>
#include <unistd.h>
#include <vector>
Include dependency graph for test_socket_ipi.cpp:

Functions

 TEST (IpiSocketTest, WriteHeaderPadsToTwelveBytes)
 TEST (IpiSocketTest, CleanPeerCloseBeforeNextHeaderThrowsDedicatedSignal)
 TEST (IpiSocketTest, PartialHeaderCloseStaysRuntimeError)
 TEST (IpiSocketTest, Int32UsesExactlyFourNativeEndianBytes)
 TEST (IpiSocketTest, DoubleUsesExactlyEightNativeEndianBytes)
 TEST (IpiSocketTest, ReadInt32HandlesSplitPayload)
 TEST (IpiSocketTest, ReadInt32RejectsMidPayloadClose)
 TEST (IpiSocketTest, WriteDoublesCompletesLargePayloadWithSmallPeerReads)
 TEST (IpiSocketTest, ReadDoublesRejectsByteCountOverflow)
 TEST (IpiSocketTest, WriteStringSendsExactBytesWithoutTerminator)

Function Documentation

◆ TEST() [1/10]

TEST ( IpiSocketTest ,
CleanPeerCloseBeforeNextHeaderThrowsDedicatedSignal  )
Here is the call graph for this function:

◆ TEST() [2/10]

TEST ( IpiSocketTest ,
DoubleUsesExactlyEightNativeEndianBytes  )
Here is the call graph for this function:

◆ TEST() [3/10]

TEST ( IpiSocketTest ,
Int32UsesExactlyFourNativeEndianBytes  )
Here is the call graph for this function:

◆ TEST() [4/10]

TEST ( IpiSocketTest ,
PartialHeaderCloseStaysRuntimeError  )
Here is the call graph for this function:

◆ TEST() [5/10]

TEST ( IpiSocketTest ,
ReadDoublesRejectsByteCountOverflow  )
Here is the call graph for this function:

◆ TEST() [6/10]

TEST ( IpiSocketTest ,
ReadInt32HandlesSplitPayload  )
Here is the call graph for this function:

◆ TEST() [7/10]

TEST ( IpiSocketTest ,
ReadInt32RejectsMidPayloadClose  )
Here is the call graph for this function:

◆ TEST() [8/10]

TEST ( IpiSocketTest ,
WriteDoublesCompletesLargePayloadWithSmallPeerReads  )
Here is the call graph for this function:

◆ TEST() [9/10]

TEST ( IpiSocketTest ,
WriteHeaderPadsToTwelveBytes  )
Here is the call graph for this function:

◆ TEST() [10/10]

TEST ( IpiSocketTest ,
WriteStringSendsExactBytesWithoutTerminator  )
Here is the call graph for this function: