This is an automated email from the ASF dual-hosted git repository.

panjuan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git


The following commit(s) were added to refs/heads/master by this push:
     new d84af3c4fcf Remove test case for static impl (#21327)
d84af3c4fcf is described below

commit d84af3c4fcf4f7ea967b6b574669a67eed6268e3
Author: Liang Zhang <[email protected]>
AuthorDate: Mon Oct 3 13:28:26 2022 +0800

    Remove test case for static impl (#21327)
---
 ...ultTransactionRuleConfigurationBuilderTest.java | 22 ++++++----------------
 1 file changed, 6 insertions(+), 16 deletions(-)

diff --git 
a/shardingsphere-kernel/shardingsphere-transaction/shardingsphere-transaction-core/src/test/java/org/apache/shardingsphere/transaction/rule/builder/DefaultTransactionRuleConfigurationBuilderTest.java
 
b/shardingsphere-kernel/shardingsphere-transaction/shardingsphere-transaction-core/src/test/java/org/apache/shardingsphere/transaction/rule/builder/DefaultTransactionRuleConfigurationBuilderTest.java
index d8a50b0b722..e08040ebb1e 100644
--- 
a/shardingsphere-kernel/shardingsphere-transaction/shardingsphere-transaction-core/src/test/java/org/apache/shardingsphere/transaction/rule/builder/DefaultTransactionRuleConfigurationBuilderTest.java
+++ 
b/shardingsphere-kernel/shardingsphere-transaction/shardingsphere-transaction-core/src/test/java/org/apache/shardingsphere/transaction/rule/builder/DefaultTransactionRuleConfigurationBuilderTest.java
@@ -17,16 +17,16 @@
 
 package org.apache.shardingsphere.transaction.rule.builder;
 
-import static org.hamcrest.MatcherAssert.assertThat;
-import static org.hamcrest.Matchers.is;
-import static org.junit.Assert.assertNull;
-
-import java.util.Properties;
 import 
org.apache.shardingsphere.transaction.config.TransactionRuleConfiguration;
-import org.apache.shardingsphere.transaction.constant.TransactionOrder;
 import org.apache.shardingsphere.transaction.core.TransactionType;
 import org.junit.Test;
 
+import java.util.Properties;
+
+import static org.hamcrest.MatcherAssert.assertThat;
+import static org.hamcrest.Matchers.is;
+import static org.junit.Assert.assertNull;
+
 public final class DefaultTransactionRuleConfigurationBuilderTest {
     
     @Test
@@ -36,14 +36,4 @@ public final class 
DefaultTransactionRuleConfigurationBuilderTest {
         assertNull(actual.getProviderType());
         assertThat(actual.getProps(), is(new Properties()));
     }
-    
-    @Test
-    public void assertGetOrder() {
-        assertThat(new 
DefaultTransactionRuleConfigurationBuilder().getOrder(), 
is(TransactionOrder.ORDER));
-    }
-    
-    @Test
-    public void assertGetTypeClass() {
-        assertThat(new 
DefaultTransactionRuleConfigurationBuilder().getTypeClass().toString(), 
is(TransactionRuleBuilder.class.toString()));
-    }
 }

Reply via email to