| 5 | using namespace wasmtime; |
| 6 | |
| 7 | TEST(PoolAllocationConfig, Smoke) { |
| 8 | PoolAllocationConfig config; |
| 9 | config.max_unused_warm_slots(1); |
| 10 | config.decommit_batch_size(2); |
| 11 | config.async_stack_keep_resident(3); |
| 12 | config.linear_memory_keep_resident(4); |
| 13 | config.table_keep_resident(5); |
| 14 | config.total_component_instances(6); |
| 15 | config.max_component_instance_size(7); |
| 16 | config.max_core_instances_per_component(8); |
| 17 | config.max_memories_per_component(9); |
| 18 | config.max_tables_per_component(10); |
| 19 | config.total_memories(11); |
| 20 | config.total_tables(12); |
| 21 | config.total_stacks(13); |
| 22 | config.total_core_instances(14); |
| 23 | config.max_core_instance_size(15); |
| 24 | config.max_tables_per_module(16); |
| 25 | config.table_elements(17); |
| 26 | config.max_memories_per_module(18); |
| 27 | config.max_memory_size(19); |
| 28 | config.total_gc_heaps(20); |
| 29 | |
| 30 | PoolAllocationConfig config2 = std::move(config); |
| 31 | PoolAllocationConfig config3(std::move(config)); |
| 32 | } |
| 33 | |
| 34 | TEST(Config, Smoke) { |
| 35 | Config config; |
nothing calls this directly
no test coverage detected