KiCad PCB EDA Suite
Loading...
Searching...
No Matches
odb_test_utils.cpp File Reference
#include "odb_test_utils.h"
#include <algorithm>
#include <fstream>
#include <map>
#include <memory>
#include <sstream>
#include <board.h>
#include <core/utf8.h>
#include <footprint.h>
#include <pad.h>
#include <reporter.h>
#include <pcbnew/pcb_io/odbpp/pcb_io_odbpp.h>
#include <richio.h>

Go to the source code of this file.

Functions

fs::path ExportOdb (const BOARD &aBoard, const fs::path &aDir, const std::string &aUnits, const std::string &aSigfig, REPORTER *aReporter)
 
std::vector< std::string > ReadLines (const fs::path &aFile)
 
const KI_TEST::SCOPED_TEMP_DIR & TempDir ()
 
size_t CountPads (const BOARD &aBoard, PAD_PROP aProperty, PCB_LAYER_ID aLayer)
 

Function Documentation

◆ CountPads()

size_t CountPads ( const BOARD & aBoard,
PAD_PROP aProperty,
PCB_LAYER_ID aLayer )

Definition at line 80 of file odb_test_utils.cpp.

References BOARD::Footprints(), and pad.

Referenced by BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), and BOOST_AUTO_TEST_CASE().

◆ ExportOdb()

◆ ReadLines()

◆ TempDir()