Arquillian Persistence Extension API 1.0.0.Alpha4

org.jboss.arquillian.persistence
Annotation Type ShouldMatchDataSet


@Target(value={TYPE,METHOD})
@Retention(value=RUNTIME)
@Inherited
public @interface ShouldMatchDataSet

Verifies state of underlying data store using data sets defined by this annotation. Verification is invoked after test's execution (including transaction if enabled).
If files are not specified explicitly, following strategy is applied:



If not specified in arquillian.xml, then expected format is XML. Presence of this annotation in the test class enables Arquillian Persistence Extension.

Author:
Bartosz Majsak

Optional Element Summary
 String[] excludeColumns
          List of columns to be excluded.
 String[] value
          List of data set files used for comparision
 

value

public abstract String[] value
List of data set files used for comparision

Returns:
Default:
""

excludeColumns

public abstract String[] excludeColumns
List of columns to be excluded.

Returns:
Default:
""

Arquillian Persistence Extension API 1.0.0.Alpha4

Copyright © 2012 JBoss by Red Hat. All Rights Reserved.