repo_name
stringclasses
10 values
file_path
stringlengths
29
222
content
stringlengths
24
926k
extention
stringclasses
5 values
fprime
data/projects/fprime/Os/Stub/File.hpp
// ====================================================================== // \title Os/Stub/File.hpp // \brief stub file definitions for Os::File // ====================================================================== #include "Os/File.hpp" #ifndef OS_STUB_FILE_HPP #define OS_STUB_FILE_HPP namespace Os { namespace S...
hpp
fprime
data/projects/fprime/Os/Stub/DefaultFile.cpp
// ====================================================================== // \title Os/Stub/DefaultFile.cpp // \brief sets default Os::File to no-op stub implementation via linker // ====================================================================== #include "Os/Stub/File.hpp" #include "Fw/Types/Assert.hpp" #includ...
cpp
fprime
data/projects/fprime/Os/Stub/test/File.cpp
#include "Os/Stub/test/File.hpp" #include "Os/File.hpp" #include <new> namespace Os { namespace Stub { namespace File { namespace Test { StaticData StaticData::data; void StaticData::setNextStatus(Os::File::Status status) { StaticData::data.nextStatus = status; } void StaticData::setSizeResult(FwSignedSizeType s...
cpp
fprime
data/projects/fprime/Os/Stub/test/File.hpp
#include "Os/File.hpp" #include <string.h> #ifndef OS_STUB_FILE_TEST_HPP #define OS_STUB_FILE_TEST_HPP namespace Os { namespace Stub { namespace File { namespace Test { //! Data that supports the stubbed File implementation. //!/ struct StaticData { //! Enumeration of last function called //! enum LastFn ...
hpp
fprime
data/projects/fprime/Os/Stub/test/DefaultFile.cpp
// ====================================================================== // \title Os/Stub/test/DefaultFile.cpp // \brief sets default Os::File to test stub implementation via linker // ====================================================================== #include "Os/Stub/test/File.hpp" #include "Fw/Types/Assert.hpp...
cpp
fprime
data/projects/fprime/Os/Stub/test/ut/StubFileTests.cpp
// ====================================================================== // \title Os/Stub/test/ut/StubFileTests.cpp // \brief tests using stub implementation for Os::File interface testing // ====================================================================== #include <gtest/gtest.h> #include "Os/File.hpp" #includ...
cpp
fprime
data/projects/fprime/Os/test/ut/OsFileSystemTest.cpp
#include <gtest/gtest.h> #include <Os/FileSystem.hpp> #include <Os/File.hpp> #include <Fw/Types/Assert.hpp> #include <Fw/Types/String.hpp> #include <unistd.h> #include <cstdio> #include <cstring> #include <sys/types.h> #include <sys/stat.h> void testTestFileSystem() { Os::FileSystem::Status file_sys_status; ...
cpp
fprime
data/projects/fprime/Os/test/ut/OsTestMain.cpp
#include "gtest/gtest.h" #include <cstdlib> #include <unistd.h> #include <cstdio> extern "C" { void startTestTask(); void qtest_block_receive(); void qtest_nonblock_receive(); void qtest_nonblock_send(); void qtest_block_send(); void qtest_performance(); void qtest_concurrent(); void intervalTimerTest(...
cpp
fprime
data/projects/fprime/Os/test/ut/IntervalTimerTest.cpp
#include "gtest/gtest.h" #include <Os/IntervalTimer.hpp> #include <Os/Task.hpp> #include <cstdio> extern "C" { void intervalTimerTest(); } void intervalTimerTest() { Os::IntervalTimer timer; timer.start(); Os::Task::delay(1000); timer.stop(); ASSERT_GE(timer.getDiffUsec(), 1000000); ASSERT...
cpp
fprime
data/projects/fprime/Os/test/ut/OsSystemResourcesTest.cpp
#include <gtest/gtest.h> #include <Os/SystemResources.hpp> #include <Fw/Types/Assert.hpp> #include <Fw/Types/String.hpp> void testTestSystemResources() { Os::SystemResources::SystemResourcesStatus sys_res_status; Os::SystemResources::CpuTicks cpuUtil; U32 cpuCount; U32 cpuIndex; sys_res_status =...
cpp
fprime
data/projects/fprime/Os/test/ut/OsQueueTest.cpp
#include "gtest/gtest.h" #include <Os/Queue.hpp> #include <cstdio> #include <cstring> #include <Fw/Types/Assert.hpp> #include <unistd.h> #include <csignal> #include <pthread.h> #if defined TGT_OS_TYPE_LINUX #include <ctime> #endif #if defined TGT_OS_TYPE_DARWIN #include <sys/time.h> #endif // Set this to 1 if testing...
cpp
fprime
data/projects/fprime/Os/test/ut/OsMutexBasicLockableTest.cpp
#include <gtest/gtest.h> #include <Os/Mutex.hpp> #include <Fw/Types/Assert.hpp> #include <mutex> // This is exclusively a compile-time check void testMutexBasicLockableTest() { Os::Mutex mux; { std::lock_guard<Os::Mutex> lock(mux); } ASSERT_TRUE(true); // if runs will pass } extern "C" { void mutex...
cpp
fprime
data/projects/fprime/Os/test/ut/OsValidateFileTest.cpp
#include <Os/ValidateFile.hpp> #include "gtest/gtest.h" #include <Os/FileSystem.hpp> #include <Os/File.hpp> #include <Utils/Hash/HashBuffer.hpp> #include <Fw/Types/Assert.hpp> #include <cstdio> void testValidateFile(const char* fileName) { Os::ValidateFile::Status validateStatus; Os::FileSystem::Status fsSta...
cpp
fprime
data/projects/fprime/Os/test/ut/OsTaskTest.cpp
#include "gtest/gtest.h" #include <Os/Task.hpp> #include <cstdio> extern "C" { void startTestTask(); } void someTask(void* ptr) { bool* ran = static_cast<bool*>(ptr); *ran = true; } void startTestTask() { volatile bool taskRan = false; Os::Task testTask; Os::TaskString name("ATestTask"); ...
cpp
fprime
data/projects/fprime/Os/test/ut/file/SyntheticFileSystem.cpp
// ====================================================================== // \title Os/test/ut/file/SyntheticFileSystem.cpp // \brief standard template library driven synthetic file system implementation // ====================================================================== #include "Os/test/ut/file/SyntheticFileSys...
cpp
fprime
data/projects/fprime/Os/test/ut/file/CommonTests.cpp
// ====================================================================== // \title Os/test/ut/file/CommonFileTests.cpp // \brief common test implementations // ====================================================================== #include "Os/test/ut/file/CommonTests.hpp" #include <gtest/gtest.h> #include "Os/File.hp...
cpp
fprime
data/projects/fprime/Os/test/ut/file/CommonTests.hpp
// ====================================================================== // \title Os/test/ut/file/CommonFileTests.hpp // \brief definitions used in common file testing // ====================================================================== #include <Os/File.hpp> #include <Os/test/ut/file/RulesHeaders.hpp> #ifndef ...
hpp
fprime
data/projects/fprime/Os/test/ut/file/FileRules.cpp
// ====================================================================== // \title Os/test/ut/file/MyRules.cpp // \brief rule implementations for common testing // ====================================================================== #include "RulesHeaders.hpp" #include "STest/Pick/Pick.hpp" extern "C" { #include <U...
cpp
fprime
data/projects/fprime/Os/test/ut/file/FileRules.hpp
// ====================================================================== // \title Os/test/ut/file/MyRules.hpp // \brief rule definitions for common testing // ====================================================================== // Stripped when compiled, here for IDEs #include "RulesHeaders.hpp" // ---------------...
hpp
fprime
data/projects/fprime/Os/test/ut/file/RulesHeaders.hpp
// ====================================================================== // \title Os/test/ut/file/RulesHeaders.hpp // \brief rule definitions for common testing // ====================================================================== #ifndef __RULES_HEADERS__ #define __RULES_HEADERS__ #include <gtest/gtest.h> #incl...
hpp
fprime
data/projects/fprime/Os/test/ut/file/SyntheticFileSystem.hpp
// ====================================================================== // \title Os/test/ut/file/SyntheticFileSystem.hpp // \brief standard template library driven synthetic file system definitions // ====================================================================== #include "config/FpConfig.h" #include "Os/Fil...
hpp
fprime
data/projects/fprime/Os/Posix/File.cpp
// ====================================================================== // \title Os/Posix/File.cpp // \brief posix implementation for Os::File // ====================================================================== #include <cerrno> #include <fcntl.h> #include <unistd.h> #include <limits> #include <Os/File.hpp> #...
cpp
fprime
data/projects/fprime/Os/Posix/LocklessQueue.cpp
#include <Os/LocklessQueue.hpp> #include <Fw/Types/Assert.hpp> #include <fcntl.h> #include <cstring> #include <new> #define CAS(a_ptr, a_oldVal, a_newVal) __sync_bool_compare_and_swap(a_ptr, a_oldVal, a_newVal) namespace Os { LocklessQueue::LocklessQueue(const NATIVE_INT_TYPE maxmsg, const NATIVE_IN...
cpp
fprime
data/projects/fprime/Os/Posix/TaskId.cpp
// File: TaskId.cpp // Author: Ben Soudry (benjamin.s.soudry@jpl.nasa.gov) // Nathan Serafin (nathan.serafin@jpl.nasa.gov) // Date: 29 June, 2018 // // POSIX implementation of TaskId type. extern "C" { #include <pthread.h> } #include <Os/TaskId.hpp> namespace Os { TaskId::TaskId() : id(pthread_self()) ...
cpp
fprime
data/projects/fprime/Os/Posix/IntervalTimer.cpp
/** * Posix/IntervalTimer.cpp: * * The Posix implementation of the interval timer shares the same raw setup as other X86 * implementations. That is: the lower U32 of the RawTime is nano-seconds, and the upper U32 of * RawTime object is seconds. Thus only the "getRawTime" function differs from the base X86 * versi...
cpp
fprime
data/projects/fprime/Os/Posix/Queue.cpp
#include <Fw/Types/Assert.hpp> #include <Os/Queue.hpp> #ifdef TGT_OS_TYPE_VXWORKS #include <vxWorks.h> #endif #ifdef TGT_OS_TYPE_LINUX #include <sys/types.h> #include <unistd.h> #endif #include <mqueue.h> #include <fcntl.h> #include <cerrno> #include <cstring> #include <cstdio> #include <ctime> #include ...
cpp
fprime
data/projects/fprime/Os/Posix/errno.cpp
// ====================================================================== // \title Os/Posix/errno.cpp // \brief implementation for posix errno conversion // ====================================================================== #include <cerrno> #include "Os/Posix/errno.hpp" namespace Os { namespace Posix { File::St...
cpp
fprime
data/projects/fprime/Os/Posix/File.hpp
// ====================================================================== // \title Os/Posix/File.hpp // \brief posix implementation for Os::File, header and test definitions // ====================================================================== #include <Os/File.hpp> #ifndef OS_POSIX_FILE_HPP #define OS_POSIX_FILE_...
hpp
fprime
data/projects/fprime/Os/Posix/IPCQueue.cpp
#include <Fw/Types/Assert.hpp> #include <Os/Queue.hpp> #include <Os/IPCQueue.hpp> #ifdef TGT_OS_TYPE_VXWORKS #include <vxWorks.h> #endif #ifdef TGT_OS_TYPE_LINUX #include <sys/types.h> #include <unistd.h> #endif #include <mqueue.h> #include <fcntl.h> #include <cerrno> #include <cstring> #include <cstdio>...
cpp
fprime
data/projects/fprime/Os/Posix/errno.hpp
// ====================================================================== // \title Os/Posix/errno.hpp // \brief header for posix errno conversion // ====================================================================== #include "Os/File.hpp" #ifndef OS_POSIX_ERRNO_HPP #define OS_POSIX_ERRNO_HPP namespace Os { namesp...
hpp
fprime
data/projects/fprime/Os/Posix/DefaultFile.cpp
// ====================================================================== // \title Os/Posix/DefaultFile.cpp // \brief sets default Os::File to posix implementation via linker // ====================================================================== #include "Os/File.hpp" #include "Os/Posix/File.hpp" #include "Fw/Types...
cpp
fprime
data/projects/fprime/Os/Posix/Task.cpp
#include <Os/Task.hpp> #include <Fw/Types/Assert.hpp> #include <pthread.h> #include <cerrno> #include <cstring> #include <ctime> #include <cstdio> #include <new> #include <sched.h> #include <climits> #include <Fw/Logger/Logger.hpp> #ifdef TGT_OS_TYPE_LINUX #include <features.h> #endif static const NATIVE_INT_TYPE S...
cpp
fprime
data/projects/fprime/Os/Posix/Mutex.cpp
#include <Os/Mutex.hpp> #include <pthread.h> #include <Fw/Types/Assert.hpp> #include <new> namespace Os { Mutex::Mutex() { pthread_mutex_t* handle = new(std::nothrow) pthread_mutex_t; FW_ASSERT(handle != nullptr); // set attributes pthread_mutexattr_t attr; pthread_mutexat...
cpp
fprime
data/projects/fprime/Os/Posix/test/ut/PosixFileTests.cpp
// ====================================================================== // \title Os/Posix/test/ut/PosixFileTests.cpp // \brief tests for posix implementation for Os::File // ====================================================================== #include <gtest/gtest.h> #include <unistd.h> #include <list> #include "O...
cpp
fprime
data/projects/fprime/Os/Baremetal/File.cpp
#include <FpConfig.hpp> #include <Os/File.hpp> #include <Fw/Types/Assert.hpp> namespace Os { File::File() :m_fd(0),m_mode(OPEN_NO_MODE),m_lastError(0) {} File::~File() {} File::Status File::open(const char* fileName, File::Mode mode) { return NOT_OPENED; } File::Status File::open(const...
cpp
fprime
data/projects/fprime/Os/Baremetal/IntervalTimer.cpp
#include <Os/IntervalTimer.hpp> #include <Fw/Types/Assert.hpp> namespace Os { void IntervalTimer::getRawTime(RawTime& time) { time.lower = 0; time.upper = 0; } U32 IntervalTimer::getDiffUsec(const RawTime& t1In, const RawTime& t2In) { return 0; } }
cpp
fprime
data/projects/fprime/Os/Baremetal/Queue.cpp
// ====================================================================== // \title Queue.cpp // \author mstarch, borrowed from @dinkel // \brief Queue implementation for Baremetal devices. No IPC nor thread // safety is implemented as this intended for baremetal devices. // Based on Os/Pthreads/Queue...
cpp
fprime
data/projects/fprime/Os/Baremetal/SystemResources.cpp
// ====================================================================== // \title Baremetal/SystemResources.cpp // \author mstarch // \brief cpp file for SystemResources component implementation class // // \copyright // Copyright 2021, by the California Institute of Technology. // ALL RIGHTS RESERVED. United Stat...
cpp
fprime
data/projects/fprime/Os/Baremetal/FileSystem.cpp
#include <FpConfig.hpp> #include <Fw/Types/Assert.hpp> #include <Os/File.hpp> #include <Os/FileSystem.hpp> namespace Os { namespace FileSystem { Status createDirectory(const char* path) { return NO_SPACE; } // end createDirectory Status removeDirectory(const char* path) { return INVALID_PATH; } // end remov...
cpp
fprime
data/projects/fprime/Os/Baremetal/Task.cpp
#include <Fw/Comp/ActiveComponentBase.hpp> #include <Os/Task.hpp> #include <Os/Baremetal/TaskRunner/BareTaskHandle.hpp> #include <Fw/Types/Assert.hpp> #include <cstdio> #include <new> namespace Os { Task::Task() : m_handle(0), m_identifier(0), m_affinity(-1), m_started(false), m_suspendedOnPurpose...
cpp
fprime
data/projects/fprime/Os/Baremetal/Mutex.cpp
#include <Os/Mutex.hpp> namespace Os { /** * On baremetal, mutexes are not required as there is a single threaded * engine to run on. */ Mutex::Mutex() { static U32 counter = 0; m_handle = counter++; } Mutex::~Mutex() {} void Mutex::lock() {} void Mutex::unLock() {...
cpp
fprime
data/projects/fprime/Os/Baremetal/TaskRunner/BareTaskHandle.hpp
/* * BareTaskHandle.hpp * * Created on: Feb 28, 2019 * Author: lestarch */ #ifndef OS_BAREMETAL_TASKRUNNER_BARETASKHANDLE_HPP_ #define OS_BAREMETAL_TASKRUNNER_BARETASKHANDLE_HPP_ #include <Os/Task.hpp> namespace Os { /** * Helper handle used to pretend to be a task. */ class BareTaskHandle { public: ...
hpp
fprime
data/projects/fprime/Os/Baremetal/TaskRunner/TaskRunner.cpp
/* * TaskRunner.cpp * * Created on: Feb 28, 2019 * Author: lestarch */ #include <Fw/Types/Assert.hpp> #include <FpConfig.hpp> #include <Os/Baremetal/TaskRunner/TaskRunner.hpp> #include <Os/Baremetal/TaskRunner/BareTaskHandle.hpp> namespace Os { TaskRunner::TaskRunner() : m_index(0), m_cont(true) { ...
cpp
fprime
data/projects/fprime/Os/Baremetal/TaskRunner/TaskRunner.hpp
/* * TaskRunner.hpp * * Created on: Feb 28, 2019 * Author: lestarch */ #include <Os/Task.hpp> #ifndef OS_BAREMETAL_TASKRUNNER_TASKRUNNER_HPP_ #define OS_BAREMETAL_TASKRUNNER_TASKRUNNER_HPP_ #define TASK_REGISTRY_CAP 100 namespace Os { /** * Combination TaskRegistry and task runner. This does the "heavy l...
hpp
fprime
data/projects/fprime/FppTest/source.cpp
// Empty source file so that SOURCES for target FppTest is not empty
cpp
fprime
data/projects/fprime/FppTest/array/main.cpp
// ====================================================================== // \title main.cpp // \author T. Chieu // \brief main cpp file for FPP array tests // // \copyright // Copyright (C) 2009-2022 California Institute of Technology. // ALL RIGHTS RESERVED. United States Government Sponsorship // acknowledged. //...
cpp
fprime
data/projects/fprime/FppTest/array/ArrayToStringTest.cpp
// ====================================================================== // \title ArrayToStringTest.cpp // \author T. Chieu // \brief cpp file for ArrayToStringTest class // // \copyright // Copyright (C) 2009-2022 California Institute of Technology. // ALL RIGHTS RESERVED. United States Government Sponsorship // ...
cpp
fprime
data/projects/fprime/FppTest/array/FormatTest.cpp
// ====================================================================== // \title FormatTest.cpp // \author T. Chieu // \brief cpp file for FormatTest class // // \copyright // Copyright (C) 2009-2022 California Institute of Technology. // ALL RIGHTS RESERVED. United States Government Sponsorship // acknowledged. ...
cpp
fprime
data/projects/fprime/FppTest/component/types/FormalParamTypes.hpp
// ====================================================================== // \title FormalParamTypes.hpp // \author T. Chieu // \brief hpp file for formal param types // // \copyright // Copyright (C) 2009-2023 California Institute of Technology. // ALL RIGHTS RESERVED. United States Government Sponsorship // acknow...
hpp
fprime
data/projects/fprime/FppTest/component/types/FormalParamTypes.cpp
// ====================================================================== // \title FormalParamTypes.cpp // \author T. Chieu // \brief cpp file for formal param types // // \copyright // Copyright (C) 2009-2023 California Institute of Technology. // ALL RIGHTS RESERVED. United States Government Sponsorship // acknow...
cpp
fprime
data/projects/fprime/FppTest/component/tests/TlmTests.cpp
// ====================================================================== // \title TlmTests.cpp // \author T. Chieu // \brief cpp file for telemetry tests // // \copyright // Copyright (C) 2009-2023 California Institute of Technology. // ALL RIGHTS RESERVED. United States Government Sponsorship // acknowledged. // ...
cpp
fprime
data/projects/fprime/FppTest/component/tests/AsyncCmdTests.cpp
// ====================================================================== // \title AsyncCmdTests.cpp // \author T. Chieu // \brief cpp file for async command tests // // \copyright // Copyright (C) 2009-2023 California Institute of Technology. // ALL RIGHTS RESERVED. United States Government Sponsorship // acknowle...
cpp
fprime
data/projects/fprime/FppTest/component/tests/InternalInterfaceTests.cpp
// ====================================================================== // \title InternalInterfaceTests.cpp // \author T. Chieu // \brief cpp file for internal interface tests // // \copyright // Copyright (C) 2009-2023 California Institute of Technology. // ALL RIGHTS RESERVED. United States Government Sponsorsh...
cpp
fprime
data/projects/fprime/FppTest/component/tests/ParamTests.hpp
// ====================================================================== // \title ParamTests.hpp // \author T. Chieu // \brief hpp file for parameter tests // // \copyright // Copyright (C) 2009-2023 California Institute of Technology. // ALL RIGHTS RESERVED. United States Government Sponsorship // acknowledged. /...
hpp
fprime
data/projects/fprime/FppTest/component/tests/InternalInterfaceTests.hpp
// ====================================================================== // \title InternalInterfaceTests.hpp // \author T. Chieu // \brief hpp file for internal interface tests // // \copyright // Copyright (C) 2009-2023 California Institute of Technology. // ALL RIGHTS RESERVED. United States Government Sponsorsh...
hpp
fprime
data/projects/fprime/FppTest/component/tests/AsyncTesterHelpers.cpp
// ====================================================================== // \title AsyncTesterHelpers.cpp // \author T. Chieu // \brief cpp file for async tester helper functions // // \copyright // Copyright (C) 2009-2023 California Institute of Technology. // ALL RIGHTS RESERVED. United States Government Sponsors...
cpp
fprime
data/projects/fprime/FppTest/component/tests/PortTests.hpp
// ====================================================================== // \title PortTests.hpp // \author T. Chieu // \brief hpp file for port tests // // \copyright // Copyright (C) 2009-2023 California Institute of Technology. // ALL RIGHTS RESERVED. United States Government Sponsorship // acknowledged. // // =...
hpp
fprime
data/projects/fprime/FppTest/component/tests/AsyncPortTests.cpp
// ====================================================================== // \title AsyncPortTests.cpp // \author T. Chieu // \brief cpp file for async port tests // // \copyright // Copyright (C) 2009-2023 California Institute of Technology. // ALL RIGHTS RESERVED. United States Government Sponsorship // acknowledg...
cpp
fprime
data/projects/fprime/FppTest/component/tests/TimeTests.cpp
// ====================================================================== // \title TimeTests.cpp // \author T. Chieu // \brief cpp file for time tests // // \copyright // Copyright (C) 2009-2023 California Institute of Technology. // ALL RIGHTS RESERVED. United States Government Sponsorship // acknowledged. // // =...
cpp
fprime
data/projects/fprime/FppTest/component/tests/TesterHandlers.cpp
// ====================================================================== // \title TesterHandlers.cpp // \author T. Chieu // \brief cpp file for tester handler functions // // \copyright // Copyright (C) 2009-2023 California Institute of Technology. // ALL RIGHTS RESERVED. United States Government Sponsorship // ac...
cpp
fprime
data/projects/fprime/FppTest/component/tests/AsyncTests.cpp
// ====================================================================== // \title AsyncTests.cpp // \author T. Chieu // \brief cpp file for async component tests // // \copyright // Copyright (C) 2009-2023 California Institute of Technology. // ALL RIGHTS RESERVED. United States Government Sponsorship // acknowled...
cpp
fprime
data/projects/fprime/FppTest/component/tests/CmdTests.hpp
// ====================================================================== // \title CmdTests.hpp // \author T. Chieu // \brief hpp file for command tests // // \copyright // Copyright (C) 2009-2023 California Institute of Technology. // ALL RIGHTS RESERVED. United States Government Sponsorship // acknowledged. // //...
hpp
fprime
data/projects/fprime/FppTest/component/tests/TesterHelpers.cpp
// ====================================================================== // \title TesterHelpers.cpp // \author T. Chieu // \brief cpp file for tester helper functions // // \copyright // Copyright (C) 2009-2023 California Institute of Technology. // ALL RIGHTS RESERVED. United States Government Sponsorship // ackn...
cpp
fprime
data/projects/fprime/FppTest/component/tests/Tests.cpp
// ====================================================================== // \title Tests.cpp // \author T. Chieu // \brief cpp file for component tests // // \copyright // Copyright (C) 2009-2023 California Institute of Technology. // ALL RIGHTS RESERVED. United States Government Sponsorship // acknowledged. // // ...
cpp
fprime
data/projects/fprime/FppTest/component/tests/CmdTests.cpp
// ====================================================================== // \title CmdTests.cpp // \author T. Chieu // \brief cpp file for command tests // // \copyright // Copyright (C) 2009-2023 California Institute of Technology. // ALL RIGHTS RESERVED. United States Government Sponsorship // acknowledged. // //...
cpp
fprime
data/projects/fprime/FppTest/component/tests/EventTests.hpp
// ====================================================================== // \title EventTests.hpp // \author T. Chieu // \brief hpp file for event tests // // \copyright // Copyright (C) 2009-2023 California Institute of Technology. // ALL RIGHTS RESERVED. United States Government Sponsorship // acknowledged. // //...
hpp
fprime
data/projects/fprime/FppTest/component/tests/ParamTests.cpp
// ====================================================================== // \title ParamTests.cpp // \author T. Chieu // \brief cpp file for parameter tests // // \copyright // Copyright (C) 2009-2023 California Institute of Technology. // ALL RIGHTS RESERVED. United States Government Sponsorship // acknowledged. /...
cpp
fprime
data/projects/fprime/FppTest/component/tests/PortTests.cpp
// ====================================================================== // \title PortTests.cpp // \author T. Chieu // \brief cpp file for port tests // // \copyright // Copyright (C) 2009-2023 California Institute of Technology. // ALL RIGHTS RESERVED. United States Government Sponsorship // acknowledged. // // =...
cpp
fprime
data/projects/fprime/FppTest/component/tests/EventTests.cpp
// ====================================================================== // \title EventTests.cpp // \author T. Chieu // \brief cpp file for event tests // // \copyright // Copyright (C) 2009-2023 California Institute of Technology. // ALL RIGHTS RESERVED. United States Government Sponsorship // acknowledged. // //...
cpp
fprime
data/projects/fprime/FppTest/component/tests/TlmTests.hpp
// ====================================================================== // \title TlmTests.hpp // \author T. Chieu // \brief hpp file for telemetry tests // // \copyright // Copyright (C) 2009-2023 California Institute of Technology. // ALL RIGHTS RESERVED. United States Government Sponsorship // acknowledged. // ...
hpp
fprime
data/projects/fprime/FppTest/component/tests/TestMain.cpp
// ---------------------------------------------------------------------- // TestMain.cpp // ---------------------------------------------------------------------- #include "STest/Random/Random.hpp" #include "gtest/gtest.h" int main(int argc, char** argv) { ::testing::InitGoogleTest(&argc, argv); STest::Rando...
cpp
fprime
data/projects/fprime/FppTest/component/passive/PassiveTest.cpp
// ====================================================================== // \title PassiveTest.cpp // \author tiffany // \brief cpp file for PassiveTest component implementation class // ====================================================================== #include "PassiveTest.hpp" #include <FpConfig.hpp> //...
cpp
fprime
data/projects/fprime/FppTest/component/passive/PassiveTest.hpp
// ====================================================================== // \title PassiveTest.hpp // \author tiffany // \brief hpp file for PassiveTest component implementation class // ====================================================================== #ifndef PassiveTest_HPP #define PassiveTest_HPP #include ...
hpp
fprime
data/projects/fprime/FppTest/component/passive/test/ut/Tester.cpp
// ====================================================================== // \title PassiveTest/test/ut/Tester.cpp // \author tiffany // \brief cpp file for PassiveTest test harness implementation class // ====================================================================== #include "STest/Pick/Pick.hpp" #include ...
cpp
fprime
data/projects/fprime/FppTest/component/passive/test/ut/Tester.hpp
// ====================================================================== // \title PassiveTest/test/ut/Tester.hpp // \author tiffany // \brief hpp file for PassiveTest test harness implementation class // ====================================================================== #ifndef TESTER_HPP #define TESTER_HPP #...
hpp
fprime
data/projects/fprime/FppTest/component/active/ActiveTest.cpp
// ====================================================================== // \title ActiveTest.cpp // \author tiffany // \brief cpp file for ActiveTest component implementation class // ====================================================================== #include "ActiveTest.hpp" #include <FpConfig.hpp> #include...
cpp
fprime
data/projects/fprime/FppTest/component/active/ActiveTest.hpp
// ====================================================================== // \title ActiveTest.hpp // \author tiffany // \brief hpp file for ActiveTest component implementation class // ====================================================================== #ifndef ActiveTest_HPP #define ActiveTest_HPP #include "Fpp...
hpp
fprime
data/projects/fprime/FppTest/component/active/test/ut/Tester.cpp
// ====================================================================== // \title ActiveTest/test/ut/Tester.cpp // \author tiffany // \brief cpp file for ActiveTest test harness implementation class // ====================================================================== #include "STest/Pick/Pick.hpp" #include "T...
cpp
fprime
data/projects/fprime/FppTest/component/active/test/ut/Tester.hpp
// ====================================================================== // \title ActiveTest/test/ut/Tester.hpp // \author tiffany // \brief hpp file for ActiveTest test harness implementation class // ====================================================================== #ifndef TESTER_HPP #define TESTER_HPP #in...
hpp
fprime
data/projects/fprime/FppTest/component/empty/Empty.cpp
// ====================================================================== // \title Empty.cpp // \author tiffany // \brief cpp file for Empty component implementation class // ====================================================================== #include "Empty.hpp" #include <FpConfig.hpp> // -------------------...
cpp
fprime
data/projects/fprime/FppTest/component/empty/Empty.hpp
// ====================================================================== // \title Empty.hpp // \author tiffany // \brief hpp file for Empty component implementation class // ====================================================================== #ifndef Empty_HPP #define Empty_HPP #include "FppTest/component/empty...
hpp
fprime
data/projects/fprime/FppTest/component/empty/test/ut/TesterHelpers.cpp
// ====================================================================== // \title Empty/test/ut/TesterHelpers.cpp // \author Auto-generated // \brief cpp file for Empty component test harness base class // // NOTE: this file was automatically generated // // =========================================================...
cpp
fprime
data/projects/fprime/FppTest/component/empty/test/ut/Tester.cpp
// ====================================================================== // \title Empty/test/ut/Tester.cpp // \author tiffany // \brief cpp file for Empty test harness implementation class // ====================================================================== #include "Tester.hpp" // --------------------------...
cpp
fprime
data/projects/fprime/FppTest/component/empty/test/ut/Tester.hpp
// ====================================================================== // \title Empty/test/ut/Tester.hpp // \author tiffany // \brief hpp file for Empty test harness implementation class // ====================================================================== #ifndef TESTER_HPP #define TESTER_HPP #include "Emp...
hpp
fprime
data/projects/fprime/FppTest/component/empty/test/ut/TestMain.cpp
// ---------------------------------------------------------------------- // TestMain.cpp // ---------------------------------------------------------------------- #include "Tester.hpp" TEST(Nominal, ToDo) { Tester tester; tester.test(); } int main(int argc, char** argv) { ::testing::InitGoogleTest(&argc...
cpp
fprime
data/projects/fprime/FppTest/component/queued/QueuedTest.cpp
// ====================================================================== // \title QueuedTest.cpp // \author tiffany // \brief cpp file for QueuedTest component implementation class // ====================================================================== #include "QueuedTest.hpp" #include <FpConfig.hpp> #include...
cpp
fprime
data/projects/fprime/FppTest/component/queued/QueuedTest.hpp
// ====================================================================== // \title QueuedTest.hpp // \author tiffany // \brief hpp file for QueuedTest component implementation class // ====================================================================== #ifndef QueuedTest_HPP #define QueuedTest_HPP #include "Fpp...
hpp
fprime
data/projects/fprime/FppTest/component/queued/test/ut/TesterHelpers.cpp
// ====================================================================== // \title QueuedTest/test/ut/TesterHelpers.cpp // \author Auto-generated // \brief cpp file for QueuedTest component test harness base class // // NOTE: this file was automatically generated // // ===============================================...
cpp
fprime
data/projects/fprime/FppTest/component/queued/test/ut/Tester.cpp
// ====================================================================== // \title QueuedTest/test/ut/Tester.cpp // \author tiffany // \brief cpp file for QueuedTest test harness implementation class // ====================================================================== #include "STest/Pick/Pick.hpp" #include "T...
cpp
fprime
data/projects/fprime/FppTest/component/queued/test/ut/Tester.hpp
// ====================================================================== // \title QueuedTest/test/ut/Tester.hpp // \author tiffany // \brief hpp file for QueuedTest test harness implementation class // ====================================================================== #ifndef TESTER_HPP #define TESTER_HPP #in...
hpp
fprime
data/projects/fprime/FppTest/dp/DpTest.hpp
// ====================================================================== // \title DpTest.hpp // \author bocchino // \brief hpp file for DpTest component implementation class // ====================================================================== #ifndef FppTest_DpTest_HPP #define FppTest_DpTest_HPP #include <ar...
hpp
fprime
data/projects/fprime/FppTest/dp/DpTest.cpp
// ====================================================================== // \title DpTest.cpp // \author bocchino // \brief cpp file for DpTest component implementation class // ====================================================================== #include <cstdio> #include "FppTest/dp/DpTest.hpp" #include "Fw/Ty...
cpp
fprime
data/projects/fprime/FppTest/dp/test/ut/TesterHelpers.cpp
// ====================================================================== // \title DpTest/test/ut/TesterHelpers.cpp // \author Auto-generated // \brief cpp file for DpTest component test harness base class // // NOTE: this file was automatically generated // // =======================================================...
cpp
fprime
data/projects/fprime/FppTest/dp/test/ut/Tester.cpp
// ====================================================================== // \title DpTest.hpp // \author bocchino // \brief cpp file for DpTest test harness implementation class // ====================================================================== #include <cstdio> #include <cstring> #include "FppTest/dp/test/...
cpp
fprime
data/projects/fprime/FppTest/dp/test/ut/Tester.hpp
// ====================================================================== // \title DpTest/test/ut/Tester.hpp // \author bocchino // \brief hpp file for DpTest test harness implementation class // ====================================================================== #ifndef FppTest_DpTest_Tester_HPP #define FppTest...
hpp
fprime
data/projects/fprime/FppTest/dp/test/ut/TestMain.cpp
// ---------------------------------------------------------------------- // TestMain.cpp // ---------------------------------------------------------------------- #include "FppTest/dp/test/ut/Tester.hpp" #include "Fw/Test/UnitTest.hpp" #include "STest/Random/Random.hpp" using namespace FppTest; TEST(schedIn, OK) { ...
cpp
fprime
data/projects/fprime/FppTest/struct/main.cpp
// ====================================================================== // \title main.cpp // \author T. Chieu // \brief main cpp file for FPP struct tests // // \copyright // Copyright (C) 2009-2022 California Institute of Technology. // ALL RIGHTS RESERVED. United States Government Sponsorship // acknowledged. /...
cpp
fprime
data/projects/fprime/FppTest/struct/PrimitiveStructTest.cpp
// ====================================================================== // \title PrimitiveStructTest.cpp // \author T. Chieu // \brief cpp file for PrimitiveStructTest class // // \copyright // Copyright (C) 2009-2022 California Institute of Technology. // ALL RIGHTS RESERVED. United States Government Sponsorship...
cpp
fprime
data/projects/fprime/FppTest/struct/NonPrimitiveStructTest.cpp
// ====================================================================== // \title NonPrimitiveStructTest.cpp // \author T. Chieu // \brief cpp file for NonPrimitiveStructTest class // // \copyright // Copyright (C) 2009-2022 California Institute of Technology. // ALL RIGHTS RESERVED. United States Government Spons...
cpp
fprime
data/projects/fprime/FppTest/enum/main.cpp
// ====================================================================== // \title main.cpp // \author T. Chieu // \brief main cpp file for FPP enum tests // // \copyright // Copyright (C) 2009-2022 California Institute of Technology. // ALL RIGHTS RESERVED. United States Government Sponsorship // acknowledged. // ...
cpp