| 42 | return profile["plugin"]; |
| 43 | } |
| 44 | void initialize() { |
| 45 | EXPECT_FALSE(erasure_code); |
| 46 | EXPECT_EQ(0, instance.factory(get_plugin(), |
| 47 | g_conf().get_val<std::string>("erasure_code_dir"), |
| 48 | profile, |
| 49 | &erasure_code, |
| 50 | &cerr)); |
| 51 | EXPECT_TRUE(erasure_code.get()); |
| 52 | chunk_size = erasure_code->get_chunk_size(get_k()*4096); |
| 53 | } |
| 54 | unsigned int get_k() |
| 55 | { |
| 56 | return erasure_code->get_data_chunk_count(); |
nothing calls this directly
no test coverage detected