repo_name stringclasses 10
values | file_path stringlengths 29 222 | content stringlengths 24 926k | extention stringclasses 5
values |
|---|---|---|---|
fprime | data/projects/fprime/FppTest/enum/EnumToStringTest.cpp | // ======================================================================
// \title EnumToStringTest.cpp
// \author T. Chieu
// \brief cpp file for EnumToStringTest class
//
// \copyright
// Copyright (C) 2009-2022 California Institute of Technology.
// ALL RIGHTS RESERVED. United States Government Sponsorship
// ac... | cpp |
fprime | data/projects/fprime/FppTest/enum/IsValidTest.cpp | // ======================================================================
// \title IsValidTest.cpp
// \author T. Chieu
// \brief cpp file for IsValidTest class
//
// \copyright
// Copyright (C) 2009-2022 California Institute of Technology.
// ALL RIGHTS RESERVED. United States Government Sponsorship
// acknowledged... | cpp |
fprime | data/projects/fprime/FppTest/typed_tests/ArrayTest.hpp | // ======================================================================
// \title ArrayTest.hpp
// \author T. Chieu
// \brief hpp file for ArrayTest class
//
// \copyright
// Copyright (C) 2009-2022 California Institute of Technology.
// ALL RIGHTS RESERVED. United States Government Sponsorship
// acknowledged.
//... | hpp |
fprime | data/projects/fprime/FppTest/typed_tests/PortTest.hpp | // ======================================================================
// \title PortTest.hpp
// \author T. Chieu
// \brief hpp file for PortTest class
//
// \copyright
// Copyright (C) 2009-2023 California Institute of Technology.
// ALL RIGHTS RESERVED. United States Government Sponsorship
// acknowledged.
//
/... | hpp |
fprime | data/projects/fprime/FppTest/typed_tests/EnumTest.hpp | // ======================================================================
// \title EnumTest.hpp
// \author T. Chieu
// \brief hpp file for EnumTest class
//
// \copyright
// Copyright (C) 2009-2022 California Institute of Technology.
// ALL RIGHTS RESERVED. United States Government Sponsorship
// acknowledged.
//
/... | hpp |
fprime | data/projects/fprime/FppTest/typed_tests/ComponentTest.hpp | // ======================================================================
// \title ComponentTest.hpp
// \author T. Chieu
// \brief hpp file for component test classes
//
// \copyright
// Copyright (C) 2009-2023 California Institute of Technology.
// ALL RIGHTS RESERVED. United States Government Sponsorship
// ackno... | hpp |
fprime | data/projects/fprime/FppTest/typed_tests/StringTest.hpp | // ======================================================================
// \title StringTest.hpp
// \author T. Chieu
// \brief hpp file for StringTest class
//
// \copyright
// Copyright (C) 2009-2022 California Institute of Technology.
// ALL RIGHTS RESERVED. United States Government Sponsorship
// acknowledged.
... | hpp |
fprime | data/projects/fprime/FppTest/utils/Utils.hpp | // ======================================================================
// \title Utils.hpp
// \author T. Chieu
// \brief hpp file for Utils class
//
// \copyright
// Copyright (C) 2009-2022 California Institute of Technology.
// ALL RIGHTS RESERVED. United States Government Sponsorship
// acknowledged.
//
// ====... | hpp |
fprime | data/projects/fprime/FppTest/utils/Utils.cpp | // ======================================================================
// \title Utils.cpp
// \author T. Chieu
// \brief cpp file for Utils class
//
// \copyright
// Copyright (C) 2009-2022 California Institute of Technology.
// ALL RIGHTS RESERVED. United States Government Sponsorship
// acknowledged.
//
// ====... | cpp |
fprime | data/projects/fprime/cmake/empty.cpp | static_assert(false, "empty.cpp should never be compiled");
| cpp |
fprime | data/projects/fprime/cmake/test/data/test-fprime-library/TestLibrary/TestComponent/TestComponent.cpp | #include <TestLibrary/TestComponent/TestComponent.hpp>
namespace TestLibrary {
TestComponent ::TestComponent(const char* name) :
TestComponentComponentBase(name)
{}
void TestComponent ::init(const NATIVE_INT_TYPE instance) {
TestComponentComponentBase::init(instance);
}
TestComponent ::~TestComponent() {}
... | cpp |
fprime | data/projects/fprime/cmake/test/data/test-fprime-library/TestLibrary/TestComponent/TestComponent.hpp | #ifndef TestLibrary_TestComponent_HPP
#define TestLibrary_TestComponent_HPP
#include <TestLibrary/TestComponent/TestComponentComponentAc.hpp>
namespace TestLibrary {
class TestComponent : public TestComponentComponentBase
{
public:
TestComponent(const char* name);
void init(const NATIVE_INT_TYPE instance);... | hpp |
fprime | data/projects/fprime/cmake/test/data/test-fprime-library2/TestLibrary2/TestComponent/TestComponent.cpp | #include <TestLibrary2/TestComponent/TestComponent.hpp>
namespace TestLibrary2 {
TestComponent ::TestComponent(const char* name) :
TestComponentComponentBase(name)
{}
void TestComponent ::init(const NATIVE_INT_TYPE instance) {
TestComponentComponentBase::init(instance);
}
TestComponent ::~TestComponent() {}... | cpp |
fprime | data/projects/fprime/cmake/test/data/test-fprime-library2/TestLibrary2/TestComponent/TestComponent.hpp | #ifndef TestLibrary_TestComponent_HPP
#define TestLibrary_TestComponent_HPP
#include <TestLibrary2/TestComponent/TestComponentComponentAc.hpp>
namespace TestLibrary2 {
class TestComponent : public TestComponentComponentBase
{
public:
TestComponent(const char* name);
void init(const NATIVE_INT_TYPE instance... | hpp |
fprime | data/projects/fprime/cmake/test/data/test-implementations/Deployment/Main.cpp | // No operation executable
int main(int argc, char** argv) {
return 0;
} | cpp |
fprime | data/projects/fprime/cmake/test/data/TestDeployment/Main.cpp | // No operation executable
int main(int argc, char** argv) {
return 0;
} | cpp |
fprime | data/projects/fprime/cmake/profile/profile.c | #include <sys/time.h>
#include <stdio.h>
int main(int argc, char** argv) {
struct timeval val;
gettimeofday(&val, 0);
FILE* pointer = stdout;
if (argc > 1)
{
pointer = fopen(argv[1], "a");
}
fprintf(pointer, "%ld.%06d", val.tv_sec, val.tv_usec);
for (int i = 2; i < argc; i++)
... | c |
fprime | data/projects/fprime/cmake/platform/types/PlatformTypes.h | /**
* \brief PlatformTypes.h C-compatible type definitions for Linux/Darwin
*
* PlatformTypes.h is typically published by platform developers to define
* the standard available arithmetic types for use in fprime. This standard
* types header is designed to support standard Linux/Darwin distributions
* running on ... | h |
fprime | data/projects/fprime/CFDP/Checksum/Checksum.cpp | // ======================================================================
// \title CFDP/Checksum/Checksum.cpp
// \author bocchino
// \brief cpp file for CFDP checksum class
//
// \copyright
// Copyright 2009-2016, by the California Institute of Technology.
// ALL RIGHTS RESERVED. United States Government Sponsorshi... | cpp |
fprime | data/projects/fprime/CFDP/Checksum/Checksum.hpp | // ======================================================================
// \title CFDP/Checksum/Checksum.hpp
// \author bocchino
// \brief hpp file for CFDP checksum class
//
// \copyright
// Copyright 2009-2016, by the California Institute of Technology.
// ALL RIGHTS RESERVED. United States Government Sponsorshi... | hpp |
fprime | data/projects/fprime/CFDP/Checksum/GTest/Checksums.hpp | // ======================================================================
// \title CFDP/Checksum/GTest/Checksums.hpp
// \author bocchino
// \brief hpp file for CFDP Checksum gtest utilities
//
// \copyright
// Copyright (C) 2016 California Institute of Technology.
// ALL RIGHTS RESERVED. United States Government S... | hpp |
fprime | data/projects/fprime/CFDP/Checksum/GTest/Checksums.cpp | // ======================================================================
// \title CFDP/Checksum/GTest/Checksums.cpp
// \author bocchino
// \brief cpp file for CFDP Checksum gtest utilities
//
// \copyright
// Copyright (C) 2016, California Institute of Technology.
// ALL RIGHTS RESERVED. United States Government ... | cpp |
fprime | data/projects/fprime/CFDP/Checksum/test/ut/ChecksumMain.cpp | // ----------------------------------------------------------------------
// Main.cpp
// ----------------------------------------------------------------------
#include "gtest/gtest.h"
#include "CFDP/Checksum/Checksum.hpp"
using namespace CFDP;
const U8 data[] = { 0, 1, 2, 3, 4, 5, 6, 7, 8 };
const U32 expectedVa... | cpp |
fprime | data/projects/fprime/Autocoders/Python/templates/ExampleComponentImpl.hpp | /*
* ExampleComponentImpl.hpp
*
* Created on: Nov 3, 2014
* Author: tcanham
*/
#ifndef EXAMPLECOMPONENTIMPL_HPP_
#define EXAMPLECOMPONENTIMPL_HPP_
#include <Autocoders/Python/templates/ExampleComponentAc.hpp>
namespace ExampleComponents {
class ExampleComponentImpl: public ExampleComponentBase {
... | hpp |
fprime | data/projects/fprime/Autocoders/Python/templates/ExampleType.hpp | #ifndef EXAMPLE_TYPE_HPP
#define EXAMPLE_TYPE_HPP
// A hand-coded serializable
#include <FpConfig.hpp>
#include <Fw/Types/Serializable.hpp>
#if FW_SERIALIZABLE_TO_STRING
#include <Fw/Types/StringType.hpp>
#include <cstdio> // snprintf
#endif
namespace ANameSpace {
class mytype : public Fw::Serializable {
pu... | hpp |
fprime | data/projects/fprime/Autocoders/Python/templates/ExampleComponentImpl.cpp | /*
* ExampleComponentImpl.cpp
*
* Created on: Nov 3, 2014
* Author: tcanham
*/
#include <Autocoders/Python/templates/ExampleComponentImpl.hpp>
#include <cstdio>
namespace ExampleComponents {
ExampleComponentImpl::ExampleComponentImpl(const char* name) : ExampleComponentBase(name) {
}
ExampleCo... | cpp |
fprime | data/projects/fprime/Autocoders/Python/templates/ExampleType.cpp | #include <Autocoders/Python/templates/ExampleType.hpp>
#include <Fw/Types/Assert.hpp>
namespace ANameSpace {
mytype::mytype(): Serializable() {
}
mytype::mytype(const mytype& src) : Serializable() {
this->setVal(src.m_val);
}
mytype::mytype(const mytype* src) : Serializable() {
FW_ASSERT(src);
this->se... | cpp |
fprime | data/projects/fprime/Autocoders/Python/templates/test/ut/main.cpp | #ifdef FPRIME_CMAKE
#include "Autocoder/GTestBase.hpp"
#else
#include <templatesGTestBase.hpp>
#endif
// Very minimal to test autocoder. Some day they'll be actual unit test code
class ATester : public ExampleComponents::ExampleGTestBase {
public:
ATester() : ExampleComponents::ExampleGTestBase("comp",10) {}
... | cpp |
fprime | data/projects/fprime/Autocoders/Python/test/serial_passive/main.cpp | #include <FpConfig.hpp>
#include <Fw/Obj/SimpleObjRegistry.hpp>
int main(int argc, char* argv[]) {
}
| cpp |
fprime | data/projects/fprime/Autocoders/Python/test/serial_passive/TestSerialImpl.hpp | // ======================================================================
// \title TestSerialImpl.hpp
// \author tim
// \brief hpp file for TestSerial component implementation class
//
// \copyright
// Copyright 2009-2015, by the California Institute of Technology.
// ALL RIGHTS RESERVED. United States Government S... | hpp |
fprime | data/projects/fprime/Autocoders/Python/test/serial_passive/TestSerialImpl.cpp | // ======================================================================
// \title TestSerialImpl.cpp
// \author tim
// \brief cpp file for TestSerial component implementation class
//
// \copyright
// Copyright 2009-2015, by the California Institute of Technology.
// ALL RIGHTS RESERVED. United States Government S... | cpp |
fprime | data/projects/fprime/Autocoders/Python/test/serial_passive/test/ut/serial_passiveTester.cpp | // ======================================================================
// \title TestSerial.hpp
// \author tim
// \brief cpp file for TestSerial test harness implementation class
//
// \copyright
// Copyright 2009-2015, by the California Institute of Technology.
// ALL RIGHTS RESERVED. United States Government Sp... | cpp |
fprime | data/projects/fprime/Autocoders/Python/test/serial_passive/test/ut/main.cpp | #include <Autocoders/Python/test/serial_passive/TestSerialImpl.hpp>
#include <Autocoders/Python/test/port_loopback/ExampleComponentImpl.hpp>
int main(int argc, char* argv[]) {
TestComponents::TestSerialImpl serImpl("SerImpl");
serImpl.init(10,100);
ExampleComponents::ExampleComponentImpl exImpl("ExImpl");... | cpp |
fprime | data/projects/fprime/Autocoders/Python/test/serial_passive/test/ut/serial_passiveTester.hpp | // ======================================================================
// \title TestSerial/test/ut/Tester.hpp
// \author tim
// \brief hpp file for TestSerial test harness implementation class
//
// \copyright
// Copyright 2009-2015, by the California Institute of Technology.
// ALL RIGHTS RESERVED. United State... | hpp |
fprime | data/projects/fprime/Autocoders/Python/test/time_get/TestTimeGetImpl.hpp | /*
* TestTelemRecvImpl.hpp
*
* Created on: Mar 28, 2014
* Author: tcanham
*/
#ifndef TESTTEXTLOGIMPL_HPP_
#define TESTTEXTLOGIMPL_HPP_
#include <Autocoders/Python/test/time_get/TimeGetComponentAc.hpp>
class TimeGetTesterImpl: public TimeGet::TimeGetTesterComponentBase {
public:
TimeGetTesterIm... | hpp |
fprime | data/projects/fprime/Autocoders/Python/test/time_get/TestTimeGetImpl.cpp | /*
* TestCommand1Impl.cpp
*
* Created on: Mar 28, 2014
* Author: tcanham
*/
#include <cstdio>
#include "TestTimeGetImpl.hpp"
TimeGetTesterImpl::TimeGetTesterImpl(const char* name) : TimeGet::TimeGetTesterComponentBase(name)
{
}
TimeGetTesterImpl::~TimeGetTesterImpl() {
}
void TimeGetTesterImpl::init() {
... | cpp |
fprime | data/projects/fprime/Autocoders/Python/test/time_get/test/ut/main.cpp | #include "time_getGTestBase.hpp"
#include <FpConfig.hpp>
#include <Autocoders/Python/test/time_get/TestTimeGetImpl.hpp>
// Very minimal to test autocoder. Some day they'll be actual unit test code
// Here we test to ensure test harness generates correctly
class ATester : public TimeGet::TimeGetTesterGTestBase {
pu... | cpp |
fprime | data/projects/fprime/Autocoders/Python/test/enum_xml/main.cpp | #include <Autocoders/Python/test/enum_xml/Component1ComponentAc.hpp>
#include <Autocoders/Python/test/enum_xml/Component1Impl.hpp>
#include <Autocoders/Python/test/enum_xml/Enum1EnumAc.hpp>
#include <Autocoders/Python/test/enum_xml/Port1PortAc.hpp>
#include <Autocoders/Python/test/enum_xml/Serial1SerializableAc.hpp>
#... | cpp |
fprime | data/projects/fprime/Autocoders/Python/test/enum_xml/Component1Impl.cpp | #include <Autocoders/Python/test/enum_xml/Component1Impl.hpp>
#include <FpConfig.hpp>
#include <iostream>
#include <cstdio>
using namespace std;
namespace Example {
ExampleEnumImpl::ExampleEnumImpl(const char* compName) : Component1ComponentBase(compName) {
}
ExampleEnumImpl::~ExampleEnumImpl() {
}... | cpp |
fprime | data/projects/fprime/Autocoders/Python/test/enum_xml/Component1Impl.hpp | #ifndef EXAMPLE_ENUM_IMPL_HPP
#define EXAMPLE_ENUM_IMPL_HPP
#include <Autocoders/Python/test/enum_xml/Component1ComponentAc.hpp>
namespace Example {
class ExampleEnumImpl : public Component1ComponentBase {
public:
// Only called by derived class
ExampleEnumImpl(const char* compName);
~ExampleEnumImpl();... | hpp |
fprime | data/projects/fprime/Autocoders/Python/test/port_loopback/ExampleComponentImpl.hpp | // ======================================================================
// \title ExampleImpl.hpp
// \author tim
// \brief hpp file for Example component implementation class
//
// \copyright
// Copyright 2009-2015, by the California Institute of Technology.
// ALL RIGHTS RESERVED. United States Government Sponsor... | hpp |
fprime | data/projects/fprime/Autocoders/Python/test/port_loopback/ExampleType.hpp | #ifndef EXAMPLE_TYPE_HPP
#define EXAMPLE_TYPE_HPP
// A hand-coded serializable
#include <FpConfig.hpp>
#include <Fw/Types/Serializable.hpp>
#if FW_SERIALIZABLE_TO_STRING
#include <Fw/Types/StringType.hpp>
#include <cstdio> // snprintf
#endif
namespace ANameSpace {
class mytype : public Fw::Serializable {
pu... | hpp |
fprime | data/projects/fprime/Autocoders/Python/test/port_loopback/ExampleComponentImpl.cpp | // ======================================================================
// \title ExampleImpl.cpp
// \author tim
// \brief cpp file for Example component implementation class
//
// \copyright
// Copyright 2009-2015, by the California Institute of Technology.
// ALL RIGHTS RESERVED. United States Government Sponsor... | cpp |
fprime | data/projects/fprime/Autocoders/Python/test/port_loopback/ExampleType.cpp | #include <Autocoders/Python/templates/ExampleType.hpp>
#include <Fw/Types/Assert.hpp>
namespace ANameSpace {
mytype::mytype(): Serializable() {
}
mytype::mytype(const mytype& src) : Serializable() {
this->setVal(src.m_val);
}
mytype::mytype(const mytype* src) : Serializable() {
FW_ASSERT(src);
this->se... | cpp |
fprime | data/projects/fprime/Autocoders/Python/test/port_loopback/test/ut/main.cpp | #ifdef FPRIME_CMAKE
#include "Autocoder/GTestBase.hpp"
#else
#include <port_loopbackGTestBase.hpp>
#endif
// Very minimal to test autocoder. Some day they'll be actual unit test code
class ATester : public ExampleComponents::ExampleGTestBase {
public:
ATester() : ExampleComponents::ExampleGTestBase("comp",10) {
... | cpp |
fprime | data/projects/fprime/Autocoders/Python/test/stress/TestCommandImpl.hpp | /*
* TestCommand1Impl.hpp
*
* Created on: Mar 28, 2014
* Author: tcanham
*/
#ifndef TESTCOMMAND2IMPL_HPP_
#define TESTCOMMAND2IMPL_HPP_
#include <Autocoders/Python/test/stress/TestComponentAc.hpp>
class TestCommand1Impl: public StressTest::TestCommandComponentBase {
public:
TestCommand1Impl(co... | hpp |
fprime | data/projects/fprime/Autocoders/Python/test/stress/main.cpp | #include <FpConfig.hpp>
#include <Autocoders/Python/test/stress/TestCommandImpl.hpp>
#include <Autocoders/Python/test/stress/TestCommandSourceImpl.hpp>
#include <Autocoders/Python/test/stress/TestPrmSourceImpl.hpp>
#include <Autocoders/Python/test/stress/TestTelemRecvImpl.hpp>
#include <Autocoders/Python/test/stress/T... | cpp |
fprime | data/projects/fprime/Autocoders/Python/test/stress/TestTelemRecvImpl.cpp | /*
* TestCommand1Impl.cpp
*
* Created on: Mar 28, 2014
* Author: tcanham
*/
#include <Autocoders/Python/test/stress/TestTelemRecvImpl.hpp>
#include <Fw/Types/String.hpp>
#include <Autocoders/Python/test/stress/QuaternionSerializableAc.hpp>
#include <cstdio>
TestTelemRecvImpl::TestTelemRecvImpl(const char* ... | cpp |
fprime | data/projects/fprime/Autocoders/Python/test/stress/TestPrmSourceImpl.hpp | /*
* TestTelemRecvImpl.hpp
*
* Created on: Mar 28, 2014
* Author: tcanham
*/
#ifndef TESTPARAMRECVIMPL_HPP_
#define TESTPARAMRECVIMPL_HPP_
#include <Autocoders/Python/test/param_tester/ParamTestComponentAc.hpp>
class TestParamSourceImpl: public Prm::ParamTesterComponentBase {
public:
TestParam... | hpp |
fprime | data/projects/fprime/Autocoders/Python/test/stress/TestLogRecvImpl.cpp | /*
* TestCommand1Impl.cpp
*
* Created on: Mar 28, 2014
* Author: tcanham
*/
#include <Autocoders/Python/test/stress/TestLogRecvImpl.hpp>
#include <cstdio>
TestLogRecvImpl::TestLogRecvImpl(const char* name) : LogTextImpl(name)
{
}
TestLogRecvImpl::~TestLogRecvImpl() {
}
void TestLogRecvImpl::logRecvPort_h... | cpp |
fprime | data/projects/fprime/Autocoders/Python/test/stress/TestLogRecvImpl.hpp | /*
* TestTelemRecvImpl.hpp
*
* Created on: Mar 28, 2014
* Author: tcanham
*/
#ifndef TESTLOGRECVIMPL_HPP_
#define TESTLOGRECVIMPL_HPP_
#include <Autocoders/Python/test/log_tester/TestTextLogImpl.hpp>
class TestLogRecvImpl: public LogTextImpl {
public:
TestLogRecvImpl(const char* compName);
... | hpp |
fprime | data/projects/fprime/Autocoders/Python/test/stress/TestPrmSourceImpl.cpp | /*
* TestCommand1Impl.cpp
*
* Created on: Mar 28, 2014
* Author: tcanham
*/
#include <Autocoders/Python/test/stress/TestPrmSourceImpl.hpp>
#include <cstdio>
TestParamSourceImpl::TestParamSourceImpl(const char* name) : Prm::ParamTesterComponentBase(name)
{
}
TestParamSourceImpl::~TestParamSourceImpl() {
}
... | cpp |
fprime | data/projects/fprime/Autocoders/Python/test/stress/TestTelemRecvImpl.hpp | /*
* TestTelemRecvImpl.hpp
*
* Created on: Mar 28, 2014
* Author: tcanham
*/
#ifndef TESTTELEMRECVIMPL_HPP_
#define TESTTELEMRECVIMPL_HPP_
#include <Autocoders/Python/test/telem_tester/TelemTestComponentAc.hpp>
class TestTelemRecvImpl: public Tlm::TelemTesterComponentBase {
public:
TestTelemRe... | hpp |
fprime | data/projects/fprime/Autocoders/Python/test/stress/TestPtSourceImpl.hpp | /*
* TestCommand1Impl.hpp
*
* Created on: Mar 28, 2014
* Author: tcanham
*/
#ifndef TESTPTSOURCEIMPL_HPP_
#define TESTPTSOURCEIMPL_HPP_
#include <Autocoders/Python/test/stress/TestPtComponentAc.hpp>
class TestPtSourceImpl: public StressTest::TestPortComponentBase {
public:
TestPtSourceImpl(con... | hpp |
fprime | data/projects/fprime/Autocoders/Python/test/stress/TestCommandSourceImpl.cpp | /*
* TestCommand1Impl.cpp
*
* Created on: Mar 28, 2014
* Author: tcanham
*/
#include <Autocoders/Python/test/stress/TestCommandSourceImpl.hpp>
#include <cstdio>
TestCommandSourceImpl::TestCommandSourceImpl(const char* name) : Cmd::CommandTesterComponentBase(name)
{
}
TestCommandSourceImpl::~TestCommandSou... | cpp |
fprime | data/projects/fprime/Autocoders/Python/test/stress/TestCommandSourceImpl.hpp | /*
* TestCommand1Impl.hpp
*
* Created on: Mar 28, 2014
* Author: tcanham
*/
#ifndef TESTCOMMANDSOURCEIMPL_HPP_
#define TESTCOMMANDSOURCEIMPL_HPP_
#include <Autocoders/Python/test/command_tester/CommandTestComponentAc.hpp>
#include <Autocoders/Python/test/stress/TestComponentAc.hpp>
class TestCommandSource... | hpp |
fprime | data/projects/fprime/Autocoders/Python/test/stress/TestCommandImpl.cpp | /*
* TestCommand1Impl.cpp
*
* Created on: Mar 28, 2014
* Author: tcanham
*/
#include <Autocoders/Python/test/stress/TestCommandImpl.hpp>
#include <Fw/Types/String.hpp>
#include <cstdio>
TestCommand1Impl::TestCommand1Impl(const char* name) : StressTest::TestCommandComponentBase(name)
{
}
void TestCommand1... | cpp |
fprime | data/projects/fprime/Autocoders/Python/test/stress/TestPtSourceImpl.cpp | /*
* TestCommand1Impl.cpp
*
* Created on: Mar 28, 2014
* Author: tcanham
*/
#include <Autocoders/Python/test/stress/TestPtSourceImpl.hpp>
#include <cstdio>
TestPtSourceImpl::TestPtSourceImpl(const char* name) : StressTest::TestPortComponentBase(name)
{
}
TestPtSourceImpl::~TestPtSourceImpl() {
}
void Tes... | cpp |
fprime | data/projects/fprime/Autocoders/Python/test/stress/test/ut/main.cpp | #ifdef FPRIME_CMAKE
#include "Autocoder/GTestBase.hpp"
#else
#include <stressGTestBase.hpp>
#endif
// Very minimal to test autocoder. Some day they'll be actual unit test code
class ATester : public StressTest::TestPortGTestBase {
public:
ATester() : StressTest::TestPortGTestBase("comp",10) {
}
v... | cpp |
fprime | data/projects/fprime/Autocoders/Python/test/tlm_onchange/main.cpp | #include <Autocoders/Python/test/tlm_onchange/TestTelemImpl.hpp>
#include <Autocoders/Python/test/tlm_onchange/TestTelemRecvImpl.hpp>
#include <Autocoders/Python/test/time_tester/TestTimeImpl.hpp>
#include <Fw/Obj/SimpleObjRegistry.hpp>
int main(int argc, char* argv[]) {
#if FW_PORT_TRACING
Fw::PortBase::setTrace... | cpp |
fprime | data/projects/fprime/Autocoders/Python/test/tlm_onchange/TestTelemRecvImpl.cpp | /*
* TestCommand1Impl.cpp
*
* Created on: Mar 28, 2014
* Author: tcanham
*/
#include <Autocoders/Python/test/tlm_onchange/TestTelemRecvImpl.hpp>
#include <cstdio>
TestTelemRecvImpl::TestTelemRecvImpl(const char* name) : Tlm::TelemTesterComponentBase(name)
{
}
TestTelemRecvImpl::~TestTelemRecvImpl() {
}
v... | cpp |
fprime | data/projects/fprime/Autocoders/Python/test/tlm_onchange/TestTelemImpl.cpp | /*
* TestCommand1Impl.cpp
*
* Created on: Mar 28, 2014
* Author: tcanham
*/
#include <Autocoders/Python/test/tlm_onchange/TestTelemImpl.hpp>
#include <cstdio>
TestTlmImpl::TestTlmImpl(const char* name) : Tlm::TestTlmComponentBase(name)
{
}
TestTlmImpl::~TestTlmImpl() {
}
void TestTlmImpl::init() {
Tl... | cpp |
fprime | data/projects/fprime/Autocoders/Python/test/tlm_onchange/TestTelemRecvImpl.hpp | /*
* TestTelemRecvImpl.hpp
*
* Created on: Mar 28, 2014
* Author: tcanham
*/
#ifndef TESTTELEMRECVIMPL_HPP_
#define TESTTELEMRECVIMPL_HPP_
#include <Autocoders/Python/test/telem_tester/TelemTestComponentAc.hpp>
class TestTelemRecvImpl: public Tlm::TelemTesterComponentBase {
public:
TestTelemRe... | hpp |
fprime | data/projects/fprime/Autocoders/Python/test/tlm_onchange/TestTelemImpl.hpp | /*
* TestCommand1Impl.hpp
*
* Created on: Mar 28, 2014
* Author: tcanham
*/
#ifndef TESTCOMMAND1IMPL_HPP_
#define TESTCOMMAND1IMPL_HPP_
#include <Autocoders/Python/test/tlm_onchange/TestComponentAc.hpp>
class TestTlmImpl: public Tlm::TestTlmComponentBase {
public:
TestTlmImpl(const char* compN... | hpp |
fprime | data/projects/fprime/Autocoders/Python/test/tlm_onchange/test/ut/main.cpp | #ifdef FPRIME_CMAKE
#include "Autocoder/GTestBase.hpp"
#else
#include <tlm_onchangeGTestBase.hpp>
#endif
// Very minimal to test autocoder. Some day they'll be actual unit test code
class ATester : public Tlm::TestTlmGTestBase {
public:
ATester() : Tlm::TestTlmGTestBase("comp",10) {
}
};
int main(int ... | cpp |
fprime | data/projects/fprime/Autocoders/Python/test/comp_diff_namespace/test/ut/main.cpp | #ifdef FPRIME_CMAKE
#include "Autocoder/GTestBase.hpp"
#else
#include <comp_diff_namespaceGTestBase.hpp>
#endif
// Very minimal to test autocoder. Some day they'll be actual unit test code
class ATester : public StressTest::Components::TestCommandGTestBase {
public:
ATester() : StressTest::Components::Tes... | cpp |
fprime | data/projects/fprime/Autocoders/Python/test/param_tester/test/ut/main.cpp | #ifdef FPRIME_CMAKE
#include "Autocoder/GTestBase.hpp"
#else
#include <param_testerGTestBase.hpp>
#endif
#include "TesterBase.hpp"
#include <FpConfig.hpp>
// Very minimal to test autocoder. Some day they'll be actual unit test code
class ATester : public Prm::ParamTesterGTestBase {
public:
ATester() : Prm... | cpp |
fprime | data/projects/fprime/Autocoders/Python/test/param2/test/ut/main.cpp | #ifdef FPRIME_CMAKE
#include "Autocoder/GTestBase.hpp"
#else
#include <param2GTestBase.hpp>
#endif
// Very minimal to test autocoder. Some day they'll be actual unit test code
class ATester : public Tlm::TestPrmGTestBase {
public:
ATester() : Tlm::TestPrmGTestBase("comp",10) {
}
};
int main(int argc, ... | cpp |
fprime | data/projects/fprime/Autocoders/Python/test/event2/test/ut/main.cpp | #ifdef FPRIME_CMAKE
#include "Autocoder/GTestBase.hpp"
#else
#include <event2GTestBase.hpp>
#endif
// Very minimal to test autocoder. Some day they'll be actual unit test code
class ATester : public Cmd::TestCommandGTestBase {
public:
ATester() : Cmd::TestCommandGTestBase("comp",10) {
}
};
int main(i... | cpp |
fprime | data/projects/fprime/Autocoders/Python/test/serialize4/main.cpp | #include <Autocoders/Python/test/serialize4/Serial1SerializableAc.hpp>
#include "gtest/gtest.h"
using namespace std;
TEST(DefaultValues, OK) {
Example::Serial1 serial1;
Example::Serial1 serial2;
// Check serializable default values are correctly set
ASSERT_EQ(serial1.getMember1(), 12345);
ASSER... | cpp |
fprime | data/projects/fprime/Autocoders/Python/test/pass_by_kind/main.cpp | #include <Autocoders/Python/test/pass_by_kind/Component1ComponentAc.hpp>
#include <Autocoders/Python/test/pass_by_kind/Component1.hpp>
#include <Autocoders/Python/test/pass_by_kind/Port1PortAc.hpp>
#include <Autocoders/Python/test/pass_by_kind/AllTypes.hpp>
#include "STest/Random/Random.hpp"
#include "gtest/gtest.h"
... | cpp |
fprime | data/projects/fprime/Autocoders/Python/test/pass_by_kind/AllTypes.cpp | #include "gtest/gtest.h"
#include <Autocoders/Python/test/pass_by_kind/Port1PortAc.hpp>
#include <Autocoders/Python/test/pass_by_kind/AllTypes.hpp>
namespace Example {
AllTypes::AllTypes(bool is_async) {
// Instantiate argument values
arg1 = 0;
arg2 = 0;
arg3 = 0;
arg4.se... | cpp |
fprime | data/projects/fprime/Autocoders/Python/test/pass_by_kind/AllTypes.hpp | /*
* AllTypes.hpp
*
* Created on: Thursday, 15 July 2021
* Author: dhesikan
*
*/
namespace Example {
class AllTypes {
public:
AllTypes(bool is_async); //!< constructor with argument async/sync boolean flag
virtual ~AllTypes(); //!< destructor
void checkAsser... | hpp |
fprime | data/projects/fprime/Autocoders/Python/test/pass_by_kind/Component1.cpp | #include <Autocoders/Python/test/pass_by_kind/Component1.hpp>
#include <Autocoders/Python/test/pass_by_kind/ExampleTypeSerializableAc.hpp>
#include <FpConfig.hpp>
#include <Fw/Types/SerialBuffer.hpp>
#include <cstdio>
#include <iostream>
using namespace std;
namespace Example {
Component1::Component1(const char*... | cpp |
fprime | data/projects/fprime/Autocoders/Python/test/pass_by_kind/Component1.hpp | #ifndef EXAMPLE_ENUM_IMPL_HPP
#define EXAMPLE_ENUM_IMPL_HPP
#include <Autocoders/Python/test/pass_by_kind/Component1ComponentAc.hpp>
namespace Example {
class Component1 : public Component1ComponentBase {
public:
// Only called by derived class
Component1(const char* compName);
~Com... | hpp |
fprime | data/projects/fprime/Autocoders/Python/test/noargport/ExampleComponentImpl.hpp | // ======================================================================
// \title ExampleComponentImpl.hpp
// \author joshuaa
// \brief hpp file for Example component implementation class
//
// \copyright
// Copyright 2009-2015, by the California Institute of Technology.
// ALL RIGHTS RESERVED. United States Gover... | hpp |
fprime | data/projects/fprime/Autocoders/Python/test/noargport/ExampleComponentImpl.cpp | // ======================================================================
// \title ExampleComponentImpl.cpp
// \author joshuaa
// \brief cpp file for Example component implementation class
//
// \copyright
// Copyright 2009-2015, by the California Institute of Technology.
// ALL RIGHTS RESERVED. United States Gover... | cpp |
fprime | data/projects/fprime/Autocoders/Python/test/noargport/test/ut/noargportTestMain.cpp | // ----------------------------------------------------------------------
// TestMain.cpp
// ----------------------------------------------------------------------
#include "noargportTester.hpp"
TEST(Nominal, TestNoArgs) {
ExampleComponents::noargportTester tester;
tester.testNoArgs();
}
int main(int argc, c... | cpp |
fprime | data/projects/fprime/Autocoders/Python/test/noargport/test/ut/noargportTester.cpp | // ======================================================================
// \title Example.hpp
// \author joshuaa
// \brief cpp file for Example test harness implementation class
//
// \copyright
// Copyright 2009-2015, by the California Institute of Technology.
// ALL RIGHTS RESERVED. United States Government Spon... | cpp |
fprime | data/projects/fprime/Autocoders/Python/test/noargport/test/ut/noargportTester.hpp | // ======================================================================
// \title Example/test/ut/Tester.hpp
// \author joshuaa
// \brief hpp file for Example test harness implementation class
//
// \copyright
// Copyright 2009-2015, by the California Institute of Technology.
// ALL RIGHTS RESERVED. United States ... | hpp |
fprime | data/projects/fprime/Autocoders/Python/test/param_multi_inst/TestPrmImpl.cpp | /*
* TestCommand1Impl.cpp
*
* Created on: Mar 28, 2014
* Author: tcanham
*/
#include <Autocoders/Python/test/param_multi_inst/TestPrmImpl.hpp>
#include <cstdio>
TestPrmImpl::TestPrmImpl(const char* name) : Prm::TestPrmComponentBase(name)
{
}
TestPrmImpl::~TestPrmImpl() {
}
void TestPrmImpl::init() {
... | cpp |
fprime | data/projects/fprime/Autocoders/Python/test/param_multi_inst/main.cpp | #include <Autocoders/Python/test/param_multi_inst/TestPrmImpl.hpp>
#include <Autocoders/Python/test/param_multi_inst/TestPrmSourceImpl.hpp>
#include <Fw/Obj/SimpleObjRegistry.hpp>
int main(int argc, char* argv[]) {
#if FW_PORT_TRACING
Fw::PortBase::setTrace(true);
#endif
#if FW_OBJECT_REGISTRATION == 1
Fw::S... | cpp |
fprime | data/projects/fprime/Autocoders/Python/test/param_multi_inst/TestPrmSourceImpl.hpp | /*
* TestTelemRecvImpl.hpp
*
* Created on: Mar 28, 2014
* Author: tcanham
*/
#ifndef TESTPARAMRECVIMPL_HPP_
#define TESTPARAMRECVIMPL_HPP_
#include <Autocoders/Python/test/param_tester/ParamTestComponentAc.hpp>
class TestParamSourceImpl: public Prm::ParamTesterComponentBase {
public:
TestParam... | hpp |
fprime | data/projects/fprime/Autocoders/Python/test/param_multi_inst/TestPrmSourceImpl.cpp | /*
* TestCommand1Impl.cpp
*
* Created on: Mar 28, 2014
* Author: tcanham
*/
#include <Autocoders/Python/test/param_multi_inst/TestPrmSourceImpl.hpp>
#include <cstdio>
TestParamSourceImpl::TestParamSourceImpl(const char* name) : Prm::ParamTesterComponentBase(name)
{
}
TestParamSourceImpl::~TestParamSourceI... | cpp |
fprime | data/projects/fprime/Autocoders/Python/test/param_multi_inst/TestPrmImpl.hpp | /*
* TestPrmImpl.hpp
*
* Created on: Mar 28, 2014
* Author: tcanham
*/
#ifndef TESTPARAMIMPL_HPP_
#define TESTPARAMIMPL_HPP_
#include <Autocoders/Python/test/param_multi_inst/TestComponentAc.hpp>
class TestPrmImpl: public Prm::TestPrmComponentBase {
public:
TestPrmImpl(const char* compName);
... | hpp |
fprime | data/projects/fprime/Autocoders/Python/test/param_multi_inst/test/ut/main.cpp | #ifdef FPRIME_CMAKE
#include "Autocoder/GTestBase.hpp"
#else
#include <param_multi_instGTestBase.hpp>
#endif
#include "TesterBase.hpp"
#include <FpConfig.hpp>
// Very minimal to test autocoder. Some day they'll be actual unit test code
class ATester : public Prm::TestPrmGTestBase {
public:
ATester() : Prm... | cpp |
fprime | data/projects/fprime/Autocoders/Python/test/event1/main.cpp | #include <Autocoders/Python/test/event1/TestLogImpl.hpp>
#include <Autocoders/Python/test/event1/TestLogRecvImpl.hpp>
#include <Autocoders/Python/test/time_tester/TestTimeImpl.hpp>
#include <Fw/Obj/SimpleObjRegistry.hpp>
int main(int argc, char* argv[]) {
#if FW_PORT_TRACING
Fw::PortBase::setTrace(true);
#endif
... | cpp |
fprime | data/projects/fprime/Autocoders/Python/test/event1/TestLogRecvImpl.cpp | /*
* TestCommand1Impl.cpp
*
* Created on: Mar 28, 2014
* Author: tcanham
*/
#include <Autocoders/Python/test/event1/TestLogRecvImpl.hpp>
#include <cstdio>
TestLogRecvImpl::TestLogRecvImpl(const char* name) : LogTextImpl(name)
{
}
TestLogRecvImpl::~TestLogRecvImpl() {
}
void TestLogRecvImpl::logRecvPort_h... | cpp |
fprime | data/projects/fprime/Autocoders/Python/test/event1/TestLogRecvImpl.hpp | /*
* TestTelemRecvImpl.hpp
*
* Created on: Mar 28, 2014
* Author: tcanham
*/
#ifndef TESTTELEMRECVIMPL_HPP_
#define TESTTELEMRECVIMPL_HPP_
#include <Autocoders/Python/test/log_tester/TestTextLogImpl.hpp>
class TestLogRecvImpl: public LogTextImpl {
public:
TestLogRecvImpl(const char* compName);... | hpp |
fprime | data/projects/fprime/Autocoders/Python/test/event1/TestLogImpl.hpp | /*
* TestCommand1Impl.hpp
*
* Created on: Mar 28, 2014
* Author: tcanham
*/
#ifndef TESTCOMMAND1IMPL_HPP_
#define TESTCOMMAND1IMPL_HPP_
#include <Autocoders/Python/test/event1/TestComponentAc.hpp>
class TestLogImpl: public Somewhere::TestLogComponentBase {
public:
TestLogImpl(const char* compN... | hpp |
fprime | data/projects/fprime/Autocoders/Python/test/event1/TestLogImpl.cpp | /*
* TestCommand1Impl.cpp
*
* Created on: Mar 28, 2014
* Author: tcanham
*/
#include <Autocoders/Python/test/event1/TestLogImpl.hpp>
#include <cstdio>
TestLogImpl::TestLogImpl(const char* name) : Somewhere::TestLogComponentBase(name)
{
}
TestLogImpl::~TestLogImpl() {
}
void TestLogImpl::init() {
Some... | cpp |
fprime | data/projects/fprime/Autocoders/Python/test/event1/test/ut/main.cpp | #ifdef FPRIME_CMAKE
#include "Autocoder/GTestBase.hpp"
#else
#include <event1GTestBase.hpp>
#endif
// Very minimal to test autocoder. Some day they'll be actual unit test code
class ATester : public Somewhere::TestLogGTestBase {
public:
ATester() : Somewhere::TestLogGTestBase("comp",10) {
}
};
int ma... | cpp |
fprime | data/projects/fprime/Autocoders/Python/test/command_string/TestCommandImpl.hpp | /*
* TestCommand1Impl.hpp
*
* Created on: Mar 28, 2014
* Author: tcanham
*/
#ifndef TESTCOMMAND2IMPL_HPP_
#define TESTCOMMAND2IMPL_HPP_
#include <Autocoders/Python/test/command_string/TestComponentAc.hpp>
class TestCommand1Impl: public AcTest::TestCommandComponentBase {
public:
TestCommand1Imp... | hpp |
fprime | data/projects/fprime/Autocoders/Python/test/command_string/main.cpp | #include <Autocoders/Python/test/command_string/TestCommandImpl.hpp>
#include <Autocoders/Python/test/command_string/TestCommandSourceImpl.hpp>
#include <Fw/Obj/SimpleObjRegistry.hpp>
int main(int argc, char* argv[]) {
#if FW_PORT_TRACING
Fw::PortBase::setTrace(true);
#endif
#if FW_OBJECT_REGISTRATION == 1
F... | cpp |
fprime | data/projects/fprime/Autocoders/Python/test/command_string/TestCommandSourceImpl.cpp | /*
* TestCommand1Impl.cpp
*
* Created on: Mar 28, 2014
* Author: tcanham
*/
#include <Autocoders/Python/test/command_string/TestCommandSourceImpl.hpp>
#include <cstdio>
TestCommandSourceImpl::TestCommandSourceImpl(const char* name) : Cmd::CommandTesterComponentBase(name)
{
}
TestCommandSourceImpl::~TestC... | cpp |
fprime | data/projects/fprime/Autocoders/Python/test/command_string/TestCommandSourceImpl.hpp | /*
* TestCommand1Impl.hpp
*
* Created on: Mar 28, 2014
* Author: tcanham
*/
#ifndef TESTCOMMANDSOURCEIMPL_HPP_
#define TESTCOMMANDSOURCEIMPL_HPP_
#include <Autocoders/Python/test/command_tester/CommandTestComponentAc.hpp>
#include <Autocoders/Python/test/command_string/TestComponentAc.hpp>
class TestComma... | hpp |
fprime | data/projects/fprime/Autocoders/Python/test/command_string/TestCommandImpl.cpp | /*
* TestCommand1Impl.cpp
*
* Created on: Mar 28, 2014
* Author: tcanham
*/
#include <Autocoders/Python/test/command_string/TestCommandImpl.hpp>
#include <cstdio>
TestCommand1Impl::TestCommand1Impl(const char* name) : AcTest::TestCommandComponentBase(name)
{
}
void TestCommand1Impl::init(NATIVE_INT_TYPE ... | cpp |
fprime | data/projects/fprime/Autocoders/Python/test/command_string/test/ut/main.cpp | #ifdef FPRIME_CMAKE
#include "Autocoder/GTestBase.hpp"
#else
#include <command_stringGTestBase.hpp>
#endif
#include "TesterBase.hpp"
#include <FpConfig.hpp>
// Very minimal to test autocoder. Some day they'll be actual unit test code
class ATester : public AcTest::TestCommandGTestBase {
public:
ATester() ... | cpp |
fprime | data/projects/fprime/Autocoders/Python/test/serialize3/test/ut/main.cpp | #include <Autocoders/Python/test/serialize3/AlltypesSerializableAc.hpp>
int main(int argc, char* argv[]) {
Ns::Something::Alltypes atypes;
}
| cpp |
fprime | data/projects/fprime/Autocoders/Python/test/tlm_multi_inst/main.cpp | #include <Autocoders/Python/test/tlm_multi_inst/TestTelemImpl.hpp>
#include <Autocoders/Python/test/tlm_multi_inst/TestTelemRecvImpl.hpp>
#include <Autocoders/Python/test/time_tester/TestTimeImpl.hpp>
#include <Fw/Obj/SimpleObjRegistry.hpp>
int main(int argc, char* argv[]) {
#if FW_PORT_TRACING
Fw::PortBase::setT... | cpp |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.