Skip to content

Commit

Permalink
Replaced nlunit-test with pw_unit_test in src/lib/asn1/ (#33061)
Browse files Browse the repository at this point in the history
* Replaced nlunit-test with pw_unit_test in src/lib/asn1/

* Restyled by clang-format

* Split complicated test assertion

---------

Co-authored-by: Restyled.io <[email protected]>
  • Loading branch information
mbknust and restyled-commits authored Apr 19, 2024
1 parent a53c7a1 commit cb8eace
Show file tree
Hide file tree
Showing 4 changed files with 99 additions and 130 deletions.
5 changes: 1 addition & 4 deletions src/lib/asn1/tests/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -14,21 +14,18 @@

import("//build_overrides/build.gni")
import("//build_overrides/chip.gni")
import("//build_overrides/nlunit_test.gni")

import("${chip_root}/build/chip/chip_test_suite.gni")

chip_test_suite_using_nltest("tests") {
chip_test_suite("tests") {
output_name = "libASN1Tests"

test_sources = [ "TestASN1.cpp" ]

public_deps = [
"${chip_root}/src/lib/asn1",
"${chip_root}/src/lib/core",
"${chip_root}/src/lib/support:testing_nlunit",
"${chip_root}/src/platform",
"${nlunit_test_root}:nlunit-test",
]

cflags = [ "-Wconversion" ]
Expand Down
Loading

0 comments on commit cb8eace

Please sign in to comment.