repo_name stringclasses 10
values | file_path stringlengths 29 222 | content stringlengths 24 926k | extention stringclasses 5
values |
|---|---|---|---|
fprime | data/projects/fprime/Svc/BufferAccumulator/test/ut/Errors.hpp | // ======================================================================
// \title Errors.hpp
// \author bocchino, mereweth
// \brief Test errors
//
// \copyright
// Copyright (c) 2017 California Institute of Technology.
// ALL RIGHTS RESERVED. United States Government Sponsorship
// acknowledged.
//
// ===========... | hpp |
fprime | data/projects/fprime/Svc/BufferAccumulator/test/ut/Drain.hpp | // ======================================================================
// \title Drain.hpp
// \author bocchino, mereweth
// \brief Test drain mode
//
// \copyright
// Copyright (c) 2017 California Institute of Technology.
// ALL RIGHTS RESERVED. United States Government Sponsorship
// acknowledged.
//
// ========... | hpp |
fprime | data/projects/fprime/Svc/BufferAccumulator/test/ut/BufferAccumulatorTester.hpp | // ======================================================================
// \title BufferAccumulatorTester.hpp
// \author bocchino, mereweth
// \brief BufferAccumulator test harness interface
//
// \copyright
// Copyright 2009-2017, by the California Institute of Technology.
// ALL RIGHTS RESERVED. United States Go... | hpp |
fprime | data/projects/fprime/Svc/BufferAccumulator/test/ut/Health.hpp | // ======================================================================
// \title Health.hpp
// \author bocchino, mereweth
// \brief Interface for Buffer Accumulator health tests
//
// \copyright
// Copyright (C) 2017 California Institute of Technology.
// ALL RIGHTS RESERVED. United States Government Sponsorship
... | hpp |
fprime | data/projects/fprime/Svc/BufferAccumulator/test/ut/Drain.cpp | // ======================================================================
// \title Drain.hpp
// \author bocchino, mereweth
// \brief Test drain mode
//
// \copyright
// Copyright (c) 2017 California Institute of Technology.
// ALL RIGHTS RESERVED. United States Government Sponsorship
// acknowledged.
//
// ========... | cpp |
fprime | data/projects/fprime/Svc/BufferAccumulator/test/ut/BufferAccumulatorMain.cpp | // ======================================================================
// \title Main.cpp
// \author bocchino, mereweth
// \brief Test drain mode
//
// \copyright
// Copyright (c) 2017 California Institute of Technology.
// ALL RIGHTS RESERVED. United States Government Sponsorship
// acknowledged.
//
// =========... | cpp |
fprime | data/projects/fprime/Svc/BufferAccumulator/test/ut/Accumulate.cpp | // ======================================================================
// \title Accumulate.hpp
// \author bocchino, mereweth
// \brief Test drain mode
//
// \copyright
// Copyright (c) 2017 California Institute of Technology.
// ALL RIGHTS RESERVED. United States Government Sponsorship
// acknowledged.
//
// ===... | cpp |
fprime | data/projects/fprime/Svc/ComQueue/ComQueue.cpp | // ======================================================================
// \title ComQueue.cpp
// \author vbai
// \brief cpp file for ComQueue component implementation class
// ======================================================================
#include <Fw/Types/Assert.hpp>
#include <Svc/ComQueue/ComQueue.hpp>... | cpp |
fprime | data/projects/fprime/Svc/ComQueue/ComQueue.hpp | // ======================================================================
// \title ComQueue.hpp
// \author vbai
// \brief hpp file for ComQueue component implementation class
// ======================================================================
#ifndef Svc_ComQueue_HPP
#define Svc_ComQueue_HPP
#include <Fw/Buf... | hpp |
fprime | data/projects/fprime/Svc/ComQueue/test/ut/ComQueueTester.cpp | // ======================================================================
// \title ComQueue.hpp
// \author vbai
// \brief cpp file for ComQueue test harness implementation class
// ======================================================================
#include "ComQueueTester.hpp"
#include "Fw/Types/MallocAllocator... | cpp |
fprime | data/projects/fprime/Svc/ComQueue/test/ut/ComQueueTester.hpp | // ======================================================================
// \title ComQueue/test/ut/Tester.hpp
// \author vbai
// \brief hpp file for ComQueue test harness implementation class
// ======================================================================
#ifndef TESTER_HPP
#define TESTER_HPP
#include "... | hpp |
fprime | data/projects/fprime/Svc/ComQueue/test/ut/ComQueueTestMain.cpp | // ----------------------------------------------------------------------
// TestMain.cpp
// ----------------------------------------------------------------------
#include "ComQueueTester.hpp"
TEST(Nominal, Send) {
Svc::ComQueueTester tester;
tester.testQueueSend();
}
TEST(Nominal, Pause) {
Svc::ComQueu... | cpp |
fprime | data/projects/fprime/Svc/FileDownlink/Warnings.cpp | // ======================================================================
// \title Warnings.cpp
// \author bocchino
// \brief cpp file for FileDownlink::Warnings
//
// \copyright
// Copyright 2009-2015, by the California Institute of Technology.
// ALL RIGHTS RESERVED. United States Government Sponsorship
// acknow... | cpp |
fprime | data/projects/fprime/Svc/FileDownlink/File.cpp | // ======================================================================
// \title File.cpp
// \author bocchino
// \brief cpp file for FileDownlink::File
//
// \copyright
// Copyright 2009-2015, by the California Institute of Technology.
// ALL RIGHTS RESERVED. United States Government Sponsorship
// acknowledged.
... | cpp |
fprime | data/projects/fprime/Svc/FileDownlink/FileDownlink.cpp | // ======================================================================
// \title FileDownlink.hpp
// \author bocchino, mstarch
// \brief hpp file for FileDownlink component implementation class
//
// \copyright
// Copyright 2009-2015, by the California Institute of Technology.
// ALL RIGHTS RESERVED. United State... | cpp |
fprime | data/projects/fprime/Svc/FileDownlink/FileDownlink.hpp | // ======================================================================
// \title FileDownlink.hpp
// \author bocchino, mstarch
// \brief hpp file for FileDownlink component implementation class
//
// \copyright
// Copyright 2009-2015, by the California Institute of Technology.
// ALL RIGHTS RESERVED. United State... | hpp |
fprime | data/projects/fprime/Svc/FileDownlink/test/ut/FileDownlinkTester.cpp | // ======================================================================
// \title FileDownlinkTester.cpp
// \author bocchino
// \brief cpp file for FileDownlink test harness implementation class
//
// \copyright
// Copyright 2009-2015, by the California Institute of Technology.
// ALL RIGHTS RESERVED. United State... | cpp |
fprime | data/projects/fprime/Svc/FileDownlink/test/ut/FileBuffer.cpp | // ======================================================================
// \title FileBuffer.hpp
// \author bocchino
// \brief cpp file for FileDownlinkTester::FileBuffer
//
// \copyright
// Copyright 2009-2015, by the California Institute of Technology.
// ALL RIGHTS RESERVED. United States Government Sponsorship... | cpp |
fprime | data/projects/fprime/Svc/FileDownlink/test/ut/FileDownlinkTester.hpp | // ======================================================================
// \title FileDownlink/test/ut/Tester.hpp
// \author bocchino
// \brief hpp file for FileDownlink test harness implementation class
//
// \copyright
// Copyright 2009-2015, by the California Institute of Technology.
// ALL RIGHTS RESERVED. Uni... | hpp |
fprime | data/projects/fprime/Svc/FileDownlink/test/ut/FileDownlinkMain.cpp | // ----------------------------------------------------------------------
// Main.cpp
// ----------------------------------------------------------------------
#include "FileDownlinkTester.hpp"
TEST(FileDownlink, Downlink) {
Svc::FileDownlinkTester tester;
tester.downlink();
}
TEST(FileDownlink, FileOpenError) ... | cpp |
fprime | data/projects/fprime/TestUtils/OnChangeChannel.hpp | // ======================================================================
// \title OnChangeChannel.hpp
// \author Rob Bocchino
// \brief A model of an on-change channel for testing
//
// \copyright
// Copyright (C) 2023 California Institute of Technology.
// ALL RIGHTS RESERVED. United States Government Sponsorship... | hpp |
fprime | data/projects/fprime/TestUtils/Option.hpp | // ======================================================================
// \title Option.hpp
// \author Rob Bocchino
// \brief An option type for unit testing
//
// \copyright
// Copyright (C) 2023 California Institute of Technology.
// ALL RIGHTS RESERVED. United States Government Sponsorship
// acknowledged. Any... | hpp |
fprime | data/projects/fprime/Ref/Main.cpp | // ======================================================================
// \title Main.cpp
// \author mstarch
// \brief main program for reference application. Intended for CLI-based systems (Linux, macOS)
//
// \copyright
// Copyright 2009-2022, by the California Institute of Technology.
// ALL RIGHTS RESERVED. Un... | cpp |
fprime | data/projects/fprime/Ref/TypeDemo/TypeDemo.hpp | // ======================================================================
// \title TypeDemo.hpp
// \author mstarch
// \brief hpp file for TypeDemo component implementation class
// ======================================================================
#ifndef TypeDemo_HPP
#define TypeDemo_HPP
#include "Ref/TypeDem... | hpp |
fprime | data/projects/fprime/Ref/TypeDemo/TypeDemo.cpp | // ======================================================================
// \title TypeDemo.cpp
// \author mstarch
// \brief cpp file for TypeDemo component implementation class
// ======================================================================
#include <FpConfig.hpp>
#include <Ref/TypeDemo/TypeDemo.hpp>
#in... | cpp |
fprime | data/projects/fprime/Ref/SignalGen/SignalGen.cpp | // ======================================================================
// \title SequenceFileLoader.cpp
// \author bocchino
// \brief cpp file for SequenceFileLoader component implementation class
//
// \copyright
// Copyright (C) 2009-2016 California Institute of Technology.
// ALL RIGHTS RESERVED. United States... | cpp |
fprime | data/projects/fprime/Ref/SignalGen/SignalGen.hpp | // ======================================================================
// \title SignalGen.hpp
// \author bocchino
// \brief hpp file for SequenceFileLoader component implementation class
//
// \copyright
// Copyright (C) 2009-2016 California Institute of Technology.
// ALL RIGHTS RESERVED. United States Governme... | hpp |
fprime | data/projects/fprime/Ref/SignalGen/test/ut/SignalGenTester.cpp | // ======================================================================
// \title SignalGen.hpp
// \author mstarch
// \brief cpp file for SignalGen test harness implementation class
//
// \copyright
// Copyright 2009-2015, by the California Institute of Technology.
// ALL RIGHTS RESERVED. United States Government ... | cpp |
fprime | data/projects/fprime/Ref/SignalGen/test/ut/SignalGenTester.hpp | // ======================================================================
// \title SignalGen/test/ut/Tester.hpp
// \author mstarch
// \brief hpp file for SignalGen test harness implementation class
//
// \copyright
// Copyright 2009-2015, by the California Institute of Technology.
// ALL RIGHTS RESERVED. United Sta... | hpp |
fprime | data/projects/fprime/Ref/SignalGen/test/ut/SignalGenTestMain.cpp | // ----------------------------------------------------------------------
// TestMain.cpp
// ----------------------------------------------------------------------
#include "SignalGenTester.hpp"
TEST(Nominal, TestStart) {
Ref::SignalGenTester tester;
tester.test_start();
}
int main(int argc, char **argv) {
... | cpp |
fprime | data/projects/fprime/Ref/PingReceiver/PingReceiverComponentImpl.cpp | // ======================================================================
// \title PingReceiverImpl.cpp
// \author tim
// \brief cpp file for PingReceiver component implementation class
//
// \copyright
// Copyright 2009-2015, by the California Institute of Technology.
// ALL RIGHTS RESERVED. United States Governme... | cpp |
fprime | data/projects/fprime/Ref/PingReceiver/PingReceiver.hpp | // ======================================================================
// PingReceiver.hpp
// Standardization header for PingReceiver
// ======================================================================
#ifndef Ref_PingReceiver_HPP
#define Ref_PingReceiver_HPP
#include "Ref/PingReceiver/PingReceiverComponentI... | hpp |
fprime | data/projects/fprime/Ref/PingReceiver/PingReceiverComponentImpl.hpp | // ======================================================================
// \title PingReceiverImpl.hpp
// \author tim
// \brief hpp file for PingReceiver component implementation class
//
// \copyright
// Copyright 2009-2015, by the California Institute of Technology.
// ALL RIGHTS RESERVED. United States Governme... | hpp |
fprime | data/projects/fprime/Ref/SendBuffApp/SendBuffComponentImpl.cpp | #include <Ref/SendBuffApp/SendBuffComponentImpl.hpp>
#include <FpConfig.hpp>
#include <Fw/Types/Assert.hpp>
#include <Os/Log.hpp>
#include <cstring>
#include <cstdio>
#define DEBUG_LEVEL 1
namespace Ref {
SendBuffImpl::SendBuffImpl(const char* compName) :
SendBuffComponentBase(compName) {
this->... | cpp |
fprime | data/projects/fprime/Ref/SendBuffApp/SendBuffComponentImpl.hpp | #ifndef REF_LPS_ATM_IMPL_HPP
#define REF_LPS_ATM_IMPL_HPP
#include <Ref/SendBuffApp/SendBuffComponentAc.hpp>
namespace Ref {
/// This component sends a data buffer to a driver each time it is invoked by a scheduler
class SendBuffImpl : public SendBuffComponentBase {
public:
// Only call... | hpp |
fprime | data/projects/fprime/Ref/SendBuffApp/SendBuff.hpp | // ======================================================================
// SendBuff.hpp
// Standardization header for SendBuff
// ======================================================================
#ifndef Ref_SendBuff_HPP
#define Ref_SendBuff_HPP
#include "Ref/SendBuffApp/SendBuffComponentImpl.hpp"
namespace R... | hpp |
fprime | data/projects/fprime/Ref/Top/RefTopology.hpp | // ======================================================================
// \title Topology.hpp
// \author mstarch
// \brief header file containing the topology instantiation definitions
//
// \copyright
// Copyright 2009-2022, by the California Institute of Technology.
// ALL RIGHTS RESERVED. United States Governme... | hpp |
fprime | data/projects/fprime/Ref/Top/RefTopologyDefs.hpp | // ======================================================================
// \title RefTopologyDefs.hpp
// \author mstarch
// \brief required header file containing the required definitions for the topology autocoder
//
// \copyright
// Copyright 2009-2022, by the California Institute of Technology.
// ALL RIGHTS RESE... | hpp |
fprime | data/projects/fprime/Ref/Top/RefTopology.cpp | // ======================================================================
// \title Topology.cpp
// \author mstarch
// \brief cpp file containing the topology instantiation code
//
// \copyright
// Copyright 2009-2022, by the California Institute of Technology.
// ALL RIGHTS RESERVED. United States Government Sponsor... | cpp |
fprime | data/projects/fprime/Ref/RecvBuffApp/RecvBuffComponentImpl.hpp | #ifndef REF_LPR_ATM_IMPL_HPP
#define REF_LPR_ATM_IMPL_HPP
#include <Ref/RecvBuffApp/RecvBuffComponentAc.hpp>
namespace Ref {
class RecvBuffImpl : public RecvBuffComponentBase {
public:
// Only called by derived class
RecvBuffImpl(const char* compName);
void init(NATI... | hpp |
fprime | data/projects/fprime/Ref/RecvBuffApp/RecvBuffComponentImpl.cpp | #include <Ref/RecvBuffApp/RecvBuffComponentImpl.hpp>
#include <FpConfig.hpp>
#include <Os/Log.hpp>
#include <Fw/Types/Assert.hpp>
#include <cstdio>
#define DEBUG_LVL 1
namespace Ref {
RecvBuffImpl::RecvBuffImpl(const char* compName) :
RecvBuffComponentBase(compName) {
this->m_firstBuffReceiv... | cpp |
fprime | data/projects/fprime/Ref/RecvBuffApp/RecvBuff.hpp | // ======================================================================
// RecvBuff.hpp
// Standardization header for RecvBuff
// ======================================================================
#ifndef Ref_RecvBuff_HPP
#define Ref_RecvBuff_HPP
#include "Ref/RecvBuffApp/RecvBuffComponentImpl.hpp"
namespace R... | hpp |
fprime | data/projects/fprime/Drv/Ip/TcpServerSocket.cpp | // ======================================================================
// \title TcpServerSocket.cpp
// \author mstarch
// \brief cpp file for TcpServerSocket core implementation classes
//
// \copyright
// Copyright 2009-2020, by the California Institute of Technology.
// ALL RIGHTS RESERVED. United States Gover... | cpp |
fprime | data/projects/fprime/Drv/Ip/TcpClientSocket.cpp | // ======================================================================
// \title TcpClientSocket.cpp
// \author mstarch
// \brief cpp file for TcpClientSocket core implementation classes
//
// \copyright
// Copyright 2009-2020, by the California Institute of Technology.
// ALL RIGHTS RESERVED. United States Gover... | cpp |
fprime | data/projects/fprime/Drv/Ip/SocketReadTask.hpp | // ======================================================================
// \title SocketReadTask.hpp
// \author mstarch
// \brief hpp file for SocketReadTask implementation class
//
// \copyright
// Copyright 2009-2020, by the California Institute of Technology.
// ALL RIGHTS RESERVED. United States Government Spo... | hpp |
fprime | data/projects/fprime/Drv/Ip/UdpSocket.hpp | // ======================================================================
// \title UdpSocket.hpp
// \author mstarch
// \brief hpp file for UdpSocket core implementation classes
//
// \copyright
// Copyright 2009-2020, by the California Institute of Technology.
// ALL RIGHTS RESERVED. United States Government Sponso... | hpp |
fprime | data/projects/fprime/Drv/Ip/IpSocket.hpp | // ======================================================================
// \title IpSocket.hpp
// \author mstarch
// \brief hpp file for IpSocket core implementation classes
//
// \copyright
// Copyright 2009-2020, by the California Institute of Technology.
// ALL RIGHTS RESERVED. United States Government Sponsors... | hpp |
fprime | data/projects/fprime/Drv/Ip/TcpServerSocket.hpp | // ======================================================================
// \title TcpServerSocket.hpp
// \author mstarch
// \brief hpp file for TcpServerSocket core implementation classes
//
// \copyright
// Copyright 2009-2020, by the California Institute of Technology.
// ALL RIGHTS RESERVED. United States Gover... | hpp |
fprime | data/projects/fprime/Drv/Ip/TcpClientSocket.hpp | // ======================================================================
// \title TcpClientSocket.hpp
// \author mstarch
// \brief cpp file for TcpClientSocket core implementation classes
//
// \copyright
// Copyright 2009-2020, by the California Institute of Technology.
// ALL RIGHTS RESERVED. United States Gover... | hpp |
fprime | data/projects/fprime/Drv/Ip/IpSocket.cpp | // ======================================================================
// \title IpSocket.cpp
// \author mstarch
// \brief cpp file for IpSocket core implementation classes
//
// \copyright
// Copyright 2009-2020, by the California Institute of Technology.
// ALL RIGHTS RESERVED. United States Government Sponsors... | cpp |
fprime | data/projects/fprime/Drv/Ip/UdpSocket.cpp | // ======================================================================
// \title UdpSocket.cpp
// \author mstarch
// \brief cpp file for UdpSocket core implementation classes
//
// \copyright
// Copyright 2009-2020, by the California Institute of Technology.
// ALL RIGHTS RESERVED. United States Government Sponso... | cpp |
fprime | data/projects/fprime/Drv/Ip/SocketReadTask.cpp | // ======================================================================
// \title SocketReadTask.cpp
// \author mstarch
// \brief cpp file for SocketReadTask implementation class
//
// \copyright
// Copyright 2009-2020, by the California Institute of Technology.
// ALL RIGHTS RESERVED. United States Government Spo... | cpp |
fprime | data/projects/fprime/Drv/Ip/test/ut/PortSelector.hpp | //
// Created by mstarch on 12/10/20.
//
#include <FpConfig.hpp>
#ifndef DRV_TEST_PORTSELECTOR_HPP
#define DRV_TEST_PORTSELECTOR_HPP
namespace Drv {
namespace Test {
/**
* \brief returns a (currently) unused port
*
* Tests working with TCP often need ports to be unused. This presents a problem when looking to bind... | hpp |
fprime | data/projects/fprime/Drv/Ip/test/ut/SocketTestHelper.cpp | //
// Created by mstarch on 12/10/20.
//
#include <Os/Task.hpp>
#include <Drv/Ip/test/ut/SocketTestHelper.hpp>
#include "STest/Pick/Pick.hpp"
#include <gtest/gtest.h>
#include <sys/socket.h>
#include <unistd.h>
#include <cerrno>
#include <arpa/inet.h>
namespace Drv {
namespace Test {
const U32 MAX_DRV_TEST_MESSAGE_S... | cpp |
fprime | data/projects/fprime/Drv/Ip/test/ut/SocketTestHelper.hpp | //
// Created by mstarch on 12/10/20.
//
#include <FpConfig.hpp>
#include <Fw//Buffer/Buffer.hpp>
#include <Drv/Ip/IpSocket.hpp>
#ifndef DRV_TEST_SOCKETHELPER_HPP
#define DRV_TEST_SOCKETHELPER_HPP
// Drv::Test namespace
namespace Drv {
namespace Test {
/**
* Force a receive timeout on a socket such that it will no... | hpp |
fprime | data/projects/fprime/Drv/Ip/test/ut/TestUdp.cpp | //
// Created by mstarch on 12/7/20.
//
#include <gtest/gtest.h>
#include <Drv/Ip/UdpSocket.hpp>
#include <Drv/Ip/IpSocket.hpp>
#include <Os/Log.hpp>
#include <Fw/Logger/Logger.hpp>
#include <Drv/Ip/test/ut/PortSelector.hpp>
#include <Drv/Ip/test/ut/SocketTestHelper.hpp>
Os::Log logger;
void test_with_loop(U32 iterat... | cpp |
fprime | data/projects/fprime/Drv/Ip/test/ut/TestTcp.cpp | //
// Created by mstarch on 12/7/20.
//
#include <gtest/gtest.h>
#include <Drv/Ip/TcpClientSocket.hpp>
#include <Drv/Ip/TcpServerSocket.hpp>
#include <Drv/Ip/IpSocket.hpp>
#include <Os/Log.hpp>
#include <Fw/Logger/Logger.hpp>
#include <Drv/Ip/test/ut/PortSelector.hpp>
#include <Drv/Ip/test/ut/SocketTestHelper.hpp>
Os:... | cpp |
fprime | data/projects/fprime/Drv/Ip/test/ut/PortSelector.cpp | //
// Created by mstarch on 12/10/20.
//
#include "PortSelector.hpp"
#include <sys/socket.h>
#include <unistd.h>
#include <cerrno>
#include <arpa/inet.h>
namespace Drv {
namespace Test {
U16 get_free_port(bool udp) {
struct sockaddr_in address;
NATIVE_INT_TYPE socketFd = -1;
// Acquire a socket, or retur... | cpp |
fprime | data/projects/fprime/Drv/Udp/UdpComponentImpl.hpp | // ======================================================================
// \title UdpComponentImpl.hpp
// \author mstarch
// \brief hpp file for UdpComponentImpl component implementation class
//
// \copyright
// Copyright 2009-2020, by the California Institute of Technology.
// ALL RIGHTS RESERVED. United States ... | hpp |
fprime | data/projects/fprime/Drv/Udp/UdpComponentImpl.cpp | // ======================================================================
// \title UdpComponentImpl.cpp
// \author mstarch
// \brief cpp file for UdpComponentImpl component implementation class
//
// \copyright
// Copyright 2009-2020, by the California Institute of Technology.
// ALL RIGHTS RESERVED. United States ... | cpp |
fprime | data/projects/fprime/Drv/Udp/Udp.hpp | // ======================================================================
// Udp.hpp
// Standardization header for Udp
// ======================================================================
#ifndef Drv_Udp_HPP
#define Drv_Udp_HPP
#include "Drv/Udp/UdpComponentImpl.hpp"
namespace Drv {
typedef UdpComponentImpl ... | hpp |
fprime | data/projects/fprime/Drv/Udp/test/ut/UdpTestMain.cpp | // ----------------------------------------------------------------------
// TestMain.cpp
// ----------------------------------------------------------------------
#include "UdpTester.hpp"
TEST(Nominal, BasicMessaging) {
Drv::UdpTester tester;
tester.test_basic_messaging();
}
TEST(Nominal, BasicReceiveThread... | cpp |
fprime | data/projects/fprime/Drv/Udp/test/ut/UdpTester.hpp | // ======================================================================
// \title TcpClient/test/ut/Tester.hpp
// \author mstarch
// \brief hpp file for ByteStreamDriverModel test harness implementation class
//
// \copyright
// Copyright 2009-2015, by the California Institute of Technology.
// ALL RIGHTS RESERVED.... | hpp |
fprime | data/projects/fprime/Drv/Udp/test/ut/UdpTester.cpp | // ======================================================================
// \title UdpTester.cpp
// \author mstarch
// \brief cpp file for UdpTester for Udp
//
// \copyright
// Copyright 2009-2015, by the California Institute of Technology.
// ALL RIGHTS RESERVED. United States Government Sponsorship
// acknowledge... | cpp |
fprime | data/projects/fprime/Drv/LinuxUartDriver/LinuxUartDriver.hpp | // ======================================================================
// \title LinuxUartDriverImpl.hpp
// \author tcanham
// \brief hpp file for LinuxUartDriver component implementation class
//
// \copyright
// Copyright 2009-2015, by the California Institute of Technology.
// ALL RIGHTS RESERVED. United State... | hpp |
fprime | data/projects/fprime/Drv/LinuxUartDriver/LinuxUartDriver.cpp | // ======================================================================
// \title LinuxUartDriverImpl.cpp
// \author tcanham
// \brief cpp file for LinuxUartDriver component implementation class
//
// \copyright
// Copyright 2009-2015, by the California Institute of Technology.
// ALL RIGHTS RESERVED. United State... | cpp |
fprime | data/projects/fprime/Drv/LinuxI2cDriver/LinuxI2cDriver.cpp | // ======================================================================
// \title LinuxI2cDriverComponentImpl.cpp
// \author tcanham
// \brief cpp file for LinuxI2cDriver component implementation class
//
// \copyright
// Copyright 2009-2015, by the California Institute of Technology.
// ALL RIGHTS RESERVED. Unite... | cpp |
fprime | data/projects/fprime/Drv/LinuxI2cDriver/LinuxI2cDriver.hpp | // ======================================================================
// \title LinuxI2cDriver.hpp
// \author tcanham
// \brief hpp file for LinuxI2cDriver component implementation class
//
// \copyright
// Copyright 2009-2015, by the California Institute of Technology.
// ALL RIGHTS RESERVED. United States Gove... | hpp |
fprime | data/projects/fprime/Drv/LinuxI2cDriver/LinuxI2cDriverStub.cpp | // ======================================================================
// \title LinuxI2cDriver.cpp
// \author tcanham
// \brief cpp file for LinuxI2cDriver component implementation class
//
// \copyright
// Copyright 2009-2015, by the California Institute of Technology.
// ALL RIGHTS RESERVED. United States Gove... | cpp |
fprime | data/projects/fprime/Drv/LinuxI2cDriver/test/ut/main.cpp | #include <Fw/Types/StringUtils.hpp>
#include <LinuxI2cDriverTester.hpp>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <unistd.h>
TEST(TestNominal,Nominal) {
Drv::LinuxI2cDriverTester tester;
}
const char* help = "[-h] -d <I2C device> -a <I2C address> <byte 0> <byte1> ... <byteN>";
int main(i... | cpp |
fprime | data/projects/fprime/Drv/LinuxI2cDriver/test/ut/LinuxI2cDriverTester.cpp | // ======================================================================
// \title LinuxI2cDriver.hpp
// \author tcanham
// \brief cpp file for LinuxI2cDriver test harness implementation class
//
// \copyright
// Copyright 2009-2015, by the California Institute of Technology.
// ALL RIGHTS RESERVED. United States G... | cpp |
fprime | data/projects/fprime/Drv/LinuxI2cDriver/test/ut/LinuxI2cDriverTester.hpp | // ======================================================================
// \title LinuxI2cDriver/test/ut/Tester.hpp
// \author tcanham
// \brief hpp file for LinuxI2cDriver test harness implementation class
//
// \copyright
// Copyright 2009-2015, by the California Institute of Technology.
// ALL RIGHTS RESERVED. ... | hpp |
fprime | data/projects/fprime/Drv/BlockDriver/BlockDriverImpl.cpp | #include <Drv/BlockDriver/BlockDriverImpl.hpp>
#include <FpConfig.hpp>
#include <Fw/Types/Assert.hpp>
namespace Drv {
BlockDriverImpl::BlockDriverImpl(const char* compName) :
BlockDriverComponentBase(compName), m_cycles(0)
{
}
void BlockDriverImpl::init(NATIVE_INT_TYPE queueDepth, NATIVE_INT... | cpp |
fprime | data/projects/fprime/Drv/BlockDriver/BlockDriver.hpp | // ======================================================================
// BlockDriver.hpp
// Standardization header for BlockDriver
// ======================================================================
#ifndef Drv_BlockDriver_HPP
#define Drv_BlockDriver_HPP
#include "Drv/BlockDriver/BlockDriverImpl.hpp"
names... | hpp |
fprime | data/projects/fprime/Drv/BlockDriver/BlockDriverImpl.hpp | #ifndef DRV_BLOCK_DRIVER_IMPL_HPP
#define DRV_BLOCK_DRIVER_IMPL_HPP
#include <Drv/BlockDriver/BlockDriverComponentAc.hpp>
namespace Drv {
class BlockDriverImpl : public BlockDriverComponentBase {
public:
// Only called by derived class
BlockDriverImpl(const char* compName);
void i... | hpp |
fprime | data/projects/fprime/Drv/LinuxGpioDriver/LinuxGpioDriverComponentImpl.cpp | // ======================================================================
// \title LinuxGpioDriverImpl.cpp
// \author tcanham
// \brief cpp file for LinuxGpioDriver component implementation class
//
// \copyright
// Copyright 2009-2015, by the California Institute of Technology.
// ALL RIGHTS RESERVED. United State... | cpp |
fprime | data/projects/fprime/Drv/LinuxGpioDriver/LinuxGpioDriver.hpp | // ======================================================================
// LinuxGpioDriver.hpp
// Standardization header for LinuxGpioDriver
// ======================================================================
#ifndef Drv_LinuxGpioDriver_HPP
#define Drv_LinuxGpioDriver_HPP
#include "Drv/LinuxGpioDriver/LinuxGp... | hpp |
fprime | data/projects/fprime/Drv/LinuxGpioDriver/LinuxGpioDriverComponentImplCommon.cpp | // ======================================================================
// \title LinuxGpioDriverImpl.cpp
// \author tcanham
// \brief cpp file for LinuxGpioDriver component implementation class
//
// \copyright
// Copyright 2009-2015, by the California Institute of Technology.
// ALL RIGHTS RESERVED. United State... | cpp |
fprime | data/projects/fprime/Drv/LinuxGpioDriver/LinuxGpioDriverComponentImpl.hpp | // ======================================================================
// \title LinuxGpioDriverImpl.hpp
// \author tcanham
// \brief hpp file for LinuxGpioDriver component implementation class
//
// \copyright
// Copyright 2009-2015, by the California Institute of Technology.
// ALL RIGHTS RESERVED. United State... | hpp |
fprime | data/projects/fprime/Drv/LinuxGpioDriver/LinuxGpioDriverComponentImplStub.cpp | // ======================================================================
// \title LinuxGpioDriverImpl.cpp
// \author tcanham
// \brief cpp file for LinuxGpioDriver component implementation class
//
// \copyright
// Copyright 2009-2015, by the California Institute of Technology.
// ALL RIGHTS RESERVED. United State... | cpp |
fprime | data/projects/fprime/Drv/LinuxGpioDriver/test/ut/main.cpp | // ----------------------------------------------------------------------
// Main.cpp
// ----------------------------------------------------------------------
#include "LinuxGpioDriverTester.hpp"
#include <cstdlib>
// TEST(Test, NominalTlm) {
// Svc::LinuxGpioDriverTester tester;
// tester.nominalTlm();
// }
vo... | cpp |
fprime | data/projects/fprime/Drv/LinuxGpioDriver/test/ut/LinuxGpioDriverTester.cpp | // ======================================================================
// \title LinuxGpioDriver.hpp
// \author tcanham
// \brief cpp file for LinuxGpioDriver test harness implementation class
//
// \copyright
// Copyright 2009-2015, by the California Institute of Technology.
// ALL RIGHTS RESERVED. United States... | cpp |
fprime | data/projects/fprime/Drv/LinuxGpioDriver/test/ut/LinuxGpioDriverTester.hpp | // ======================================================================
// \title LinuxGpioDriver/test/ut/Tester.hpp
// \author tcanham
// \brief hpp file for LinuxGpioDriver test harness implementation class
//
// \copyright
// Copyright 2009-2015, by the California Institute of Technology.
// ALL RIGHTS RESERVED.... | hpp |
fprime | data/projects/fprime/Drv/LinuxSpiDriver/LinuxSpiDriver.hpp | // ======================================================================
// LinuxSpiDriver.hpp
// Standardization header for LinuxSpiDriver
// ======================================================================
#ifndef Drv_LinuxSpiDriver_HPP
#define Drv_LinuxSpiDriver_HPP
#include "Drv/LinuxSpiDriver/LinuxSpiDriv... | hpp |
fprime | data/projects/fprime/Drv/LinuxSpiDriver/LinuxSpiDriverComponentImpl.hpp | // ======================================================================
// \title LinuxSpiDriverImpl.hpp
// \author tcanham
// \brief hpp file for LinuxSpiDriver component implementation class
//
// \copyright
// Copyright 2009-2015, by the California Institute of Technology.
// ALL RIGHTS RESERVED. United States ... | hpp |
fprime | data/projects/fprime/Drv/LinuxSpiDriver/LinuxSpiDriverComponentImpl.cpp | // ======================================================================
// \title LinuxSpiDriverImpl.cpp
// \author tcanham
// \brief cpp file for LinuxSpiDriver component implementation class
//
// \copyright
// Copyright 2009-2015, by the California Institute of Technology.
// ALL RIGHTS RESERVED. United States ... | cpp |
fprime | data/projects/fprime/Drv/LinuxSpiDriver/LinuxSpiDriverComponentImplCommon.cpp | // ======================================================================
// \title LinuxSpiDriverImpl.cpp
// \author tcanham
// \brief cpp file for LinuxSpiDriver component implementation class
//
// \copyright
// Copyright 2009-2015, by the California Institute of Technology.
// ALL RIGHTS RESERVED. United States ... | cpp |
fprime | data/projects/fprime/Drv/LinuxSpiDriver/LinuxSpiDriverComponentImplStub.cpp | // ======================================================================
// \title LinuxSpiDriverImpl.cpp
// \author tcanham
// \brief cpp file for LinuxSpiDriver component implementation class
//
// \copyright
// Copyright 2009-2015, by the California Institute of Technology.
// ALL RIGHTS RESERVED. United States ... | cpp |
fprime | data/projects/fprime/Drv/LinuxSpiDriver/test/ut/main.cpp | // ----------------------------------------------------------------------
// Main.cpp
// ----------------------------------------------------------------------
#include "LinuxSpiDriverTester.hpp"
#include <cstdlib>
//TEST(Test, NominalTlm) {
// Svc::LinuxSpiDriverTester tester;
// tester.nominalTlm();
//}
int main... | cpp |
fprime | data/projects/fprime/Drv/LinuxSpiDriver/test/ut/LinuxSpiDriverTester.hpp | // ======================================================================
// \title LinuxSpiDriver/test/ut/Tester.hpp
// \author tcanham
// \brief hpp file for LinuxSpiDriver test harness implementation class
//
// \copyright
// Copyright 2009-2015, by the California Institute of Technology.
// ALL RIGHTS RESERVED. ... | hpp |
fprime | data/projects/fprime/Drv/LinuxSpiDriver/test/ut/LinuxSpiDriverTester.cpp | // ======================================================================
// \title LinuxSpiDriver.hpp
// \author tcanham
// \brief cpp file for LinuxSpiDriver test harness implementation class
//
// \copyright
// Copyright 2009-2015, by the California Institute of Technology.
// ALL RIGHTS RESERVED. United States G... | cpp |
fprime | data/projects/fprime/Drv/TcpClient/TcpClientComponentImpl.hpp | // ======================================================================
// \title TcpClientComponentImpl.hpp
// \author mstarch
// \brief hpp file for TcpClientComponentImpl component implementation class
//
// \copyright
// Copyright 2009-2020, by the California Institute of Technology.
// ALL RIGHTS RESERVED. Un... | hpp |
fprime | data/projects/fprime/Drv/TcpClient/TcpClient.hpp | // ======================================================================
// TcpClient.hpp
// Standardization header for TcpClient
// ======================================================================
#ifndef Drv_TcpClient_HPP
#define Drv_TcpClient_HPP
#include "Drv/TcpClient/TcpClientComponentImpl.hpp"
namespac... | hpp |
fprime | data/projects/fprime/Drv/TcpClient/TcpClientComponentImpl.cpp | // ======================================================================
// \title TcpClientComponentImpl.cpp
// \author mstarch
// \brief cpp file for TcpClientComponentImpl component implementation class
//
// \copyright
// Copyright 2009-2020, by the California Institute of Technology.
// ALL RIGHTS RESERVED. Un... | cpp |
fprime | data/projects/fprime/Drv/TcpClient/test/ut/TcpClientTestMain.cpp | // ----------------------------------------------------------------------
// TestMain.cpp
// ----------------------------------------------------------------------
#include "TcpClientTester.hpp"
TEST(Nominal, BasicMessaging) {
Drv::TcpClientTester tester;
tester.test_basic_messaging();
}
TEST(Nominal, BasicR... | cpp |
fprime | data/projects/fprime/Drv/TcpClient/test/ut/TcpClientTester.hpp | // ======================================================================
// \title TcpClient/test/ut/Tester.hpp
// \author mstarch
// \brief hpp file for ByteStreamDriverModel test harness implementation class
//
// \copyright
// Copyright 2009-2015, by the California Institute of Technology.
// ALL RIGHTS RESERVED.... | hpp |
fprime | data/projects/fprime/Drv/TcpClient/test/ut/TcpClientTester.cpp | // ======================================================================
// \title TcpClientTester.cpp
// \author mstarch
// \brief cpp file for TcpClientTester of TcpClient
//
// \copyright
// Copyright 2009-2015, by the California Institute of Technology.
// ALL RIGHTS RESERVED. United States Government Sponsorsh... | cpp |
fprime | data/projects/fprime/Drv/StreamCrossover/StreamCrossover.hpp | // ======================================================================
// \title StreamCrossover.hpp
// \author ethanchee
// \brief hpp file for StreamCrossover component implementation class
// ======================================================================
#ifndef StreamCrossover_HPP
#define StreamCrosso... | hpp |
fprime | data/projects/fprime/Drv/StreamCrossover/StreamCrossover.cpp | // ======================================================================
// \title StreamCrossover.cpp
// \author ethanchee
// \brief cpp file for StreamCrossover component implementation class
// ======================================================================
#include <Drv/StreamCrossover/StreamCrossover.h... | cpp |
fprime | data/projects/fprime/Drv/StreamCrossover/test/ut/StreamCrossoverTestMain.cpp | // ----------------------------------------------------------------------
// TestMain.cpp
// ----------------------------------------------------------------------
#include "StreamCrossoverTester.hpp"
TEST(Nominal, TestBuffer) {
Drv::StreamCrossoverTester tester;
tester.sendTestBuffer();
}
TEST(Nominal, Test... | cpp |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.