LamGC 236f15825b [Update] Common 调整 CacheStoreBuilder 的 factory 重载过程, 增强测试覆盖率, 将 FactoryInfo 设计为不可继承;
[Change] FactoryInfo 添加 final 关键字以阻止继承;
[Change] CacheStoreBuilder 调整 factory 的重载过程, 使其尽可能符合线程安全(目前就测试结果而言应该是没问题的), 将 Factory 非空检查独立成一个方法, 以方便测试;
[Delete] Common/pom.xml 移除对 CacheStore-local 和 CacheStore-redis 的依赖;
[Change] CacheStoreBuilderTest 调整单元测试以增加测试覆盖率;
[Add] AvailabilityCheckExceptionThrowFactory, DuplicateNameFactoryA, DuplicateNameFactoryB, GetCacheStoreExceptionFactory, InitialFailureFactory, LocalFactory, MemoryFactory, NoAnnotationFactory, RemoteCacheFactory, ReturnNullFactory, SetCacheStoreFactory 增加测试用工厂;
[Add] META-INF/services/net.lamgc.cgj.bot.cache.CacheStoreFactory 添加 SPI 接口实现注册文件, 并注册测试用相关实现;
2020-11-14 11:02:35 +08:00
2020-09-03 13:24:18 +08:00

ContentGrabbingJi

一个以高性能、高效率为目标、多框架/平台支持、持续维护的Pixiv聊天机器人。
(重构进行中,欢迎围观 or 贡献!)
(旧版还能用,只是不再继续维护)

Unit test confirmation of commit

Install

待 3.0.0-alpha 版发布后将会更新!

Usage

Contributing

License

ContentGrabbingJi 是遵循 GNU Affero General Public License v3.0 协议开源的, 完全免费的项目(软件),任何人(或组织)不允许违反开源协议来使用本项目。

通过使用本项目为用户提供服务时,请注意遵守服务使用者所在地的法律法规,因违规使用本项目而带来的后果自行负责。

Copyright (C) 2020  LamGC

ContentGrabbingJi is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.

ContentGrabbingJi is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License
along with this program.  If not, see <https://www.gnu.org/licenses/>.

FOSSA Status

Description
(重构中)一个以高性能、高效率、高兼容性和多功能为目标、多框架/平台支持(和兼容)的Pixiv聊天机器人。
Readme AGPL-3.0 1.4 MiB
Languages
Java 98.9%
Lua 1.1%