| 59 | //单测的入口 |
| 60 | extern "C" |
| 61 | JNIEXPORT jint JNICALL |
| 62 | Java_com_antgroup_antv_f2_F2TestProxy_runTest(JNIEnv *env) { |
| 63 | F2_LOG_I("F2Test", "Start F2 Unit Test!\n"); |
| 64 | testLinear(); |
| 65 | F2_LOG_I("F2Test", "Linear Test Passed!\n"); |
| 66 | testCategory(); |
| 67 | F2_LOG_I("F2Test", "Category Passed!\n"); |
| 68 | testTimeSharingLinear(); |
| 69 | F2_LOG_I("F2Test", "TimeSharingLinear Category Passed!\n"); |
| 70 | testScaleController(); |
| 71 | F2_LOG_I("F2Test", "ScaleController Category Passed!\n"); |
| 72 | F2_LOG_I("F2Test", "All Passed!\n"); |
| 73 | return 1; |
| 74 | } |
nothing calls this directly
no test coverage detected