Skip to content

Commit 85edb01

Browse files
authored
Remove the last usage of a TestDriver file that is not auto-generated (project-chip#31806)
* Remove chip-crypto-pal driver * Restyle
1 parent 9b99f4c commit 85edb01

File tree

3 files changed

+3
-41
lines changed

3 files changed

+3
-41
lines changed

src/crypto/tests/BUILD.gn

+1-3
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ chip_test_suite_using_nltest("tests") {
2424

2525
sources = [
2626
"AES_CCM_128_test_vectors.h",
27-
"CHIPCryptoPALTest.cpp",
2827
"DacValidationExplicitVectors.h",
2928
"DerSigConversion_test_vectors.h",
3029
"ECDH_P256_test_vectors.h",
@@ -46,6 +45,7 @@ chip_test_suite_using_nltest("tests") {
4645
]
4746

4847
test_sources = [
48+
"TestChipCryptoPAL.cpp",
4949
"TestGroupOperationalCredentials.cpp",
5050
"TestSessionKeystore.cpp",
5151
]
@@ -73,6 +73,4 @@ chip_test_suite_using_nltest("tests") {
7373
"${chip_root}/src/platform",
7474
"${nlunit_test_root}:nlunit-test",
7575
]
76-
77-
tests = [ "CHIPCryptoPALTest" ]
7876
}

src/crypto/tests/CHIPCryptoPALTestDriver.cpp

-36
This file was deleted.

src/crypto/tests/CHIPCryptoPALTest.cpp src/crypto/tests/TestChipCryptoPAL.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -3070,7 +3070,7 @@ int TestCHIPCryptoPAL_Teardown(void * inContext)
30703070
return SUCCESS;
30713071
}
30723072

3073-
int TestCHIPCryptoPAL(void)
3073+
int TestChipCryptoPal()
30743074
{
30753075
// clang-format off
30763076
nlTestSuite theSuite =
@@ -3088,4 +3088,4 @@ int TestCHIPCryptoPAL(void)
30883088
return (nlTestRunnerStats(&theSuite));
30893089
}
30903090

3091-
CHIP_REGISTER_TEST_SUITE(TestCHIPCryptoPAL)
3091+
CHIP_REGISTER_TEST_SUITE(TestChipCryptoPal)

0 commit comments

Comments
 (0)