repo_name stringclasses 10
values | file_path stringlengths 29 222 | content stringlengths 24 926k | extention stringclasses 5
values |
|---|---|---|---|
fprime | data/projects/fprime/Autocoders/Python/test/event_enum/main.cpp | #include <Autocoders/Python/test/event_enum/TestLogImpl.hpp>
#include <Autocoders/Python/test/event_enum/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);
... | cpp |
fprime | data/projects/fprime/Autocoders/Python/test/event_enum/TestLogRecvImpl.cpp | /*
* TestCommand1Impl.cpp
*
* Created on: Mar 28, 2014
* Author: tcanham
*/
#include <Autocoders/Python/test/event_enum/TestLogRecvImpl.hpp>
#include <cstdio>
TestLogRecvImpl::TestLogRecvImpl(const char* name) : LogTextImpl(name)
{
}
TestLogRecvImpl::~TestLogRecvImpl() {
}
void TestLogRecvImpl::logRecvPo... | cpp |
fprime | data/projects/fprime/Autocoders/Python/test/event_enum/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/event_enum/TestLogImpl.hpp | /*
* TestCommand1Impl.hpp
*
* Created on: Mar 28, 2014
* Author: tcanham
*/
#ifndef TESTCOMMAND1IMPL_HPP_
#define TESTCOMMAND1IMPL_HPP_
#include <Autocoders/Python/test/event_enum/TestComponentAc.hpp>
class TestLogImpl: public Somewhere::TestLogComponentBase {
public:
TestLogImpl(const char* c... | hpp |
fprime | data/projects/fprime/Autocoders/Python/test/event_enum/TestLogImpl.cpp | /*
* TestCommand1Impl.cpp
*
* Created on: Mar 28, 2014
* Author: tcanham
*/
#include <Autocoders/Python/test/event_enum/TestLogImpl.hpp>
#include <cstdio>
TestLogImpl::TestLogImpl(const char* name) : Somewhere::TestLogComponentBase(name)
{
}
TestLogImpl::~TestLogImpl() {
}
void TestLogImpl::init() {
... | cpp |
fprime | data/projects/fprime/Autocoders/Python/test/event_enum/test/ut/main.cpp | #ifdef FPRIME_CMAKE
#include "Autocoder/GTestBase.hpp"
#else
#include <event_enumGTestBase.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) {
}
};
in... | cpp |
fprime | data/projects/fprime/Autocoders/Python/test/tlm2/main.cpp | #include <Autocoders/Python/test/tlm2/TestTelemImpl.hpp>
#include <Autocoders/Python/test/tlm2/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(true);
#endif
... | cpp |
fprime | data/projects/fprime/Autocoders/Python/test/tlm2/TestTelemRecvImpl.cpp | /*
* TestCommand1Impl.cpp
*
* Created on: Mar 28, 2014
* Author: tcanham
*/
#include <Autocoders/Python/test/tlm2/TestTelemRecvImpl.hpp>
#include <Fw/Types/String.hpp>
#include <Autocoders/Python/test/tlm2/QuaternionSerializableAc.hpp>
#include <cstdio>
TestTelemRecvImpl::TestTelemRecvImpl(const char* name... | cpp |
fprime | data/projects/fprime/Autocoders/Python/test/tlm2/TestTelemImpl.cpp | /*
* TestCommand1Impl.cpp
*
* Created on: Mar 28, 2014
* Author: tcanham
*/
#include <Autocoders/Python/test/tlm2/TestTelemImpl.hpp>
#include <cstdio>
TestTlmImpl::TestTlmImpl(const char* name) : Tlm::TestTlmComponentBase(name)
{
}
TestTlmImpl::~TestTlmImpl() {
}
void TestTlmImpl::init() {
Tlm::TestT... | cpp |
fprime | data/projects/fprime/Autocoders/Python/test/tlm2/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/tlm2/TestTelemImpl.hpp | /*
* TestCommand1Impl.hpp
*
* Created on: Mar 28, 2014
* Author: tcanham
*/
#ifndef TESTCOMMAND1IMPL_HPP_
#define TESTCOMMAND1IMPL_HPP_
#include <Autocoders/Python/test/tlm2/TestComponentAc.hpp>
class TestTlmImpl: public Tlm::TestTlmComponentBase {
public:
TestTlmImpl(const char* compName);
... | hpp |
fprime | data/projects/fprime/Autocoders/Python/test/tlm2/test/ut/main.cpp | #ifdef FPRIME_CMAKE
#include "Autocoder/GTestBase.hpp"
#else
#include <tlm2GTestBase.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 argc, ch... | cpp |
fprime | data/projects/fprime/Autocoders/Python/test/command_tester/test/ut/main.cpp | #ifdef FPRIME_CMAKE
#include "Autocoder/GTestBase.hpp"
#else
#include <command_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 Cmd::CommandTesterGTestBase {
public:
ATester() :... | cpp |
fprime | data/projects/fprime/Autocoders/Python/test/log_tester/TestTextLogImpl.cpp | /*
* TestCommand1Impl.cpp
*
* Created on: Mar 28, 2014
* Author: tcanham
*/
#include <Autocoders/Python/test/log_tester/TestTextLogImpl.hpp>
#include <cstdio>
LogTextImpl::LogTextImpl(const char* name) : Log::LogTesterComponentBase(name)
{
}
LogTextImpl::~LogTextImpl() {
}
void LogTextImpl::init() {
... | cpp |
fprime | data/projects/fprime/Autocoders/Python/test/log_tester/TestTextLogImpl.hpp | /*
* TestTelemRecvImpl.hpp
*
* Created on: Mar 28, 2014
* Author: tcanham
*/
#ifndef TESTTEXTLOGIMPL_HPP_
#define TESTTEXTLOGIMPL_HPP_
#include <Autocoders/Python/test/log_tester/LogTestComponentAc.hpp>
class LogTextImpl: public Log::LogTesterComponentBase {
public:
LogTextImpl(const char* com... | hpp |
fprime | data/projects/fprime/Autocoders/Python/test/log_tester/test/ut/main.cpp | #ifdef FPRIME_CMAKE
#include "Autocoder/GTestBase.hpp"
#else
#include <log_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 Log::LogTesterGTestBase {
public:
ATester() : Log::Lo... | cpp |
fprime | data/projects/fprime/Autocoders/Python/test/event_multi_inst/main.cpp | #include <Autocoders/Python/test/event_multi_inst/TestLogImpl.hpp>
#include <Autocoders/Python/test/event_multi_inst/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::setT... | cpp |
fprime | data/projects/fprime/Autocoders/Python/test/event_multi_inst/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/event_multi_inst/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/event_multi_inst/TestLogImpl.hpp | /*
* TestCommand1Impl.hpp
*
* Created on: Mar 28, 2014
* Author: tcanham
*/
#ifndef TESTCOMMAND1IMPL_HPP_
#define TESTCOMMAND1IMPL_HPP_
#include <Autocoders/Python/test/event_multi_inst/TestComponentAc.hpp>
class TestLogImpl: public Somewhere::TestLogComponentBase {
public:
TestLogImpl(const c... | hpp |
fprime | data/projects/fprime/Autocoders/Python/test/event_multi_inst/TestLogImpl.cpp | /*
* TestCommand1Impl.cpp
*
* Created on: Mar 28, 2014
* Author: tcanham
*/
#include <Autocoders/Python/test/event_multi_inst/TestLogImpl.hpp>
#include <cstdio>
TestLogImpl::TestLogImpl(const char* name) : Somewhere::TestLogComponentBase(name)
{
}
TestLogImpl::~TestLogImpl() {
}
void TestLogImpl::init() ... | cpp |
fprime | data/projects/fprime/Autocoders/Python/test/event_multi_inst/test/ut/main.cpp | #ifdef FPRIME_CMAKE
#include "Autocoder/GTestBase.hpp"
#else
#include <event_multi_instGTestBase.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) {
}
... | cpp |
fprime | data/projects/fprime/Autocoders/Python/test/enum1port/DrvTimingSignalPort.hpp | #ifndef DRV_BIU_RB_INT_SIG_RECEIVE_PORT_HPP
#define DRV_BIU_RB_INT_SIG_RECEIVE_PORT_HPP
#include <Fw/Port/FwInputPortBase.hpp>
#include <Fw/Port/FwOutputPortBase.hpp>
#include <Fw/Comp/FwCompBase.hpp>
#include <FpConfig.hpp>
namespace Drv {
typedef enum {
REAL_TIME_INTERRUPT
} TimingSignal ;
... | hpp |
fprime | data/projects/fprime/Autocoders/Python/test/enum1port/DrvTimingSignalPort.cpp | #include <Fw/Types/FwAssert.hpp>
#include <Drv/BlockDriver/DrvTimingSignalPort.hpp>
#include <cstdio>
extern I32 debug_flag;
namespace Drv {
namespace {
class TimingSignalPortBuffer : public Fw::SerializeBufferBase {
public:
NATIVE_INT_TYPE getBuffCapacity() const {
... | cpp |
fprime | data/projects/fprime/Autocoders/Python/test/pass_by_attrib/Msg1Port.cpp | #include <Fw/Cfg/FwConfig.hpp>
#include <Fw/Types/FwAssert.hpp>
#include <Fw/Types/FwSerializable.hpp>
#include <Ports/Msg1PortAc.hpp>
namespace Ports {
namespace {
class Msg1PortBuffer : public Fw::SerializeBufferBase {
public:
I32 getBuffCapacity() const {
... | cpp |
fprime | data/projects/fprime/Autocoders/Python/test/pass_by_attrib/Msg1Port.hpp | /*
* Msg1Port.hpp
*
* Created on: Monday, 09 September 2013
* Author: reder
*
*/
#ifndef MSG1PORT_HPP_
#define MSG1PORT_HPP_
#include <Fw/Cfg/FwConfig.hpp>
#include <Fw/Port/FwInputPortBase.hpp>
#include <Fw/Port/FwOutputPortBase.hpp>
#include <Fw/Comp/FwCompBase.hpp>
#include <FpConfig.hpp>
#include <Fw/T... | hpp |
fprime | data/projects/fprime/Autocoders/Python/test/pass_by_attrib/test/ut/main.cpp | #ifdef FPRIME_CMAKE
#include "Autocoder/GTestBase.hpp"
#else
#include <pass_by_attribGTestBase.hpp>
#endif
// Very minimal to test autocoder. Some day they'll be actual unit test code
class ATester : public App::PassByGTestBase {
public:
ATester() : App::PassByGTestBase("comp",10) {
}
};
int main(int... | cpp |
fprime | data/projects/fprime/Autocoders/Python/test/partition/DuckDuckImpl.hpp | #ifndef DUCK_DUCK_IMPL_HPP
#define DUCK_DUCK_IMPL_HPP
#include <Autocoders/Python/test/partition/DuckDuckComponentAc.hpp>
namespace Duck {
class DuckImpl : public DuckBase {
public:
// Only called by derived class
DuckImpl(const char* compName);
~DuckImpl();
private:
//... | hpp |
fprime | data/projects/fprime/Autocoders/Python/test/partition/DuckDuckImpl.cpp | #include <Autocoders/Python/test/partition/DuckDuckImpl.hpp>
#include <FpConfig.hpp>
#include <iostream>
#include <cstdio>
using namespace std;
namespace Duck {
DuckImpl::DuckImpl(const char* compName) : DuckBase(compName) {
}
DuckImpl::~DuckImpl() {
}
// Internal call - i... | cpp |
fprime | data/projects/fprime/Autocoders/Python/test/partition/PartitionImpl.hpp | #ifndef PARTITION_PARTITION_IMPL_HPP
#define PARTITION_PARTITION_IMPL_HPP
#include <Autocoders/Python/test/partition/PartitionPartitionComponentAc.hpp>
namespace Partition {
class PartitionImpl : public PartitionBase {
public:
PartitionImpl(const char* compName);
~PartitionImpl();
private:
// downcall for... | hpp |
fprime | data/projects/fprime/Autocoders/Python/test/partition/PartitionImpl.cpp | #include <Autocoders/Python/test/partition/PartitionImpl.hpp>
#include <FpConfig.hpp>
#include <iostream>
#include <cstdio>
using namespace std;
namespace Partition {
PartitionImpl::PartitionImpl(const char* compName) : PartitionBase(compName) {
}
PartitionImpl::~PartitionImpl() {
}
// downcall for inp... | cpp |
fprime | data/projects/fprime/Autocoders/Python/test/partition/Top.cpp | //--------------------------------------------------------------------------------------
// Top1.cpp
//
// This application contains a Duck and Partition component only
// This is a simple passive test case based on the Partition component
// that only contains serializable port types and is passive.
//
//-------------... | cpp |
fprime | data/projects/fprime/Autocoders/Python/test/partition/Top.hpp | #ifndef TOP_TARGET_INIT_HPP
#define TOP_TARGET_INIT_HPP
extern "C" {
void localTargetInit();
}
#endif
| hpp |
fprime | data/projects/fprime/Autocoders/Python/test/serialize2/Top.cpp | #include <Fw/Obj/SimpleObjRegistry.hpp>
#include <iostream>
#include <cstring>
#include <Autocoders/Python/test/serialize2/GncMeasurementSerializableAc.hpp>
#include <unistd.h>
using namespace std;
// Serializable instance pointers
Ref::Gnc::Quaternion* q_ptr = 0;
Ref::Gnc::GncMeasurement* S1_ptr = 0;
Ref::Gnc::GncM... | cpp |
fprime | data/projects/fprime/Autocoders/Python/test/port_return_type/test/ut/main.cpp | #ifdef FPRIME_CMAKE
#include "Autocoder/GTestBase.hpp"
#else
#include <port_return_typeGTestBase.hpp>
#endif
// Very minimal to test autocoder. Some day they'll be actual unit test code
class ATester : public Tlm::TestEventGTestBase {
public:
ATester() : Tlm::TestEventGTestBase("comp",10) {
}
};
int ... | cpp |
fprime | data/projects/fprime/Autocoders/Python/test/string_port/test/ut/main.cpp | #ifdef FPRIME_CMAKE
#include "Autocoder/GTestBase.hpp"
#else
#include <string_portGTestBase.hpp>
#endif
// Very minimal to test autocoder. Some day they'll be actual unit test code
class ATester : public ExampleComponents::TestComponentGTestBase {
public:
ATester() : ExampleComponents::TestComponentGTestBase("com... | cpp |
fprime | data/projects/fprime/Autocoders/Python/test/event_throttle/main.cpp | #include <Autocoders/Python/test/event_throttle/TestLogImpl.hpp>
#include <Autocoders/Python/test/event_throttle/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... | cpp |
fprime | data/projects/fprime/Autocoders/Python/test/event_throttle/TestLogRecvImpl.cpp | /*
* TestCommand1Impl.cpp
*
* Created on: Mar 28, 2014
* Author: tcanham
*/
#include <Autocoders/Python/test/event_throttle/TestLogRecvImpl.hpp>
#include <cstdio>
TestLogRecvImpl::TestLogRecvImpl(const char* name) : LogTextImpl(name)
{
}
TestLogRecvImpl::~TestLogRecvImpl() {
}
void TestLogRecvImpl::logRe... | cpp |
fprime | data/projects/fprime/Autocoders/Python/test/event_throttle/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/event_throttle/TestLogImpl.hpp | /*
* TestCommand1Impl.hpp
*
* Created on: Mar 28, 2014
* Author: tcanham
*/
#ifndef TESTCOMMAND1IMPL_HPP_
#define TESTCOMMAND1IMPL_HPP_
#include <Autocoders/Python/test/event_throttle/TestComponentAc.hpp>
class TestLogImpl: public Somewhere::TestLogComponentBase {
public:
TestLogImpl(const cha... | hpp |
fprime | data/projects/fprime/Autocoders/Python/test/event_throttle/TestLogImpl.cpp | /*
* TestCommand1Impl.cpp
*
* Created on: Mar 28, 2014
* Author: tcanham
*/
#include <Autocoders/Python/test/event_throttle/TestLogImpl.hpp>
#include <cstdio>
TestLogImpl::TestLogImpl(const char* name) : Somewhere::TestLogComponentBase(name)
{
}
TestLogImpl::~TestLogImpl() {
}
void TestLogImpl::init(NATI... | cpp |
fprime | data/projects/fprime/Autocoders/Python/test/event_throttle/test/ut/event_throttleTester.hpp | // ======================================================================
// \title TestLog/test/ut/Tester.hpp
// \author tcanham
// \brief hpp file for TestLog 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/event_throttle/test/ut/main.cpp | #include "event_throttleTester.hpp"
TEST(EventThrottleTest,ThrottleTest) {
Somewhere::event_throttleTester tester;
tester.doEventThrottleTest();
}
int main(int argc, char* argv[]) {
::testing::InitGoogleTest(&argc, argv);
return RUN_ALL_TESTS();
}
| cpp |
fprime | data/projects/fprime/Autocoders/Python/test/event_throttle/test/ut/event_throttleTester.cpp | // ======================================================================
// \title TestLog.hpp
// \author tcanham
// \brief cpp file for TestLog 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/serialize_user/main.cpp | #include <Fw/Obj/SimpleObjRegistry.hpp>
#include <Autocoders/Python/test/serialize_user/ExampleComponentImpl.hpp>
int main(int argc, char* argv[]) {
#if FW_PORT_TRACING
Fw::PortBase::setTrace(true);
#endif
#if FW_OBJECT_REGISTRATION == 1
Fw::SimpleObjRegistry objReg;
#endif
#if FW_OBJECT_REGISTRATION == 1
... | cpp |
fprime | data/projects/fprime/Autocoders/Python/test/serialize_user/ExampleComponentImpl.hpp | /*
* TestCommand1Impl.hpp
*
* Created on: Mar 28, 2014
* Author: tcanham
*/
#ifndef TESTCOMMAND2IMPL_HPP_
#define TESTCOMMAND2IMPL_HPP_
#include <Autocoders/Python/test/serialize_user/ExampleComponentAc.hpp>
class ExampleComponentImpl: public ExampleComponents::ExampleComponentComponentBase {
public:
... | hpp |
fprime | data/projects/fprime/Autocoders/Python/test/serialize_user/ExampleComponentImpl.cpp | /*
* TestCommand1Impl.cpp
*
* Created on: Mar 28, 2014
* Author: tcanham
*/
#include <Autocoders/Python/test/serialize_user/ExampleComponentImpl.hpp>
#include <Fw/Types/String.hpp>
#include <cstdio>
ExampleComponentImpl::ExampleComponentImpl(const char* name) : ExampleComponents::ExampleComponentComponent... | cpp |
fprime | data/projects/fprime/Autocoders/Python/test/serialize_user/UserSerializer.cpp | #include <Autocoders/Python/test/serialize_user/UserSerializer.hpp>
#include <Fw/Types/Assert.hpp>
#include <cstdio>
namespace ANameSpace {
UserSerializer::UserSerializer(): Serializable() {
}
UserSerializer::UserSerializer(const SomeUserStruct& src) : Serializable() {
this->setVal(src);
}
UserSerializer::User... | cpp |
fprime | data/projects/fprime/Autocoders/Python/test/serialize_user/UserSerializer.hpp | #ifndef EXAMPLE_TYPE_HPP
#define EXAMPLE_TYPE_HPP
// A hand-coded serializable
#include <FpConfig.hpp>
#include <Fw/Types/Serializable.hpp>
#include <Autocoders/Python/test/serialize_user/SomeStruct.hpp>
#if FW_SERIALIZABLE_TO_STRING
#include <Fw/Types/StringType.hpp>
#endif
namespace ANameSpace {
class UserSer... | hpp |
fprime | data/projects/fprime/Autocoders/Python/test/serialize_user/SomeStruct.hpp | #ifndef SOME_STRUCT_HPP
#define SOME_STRUCT_HPP
#include <FpConfig.hpp>
extern "C" {
typedef struct {
U32 mem1;
F64 mem2;
U8 mem3;
} SomeUserStruct;
}
#endif
| hpp |
fprime | data/projects/fprime/Autocoders/Python/test/serialize_user/test/ut/main.cpp | #ifdef FPRIME_CMAKE
#include "Autocoder/GTestBase.hpp"
#else
#include <serialize_userGTestBase.hpp>
#endif
// Very minimal to test autocoder. Some day they'll be actual unit test code
class ATester : public ExampleComponents::ExampleComponentGTestBase {
public:
ATester() : ExampleComponents::ExampleCompon... | cpp |
fprime | data/projects/fprime/Autocoders/Python/test/param_enum/TestPrmImpl.cpp | /*
* TestCommand1Impl.cpp
*
* Created on: Mar 28, 2014
* Author: tcanham
*/
#include <Autocoders/Python/test/param_enum/TestPrmImpl.hpp>
#include <cstdio>
TestPrmImpl::TestPrmImpl(const char* name) : Prm::TestPrmComponentBase(name)
{
}
TestPrmImpl::~TestPrmImpl() {
}
void TestPrmImpl::init() {
Prm::T... | cpp |
fprime | data/projects/fprime/Autocoders/Python/test/param_enum/main.cpp | #include <Autocoders/Python/test/param_enum/TestPrmImpl.hpp>
#include <Autocoders/Python/test/param_enum/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::SimpleObjRegi... | cpp |
fprime | data/projects/fprime/Autocoders/Python/test/param_enum/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_enum/TestPrmSourceImpl.cpp | /*
* TestCommand1Impl.cpp
*
* Created on: Mar 28, 2014
* Author: tcanham
*/
#include <Autocoders/Python/test/param_enum/TestPrmSourceImpl.hpp>
#include <cstdio>
TestParamSourceImpl::TestParamSourceImpl(const char* name) : Prm::ParamTesterComponentBase(name)
{
}
TestParamSourceImpl::~TestParamSourceImpl() ... | cpp |
fprime | data/projects/fprime/Autocoders/Python/test/param_enum/TestPrmImpl.hpp | /*
* TestPrmImpl.hpp
*
* Created on: Mar 28, 2014
* Author: tcanham
*/
#ifndef TESTPARAMIMPL_HPP_
#define TESTPARAMIMPL_HPP_
#include <Autocoders/Python/test/param_enum/TestComponentAc.hpp>
class TestPrmImpl: public Prm::TestPrmComponentBase {
public:
TestPrmImpl(const char* compName);
... | hpp |
fprime | data/projects/fprime/Autocoders/Python/test/param_enum/test/ut/main.cpp | #ifdef FPRIME_CMAKE
#include "Autocoder/GTestBase.hpp"
#else
#include <param_enumGTestBase.hpp>
#endif
// Very minimal to test autocoder. Some day they'll be actual unit test code
class ATester : public Prm::TestPrmGTestBase {
public:
ATester() : Prm::TestPrmGTestBase("comp",10) {
}
};
int main(int a... | cpp |
fprime | data/projects/fprime/Autocoders/Python/test/queued1/TestComponentImpl.hpp | /*
* TestComponentImpl.hpp
*
* Created on: Jul 1, 2015
* Author: tcanham
*/
#ifndef TEST_QUEUED1_TESTCOMPONENTIMPL_HPP_
#define TEST_QUEUED1_TESTCOMPONENTIMPL_HPP_
#include <Autocoders/Python/test/queued1/TestComponentAc.hpp>
namespace SvcTest {
class TestComponentImpl: public AQueuedTest::TestCompon... | hpp |
fprime | data/projects/fprime/Autocoders/Python/test/queued1/TestComponentImpl.cpp | /*
* TestComponentImpl.cpp
*
* Created on: Jul 1, 2015
* Author: tcanham
*/
#include <Autocoders/Python/test/queued1/TestComponentImpl.hpp>
#include <cstdio>
namespace SvcTest {
TestComponentImpl::TestComponentImpl(const char* compName) : TestComponentBase(compName) {
}
TestComponentImpl::~T... | cpp |
fprime | data/projects/fprime/Autocoders/Python/test/queued1/test/ut/ComponentTesterImpl.hpp | /*
* ComponentTesterImpl.hpp
*
* Created on: Jul 1, 2015
* Author: tcanham
*/
#ifndef TEST_QUEUED1_TEST_UT_COMPONENTTESTERIMPL_HPP_
#define TEST_QUEUED1_TEST_UT_COMPONENTTESTERIMPL_HPP_
#include <Autocoders/Python/test/queued1/TestComponentTestAc.hpp>
#include <Autocoders/Python/test/queued1/TestComponentI... | hpp |
fprime | data/projects/fprime/Autocoders/Python/test/queued1/test/ut/ComponentTesterImpl.cpp | /*
* ComponentTesterImpl.cpp
*
* Created on: Jul 1, 2015
* Author: tcanham
*/
#include "ComponentTesterImpl.hpp"
namespace SvcTest {
ComponentTesterImpl::ComponentTesterImpl(const char* compName) : TestTesterComponentBase(compName) {
}
ComponentTesterImpl::~ComponentTesterImpl() {
}
... | cpp |
fprime | data/projects/fprime/Autocoders/Python/test/queued1/test/ut/ComponentTester.cpp | #include <Autocoders/Python/test/queued1/test/ut/ComponentTesterImpl.hpp>
#include <Autocoders/Python/test/queued1/TestComponentImpl.hpp>
int main(int argc, char* argv[]) {
SvcTest::TestComponentImpl impl("impl");
SvcTest::ComponentTesterImpl tester("tester");
impl.init(10);
tester.init();
tester... | cpp |
fprime | data/projects/fprime/Svc/UdpReceiver/UdpReceiverComponentImpl.hpp | // ======================================================================
// \title UdpReceiverImpl.hpp
// \author tcanham
// \brief hpp file for UdpReceiver component implementation class
//
// \copyright
// Copyright 2009-2015, by the California Institute of Technology.
// ALL RIGHTS RESERVED. United States Govern... | hpp |
fprime | data/projects/fprime/Svc/UdpReceiver/UdpReceiverComponentImpl.cpp | // ======================================================================
// \title UdpReceiverImpl.cpp
// \author tcanham
// \brief cpp file for UdpReceiver component implementation class
//
// \copyright
// Copyright 2009-2015, by the California Institute of Technology.
// ALL RIGHTS RESERVED. United States Govern... | cpp |
fprime | data/projects/fprime/Svc/UdpReceiver/test/ut/main.cpp | #include <Svc/UdpReceiver/test/ut/Tester.hpp>
#include <Fw/Test/UnitTest.hpp>
TEST(Nominal,OpenConnection) {
COMMENT("Open the connections");
Svc::Tester tester;
tester.openTest("50000");
}
TEST(Nominal,RecvPacket) {
COMMENT("Receive a packet");
Svc::Tester tester;
tester.recvTest("50000"... | cpp |
fprime | data/projects/fprime/Svc/UdpReceiver/test/ut/Tester.cpp | // ======================================================================
// \title UdpReceiver.hpp
// \author tcanham
// \brief cpp file for UdpReceiver test harness implementation class
//
// \copyright
// Copyright 2009-2015, by the California Institute of Technology.
// ALL RIGHTS RESERVED. United States Governm... | cpp |
fprime | data/projects/fprime/Svc/UdpReceiver/test/ut/Tester.hpp | // ======================================================================
// \title UdpReceiver/test/ut/Tester.hpp
// \author tcanham
// \brief hpp file for UdpReceiver test harness implementation class
//
// \copyright
// Copyright 2009-2015, by the California Institute of Technology.
// ALL RIGHTS RESERVED. United... | hpp |
fprime | data/projects/fprime/Svc/CmdSplitter/CmdSplitter.cpp | // ======================================================================
// \title CmdSplitter.cpp
// \author watney
// \brief cpp file for CmdSplitter component implementation class
// ======================================================================
#include <FpConfig.hpp>
#include <Fw/Cmd/CmdPacket.hpp>
#in... | cpp |
fprime | data/projects/fprime/Svc/CmdSplitter/CmdSplitter.hpp | // ======================================================================
// \title CmdSplitter.hpp
// \author watney
// \brief hpp file for CmdSplitter component implementation class
// ======================================================================
#ifndef CmdSplitter_HPP
#define CmdSplitter_HPP
#include <... | hpp |
fprime | data/projects/fprime/Svc/CmdSplitter/test/ut/CmdSplitterTestMain.cpp | // ----------------------------------------------------------------------
// TestMain.cpp
// ----------------------------------------------------------------------
#include "CmdSplitterTester.hpp"
TEST(Nominal, Local) {
Svc::CmdSplitterTester tester;
tester.test_local_routing();
}
TEST(Nominal, Remote) {
... | cpp |
fprime | data/projects/fprime/Svc/CmdSplitter/test/ut/CmdSplitterTester.hpp | // ======================================================================
// \title CmdSplitter/test/ut/Tester.hpp
// \author mstarch
// \brief hpp file for CmdSplitter test harness implementation class
// ======================================================================
#ifndef TESTER_HPP
#define TESTER_HPP
#... | hpp |
fprime | data/projects/fprime/Svc/CmdSplitter/test/ut/CmdSplitterTester.cpp | // ======================================================================
// \title CmdSplitter.hpp
// \author mstarch
// \brief cpp file for CmdSplitter test harness implementation class
// ======================================================================
#include "CmdSplitterTester.hpp"
#include <Fw/Cmd/CmdPa... | cpp |
fprime | data/projects/fprime/Svc/GenericHub/GenericHubComponentImpl.hpp | // ======================================================================
// \title GenericHubComponentImpl.hpp
// \author mstarch
// \brief hpp file for GenericHub component implementation class
//
// \copyright
// Copyright 2009-2015, by the California Institute of Technology.
// ALL RIGHTS RESERVED. United States... | hpp |
fprime | data/projects/fprime/Svc/GenericHub/GenericHubComponentImpl.cpp | // ======================================================================
// \title GenericHubComponentImpl.cpp
// \author mstarch
// \brief cpp file for GenericHub component implementation class
//
// \copyright
// Copyright 2009-2015, by the California Institute of Technology.
// ALL RIGHTS RESERVED. United States... | cpp |
fprime | data/projects/fprime/Svc/GenericHub/GenericHub.hpp | // ======================================================================
// GenericHub.hpp
// Standardization header for GenericHub
// ======================================================================
#ifndef Svc_GenericHub_HPP
#define Svc_GenericHub_HPP
#include "Svc/GenericHub/GenericHubComponentImpl.hpp"
na... | hpp |
fprime | data/projects/fprime/Svc/GenericHub/test/ut/GenericHubTester.cpp | // ======================================================================
// \title GenericHub.hpp
// \author mstarch
// \brief cpp file for GenericHub test harness implementation class
//
// \copyright
// Copyright 2009-2015, by the California Institute of Technology.
// ALL RIGHTS RESERVED. United States Governmen... | cpp |
fprime | data/projects/fprime/Svc/GenericHub/test/ut/GenericHubTestMain.cpp | // ----------------------------------------------------------------------
// TestMain.cpp
// ----------------------------------------------------------------------
#include "GenericHubTester.hpp"
TEST(Nominal, TestIo) {
Svc::GenericHubTester tester;
tester.test_in_out();
}
TEST(Nominal, TestBufferIo) {
... | cpp |
fprime | data/projects/fprime/Svc/GenericHub/test/ut/GenericHubTester.hpp | // ======================================================================
// \title GenericHub/test/ut/Tester.hpp
// \author mstarch
// \brief hpp file for GenericHub test harness implementation class
//
// \copyright
// Copyright 2009-2015, by the California Institute of Technology.
// ALL RIGHTS RESERVED. United S... | hpp |
fprime | data/projects/fprime/Svc/ComSplitter/ComSplitter.cpp | // ----------------------------------------------------------------------
//
// ComSplitter.cpp
//
// ----------------------------------------------------------------------
#include <Svc/ComSplitter/ComSplitter.hpp>
#include <FpConfig.hpp>
namespace Svc {
// --------------------------------------------------------... | cpp |
fprime | data/projects/fprime/Svc/ComSplitter/ComSplitter.hpp | // ----------------------------------------------------------------------
//
// ComSplitter.hpp
//
// ----------------------------------------------------------------------
#ifndef COMSPLITTER_HPP
#define COMSPLITTER_HPP
#include <Svc/ComSplitter/ComSplitterComponentAc.hpp>
#include <Fw/Types/Assert.hpp>
namespace S... | hpp |
fprime | data/projects/fprime/Svc/ComSplitter/test/ut/ComSplitterMain.cpp | /*
* Main.cpp
*
* Created on: March 9, 2017
* Author: Gorang Gandhi
*/
#include "ComSplitterTester.hpp"
#include <Svc/ComSplitter/ComSplitter.hpp>
#include <Fw/Obj/SimpleObjRegistry.hpp>
#include <gtest/gtest.h>
#include <Fw/Test/UnitTest.hpp>
TEST(TestNominal,Nominal) {
Svc::ComSplitterTester tester... | cpp |
fprime | data/projects/fprime/Svc/ComSplitter/test/ut/ComSplitterTester.hpp | // ======================================================================
// \title ComSplitter/test/ut/Tester.hpp
// \author gcgandhi
// \brief hpp file for ComSplitter test harness implementation class
//
// \copyright
// Copyright 2009-2015, by the California Institute of Technology.
// ALL RIGHTS RESERVED. Unite... | hpp |
fprime | data/projects/fprime/Svc/ComSplitter/test/ut/ComSplitterTester.cpp | // ======================================================================
// \title ComSplitter.hpp
// \author gcgandhi
// \brief cpp file for ComSplitter test harness implementation class
//
// \copyright
// Copyright 2009-2015, by the California Institute of Technology.
// ALL RIGHTS RESERVED. United States Govern... | cpp |
fprime | data/projects/fprime/Svc/LinuxTimer/LinuxTimerComponentImplTimerFd.cpp | // ======================================================================
// \title LinuxTimerImpl.cpp
// \author tim
// \brief cpp file for LinuxTimer 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/Svc/LinuxTimer/LinuxTimerComponentImplCommon.cpp | // ======================================================================
// \title LinuxTimerImpl.cpp
// \author tim
// \brief cpp file for LinuxTimer 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/Svc/LinuxTimer/LinuxTimerComponentImplTaskDelay.cpp | // ======================================================================
// \title LinuxTimerImpl.cpp
// \author tim
// \brief cpp file for LinuxTimer 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/Svc/LinuxTimer/LinuxTimerComponentImpl.hpp | // ======================================================================
// \title LinuxTimerImpl.hpp
// \author tim
// \brief hpp file for LinuxTimer 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/Svc/LinuxTimer/LinuxTimer.hpp | // ======================================================================
// LinuxTimer.hpp
// Standardization header for LinuxTimer
// ======================================================================
#ifndef Svc_LinuxTimer_HPP
#define Svc_LinuxTimer_HPP
#include "Svc/LinuxTimer/LinuxTimerComponentImpl.hpp"
na... | hpp |
fprime | data/projects/fprime/Svc/LinuxTimer/test/ut/main.cpp | // ----------------------------------------------------------------------
// Main.cpp
// ----------------------------------------------------------------------
#include "LinuxTimerTester.hpp"
#include <Fw/Test/UnitTest.hpp>
TEST(Nominal, InitTest) {
TEST_CASE(103.1.1,"Cycle Test");
Svc::LinuxTimerTester test... | cpp |
fprime | data/projects/fprime/Svc/LinuxTimer/test/ut/LinuxTimerTester.hpp | // ======================================================================
// \title LinuxTimer/test/ut/Tester.hpp
// \author tim
// \brief hpp file for LinuxTimer test harness implementation class
//
// \copyright
// Copyright 2009-2015, by the California Institute of Technology.
// ALL RIGHTS RESERVED. United State... | hpp |
fprime | data/projects/fprime/Svc/LinuxTimer/test/ut/LinuxTimerTester.cpp | // ======================================================================
// \title LinuxTimer.hpp
// \author tim
// \brief cpp file for LinuxTimer 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/Svc/BufferLogger/BufferLogger.cpp | // ======================================================================
// \title BufferLogger.cpp
// \author bocchino, dinkel, mereweth
// \brief Svc BufferLogger implementation
//
// \copyright
// Copyright (C) 2015-2017 California Institute of Technology.
// ALL RIGHTS RESERVED. United States Government Sponsor... | cpp |
fprime | data/projects/fprime/Svc/BufferLogger/BufferLoggerFile.cpp | // ======================================================================
// \title BufferLoggerFile.cpp
// \author bocchino, dinkel, mereweth
// \brief Implementation for Svc::BufferLogger::BufferLoggerFile
//
// \copyright
// Copyright (C) 2015-2017 California Institute of Technology.
// ALL RIGHTS RESERVED. Unite... | cpp |
fprime | data/projects/fprime/Svc/BufferLogger/BufferLogger.hpp | // ======================================================================
// \title BufferLogger.hpp
// \author bocchino, dinkel, mereweth
// \brief Svc Buffer Logger interface
//
// \copyright
// Copyright (C) 2015-2017 California Institute of Technology.
// ALL RIGHTS RESERVED. United States Government Sponsorship... | hpp |
fprime | data/projects/fprime/Svc/BufferLogger/test/ut/Logging.hpp | // ======================================================================
// \title Logging.hpp
// \author bocchino, mereweth
// \brief Interface for BufferLogger logging tests
//
// \copyright
// Copyright (C) 2017 California Institute of Technology.
// ALL RIGHTS RESERVED. United States Government Sponsorship
// a... | hpp |
fprime | data/projects/fprime/Svc/BufferLogger/test/ut/Health.cpp | // ======================================================================
// \title Health.cpp
// \author bocchino, mereweth
// \brief Implementation for Buffer Logger health tests
//
// \copyright
// Copyright (C) 2017 California Institute of Technology.
// ALL RIGHTS RESERVED. United States Government Sponsorship
... | cpp |
fprime | data/projects/fprime/Svc/BufferLogger/test/ut/BufferLoggerMain.cpp | // ----------------------------------------------------------------------
// Main.cpp
// ----------------------------------------------------------------------
#include "BufferLoggerTester.hpp"
#include "Errors.hpp"
#include "Logging.hpp"
#include "Health.hpp"
TEST(Test, LogNoInit) {
Svc::BufferLoggerTester tester(... | cpp |
fprime | data/projects/fprime/Svc/BufferLogger/test/ut/Errors.cpp | // ======================================================================
// \title Errors.cpp
// \author bocchino, mereweth
// \brief Implementation for Buffer Logger error tests
//
// \copyright
// Copyright (C) 2017 California Institute of Technology.
// ALL RIGHTS RESERVED. United States Government Sponsorship
/... | cpp |
fprime | data/projects/fprime/Svc/BufferLogger/test/ut/Errors.hpp | // ======================================================================
// \title Errors.hpp
// \author bocchino, mereweth
// \brief Interface for BufferLogger error tests
//
// \copyright
// Copyright (C) 2017 California Institute of Technology.
// ALL RIGHTS RESERVED. United States Government Sponsorship
// ackn... | hpp |
fprime | data/projects/fprime/Svc/BufferLogger/test/ut/Logging.cpp | // ======================================================================
// \title Logging.cpp
// \author bocchino, mereweth
// \brief Implementation for Buffer Logger logging tests
//
// \copyright
// Copyright (C) 2017 California Institute of Technology.
// ALL RIGHTS RESERVED. United States Government Sponsorshi... | cpp |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.