forked from Mirrors/Marlin
🎨 Consistent tests paths
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
*/
|
||||
|
||||
#include "../test/unit_tests.h"
|
||||
#include <src/core/macros.h>
|
||||
#include "src/core/macros.h"
|
||||
|
||||
// These represent enabled and disabled configuration options for testing.
|
||||
// They will be used by multiple tests.
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
|
||||
#if ENABLED(FILAMENT_RUNOUT_SENSOR)
|
||||
|
||||
#include <src/feature/runout.h>
|
||||
#include "src/feature/runout.h"
|
||||
|
||||
MARLIN_TEST(runout, poll_runout_states) {
|
||||
FilamentSensorBase sensor;
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
*/
|
||||
|
||||
#include "../test/unit_tests.h"
|
||||
#include <src/gcode/gcode.h>
|
||||
#include <src/gcode/parser.h>
|
||||
#include "src/gcode/gcode.h"
|
||||
#include "src/gcode/parser.h"
|
||||
|
||||
MARLIN_TEST(gcode, process_parsed_command) {
|
||||
GcodeSuite suite;
|
||||
|
||||
@@ -21,6 +21,8 @@
|
||||
*/
|
||||
|
||||
/**
|
||||
* unit_tests.cpp - Unit for running tests in the Marlin/tests/ folder.
|
||||
*
|
||||
* Provide the main() function used for all compiled unit test binaries.
|
||||
* It collects all the tests defined in the code and runs them through Unity.
|
||||
*/
|
||||
|
||||
@@ -21,6 +21,10 @@
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
/**
|
||||
* unit_tests.h - Unit Tests class used by cpp files in the Marlin/tests/ folder.
|
||||
*/
|
||||
|
||||
#include <list>
|
||||
#include <string>
|
||||
#include <unity.h>
|
||||
|
||||
Reference in New Issue
Block a user