Skip to content

Commit 328b14b

Browse files
committed
tests: add comprehensive wasm-c-api unit tests
Add enhanced test coverage for wasm-c-api functionality: - Add wasm_extern_type testing with null input validation - Add wasm_memory internal API tests with WebAssembly module integration - Extend CMakeLists.txt to include new test files Signed-off-by: Gong, Pu <pu.gong@intel.com>
1 parent b124f70 commit 328b14b

File tree

3 files changed

+1076
-0
lines changed

3 files changed

+1076
-0
lines changed

tests/unit/wasm-c-api/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,8 @@ enable_testing()
6565

6666
add_executable(wasm_c_api_test
6767
basic.cc
68+
enhanced_gen_wasm_c_api_test.cc
69+
enhanced_gen_wasm_memory_new_internal_test.cc
6870
)
6971

7072
target_link_libraries(wasm_c_api_test vmlib gtest_main)

0 commit comments

Comments
 (0)