mirror of
https://github.com/ThrowTheSwitch/CMock.git
synced 2026-06-05 21:15:20 +00:00
Update licenses to new standards... plus New Years bump
This commit is contained in:
+3
-1
@@ -1,4 +1,6 @@
|
|||||||
Copyright (c) 2007-24 Mike Karlesky, Mark VanderVoord, Greg Williams
|
The MIT License (MIT)
|
||||||
|
|
||||||
|
Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
of this software and associated documentation files (the "Software"), to deal
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
|||||||
@@ -1,8 +1,9 @@
|
|||||||
# ==========================================
|
# =========================================================================
|
||||||
# CMock Project - Automatic Mock Generation for C
|
# CMock - Automatic Mock Generation for C
|
||||||
# Copyright (c) 2007 Mike Karlesky, Mark VanderVoord, Greg Williams
|
# ThrowTheSwitch.org
|
||||||
# [Released under MIT License. Please refer to license.txt for details]
|
# Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams
|
||||||
# ==========================================
|
# SPDX-License-Identifier: MIT
|
||||||
|
# =========================================================================
|
||||||
|
|
||||||
# Setup our load path:
|
# Setup our load path:
|
||||||
[
|
[
|
||||||
|
|||||||
@@ -1,8 +1,9 @@
|
|||||||
# ==========================================
|
# =========================================================================
|
||||||
# CMock Project - Automatic Mock Generation for C
|
# CMock - Automatic Mock Generation for C
|
||||||
# Copyright (c) 2007 Mike Karlesky, Mark VanderVoord, Greg Williams
|
# ThrowTheSwitch.org
|
||||||
# [Released under MIT License. Please refer to license.txt for details]
|
# Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams
|
||||||
# ==========================================
|
# SPDX-License-Identifier: MIT
|
||||||
|
# =========================================================================
|
||||||
|
|
||||||
# Setup our load path:
|
# Setup our load path:
|
||||||
[
|
[
|
||||||
|
|||||||
@@ -1,3 +1,10 @@
|
|||||||
|
/* =========================================================================
|
||||||
|
CMock - Automatic Mock Generation for C
|
||||||
|
ThrowTheSwitch.org
|
||||||
|
Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams
|
||||||
|
SPDX-License-Identifier: MIT
|
||||||
|
========================================================================= */
|
||||||
|
|
||||||
#include "foo.h"
|
#include "foo.h"
|
||||||
|
|
||||||
void foo_init(void)
|
void foo_init(void)
|
||||||
|
|||||||
@@ -1,3 +1,10 @@
|
|||||||
|
/* =========================================================================
|
||||||
|
CMock - Automatic Mock Generation for C
|
||||||
|
ThrowTheSwitch.org
|
||||||
|
Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams
|
||||||
|
SPDX-License-Identifier: MIT
|
||||||
|
========================================================================= */
|
||||||
|
|
||||||
#ifndef _foo_h
|
#ifndef _foo_h
|
||||||
|
|
||||||
void foo_init(void);
|
void foo_init(void);
|
||||||
|
|||||||
@@ -1,3 +1,10 @@
|
|||||||
|
/* =========================================================================
|
||||||
|
CMock - Automatic Mock Generation for C
|
||||||
|
ThrowTheSwitch.org
|
||||||
|
Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams
|
||||||
|
SPDX-License-Identifier: MIT
|
||||||
|
========================================================================= */
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include "foo.h"
|
#include "foo.h"
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,10 @@
|
|||||||
|
/* =========================================================================
|
||||||
|
CMock - Automatic Mock Generation for C
|
||||||
|
ThrowTheSwitch.org
|
||||||
|
Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams
|
||||||
|
SPDX-License-Identifier: MIT
|
||||||
|
========================================================================= */
|
||||||
|
|
||||||
#include "unity.h"
|
#include "unity.h"
|
||||||
#include "foo.h"
|
#include "foo.h"
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,10 @@
|
|||||||
|
/* =========================================================================
|
||||||
|
CMock - Automatic Mock Generation for C
|
||||||
|
ThrowTheSwitch.org
|
||||||
|
Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams
|
||||||
|
SPDX-License-Identifier: MIT
|
||||||
|
========================================================================= */
|
||||||
|
|
||||||
#include "unity.h"
|
#include "unity.h"
|
||||||
#include "mock_foo.h"
|
#include "mock_foo.h"
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,10 @@
|
|||||||
|
# =========================================================================
|
||||||
|
# CMock - Automatic Mock Generation for C
|
||||||
|
# ThrowTheSwitch.org
|
||||||
|
# Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams
|
||||||
|
# SPDX-License-Identifier: MIT
|
||||||
|
# =========================================================================
|
||||||
|
|
||||||
HERE = "#{__dir__}//".freeze
|
HERE = "#{__dir__}//".freeze
|
||||||
|
|
||||||
require 'rake'
|
require 'rake'
|
||||||
|
|||||||
@@ -1,3 +1,10 @@
|
|||||||
|
# =========================================================================
|
||||||
|
# CMock - Automatic Mock Generation for C
|
||||||
|
# ThrowTheSwitch.org
|
||||||
|
# Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams
|
||||||
|
# SPDX-License-Identifier: MIT
|
||||||
|
# =========================================================================
|
||||||
|
|
||||||
require 'yaml'
|
require 'yaml'
|
||||||
require 'fileutils'
|
require 'fileutils'
|
||||||
require '../../vendor/unity/auto/unity_test_summary'
|
require '../../vendor/unity/auto/unity_test_summary'
|
||||||
|
|||||||
@@ -1,3 +1,10 @@
|
|||||||
|
/* =========================================================================
|
||||||
|
CMock - Automatic Mock Generation for C
|
||||||
|
ThrowTheSwitch.org
|
||||||
|
Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams
|
||||||
|
SPDX-License-Identifier: MIT
|
||||||
|
========================================================================= */
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
// ATMEL Microcontroller Software Support - ROUSSET -
|
// ATMEL Microcontroller Software Support - ROUSSET -
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
|||||||
@@ -1,3 +1,10 @@
|
|||||||
|
/* =========================================================================
|
||||||
|
CMock - Automatic Mock Generation for C
|
||||||
|
ThrowTheSwitch.org
|
||||||
|
Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams
|
||||||
|
SPDX-License-Identifier: MIT
|
||||||
|
========================================================================= */
|
||||||
|
|
||||||
#include "Types.h"
|
#include "Types.h"
|
||||||
#include "AdcConductor.h"
|
#include "AdcConductor.h"
|
||||||
#include "AdcModel.h"
|
#include "AdcModel.h"
|
||||||
|
|||||||
@@ -1,3 +1,10 @@
|
|||||||
|
/* =========================================================================
|
||||||
|
CMock - Automatic Mock Generation for C
|
||||||
|
ThrowTheSwitch.org
|
||||||
|
Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams
|
||||||
|
SPDX-License-Identifier: MIT
|
||||||
|
========================================================================= */
|
||||||
|
|
||||||
#ifndef _ADCCONDUCTOR_H
|
#ifndef _ADCCONDUCTOR_H
|
||||||
#define _ADCCONDUCTOR_H
|
#define _ADCCONDUCTOR_H
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,10 @@
|
|||||||
|
/* =========================================================================
|
||||||
|
CMock - Automatic Mock Generation for C
|
||||||
|
ThrowTheSwitch.org
|
||||||
|
Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams
|
||||||
|
SPDX-License-Identifier: MIT
|
||||||
|
========================================================================= */
|
||||||
|
|
||||||
#include "Types.h"
|
#include "Types.h"
|
||||||
#include "AdcHardware.h"
|
#include "AdcHardware.h"
|
||||||
#include "AdcHardwareConfigurator.h"
|
#include "AdcHardwareConfigurator.h"
|
||||||
|
|||||||
@@ -1,3 +1,10 @@
|
|||||||
|
/* =========================================================================
|
||||||
|
CMock - Automatic Mock Generation for C
|
||||||
|
ThrowTheSwitch.org
|
||||||
|
Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams
|
||||||
|
SPDX-License-Identifier: MIT
|
||||||
|
========================================================================= */
|
||||||
|
|
||||||
#ifndef _ADCHARDWARE_H
|
#ifndef _ADCHARDWARE_H
|
||||||
#define _ADCHARDWARE_H
|
#define _ADCHARDWARE_H
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,10 @@
|
|||||||
|
/* =========================================================================
|
||||||
|
CMock - Automatic Mock Generation for C
|
||||||
|
ThrowTheSwitch.org
|
||||||
|
Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams
|
||||||
|
SPDX-License-Identifier: MIT
|
||||||
|
========================================================================= */
|
||||||
|
|
||||||
#include "Types.h"
|
#include "Types.h"
|
||||||
#include "AdcHardwareConfigurator.h"
|
#include "AdcHardwareConfigurator.h"
|
||||||
#include "ModelConfig.h"
|
#include "ModelConfig.h"
|
||||||
|
|||||||
@@ -1,3 +1,10 @@
|
|||||||
|
/* =========================================================================
|
||||||
|
CMock - Automatic Mock Generation for C
|
||||||
|
ThrowTheSwitch.org
|
||||||
|
Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams
|
||||||
|
SPDX-License-Identifier: MIT
|
||||||
|
========================================================================= */
|
||||||
|
|
||||||
#ifndef _ADCHARDWARECONFIGURATOR_H
|
#ifndef _ADCHARDWARECONFIGURATOR_H
|
||||||
#define _ADCHARDWARECONFIGURATOR_H
|
#define _ADCHARDWARECONFIGURATOR_H
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,10 @@
|
|||||||
|
/* =========================================================================
|
||||||
|
CMock - Automatic Mock Generation for C
|
||||||
|
ThrowTheSwitch.org
|
||||||
|
Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams
|
||||||
|
SPDX-License-Identifier: MIT
|
||||||
|
========================================================================= */
|
||||||
|
|
||||||
#include "AdcModel.h"
|
#include "AdcModel.h"
|
||||||
#include "TaskScheduler.h"
|
#include "TaskScheduler.h"
|
||||||
#include "TemperatureCalculator.h"
|
#include "TemperatureCalculator.h"
|
||||||
|
|||||||
@@ -1,3 +1,10 @@
|
|||||||
|
/* =========================================================================
|
||||||
|
CMock - Automatic Mock Generation for C
|
||||||
|
ThrowTheSwitch.org
|
||||||
|
Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams
|
||||||
|
SPDX-License-Identifier: MIT
|
||||||
|
========================================================================= */
|
||||||
|
|
||||||
#ifndef _ADCMODEL_H
|
#ifndef _ADCMODEL_H
|
||||||
#define _ADCMODEL_H
|
#define _ADCMODEL_H
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,10 @@
|
|||||||
|
/* =========================================================================
|
||||||
|
CMock - Automatic Mock Generation for C
|
||||||
|
ThrowTheSwitch.org
|
||||||
|
Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams
|
||||||
|
SPDX-License-Identifier: MIT
|
||||||
|
========================================================================= */
|
||||||
|
|
||||||
#include "Types.h"
|
#include "Types.h"
|
||||||
#include "AdcTemperatureSensor.h"
|
#include "AdcTemperatureSensor.h"
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,10 @@
|
|||||||
|
/* =========================================================================
|
||||||
|
CMock - Automatic Mock Generation for C
|
||||||
|
ThrowTheSwitch.org
|
||||||
|
Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams
|
||||||
|
SPDX-License-Identifier: MIT
|
||||||
|
========================================================================= */
|
||||||
|
|
||||||
#ifndef _ADCTEMPERATURESENSOR_H
|
#ifndef _ADCTEMPERATURESENSOR_H
|
||||||
#define _ADCTEMPERATURESENSOR_H
|
#define _ADCTEMPERATURESENSOR_H
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,10 @@
|
|||||||
|
/* =========================================================================
|
||||||
|
CMock - Automatic Mock Generation for C
|
||||||
|
ThrowTheSwitch.org
|
||||||
|
Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams
|
||||||
|
SPDX-License-Identifier: MIT
|
||||||
|
========================================================================= */
|
||||||
|
|
||||||
#include "Types.h"
|
#include "Types.h"
|
||||||
#include "Executor.h"
|
#include "Executor.h"
|
||||||
#include "Model.h"
|
#include "Model.h"
|
||||||
|
|||||||
@@ -1,3 +1,10 @@
|
|||||||
|
/* =========================================================================
|
||||||
|
CMock - Automatic Mock Generation for C
|
||||||
|
ThrowTheSwitch.org
|
||||||
|
Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams
|
||||||
|
SPDX-License-Identifier: MIT
|
||||||
|
========================================================================= */
|
||||||
|
|
||||||
#ifndef _EXECUTOR_H
|
#ifndef _EXECUTOR_H
|
||||||
#define _EXECUTOR_H
|
#define _EXECUTOR_H
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,10 @@
|
|||||||
|
/* =========================================================================
|
||||||
|
CMock - Automatic Mock Generation for C
|
||||||
|
ThrowTheSwitch.org
|
||||||
|
Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams
|
||||||
|
SPDX-License-Identifier: MIT
|
||||||
|
========================================================================= */
|
||||||
|
|
||||||
#include "IntrinsicsWrapper.h"
|
#include "IntrinsicsWrapper.h"
|
||||||
#ifdef __ICCARM__
|
#ifdef __ICCARM__
|
||||||
#include <intrinsics.h>
|
#include <intrinsics.h>
|
||||||
|
|||||||
@@ -1,3 +1,10 @@
|
|||||||
|
/* =========================================================================
|
||||||
|
CMock - Automatic Mock Generation for C
|
||||||
|
ThrowTheSwitch.org
|
||||||
|
Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams
|
||||||
|
SPDX-License-Identifier: MIT
|
||||||
|
========================================================================= */
|
||||||
|
|
||||||
#ifndef _INTRINSICS_WRAPPER_H
|
#ifndef _INTRINSICS_WRAPPER_H
|
||||||
#define _INTRINSICS_WRAPPER_H
|
#define _INTRINSICS_WRAPPER_H
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,10 @@
|
|||||||
|
/* =========================================================================
|
||||||
|
CMock - Automatic Mock Generation for C
|
||||||
|
ThrowTheSwitch.org
|
||||||
|
Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams
|
||||||
|
SPDX-License-Identifier: MIT
|
||||||
|
========================================================================= */
|
||||||
|
|
||||||
#include "Types.h"
|
#include "Types.h"
|
||||||
|
|
||||||
#include "IntrinsicsWrapper.h"
|
#include "IntrinsicsWrapper.h"
|
||||||
|
|||||||
@@ -1,3 +1,10 @@
|
|||||||
|
/* =========================================================================
|
||||||
|
CMock - Automatic Mock Generation for C
|
||||||
|
ThrowTheSwitch.org
|
||||||
|
Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams
|
||||||
|
SPDX-License-Identifier: MIT
|
||||||
|
========================================================================= */
|
||||||
|
|
||||||
#ifndef _MAIN_H_
|
#ifndef _MAIN_H_
|
||||||
#define _MAIN_H_
|
#define _MAIN_H_
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,10 @@
|
|||||||
|
/* =========================================================================
|
||||||
|
CMock - Automatic Mock Generation for C
|
||||||
|
ThrowTheSwitch.org
|
||||||
|
Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams
|
||||||
|
SPDX-License-Identifier: MIT
|
||||||
|
========================================================================= */
|
||||||
|
|
||||||
#include "Model.h"
|
#include "Model.h"
|
||||||
#include "TaskScheduler.h"
|
#include "TaskScheduler.h"
|
||||||
#include "TemperatureFilter.h"
|
#include "TemperatureFilter.h"
|
||||||
|
|||||||
@@ -1,3 +1,10 @@
|
|||||||
|
/* =========================================================================
|
||||||
|
CMock - Automatic Mock Generation for C
|
||||||
|
ThrowTheSwitch.org
|
||||||
|
Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams
|
||||||
|
SPDX-License-Identifier: MIT
|
||||||
|
========================================================================= */
|
||||||
|
|
||||||
#ifndef _MODEL_H
|
#ifndef _MODEL_H
|
||||||
#define _MODEL_H
|
#define _MODEL_H
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,10 @@
|
|||||||
|
/* =========================================================================
|
||||||
|
CMock - Automatic Mock Generation for C
|
||||||
|
ThrowTheSwitch.org
|
||||||
|
Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams
|
||||||
|
SPDX-License-Identifier: MIT
|
||||||
|
========================================================================= */
|
||||||
|
|
||||||
#ifndef _MODELCONFIG_H
|
#ifndef _MODELCONFIG_H
|
||||||
#define _MODELCONFIG_H
|
#define _MODELCONFIG_H
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,10 @@
|
|||||||
|
/* =========================================================================
|
||||||
|
CMock - Automatic Mock Generation for C
|
||||||
|
ThrowTheSwitch.org
|
||||||
|
Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams
|
||||||
|
SPDX-License-Identifier: MIT
|
||||||
|
========================================================================= */
|
||||||
|
|
||||||
#include "Types.h"
|
#include "Types.h"
|
||||||
#include "TaskScheduler.h"
|
#include "TaskScheduler.h"
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,10 @@
|
|||||||
|
/* =========================================================================
|
||||||
|
CMock - Automatic Mock Generation for C
|
||||||
|
ThrowTheSwitch.org
|
||||||
|
Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams
|
||||||
|
SPDX-License-Identifier: MIT
|
||||||
|
========================================================================= */
|
||||||
|
|
||||||
#ifndef _TASKSCHEDULER_H
|
#ifndef _TASKSCHEDULER_H
|
||||||
#define _TASKSCHEDULER_H
|
#define _TASKSCHEDULER_H
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,10 @@
|
|||||||
|
/* =========================================================================
|
||||||
|
CMock - Automatic Mock Generation for C
|
||||||
|
ThrowTheSwitch.org
|
||||||
|
Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams
|
||||||
|
SPDX-License-Identifier: MIT
|
||||||
|
========================================================================= */
|
||||||
|
|
||||||
#include "Types.h"
|
#include "Types.h"
|
||||||
#include "TemperatureCalculator.h"
|
#include "TemperatureCalculator.h"
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
|||||||
@@ -1,3 +1,10 @@
|
|||||||
|
/* =========================================================================
|
||||||
|
CMock - Automatic Mock Generation for C
|
||||||
|
ThrowTheSwitch.org
|
||||||
|
Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams
|
||||||
|
SPDX-License-Identifier: MIT
|
||||||
|
========================================================================= */
|
||||||
|
|
||||||
#ifndef _TEMPERATURECALCULATOR_H
|
#ifndef _TEMPERATURECALCULATOR_H
|
||||||
#define _TEMPERATURECALCULATOR_H
|
#define _TEMPERATURECALCULATOR_H
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,10 @@
|
|||||||
|
/* =========================================================================
|
||||||
|
CMock - Automatic Mock Generation for C
|
||||||
|
ThrowTheSwitch.org
|
||||||
|
Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams
|
||||||
|
SPDX-License-Identifier: MIT
|
||||||
|
========================================================================= */
|
||||||
|
|
||||||
#include "Types.h"
|
#include "Types.h"
|
||||||
#include "TemperatureFilter.h"
|
#include "TemperatureFilter.h"
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
|||||||
@@ -1,3 +1,10 @@
|
|||||||
|
/* =========================================================================
|
||||||
|
CMock - Automatic Mock Generation for C
|
||||||
|
ThrowTheSwitch.org
|
||||||
|
Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams
|
||||||
|
SPDX-License-Identifier: MIT
|
||||||
|
========================================================================= */
|
||||||
|
|
||||||
#ifndef _TEMPERATUREFILTER_H
|
#ifndef _TEMPERATUREFILTER_H
|
||||||
#define _TEMPERATUREFILTER_H
|
#define _TEMPERATUREFILTER_H
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,10 @@
|
|||||||
|
/* =========================================================================
|
||||||
|
CMock - Automatic Mock Generation for C
|
||||||
|
ThrowTheSwitch.org
|
||||||
|
Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams
|
||||||
|
SPDX-License-Identifier: MIT
|
||||||
|
========================================================================= */
|
||||||
|
|
||||||
#include "Types.h"
|
#include "Types.h"
|
||||||
#include "TimerConductor.h"
|
#include "TimerConductor.h"
|
||||||
#include "TimerModel.h"
|
#include "TimerModel.h"
|
||||||
|
|||||||
@@ -1,3 +1,10 @@
|
|||||||
|
/* =========================================================================
|
||||||
|
CMock - Automatic Mock Generation for C
|
||||||
|
ThrowTheSwitch.org
|
||||||
|
Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams
|
||||||
|
SPDX-License-Identifier: MIT
|
||||||
|
========================================================================= */
|
||||||
|
|
||||||
#ifndef _TIMERCONDUCTOR_H
|
#ifndef _TIMERCONDUCTOR_H
|
||||||
#define _TIMERCONDUCTOR_H
|
#define _TIMERCONDUCTOR_H
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,10 @@
|
|||||||
|
/* =========================================================================
|
||||||
|
CMock - Automatic Mock Generation for C
|
||||||
|
ThrowTheSwitch.org
|
||||||
|
Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams
|
||||||
|
SPDX-License-Identifier: MIT
|
||||||
|
========================================================================= */
|
||||||
|
|
||||||
#include "Types.h"
|
#include "Types.h"
|
||||||
#include "TimerConfigurator.h"
|
#include "TimerConfigurator.h"
|
||||||
#include "TimerInterruptConfigurator.h"
|
#include "TimerInterruptConfigurator.h"
|
||||||
|
|||||||
@@ -1,3 +1,10 @@
|
|||||||
|
/* =========================================================================
|
||||||
|
CMock - Automatic Mock Generation for C
|
||||||
|
ThrowTheSwitch.org
|
||||||
|
Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams
|
||||||
|
SPDX-License-Identifier: MIT
|
||||||
|
========================================================================= */
|
||||||
|
|
||||||
#ifndef _TIMERCONFIGURATOR_H
|
#ifndef _TIMERCONFIGURATOR_H
|
||||||
#define _TIMERCONFIGURATOR_H
|
#define _TIMERCONFIGURATOR_H
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,10 @@
|
|||||||
|
/* =========================================================================
|
||||||
|
CMock - Automatic Mock Generation for C
|
||||||
|
ThrowTheSwitch.org
|
||||||
|
Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams
|
||||||
|
SPDX-License-Identifier: MIT
|
||||||
|
========================================================================= */
|
||||||
|
|
||||||
#include "Types.h"
|
#include "Types.h"
|
||||||
#include "TimerHardware.h"
|
#include "TimerHardware.h"
|
||||||
#include "TimerConfigurator.h"
|
#include "TimerConfigurator.h"
|
||||||
|
|||||||
@@ -1,3 +1,10 @@
|
|||||||
|
/* =========================================================================
|
||||||
|
CMock - Automatic Mock Generation for C
|
||||||
|
ThrowTheSwitch.org
|
||||||
|
Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams
|
||||||
|
SPDX-License-Identifier: MIT
|
||||||
|
========================================================================= */
|
||||||
|
|
||||||
#ifndef _TIMERHARDWARE_H
|
#ifndef _TIMERHARDWARE_H
|
||||||
#define _TIMERHARDWARE_H
|
#define _TIMERHARDWARE_H
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,10 @@
|
|||||||
|
/* =========================================================================
|
||||||
|
CMock - Automatic Mock Generation for C
|
||||||
|
ThrowTheSwitch.org
|
||||||
|
Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams
|
||||||
|
SPDX-License-Identifier: MIT
|
||||||
|
========================================================================= */
|
||||||
|
|
||||||
#include "Types.h"
|
#include "Types.h"
|
||||||
#include "TimerInterruptConfigurator.h"
|
#include "TimerInterruptConfigurator.h"
|
||||||
#include "TimerInterruptHandler.h"
|
#include "TimerInterruptHandler.h"
|
||||||
|
|||||||
@@ -1,3 +1,10 @@
|
|||||||
|
/* =========================================================================
|
||||||
|
CMock - Automatic Mock Generation for C
|
||||||
|
ThrowTheSwitch.org
|
||||||
|
Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams
|
||||||
|
SPDX-License-Identifier: MIT
|
||||||
|
========================================================================= */
|
||||||
|
|
||||||
#ifndef _TIMERINTERRUPTCONFIGURATOR_H
|
#ifndef _TIMERINTERRUPTCONFIGURATOR_H
|
||||||
#define _TIMERINTERRUPTCONFIGURATOR_H
|
#define _TIMERINTERRUPTCONFIGURATOR_H
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,10 @@
|
|||||||
|
/* =========================================================================
|
||||||
|
CMock - Automatic Mock Generation for C
|
||||||
|
ThrowTheSwitch.org
|
||||||
|
Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams
|
||||||
|
SPDX-License-Identifier: MIT
|
||||||
|
========================================================================= */
|
||||||
|
|
||||||
#include "Types.h"
|
#include "Types.h"
|
||||||
#include "TimerInterruptHandler.h"
|
#include "TimerInterruptHandler.h"
|
||||||
#include "TimerInterruptConfigurator.h"
|
#include "TimerInterruptConfigurator.h"
|
||||||
|
|||||||
@@ -1,3 +1,10 @@
|
|||||||
|
/* =========================================================================
|
||||||
|
CMock - Automatic Mock Generation for C
|
||||||
|
ThrowTheSwitch.org
|
||||||
|
Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams
|
||||||
|
SPDX-License-Identifier: MIT
|
||||||
|
========================================================================= */
|
||||||
|
|
||||||
#ifndef _TIMERINTERRUPTHANDLER_H
|
#ifndef _TIMERINTERRUPTHANDLER_H
|
||||||
#define _TIMERINTERRUPTHANDLER_H
|
#define _TIMERINTERRUPTHANDLER_H
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,10 @@
|
|||||||
|
/* =========================================================================
|
||||||
|
CMock - Automatic Mock Generation for C
|
||||||
|
ThrowTheSwitch.org
|
||||||
|
Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams
|
||||||
|
SPDX-License-Identifier: MIT
|
||||||
|
========================================================================= */
|
||||||
|
|
||||||
#include "Types.h"
|
#include "Types.h"
|
||||||
#include "TimerModel.h"
|
#include "TimerModel.h"
|
||||||
#include "TaskScheduler.h"
|
#include "TaskScheduler.h"
|
||||||
|
|||||||
@@ -1,3 +1,10 @@
|
|||||||
|
/* =========================================================================
|
||||||
|
CMock - Automatic Mock Generation for C
|
||||||
|
ThrowTheSwitch.org
|
||||||
|
Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams
|
||||||
|
SPDX-License-Identifier: MIT
|
||||||
|
========================================================================= */
|
||||||
|
|
||||||
#ifndef _TIMERMODEL_H
|
#ifndef _TIMERMODEL_H
|
||||||
#define _TIMERMODEL_H
|
#define _TIMERMODEL_H
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,10 @@
|
|||||||
|
/* =========================================================================
|
||||||
|
CMock - Automatic Mock Generation for C
|
||||||
|
ThrowTheSwitch.org
|
||||||
|
Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams
|
||||||
|
SPDX-License-Identifier: MIT
|
||||||
|
========================================================================= */
|
||||||
|
|
||||||
#ifndef _MYTYPES_H_
|
#ifndef _MYTYPES_H_
|
||||||
#define _MYTYPES_H_
|
#define _MYTYPES_H_
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,10 @@
|
|||||||
|
/* =========================================================================
|
||||||
|
CMock - Automatic Mock Generation for C
|
||||||
|
ThrowTheSwitch.org
|
||||||
|
Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams
|
||||||
|
SPDX-License-Identifier: MIT
|
||||||
|
========================================================================= */
|
||||||
|
|
||||||
#include "Types.h"
|
#include "Types.h"
|
||||||
#include "UsartBaudRateRegisterCalculator.h"
|
#include "UsartBaudRateRegisterCalculator.h"
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,10 @@
|
|||||||
|
/* =========================================================================
|
||||||
|
CMock - Automatic Mock Generation for C
|
||||||
|
ThrowTheSwitch.org
|
||||||
|
Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams
|
||||||
|
SPDX-License-Identifier: MIT
|
||||||
|
========================================================================= */
|
||||||
|
|
||||||
#ifndef _USARTBAUDRATEREGISTERCALCULATOR_H
|
#ifndef _USARTBAUDRATEREGISTERCALCULATOR_H
|
||||||
#define _USARTBAUDRATEREGISTERCALCULATOR_H
|
#define _USARTBAUDRATEREGISTERCALCULATOR_H
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,10 @@
|
|||||||
|
/* =========================================================================
|
||||||
|
CMock - Automatic Mock Generation for C
|
||||||
|
ThrowTheSwitch.org
|
||||||
|
Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams
|
||||||
|
SPDX-License-Identifier: MIT
|
||||||
|
========================================================================= */
|
||||||
|
|
||||||
#include "Types.h"
|
#include "Types.h"
|
||||||
#include "UsartConductor.h"
|
#include "UsartConductor.h"
|
||||||
#include "UsartHardware.h"
|
#include "UsartHardware.h"
|
||||||
|
|||||||
@@ -1,3 +1,10 @@
|
|||||||
|
/* =========================================================================
|
||||||
|
CMock - Automatic Mock Generation for C
|
||||||
|
ThrowTheSwitch.org
|
||||||
|
Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams
|
||||||
|
SPDX-License-Identifier: MIT
|
||||||
|
========================================================================= */
|
||||||
|
|
||||||
#ifndef _USARTCONDUCTOR_H
|
#ifndef _USARTCONDUCTOR_H
|
||||||
#define _USARTCONDUCTOR_H
|
#define _USARTCONDUCTOR_H
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,10 @@
|
|||||||
|
/* =========================================================================
|
||||||
|
CMock - Automatic Mock Generation for C
|
||||||
|
ThrowTheSwitch.org
|
||||||
|
Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams
|
||||||
|
SPDX-License-Identifier: MIT
|
||||||
|
========================================================================= */
|
||||||
|
|
||||||
#include "Types.h"
|
#include "Types.h"
|
||||||
#include "UsartConfigurator.h"
|
#include "UsartConfigurator.h"
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,10 @@
|
|||||||
|
/* =========================================================================
|
||||||
|
CMock - Automatic Mock Generation for C
|
||||||
|
ThrowTheSwitch.org
|
||||||
|
Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams
|
||||||
|
SPDX-License-Identifier: MIT
|
||||||
|
========================================================================= */
|
||||||
|
|
||||||
#ifndef _USARTCONFIGURATOR_H
|
#ifndef _USARTCONFIGURATOR_H
|
||||||
#define _USARTCONFIGURATOR_H
|
#define _USARTCONFIGURATOR_H
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,10 @@
|
|||||||
|
/* =========================================================================
|
||||||
|
CMock - Automatic Mock Generation for C
|
||||||
|
ThrowTheSwitch.org
|
||||||
|
Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams
|
||||||
|
SPDX-License-Identifier: MIT
|
||||||
|
========================================================================= */
|
||||||
|
|
||||||
#include "Types.h"
|
#include "Types.h"
|
||||||
#include "UsartHardware.h"
|
#include "UsartHardware.h"
|
||||||
#include "UsartConfigurator.h"
|
#include "UsartConfigurator.h"
|
||||||
|
|||||||
@@ -1,3 +1,10 @@
|
|||||||
|
/* =========================================================================
|
||||||
|
CMock - Automatic Mock Generation for C
|
||||||
|
ThrowTheSwitch.org
|
||||||
|
Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams
|
||||||
|
SPDX-License-Identifier: MIT
|
||||||
|
========================================================================= */
|
||||||
|
|
||||||
#ifndef _USARTHARDWARE_H
|
#ifndef _USARTHARDWARE_H
|
||||||
#define _USARTHARDWARE_H
|
#define _USARTHARDWARE_H
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,10 @@
|
|||||||
|
/* =========================================================================
|
||||||
|
CMock - Automatic Mock Generation for C
|
||||||
|
ThrowTheSwitch.org
|
||||||
|
Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams
|
||||||
|
SPDX-License-Identifier: MIT
|
||||||
|
========================================================================= */
|
||||||
|
|
||||||
#include "Types.h"
|
#include "Types.h"
|
||||||
#include "UsartModel.h"
|
#include "UsartModel.h"
|
||||||
#include "ModelConfig.h"
|
#include "ModelConfig.h"
|
||||||
|
|||||||
@@ -1,3 +1,10 @@
|
|||||||
|
/* =========================================================================
|
||||||
|
CMock - Automatic Mock Generation for C
|
||||||
|
ThrowTheSwitch.org
|
||||||
|
Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams
|
||||||
|
SPDX-License-Identifier: MIT
|
||||||
|
========================================================================= */
|
||||||
|
|
||||||
#ifndef _USARTMODEL_H
|
#ifndef _USARTMODEL_H
|
||||||
#define _USARTMODEL_H
|
#define _USARTMODEL_H
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,10 @@
|
|||||||
|
/* =========================================================================
|
||||||
|
CMock - Automatic Mock Generation for C
|
||||||
|
ThrowTheSwitch.org
|
||||||
|
Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams
|
||||||
|
SPDX-License-Identifier: MIT
|
||||||
|
========================================================================= */
|
||||||
|
|
||||||
#include "Types.h"
|
#include "Types.h"
|
||||||
#include "UsartPutChar.h"
|
#include "UsartPutChar.h"
|
||||||
#include "UsartTransmitBufferStatus.h"
|
#include "UsartTransmitBufferStatus.h"
|
||||||
|
|||||||
@@ -1,3 +1,10 @@
|
|||||||
|
/* =========================================================================
|
||||||
|
CMock - Automatic Mock Generation for C
|
||||||
|
ThrowTheSwitch.org
|
||||||
|
Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams
|
||||||
|
SPDX-License-Identifier: MIT
|
||||||
|
========================================================================= */
|
||||||
|
|
||||||
#ifndef _USARTPUT_HAR_H
|
#ifndef _USARTPUT_HAR_H
|
||||||
#define _USARTPUT_HAR_H
|
#define _USARTPUT_HAR_H
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,10 @@
|
|||||||
|
/* =========================================================================
|
||||||
|
CMock - Automatic Mock Generation for C
|
||||||
|
ThrowTheSwitch.org
|
||||||
|
Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams
|
||||||
|
SPDX-License-Identifier: MIT
|
||||||
|
========================================================================= */
|
||||||
|
|
||||||
#include "Types.h"
|
#include "Types.h"
|
||||||
#include "UsartTransmitBufferStatus.h"
|
#include "UsartTransmitBufferStatus.h"
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,10 @@
|
|||||||
|
/* =========================================================================
|
||||||
|
CMock - Automatic Mock Generation for C
|
||||||
|
ThrowTheSwitch.org
|
||||||
|
Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams
|
||||||
|
SPDX-License-Identifier: MIT
|
||||||
|
========================================================================= */
|
||||||
|
|
||||||
#ifndef _USARTTRANSMITBUFFERSTATUS_H
|
#ifndef _USARTTRANSMITBUFFERSTATUS_H
|
||||||
#define _USARTTRANSMITBUFFERSTATUS_H
|
#define _USARTTRANSMITBUFFERSTATUS_H
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,10 @@
|
|||||||
|
# =========================================================================
|
||||||
|
# CMock - Automatic Mock Generation for C
|
||||||
|
# ThrowTheSwitch.org
|
||||||
|
# Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams
|
||||||
|
# SPDX-License-Identifier: MIT
|
||||||
|
# =========================================================================
|
||||||
|
|
||||||
compiler:
|
compiler:
|
||||||
path: gcc
|
path: gcc
|
||||||
source_path: 'src/'
|
source_path: 'src/'
|
||||||
|
|||||||
@@ -1,3 +1,10 @@
|
|||||||
|
# =========================================================================
|
||||||
|
# CMock - Automatic Mock Generation for C
|
||||||
|
# ThrowTheSwitch.org
|
||||||
|
# Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams
|
||||||
|
# SPDX-License-Identifier: MIT
|
||||||
|
# =========================================================================
|
||||||
|
|
||||||
tools_root: &tools_root 'C:\Program Files\IAR Systems\Embedded Workbench 4.0 Kickstart\'
|
tools_root: &tools_root 'C:\Program Files\IAR Systems\Embedded Workbench 4.0 Kickstart\'
|
||||||
compiler:
|
compiler:
|
||||||
path: [*tools_root, 'arm\bin\iccarm.exe']
|
path: [*tools_root, 'arm\bin\iccarm.exe']
|
||||||
|
|||||||
@@ -1,3 +1,10 @@
|
|||||||
|
# =========================================================================
|
||||||
|
# CMock - Automatic Mock Generation for C
|
||||||
|
# ThrowTheSwitch.org
|
||||||
|
# Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams
|
||||||
|
# SPDX-License-Identifier: MIT
|
||||||
|
# =========================================================================
|
||||||
|
|
||||||
tools_root: &tools_root 'C:\Program Files\IAR Systems\Embedded Workbench 5.3\'
|
tools_root: &tools_root 'C:\Program Files\IAR Systems\Embedded Workbench 5.3\'
|
||||||
compiler:
|
compiler:
|
||||||
path: [*tools_root, 'arm\bin\iccarm.exe']
|
path: [*tools_root, 'arm\bin\iccarm.exe']
|
||||||
|
|||||||
@@ -1,3 +1,10 @@
|
|||||||
|
/* =========================================================================
|
||||||
|
CMock - Automatic Mock Generation for C
|
||||||
|
ThrowTheSwitch.org
|
||||||
|
Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams
|
||||||
|
SPDX-License-Identifier: MIT
|
||||||
|
========================================================================= */
|
||||||
|
|
||||||
#include "unity.h"
|
#include "unity.h"
|
||||||
#include "UnityHelper.h"
|
#include "UnityHelper.h"
|
||||||
#include "Types.h"
|
#include "Types.h"
|
||||||
|
|||||||
@@ -1,3 +1,10 @@
|
|||||||
|
/* =========================================================================
|
||||||
|
CMock - Automatic Mock Generation for C
|
||||||
|
ThrowTheSwitch.org
|
||||||
|
Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams
|
||||||
|
SPDX-License-Identifier: MIT
|
||||||
|
========================================================================= */
|
||||||
|
|
||||||
#include "unity.h"
|
#include "unity.h"
|
||||||
#include "Types.h"
|
#include "Types.h"
|
||||||
#include "AdcHardware.h"
|
#include "AdcHardware.h"
|
||||||
|
|||||||
@@ -1,3 +1,10 @@
|
|||||||
|
/* =========================================================================
|
||||||
|
CMock - Automatic Mock Generation for C
|
||||||
|
ThrowTheSwitch.org
|
||||||
|
Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams
|
||||||
|
SPDX-License-Identifier: MIT
|
||||||
|
========================================================================= */
|
||||||
|
|
||||||
#include "unity.h"
|
#include "unity.h"
|
||||||
#include "Types.h"
|
#include "Types.h"
|
||||||
#include "AdcHardwareConfigurator.h"
|
#include "AdcHardwareConfigurator.h"
|
||||||
|
|||||||
@@ -1,3 +1,10 @@
|
|||||||
|
/* =========================================================================
|
||||||
|
CMock - Automatic Mock Generation for C
|
||||||
|
ThrowTheSwitch.org
|
||||||
|
Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams
|
||||||
|
SPDX-License-Identifier: MIT
|
||||||
|
========================================================================= */
|
||||||
|
|
||||||
#include "unity.h"
|
#include "unity.h"
|
||||||
#include "Types.h"
|
#include "Types.h"
|
||||||
#include "AdcModel.h"
|
#include "AdcModel.h"
|
||||||
|
|||||||
@@ -1,3 +1,10 @@
|
|||||||
|
/* =========================================================================
|
||||||
|
CMock - Automatic Mock Generation for C
|
||||||
|
ThrowTheSwitch.org
|
||||||
|
Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams
|
||||||
|
SPDX-License-Identifier: MIT
|
||||||
|
========================================================================= */
|
||||||
|
|
||||||
#include "unity.h"
|
#include "unity.h"
|
||||||
#include "Types.h"
|
#include "Types.h"
|
||||||
#include "AdcTemperatureSensor.h"
|
#include "AdcTemperatureSensor.h"
|
||||||
|
|||||||
@@ -1,3 +1,10 @@
|
|||||||
|
/* =========================================================================
|
||||||
|
CMock - Automatic Mock Generation for C
|
||||||
|
ThrowTheSwitch.org
|
||||||
|
Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams
|
||||||
|
SPDX-License-Identifier: MIT
|
||||||
|
========================================================================= */
|
||||||
|
|
||||||
#include "unity.h"
|
#include "unity.h"
|
||||||
#include "Types.h"
|
#include "Types.h"
|
||||||
#include "Executor.h"
|
#include "Executor.h"
|
||||||
|
|||||||
@@ -1,3 +1,10 @@
|
|||||||
|
/* =========================================================================
|
||||||
|
CMock - Automatic Mock Generation for C
|
||||||
|
ThrowTheSwitch.org
|
||||||
|
Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams
|
||||||
|
SPDX-License-Identifier: MIT
|
||||||
|
========================================================================= */
|
||||||
|
|
||||||
#include "unity.h"
|
#include "unity.h"
|
||||||
#include "Types.h"
|
#include "Types.h"
|
||||||
#include "MockExecutor.h"
|
#include "MockExecutor.h"
|
||||||
|
|||||||
@@ -1,3 +1,10 @@
|
|||||||
|
/* =========================================================================
|
||||||
|
CMock - Automatic Mock Generation for C
|
||||||
|
ThrowTheSwitch.org
|
||||||
|
Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams
|
||||||
|
SPDX-License-Identifier: MIT
|
||||||
|
========================================================================= */
|
||||||
|
|
||||||
#include "unity.h"
|
#include "unity.h"
|
||||||
#include "Types.h"
|
#include "Types.h"
|
||||||
#include "Model.h"
|
#include "Model.h"
|
||||||
|
|||||||
@@ -1,3 +1,10 @@
|
|||||||
|
/* =========================================================================
|
||||||
|
CMock - Automatic Mock Generation for C
|
||||||
|
ThrowTheSwitch.org
|
||||||
|
Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams
|
||||||
|
SPDX-License-Identifier: MIT
|
||||||
|
========================================================================= */
|
||||||
|
|
||||||
#include "unity.h"
|
#include "unity.h"
|
||||||
#include "Types.h"
|
#include "Types.h"
|
||||||
#include "TaskScheduler.h"
|
#include "TaskScheduler.h"
|
||||||
|
|||||||
@@ -1,3 +1,10 @@
|
|||||||
|
/* =========================================================================
|
||||||
|
CMock - Automatic Mock Generation for C
|
||||||
|
ThrowTheSwitch.org
|
||||||
|
Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams
|
||||||
|
SPDX-License-Identifier: MIT
|
||||||
|
========================================================================= */
|
||||||
|
|
||||||
#include "unity.h"
|
#include "unity.h"
|
||||||
#include "Types.h"
|
#include "Types.h"
|
||||||
#include "TemperatureCalculator.h"
|
#include "TemperatureCalculator.h"
|
||||||
|
|||||||
@@ -1,3 +1,10 @@
|
|||||||
|
/* =========================================================================
|
||||||
|
CMock - Automatic Mock Generation for C
|
||||||
|
ThrowTheSwitch.org
|
||||||
|
Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams
|
||||||
|
SPDX-License-Identifier: MIT
|
||||||
|
========================================================================= */
|
||||||
|
|
||||||
#include "unity.h"
|
#include "unity.h"
|
||||||
#include "Types.h"
|
#include "Types.h"
|
||||||
#include "TemperatureFilter.h"
|
#include "TemperatureFilter.h"
|
||||||
|
|||||||
@@ -1,3 +1,10 @@
|
|||||||
|
/* =========================================================================
|
||||||
|
CMock - Automatic Mock Generation for C
|
||||||
|
ThrowTheSwitch.org
|
||||||
|
Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams
|
||||||
|
SPDX-License-Identifier: MIT
|
||||||
|
========================================================================= */
|
||||||
|
|
||||||
#include "unity.h"
|
#include "unity.h"
|
||||||
#include "Types.h"
|
#include "Types.h"
|
||||||
#include "TimerConductor.h"
|
#include "TimerConductor.h"
|
||||||
|
|||||||
@@ -1,3 +1,10 @@
|
|||||||
|
/* =========================================================================
|
||||||
|
CMock - Automatic Mock Generation for C
|
||||||
|
ThrowTheSwitch.org
|
||||||
|
Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams
|
||||||
|
SPDX-License-Identifier: MIT
|
||||||
|
========================================================================= */
|
||||||
|
|
||||||
#include "unity.h"
|
#include "unity.h"
|
||||||
#include "Types.h"
|
#include "Types.h"
|
||||||
#include "TimerConfigurator.h"
|
#include "TimerConfigurator.h"
|
||||||
|
|||||||
@@ -1,3 +1,10 @@
|
|||||||
|
/* =========================================================================
|
||||||
|
CMock - Automatic Mock Generation for C
|
||||||
|
ThrowTheSwitch.org
|
||||||
|
Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams
|
||||||
|
SPDX-License-Identifier: MIT
|
||||||
|
========================================================================= */
|
||||||
|
|
||||||
#include "unity.h"
|
#include "unity.h"
|
||||||
#include "Types.h"
|
#include "Types.h"
|
||||||
#include "TimerHardware.h"
|
#include "TimerHardware.h"
|
||||||
|
|||||||
@@ -1,3 +1,10 @@
|
|||||||
|
/* =========================================================================
|
||||||
|
CMock - Automatic Mock Generation for C
|
||||||
|
ThrowTheSwitch.org
|
||||||
|
Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams
|
||||||
|
SPDX-License-Identifier: MIT
|
||||||
|
========================================================================= */
|
||||||
|
|
||||||
#include "unity.h"
|
#include "unity.h"
|
||||||
#include "Types.h"
|
#include "Types.h"
|
||||||
#include "TimerInterruptConfigurator.h"
|
#include "TimerInterruptConfigurator.h"
|
||||||
|
|||||||
@@ -1,3 +1,10 @@
|
|||||||
|
/* =========================================================================
|
||||||
|
CMock - Automatic Mock Generation for C
|
||||||
|
ThrowTheSwitch.org
|
||||||
|
Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams
|
||||||
|
SPDX-License-Identifier: MIT
|
||||||
|
========================================================================= */
|
||||||
|
|
||||||
#include "unity.h"
|
#include "unity.h"
|
||||||
#include "Types.h"
|
#include "Types.h"
|
||||||
#include "TimerInterruptHandler.h"
|
#include "TimerInterruptHandler.h"
|
||||||
|
|||||||
@@ -1,3 +1,10 @@
|
|||||||
|
/* =========================================================================
|
||||||
|
CMock - Automatic Mock Generation for C
|
||||||
|
ThrowTheSwitch.org
|
||||||
|
Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams
|
||||||
|
SPDX-License-Identifier: MIT
|
||||||
|
========================================================================= */
|
||||||
|
|
||||||
#include "unity.h"
|
#include "unity.h"
|
||||||
#include "Types.h"
|
#include "Types.h"
|
||||||
#include "TimerModel.h"
|
#include "TimerModel.h"
|
||||||
|
|||||||
@@ -1,3 +1,10 @@
|
|||||||
|
/* =========================================================================
|
||||||
|
CMock - Automatic Mock Generation for C
|
||||||
|
ThrowTheSwitch.org
|
||||||
|
Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams
|
||||||
|
SPDX-License-Identifier: MIT
|
||||||
|
========================================================================= */
|
||||||
|
|
||||||
#include "unity.h"
|
#include "unity.h"
|
||||||
#include "Types.h"
|
#include "Types.h"
|
||||||
#include "UsartBaudRateRegisterCalculator.h"
|
#include "UsartBaudRateRegisterCalculator.h"
|
||||||
|
|||||||
@@ -1,3 +1,10 @@
|
|||||||
|
/* =========================================================================
|
||||||
|
CMock - Automatic Mock Generation for C
|
||||||
|
ThrowTheSwitch.org
|
||||||
|
Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams
|
||||||
|
SPDX-License-Identifier: MIT
|
||||||
|
========================================================================= */
|
||||||
|
|
||||||
#include "unity.h"
|
#include "unity.h"
|
||||||
#include "Types.h"
|
#include "Types.h"
|
||||||
#include "UsartConductor.h"
|
#include "UsartConductor.h"
|
||||||
|
|||||||
@@ -1,3 +1,10 @@
|
|||||||
|
/* =========================================================================
|
||||||
|
CMock - Automatic Mock Generation for C
|
||||||
|
ThrowTheSwitch.org
|
||||||
|
Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams
|
||||||
|
SPDX-License-Identifier: MIT
|
||||||
|
========================================================================= */
|
||||||
|
|
||||||
#include "unity.h"
|
#include "unity.h"
|
||||||
#include "Types.h"
|
#include "Types.h"
|
||||||
#include "UsartConfigurator.h"
|
#include "UsartConfigurator.h"
|
||||||
|
|||||||
@@ -1,3 +1,10 @@
|
|||||||
|
/* =========================================================================
|
||||||
|
CMock - Automatic Mock Generation for C
|
||||||
|
ThrowTheSwitch.org
|
||||||
|
Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams
|
||||||
|
SPDX-License-Identifier: MIT
|
||||||
|
========================================================================= */
|
||||||
|
|
||||||
#include "unity.h"
|
#include "unity.h"
|
||||||
#include "Types.h"
|
#include "Types.h"
|
||||||
#include "UsartHardware.h"
|
#include "UsartHardware.h"
|
||||||
|
|||||||
@@ -1,3 +1,10 @@
|
|||||||
|
/* =========================================================================
|
||||||
|
CMock - Automatic Mock Generation for C
|
||||||
|
ThrowTheSwitch.org
|
||||||
|
Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams
|
||||||
|
SPDX-License-Identifier: MIT
|
||||||
|
========================================================================= */
|
||||||
|
|
||||||
#include "unity.h"
|
#include "unity.h"
|
||||||
#include "Types.h"
|
#include "Types.h"
|
||||||
#include "UsartModel.h"
|
#include "UsartModel.h"
|
||||||
|
|||||||
@@ -1,3 +1,10 @@
|
|||||||
|
/* =========================================================================
|
||||||
|
CMock - Automatic Mock Generation for C
|
||||||
|
ThrowTheSwitch.org
|
||||||
|
Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams
|
||||||
|
SPDX-License-Identifier: MIT
|
||||||
|
========================================================================= */
|
||||||
|
|
||||||
#include "unity.h"
|
#include "unity.h"
|
||||||
#include "Types.h"
|
#include "Types.h"
|
||||||
#include "UsartPutChar.h"
|
#include "UsartPutChar.h"
|
||||||
|
|||||||
@@ -1,3 +1,10 @@
|
|||||||
|
/* =========================================================================
|
||||||
|
CMock - Automatic Mock Generation for C
|
||||||
|
ThrowTheSwitch.org
|
||||||
|
Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams
|
||||||
|
SPDX-License-Identifier: MIT
|
||||||
|
========================================================================= */
|
||||||
|
|
||||||
#include "unity.h"
|
#include "unity.h"
|
||||||
#include "Types.h"
|
#include "Types.h"
|
||||||
#include "UsartTransmitBufferStatus.h"
|
#include "UsartTransmitBufferStatus.h"
|
||||||
|
|||||||
+6
-5
@@ -1,9 +1,10 @@
|
|||||||
#!/bin/ruby
|
#!/bin/ruby
|
||||||
# ==========================================
|
# =========================================================================
|
||||||
# CMock Project - Automatic Mock Generation for C
|
# CMock - Automatic Mock Generation for C
|
||||||
# Copyright (c) 2007 Mike Karlesky, Mark VanderVoord, Greg Williams
|
# ThrowTheSwitch.org
|
||||||
# [Released under MIT License. Please refer to license.txt for details]
|
# Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams
|
||||||
# ==========================================
|
# SPDX-License-Identifier: MIT
|
||||||
|
# =========================================================================
|
||||||
|
|
||||||
['../config/production_environment',
|
['../config/production_environment',
|
||||||
'cmock_header_parser',
|
'cmock_header_parser',
|
||||||
|
|||||||
+6
-5
@@ -1,8 +1,9 @@
|
|||||||
# ==========================================
|
# =========================================================================
|
||||||
# CMock Project - Automatic Mock Generation for C
|
# CMock - Automatic Mock Generation for C
|
||||||
# Copyright (c) 2007 Mike Karlesky, Mark VanderVoord, Greg Williams
|
# ThrowTheSwitch.org
|
||||||
# [Released under MIT License. Please refer to license.txt for details]
|
# Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams
|
||||||
# ==========================================
|
# SPDX-License-Identifier: MIT
|
||||||
|
# =========================================================================
|
||||||
|
|
||||||
class CMockConfig
|
class CMockConfig
|
||||||
CMOCK_DEFAULT_OPTIONS =
|
CMOCK_DEFAULT_OPTIONS =
|
||||||
|
|||||||
@@ -1,8 +1,9 @@
|
|||||||
# ==========================================
|
# =========================================================================
|
||||||
# CMock Project - Automatic Mock Generation for C
|
# CMock - Automatic Mock Generation for C
|
||||||
# Copyright (c) 2007 Mike Karlesky, Mark VanderVoord, Greg Williams
|
# ThrowTheSwitch.org
|
||||||
# [Released under MIT License. Please refer to license.txt for details]
|
# Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams
|
||||||
# ==========================================
|
# SPDX-License-Identifier: MIT
|
||||||
|
# =========================================================================
|
||||||
|
|
||||||
class CMockFileWriter
|
class CMockFileWriter
|
||||||
attr_reader :config
|
attr_reader :config
|
||||||
|
|||||||
@@ -1,8 +1,9 @@
|
|||||||
# ==========================================
|
# =========================================================================
|
||||||
# CMock Project - Automatic Mock Generation for C
|
# CMock - Automatic Mock Generation for C
|
||||||
# Copyright (c) 2007 Mike Karlesky, Mark VanderVoord, Greg Williams
|
# ThrowTheSwitch.org
|
||||||
# [Released under MIT License. Please refer to license.txt for details]
|
# Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams
|
||||||
# ==========================================
|
# SPDX-License-Identifier: MIT
|
||||||
|
# =========================================================================
|
||||||
|
|
||||||
class CMockGenerator
|
class CMockGenerator
|
||||||
attr_accessor :config, :file_writer, :module_name, :module_ext, :clean_mock_name, :mock_name, :utils, :plugins, :weak, :ordered
|
attr_accessor :config, :file_writer, :module_name, :module_ext, :clean_mock_name, :mock_name, :utils, :plugins, :weak, :ordered
|
||||||
|
|||||||
@@ -1,8 +1,9 @@
|
|||||||
# ==========================================
|
# =========================================================================
|
||||||
# CMock Project - Automatic Mock Generation for C
|
# CMock - Automatic Mock Generation for C
|
||||||
# Copyright (c) 2007 Mike Karlesky, Mark VanderVoord, Greg Williams
|
# ThrowTheSwitch.org
|
||||||
# [Released under MIT License. Please refer to license.txt for details]
|
# Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams
|
||||||
# ==========================================
|
# SPDX-License-Identifier: MIT
|
||||||
|
# =========================================================================
|
||||||
|
|
||||||
class CMockGeneratorPluginArray
|
class CMockGeneratorPluginArray
|
||||||
attr_reader :priority
|
attr_reader :priority
|
||||||
|
|||||||
@@ -1,8 +1,9 @@
|
|||||||
# ==========================================
|
# =========================================================================
|
||||||
# CMock Project - Automatic Mock Generation for C
|
# CMock - Automatic Mock Generation for C
|
||||||
# Copyright (c) 2007 Mike Karlesky, Mark VanderVoord, Greg Williams
|
# ThrowTheSwitch.org
|
||||||
# [Released under MIT License. Please refer to license.txt for details]
|
# Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams
|
||||||
# ==========================================
|
# SPDX-License-Identifier: MIT
|
||||||
|
# =========================================================================
|
||||||
|
|
||||||
class CMockGeneratorPluginCallback
|
class CMockGeneratorPluginCallback
|
||||||
attr_accessor :include_count
|
attr_accessor :include_count
|
||||||
|
|||||||
@@ -1,8 +1,9 @@
|
|||||||
# ==========================================
|
# =========================================================================
|
||||||
# CMock Project - Automatic Mock Generation for C
|
# CMock - Automatic Mock Generation for C
|
||||||
# Copyright (c) 2007 Mike Karlesky, Mark VanderVoord, Greg Williams
|
# ThrowTheSwitch.org
|
||||||
# [Released under MIT License. Please refer to license.txt for details]
|
# Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams
|
||||||
# ==========================================
|
# SPDX-License-Identifier: MIT
|
||||||
|
# =========================================================================
|
||||||
|
|
||||||
class CMockGeneratorPluginCexception
|
class CMockGeneratorPluginCexception
|
||||||
attr_reader :priority, :config, :utils
|
attr_reader :priority, :config, :utils
|
||||||
|
|||||||
@@ -1,8 +1,9 @@
|
|||||||
# ==========================================
|
# =========================================================================
|
||||||
# CMock Project - Automatic Mock Generation for C
|
# CMock - Automatic Mock Generation for C
|
||||||
# Copyright (c) 2007 Mike Karlesky, Mark VanderVoord, Greg Williams
|
# ThrowTheSwitch.org
|
||||||
# [Released under MIT License. Please refer to license.txt for details]
|
# Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams
|
||||||
# ==========================================
|
# SPDX-License-Identifier: MIT
|
||||||
|
# =========================================================================
|
||||||
|
|
||||||
class CMockGeneratorPluginExpect
|
class CMockGeneratorPluginExpect
|
||||||
attr_reader :priority
|
attr_reader :priority
|
||||||
|
|||||||
@@ -1,8 +1,9 @@
|
|||||||
# ==========================================
|
# =========================================================================
|
||||||
# CMock Project - Automatic Mock Generation for C
|
# CMock - Automatic Mock Generation for C
|
||||||
# Copyright (c) 2007 Mike Karlesky, Mark VanderVoord, Greg Williams
|
# ThrowTheSwitch.org
|
||||||
# [Released under MIT License. Please refer to license.txt for details]
|
# Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams
|
||||||
# ==========================================
|
# SPDX-License-Identifier: MIT
|
||||||
|
# =========================================================================
|
||||||
|
|
||||||
class CMockGeneratorPluginExpectAnyArgs
|
class CMockGeneratorPluginExpectAnyArgs
|
||||||
attr_reader :priority, :config, :utils
|
attr_reader :priority, :config, :utils
|
||||||
|
|||||||
@@ -1,8 +1,9 @@
|
|||||||
# ==========================================
|
# =========================================================================
|
||||||
# CMock Project - Automatic Mock Generation for C
|
# CMock - Automatic Mock Generation for C
|
||||||
# Copyright (c) 2007 Mike Karlesky, Mark VanderVoord, Greg Williams
|
# ThrowTheSwitch.org
|
||||||
# [Released under MIT License. Please refer to license.txt for details]
|
# Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams
|
||||||
# ==========================================
|
# SPDX-License-Identifier: MIT
|
||||||
|
# =========================================================================
|
||||||
|
|
||||||
class CMockGeneratorPluginIgnore
|
class CMockGeneratorPluginIgnore
|
||||||
attr_reader :priority, :config, :utils
|
attr_reader :priority, :config, :utils
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user