Coda Distributed File System
Loading...
Searching...
No Matches
Functions
tcpftp_ut.cc File Reference
#include <arpa/inet.h>
#include <string.h>
#include <gtest/gtest.h>
#include <rpc2/rpc2.h>
#include <rpc2/tcpftp.h>
#include "ctp.h"
Include dependency graph for tcpftp_ut.cc:

Functions

 TEST (tcpftp, blocksize_is_eight)
 
 TEST (tcpftp, pack_writes_eight_bytes)
 
 TEST (tcpftp, roundtrip_only_cookie_crosses)
 
 TEST (tcpftp, pack_rejects_undersized_buffer)
 
 TEST (tcpftp, unpack_rejects_short_buffer)
 
 TEST (tcpftp, unpack_rejects_trailing_bytes)
 
 TEST (tcpftp, unpack_null_safety)
 
 TEST (tcpftp, capability_flag_does_not_collide)
 
 TEST (tcpftp, upgrade_gate_default_off)
 
 TEST (tcpftp, reglen_unlimited_convention)
 
 TEST (tcpftp, reglen_positive_quota_caps)
 
 TEST (tcpftp, request_wire_layout)
 

Function Documentation

◆ TEST() [1/12]

TEST ( tcpftp  ,
blocksize_is_eight   
)

◆ TEST() [2/12]

TEST ( tcpftp  ,
capability_flag_does_not_collide   
)

◆ TEST() [3/12]

TEST ( tcpftp  ,
pack_rejects_undersized_buffer   
)

◆ TEST() [4/12]

TEST ( tcpftp  ,
pack_writes_eight_bytes   
)

◆ TEST() [5/12]

TEST ( tcpftp  ,
reglen_positive_quota_caps   
)

◆ TEST() [6/12]

TEST ( tcpftp  ,
reglen_unlimited_convention   
)

◆ TEST() [7/12]

TEST ( tcpftp  ,
request_wire_layout   
)

◆ TEST() [8/12]

TEST ( tcpftp  ,
roundtrip_only_cookie_crosses   
)

◆ TEST() [9/12]

TEST ( tcpftp  ,
unpack_null_safety   
)

◆ TEST() [10/12]

TEST ( tcpftp  ,
unpack_rejects_short_buffer   
)

◆ TEST() [11/12]

TEST ( tcpftp  ,
unpack_rejects_trailing_bytes   
)

◆ TEST() [12/12]

TEST ( tcpftp  ,
upgrade_gate_default_off   
)