test_class.declarator: SQL = "SELECT * FROM t_user"
test_class.modifier: private static final
test_class.original_string: private static final String SQL = "SELECT * FROM t_user";
test_class.type: String
test_class.var_name: SQL
test_class.declarator: logicSQL = new LogicSQL(mock(ShardingSphereSchema.class), null, SQL, Collections.emptyList())
test_class.modifier: private final
test_class.original_string: private final LogicSQL logicSQL = new LogicSQL(mock(ShardingSphereSchema.class), null, SQL, Collections.emptyList());
test_class.type: LogicSQL
test_class.var_name: logicSQL
test_class.declarator: executionUnits
test_class.modifier: private
test_class.original_string: private Collection<ExecutionUnit> executionUnits;
test_class.type: Collection<ExecutionUnit>
test_class.var_name: executionUnits
test_class.declarator: logger
test_class.modifier: @Mock
      private
test_class.original_string: @Mock
      private Logger logger;
test_class.type: Logger
test_class.var_name: logger
test_class.file: shardingsphere-infra/shardingsphere-infra-executor/src/test/java/org/apache/shardingsphere/infra/executor/sql/log/SQLLoggerTest.java
test_class.identifier: SQLLoggerTest
test_case.body: @Test
      public void assertLogNormalSQLWithoutParameter() {
          SQLLogger.logSQL(logicSQL, false, new ExecutionContext(null, executionUnits, mock(RouteContext.class)));
          InOrder inOrder = inOrder(logger);
          inOrder.verify(logger).info("Logic SQL: {}", new Object[]{SQL});
          inOrder.verify(logger).info("SQLStatement: {}", new Object[]{null});
          inOrder.verify(logger).info("Actual SQL: {} ::: {}", new Object[]{"db1", SQL});
          inOrder.verify(logger).info("Actual SQL: {} ::: {}", new Object[]{"db2", SQL});
          inOrder.verify(logger).info("Actual SQL: {} ::: {}", new Object[]{"db3", SQL});
      }
test_case.class_method_signature: SQLLoggerTest.assertLogNormalSQLWithoutParameter()
test_case.full_signature: @Test public void assertLogNormalSQLWithoutParameter()
test_case.identifier: assertLogNormalSQLWithoutParameter
test_case.invocations: logSQL mock inOrder info verify info verify info verify info verify info verify
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void assertLogNormalSQLWithoutParameter()
focal_class.file: shardingsphere-infra/shardingsphere-infra-executor/src/main/java/org/apache/shardingsphere/infra/executor/sql/log/SQLLogger.java
focal_class.identifier: SQLLogger
focal_class.class_method_signature: SQLLogger.logSQL(final LogicSQL logicSQL, final boolean showSimple, final ExecutionContext executionContext)
focal_class.full_signature: public static void logSQL(final LogicSQL logicSQL, final boolean showSimple, final ExecutionContext executionContext)
focal_class.identifier: logSQL
focal_class.modifiers: public static
focal_class.parameters: (final LogicSQL logicSQL, final boolean showSimple, final ExecutionContext executionContext)
focal_class.return: void
focal_class.signature: void logSQL(final LogicSQL logicSQL, final boolean showSimple, final ExecutionContext executionContext)
focal_class.class_method_signature: SQLLogger.logSimpleMode(final Collection<ExecutionUnit> executionUnits)
focal_class.full_signature: private static void logSimpleMode(final Collection<ExecutionUnit> executionUnits)
focal_class.identifier: logSimpleMode
focal_class.modifiers: private static
focal_class.parameters: (final Collection<ExecutionUnit> executionUnits)
focal_class.return: void
focal_class.signature: void logSimpleMode(final Collection<ExecutionUnit> executionUnits)
focal_class.class_method_signature: SQLLogger.logNormalMode(final Collection<ExecutionUnit> executionUnits)
focal_class.full_signature: private static void logNormalMode(final Collection<ExecutionUnit> executionUnits)
focal_class.identifier: logNormalMode
focal_class.modifiers: private static
focal_class.parameters: (final Collection<ExecutionUnit> executionUnits)
focal_class.return: void
focal_class.signature: void logNormalMode(final Collection<ExecutionUnit> executionUnits)
focal_class.class_method_signature: SQLLogger.log(final String pattern, final Object... arguments)
focal_class.full_signature: private static void log(final String pattern, final Object... arguments)
focal_class.identifier: log
focal_class.modifiers: private static
focal_class.parameters: (final String pattern, final Object... arguments)
focal_class.return: void
focal_class.signature: void log(final String pattern, final Object... arguments)
focal_method.body: public static void logSQL(final LogicSQL logicSQL, final boolean showSimple, final ExecutionContext executionContext) {
          log("Logic SQL: {}", logicSQL.getSql());
          log("SQLStatement: {}", logicSQL.getSqlStatementContext());
          if (showSimple) {
              logSimpleMode(executionContext.getExecutionUnits());
          } else {
              logNormalMode(executionContext.getExecutionUnits());
          }
      }
focal_method.class_method_signature: SQLLogger.logSQL(final LogicSQL logicSQL, final boolean showSimple, final ExecutionContext executionContext)
focal_method.full_signature: public static void logSQL(final LogicSQL logicSQL, final boolean showSimple, final ExecutionContext executionContext)
focal_method.identifier: logSQL
focal_method.invocations: log getSql log getSqlStatementContext logSimpleMode getExecutionUnits logNormalMode getExecutionUnits
focal_method.modifiers: public static
focal_method.parameters: (final LogicSQL logicSQL, final boolean showSimple, final ExecutionContext executionContext)
focal_method.return: void
focal_method.signature: void logSQL(final LogicSQL logicSQL, final boolean showSimple, final ExecutionContext executionContext)