cheese8
cheese8
refactor parameter on consumer url logic code: #10312 1.using ParameterOnConsumerUrl, getParameterOnConsumerUrl and hasParameterOnConsumerUrl to refactor the multi-places similar code 2. using final
Refactor a clean and testable dubbo, to unify the code style: 1. use guard clause #10267 2. no more than 2 depth if else 3. no more than 2 depth...
## What is the purpose of the change Ref #240
While I execute the testSave(), I get the comparisonFailure as below, and what I expected is PASS, anything mistake I made? Thanks in advance. ``` junit.framework.ComparisonFailure: row count (table=WIDGET) expected:...
如题,testcase中演示了2种方法: 1、以future / Semaphore方式,非侵入(ApolloMockServerApiTest) ``` Config otherConfig = ConfigService.getConfig(anotherNamespace); final SettableFuture future = SettableFuture.create(); otherConfig.addChangeListener(new ConfigChangeListener() { @Override public void onChange(ConfigChangeEvent changeEvent) { future.set(changeEvent); } }); embeddedApollo.deleteProperty(anotherNamespace, "key4"); ConfigChangeEvent changeEvent...