KiCad PCB EDA Suite
Loading...
Searching...
No Matches
test_kinng.cpp
Go to the documentation of this file.
1
/*
2
* This program source code file is part of KiCad, a free EDA CAD application.
3
*
4
* Copyright (C) 2023 Jon Evans <
[email protected]
>
5
* Copyright The KiCad Developers, see AUTHORS.txt for contributors.
6
*
7
* This program is free software: you can redistribute it and/or modify it
8
* under the terms of the GNU General Public License as published by the
9
* Free Software Foundation, either version 3 of the License, or (at your
10
* option) any later version.
11
*
12
* This program is distributed in the hope that it will be useful, but
13
* WITHOUT ANY WARRANTY; without even the implied warranty of
14
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15
* General Public License for more details.
16
*
17
* You should have received a copy of the GNU General Public License
18
* along with this program. If not, see <https://www.gnu.org/licenses/>.
19
*/
20
21
#include <wx/filename.h>
22
#include <wx/stdpaths.h>
23
24
#include <
qa_utils/wx_utils/unit_test_utils.h
>
25
#include <
qa_utils/file_utils.h
>
26
27
#include <
kinng.h
>
28
29
#include <
import_export.h
>
30
#include <api/common/envelope.pb.h>
31
32
BOOST_AUTO_TEST_SUITE
( KiNNG )
33
34
BOOST_AUTO_TEST_CASE
( CreateIPCResponder )
35
{
36
KI_TEST::SCOPED_TEMP_DIR
tempDir(
"kicad_qa_kinng"
);
37
38
KINNG_REQUEST_SERVER
server( tempDir.
Path
().string() );
39
}
40
41
BOOST_AUTO_TEST_SUITE_END
()
KINNG_REQUEST_SERVER
Definition
kinng.h:32
KI_TEST::SCOPED_TEMP_DIR
Definition
file_utils.h:38
KI_TEST::SCOPED_TEMP_DIR::Path
const std::filesystem::path & Path() const
Get the path to the temporary directory as a std::filesystem::path.
Definition
file_utils.h:59
file_utils.h
import_export.h
kinng.h
BOOST_AUTO_TEST_CASE
BOOST_AUTO_TEST_CASE(HorizontalAlignment)
Definition
test_api_enums.cpp:79
BOOST_AUTO_TEST_SUITE
BOOST_AUTO_TEST_SUITE(CadstarPartParser)
BOOST_AUTO_TEST_SUITE_END
BOOST_AUTO_TEST_SUITE_END()
unit_test_utils.h
src
qa
tests
libs
kinng
test_kinng.cpp
Generated on Thu Sep 17 2026 00:06:27 for KiCad PCB EDA Suite by
1.13.2