All Classes
-
All Classes Interface Summary Class Summary Enum Summary Exception Summary Annotation Types Summary Class Description AnnotationUtil Utilities for processing defined annotations.AssertException The wrap exception for error of assertion.CodeNode Represents the node of code.CollectionUsage Internal setting of collection usage.ConductorConfig Defines the configuration for building block of conduction.
This object supports hierarchy, if the getXXX method cannot found one, try fetch from parent.ConductorContext Used to be access by thread-local variable of current execution of conductor.ConfigNode As the "config" property for a YAML document.DatabaseSurroundOperators Builds surrounding operator with database operations.DatabaseTransactional As surrounding of operation data grain for transactional wrapping.DatabaseVendor The defined vendors of database.DataConductException Represents the runtime exception thrown byDataConductor
.DataConductor DataField<T> Container with data of a field.
This class would call the supplier only once, and keep the value.DataField.Factory Utility factory to compose fields for a table.DataFieldDecorator LikesDataFieldDecorator
, with iteration of data fields.DataFieldPredicates DataGrain Represents the data of rows.DataGrainDecorator This interface should be used withDataGrain.decorate(guru.mikelue.jdut.decorate.DataGrainDecorator)
.DataGrainOperator Operator to execute code by fedDataGrain
.DataGrainOperator.SurroundOperator The operator for surrounding ofDataGrainOperator
.DataRow Represents the data of a row.DataRowBuilderPredicates DataRowException Represents the exception thrown byDataRow.validate()
.DataRowOperator Operator to execute code by fedDataRow
.DataRowOperator.SurroundOperator The operator for surrounding ofDataRowOperator
.DataRowsOperator DataRowsOperator.SurroundOperator The operator for surrounding ofDataRowsOperator
.DbRelease Functions forAutoCloseable
, which are used to wrap existingJdbcFunction
for closing feature.DbResultSet Utility used to buildJdbcRunnable
orJdbcSupplier
for processing aResultSet
with some primitive values(e.g., SQL string).DbStatement Utility used to buildJdbcRunnable
orJdbcSupplier
for processing aStatement
orPreparedStatement
with other dependencies(e.g.,DataRow
).DefaultOperatorFactory This implementation would cache the found operator in order to improve performance for looking for corresponding operators.DefaultOperators Defines the name of operators.DuetConductor Defines the method for data building/cleaning for testing.DuetFunctions Represents the function provider for building/clean.IdentityInsertOperator Used to surroundingDataRowOperator
for supporting insertion of identity for table.IfDatabaseVendor Defines the annotation used to check if the current vendor is matched the environment(implemented by container, framework., etc.).
The default value isDatabaseVendor.Unknown
, which means nothing to checked(everything is passed always).IInvokedMethodYamlFactoryListener This listener uses conventions of file name by (classpath:<package>/<class_name>-<method_name>.yaml
) for conducting data.ISuiteYamlFactoryListener This listener uses file name(classpath:<suite_name>.yaml
for resource(ClassLoader
of current thread) of conducting data.ITestContextYamlFactoryListener This listener uses file name(classpath:<test_name>.yaml
) for resource(ClassLoader
of current thread) of conducting data.JdbcAssert Defines static methods for assertion of JDBC objects.JdbcFunction<T,R> Likes theFunction
interface with throwing ofSQLException
.JdbcFunction.SurroundOperator<T,R> This operator is used to surround fedJdbcFunction
by the implementation of surrounding.JdbcRunnable Likes theRunnable
interface with throwing ofSQLException
.JdbcSupplier<R> Likes theSupplier
interface with throwing ofSQLException
.JdbcTemplateFactory Template factory for building a bunch a JDBC working, with surrounding ofDbRelease.autoClose(guru.mikelue.jdut.jdbc.JdbcFunction<T, R>)
.
SeeJDBC Function
for usage of this factory.JdbcVoidFunction<T> Likes theConsumer
interface with throwing ofSQLException
.JdutResource Only defines the annotation of resources, the detail of usage is defined by controller/container which loads the instance of this annotation.JdutResourceConfig As tagging interface to implementation, used withJdutResource
annotation.JdutResourceNaming Provides generating of resource name by format string(MessageFormat
) and properties of class/method.JdutYamlFactory ThisTestRule
is used to construct the data conduction byYamlConductorFactory
.JdutYamlFactory This factory sets up loading convention of YAML file, in order to prepare and to clean up data for testing.JdutYamlFactory.Event Defins the class-level or method-level event of loading test data.LoadingYamlException Represents the exception while loading YAML to conductor.MetaDataWorker MissedColumnException Represents the exception which defined data field cannot be found in database schema.MsSql Pre-defined operations, features of MS SQL server.NodeBase Defines the base interface for nodes of YAML.NodeType Represents the type of nodeOperatorFactory Defines the factory to retrieve the target operator by name.OperatorPredicate Used withDefaultOperatorFactory.Builder
to check the matching condition for operators of vendor.PreparedStatements Utility forPreparedStatement
.ReaderFunctions Defines the functions for reader.ReplaceFieldDataDecorator ResultSetAssert A stateful object to assert data of result set by cascading way.RowsBuilder Declares the interface to build a bunch of rows.SchemaColumn The definition of column of a table.SchemaProcessException Represents the exception which defined data field cannot be found in database schema.SchemaTable The schema of table.SequenceGetter Utilities for sequence accessor of oracle database.SQLExceptionConvert<E extends RuntimeException> Converts theSQLException
into another instance ofRuntimeException
.SurroundingConfig<T,R> This interface defines the lambda expression of configuration ofList
ofJdbcFunction.SurroundOperator
.TableBasedOperator This operator operates every table only once.TableNode Represents the node of table and conveting internal structure toDuetFunctions
object.TableNode.TableName As the name of table.TableSchemaLoadingDecorator Loads database schema and validating rows.
To improve performance, this object would cacheSchemaTable
by its name, but this class is thread-safe for the caching mechanism.TestNGConfig Defines the behaviours working byIInvokedMethodYamlFactoryListener
.
With@TestNGConfig(oneTimeOnly=true)
, the data conductor performs actions only on first time and last time of multiple tests on a testing method.TestNGConfigUtil Provides utility for processing instance ofTestNGConfig
annotation.TestNgResourceNaming Provides generating of resource name by format string(MessageFormat
) and properties ofITestContext
,ITestNGMethod
, orISuite
.Transactional<T extends Connection,R> As surrounding of JDBC function for transactional wrapping.ValueSuppliers This utility builds special version ofSupplier
.VendorType The interface to represent type of vendor.YamlConductorFactory The factory used to buildDuetConductor
by data definition of YAML format.YamlFactoryListenerBase Defines the basic, overridable method for constructing listeners.YamlTags Defines the tags of JDUT used in YAML.