Shadow icon indicating copy to clipboard operation
Shadow copied to clipboard

test: 增加一个PluginManager运行时更新的自动化测试

Open shifujun opened this issue 3 years ago • 0 comments

测试中DumbUpdater在第一次getLatest时返回一个空实现的DumbManager, 然后DynamicPluginManager中的enter逻辑会自动调用DumbUpdater的update方法, DumbUpdater此后就会返回另一个实现TestDynamicPluginManager。

测试用例通过将两次getLatest取得的Manager对象类名打印出来判断更新是否成功。

#784

shifujun avatar Jan 24 '22 07:01 shifujun