This is an automated email from the ASF dual-hosted git repository.
xiaoyu pushed a change to branch
dependabot/maven/shenyu-examples/shenyu-examples-dubbo/shenyu-examples-apache-dubbo-service-xml/org.apache.dubbo-dubbo-2.7.18
in repository https://gitbox.apache.org/repos/asf/shenyu.git
from 4ddd69f7f Merge branch 'master' into
dependabot/maven/shenyu-examples/shenyu-examples-dubbo/shenyu-examples-apache-dubbo-service-xml/org.apache.dubbo-dubbo-2.7.18
add 792ef9797 [type:feature] added expression and replaced some grammar of
${} with expression (#4180)
add 35c30d08f [ISSUE #3275] improve unit test coverage of 'ReflectUtils
(#4215)
add 6a7f0ad07 [ISSUE #3275] improve unit test coverage of
'org.apache.shenyu.common.utils' (#4223)
add acb42e4cf Merge branch 'master' into
dependabot/maven/shenyu-examples/shenyu-examples-dubbo/shenyu-examples-apache-dubbo-service-xml/org.apache.dubbo-dubbo-2.7.18
No new revisions were added by this update.
Summary of changes:
.../apache/shenyu/common/utils/GsonUtilsTest.java | 25 +++
.../apache/shenyu/common/utils/JsonUtilsTest.java | 21 +++
.../apache/shenyu/common/utils/PathUtilsTest.java | 11 ++
.../shenyu/common/utils/ReflectUtilsTest.java | 32 ++++
.../apache/shenyu/common/utils/SignUtilsTest.java | 11 ++
.../apache/shenyu/common/utils/UriUtilsTest.java | 18 ++
.../test/http/combination/MockPluginTest.java | 2 +-
.../plugin/mock/generator/BoolGenerator.java | 12 +-
.../mock/generator/CurrentTimeGenerator.java | 23 +--
.../plugin/mock/generator/EmailGenerator.java | 21 +--
.../plugin/mock/generator/EnStringGenerator.java | 21 ++-
.../plugin/mock/generator/ExpressionGenerator.java | 109 ++++++++++++
.../plugin/mock/generator/GeneratorFactory.java | 42 +++--
.../plugin/mock/generator/PhoneGenerator.java | 19 +--
.../mock/generator/RandomDoubleGenerator.java | 25 ++-
.../plugin/mock/generator/RandomIntGenerator.java | 20 +--
.../plugin/mock/generator/RangeDataGenerator.java | 23 ++-
.../plugin/mock/generator/ZhStringGenerator.java | 23 ++-
.../apache/shenyu/plugin/mock/util/MockUtil.java | 184 +++++++++++++++++++++
...g.apache.shenyu.plugin.mock.generator.Generator | 1 +
.../plugin/mock/generator/ArrayGeneratorTest.java | 8 +-
.../mock/generator/ExpressionGeneratorTest.java | 137 +++++++++++++++
.../mock/generator/GeneratorFactoryTest.java | 24 ++-
23 files changed, 666 insertions(+), 146 deletions(-)
create mode 100644
shenyu-plugin/shenyu-plugin-mock/src/main/java/org/apache/shenyu/plugin/mock/generator/ExpressionGenerator.java
create mode 100644
shenyu-plugin/shenyu-plugin-mock/src/main/java/org/apache/shenyu/plugin/mock/util/MockUtil.java
create mode 100644
shenyu-plugin/shenyu-plugin-mock/src/test/java/org/apache/shenyu/plugin/mock/generator/ExpressionGeneratorTest.java
copy
shenyu-common/src/test/java/org/apache/shenyu/common/utils/ShaUtilsTest.java =>
shenyu-plugin/shenyu-plugin-mock/src/test/java/org/apache/shenyu/plugin/mock/generator/GeneratorFactoryTest.java
(61%)