plugin_manager adapt session_manager API and rewrite plugin_manger gtest

This commit is contained in:
luwenpeng
2022-08-26 17:33:03 +08:00
parent e3ea4d0729
commit 0ed9a0ccca
52 changed files with 1161 additions and 1575 deletions

View File

@@ -0,0 +1,38 @@
[PLUGINFO]
INIT_FUNC="test_plugin_init"
EXIT_FUNC="test_plugin_exit"
LIBRARY_PATH="./test_plugin.so"
# Support SESSION_STATE: "SESSION_STATE_OPENING", "SESSION_STATE_ACTIVE", "SESSION_STATE_CLOSING", "SESSION_STATE_ALL"
[SESSION_NAME.TEST0]
SESSION_STATE=["SESSION_STATE_OPENING"]
SESSION_ENTRY_CALLBACK="test_plugin_entry0"
[SESSION_NAME.TEST1]
SESSION_STATE=["SESSION_STATE_ACTIVE"]
SESSION_ENTRY_CALLBACK="test_plugin_entry1"
[SESSION_NAME.TEST2]
SESSION_STATE=["SESSION_STATE_CLOSING"]
SESSION_ENTRY_CALLBACK="test_plugin_entry2"
[SESSION_NAME.TEST3]
SESSION_STATE=["SESSION_STATE_ALL"]
SESSION_ENTRY_CALLBACK="test_plugin_entry3"
[SESSION_NAME.TEST4]
SESSION_STATE=["SESSION_STATE_OPENING","SESSION_STATE_ACTIVE"]
SESSION_ENTRY_CALLBACK="test_plugin_entry4"
[SESSION_NAME.TEST5]
SESSION_STATE=["SESSION_STATE_ACTIVE","SESSION_STATE_CLOSING"]
SESSION_ENTRY_CALLBACK="test_plugin_entry5"
[SESSION_NAME.TEST6]
SESSION_STATE=["SESSION_STATE_OPENING","SESSION_STATE_CLOSING"]
SESSION_ENTRY_CALLBACK="test_plugin_entry6"
[SESSION_NAME.TEST7]
SESSION_STATE=["SESSION_STATE_OPENING","SESSION_STATE_ACTIVE","SESSION_STATE_CLOSING"]
SESSION_ENTRY_CALLBACK="test_plugin_entry7"