Skip to content

Commit

Permalink
Update src/lib/core/tests to auto-test-driver generation (#3991)
Browse files Browse the repository at this point in the history
  • Loading branch information
andy31415 authored Dec 1, 2020
1 parent 05faf7d commit 4d592f5
Show file tree
Hide file tree
Showing 10 changed files with 1 addition and 206 deletions.
10 changes: 1 addition & 9 deletions src/lib/core/tests/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,10 @@ import("${chip_root}/build/chip/chip_test_suite.gni")
chip_test_suite("tests") {
output_name = "libCoreTests"

sources = [
test_sources = [
"TestCHIPCallback.cpp",
"TestCHIPErrorStr.cpp",
"TestCHIPTLV.cpp",
"TestCore.h",
"TestReferenceCounted.cpp",
]

Expand All @@ -34,11 +33,4 @@ chip_test_suite("tests") {
"${chip_root}/src/lib/core",
"${nlunit_test_root}:nlunit-test",
]

tests = [
"TestCHIPErrorStr",
"TestReferenceCounted",
"TestCHIPTLV",
"TestCHIPCallback",
]
}
3 changes: 0 additions & 3 deletions src/lib/core/tests/TestCHIPCallback.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,6 @@
* This file implements a test for CHIP Callback
*
*/

#include "TestCore.h"

#include <core/CHIPCallback.h>
#include <support/CHIPMem.h>
#include <support/UnitTestRegistration.h>
Expand Down
35 changes: 0 additions & 35 deletions src/lib/core/tests/TestCHIPCallbackDriver.cpp

This file was deleted.

2 changes: 0 additions & 2 deletions src/lib/core/tests/TestCHIPErrorStr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@
#define __STDC_LIMIT_MACROS
#endif

#include "TestCore.h"

#include <inttypes.h>
#include <stdint.h>
#include <string.h>
Expand Down
35 changes: 0 additions & 35 deletions src/lib/core/tests/TestCHIPErrorStrDriver.cpp

This file was deleted.

2 changes: 0 additions & 2 deletions src/lib/core/tests/TestCHIPTLV.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@
*
*/

#include "TestCore.h"

#include <nlbyteorder.h>
#include <nlunit-test.h>

Expand Down
45 changes: 0 additions & 45 deletions src/lib/core/tests/TestCHIPTLVDriver.cpp

This file was deleted.

38 changes: 0 additions & 38 deletions src/lib/core/tests/TestCore.h

This file was deleted.

2 changes: 0 additions & 2 deletions src/lib/core/tests/TestReferenceCounted.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@
*
*/

#include "TestCore.h"

#include <inttypes.h>
#include <stdint.h>
#include <string.h>
Expand Down
35 changes: 0 additions & 35 deletions src/lib/core/tests/TestReferenceCountedDriver.cpp

This file was deleted.

0 comments on commit 4d592f5

Please sign in to comment.