Re-enabled additional documentation tests
This commit is contained in:
parent
f507c3a00e
commit
64c331150b
|
@ -291,7 +291,10 @@ tasks.withType(AsciidoctorTask).all {
|
|||
// Testing
|
||||
|
||||
test {
|
||||
include '**/mapping/basic/**'
|
||||
include '**/**'
|
||||
exclude '**/HQLTest**'
|
||||
exclude '**/SQLTest**' //derby failures
|
||||
exclude '**/PostgreSQLFunctionWhereClauseTest**'
|
||||
}
|
||||
|
||||
// resources inherently exclude sources
|
||||
|
|
|
@ -15,11 +15,13 @@ import javax.persistence.GeneratedValue;
|
|||
import javax.persistence.Id;
|
||||
|
||||
import org.hibernate.annotations.ValueGenerationType;
|
||||
import org.hibernate.dialect.SybaseDialect;
|
||||
import org.hibernate.jpa.test.BaseEntityManagerFunctionalTestCase;
|
||||
import org.hibernate.tuple.AnnotationValueGeneration;
|
||||
import org.hibernate.tuple.GenerationTiming;
|
||||
import org.hibernate.tuple.ValueGenerator;
|
||||
|
||||
import org.hibernate.testing.SkipForDialect;
|
||||
import org.junit.Test;
|
||||
|
||||
import static org.hibernate.testing.transaction.TransactionUtil.doInJPA;
|
||||
|
@ -27,6 +29,7 @@ import static org.hibernate.testing.transaction.TransactionUtil.doInJPA;
|
|||
/**
|
||||
* @author Vlad Mihalcea
|
||||
*/
|
||||
@SkipForDialect( value = SybaseDialect.class, comment = "Sybase doesn't seem to support current_timestamp")
|
||||
public class DatabaseValueGenerationTest extends BaseEntityManagerFunctionalTestCase {
|
||||
|
||||
@Override
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
package org.hibernate.userguide.pc;
|
||||
|
||||
import javax.persistence.CascadeType;
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.FetchType;
|
||||
|
@ -10,6 +11,8 @@ import org.hibernate.annotations.OnDelete;
|
|||
import org.hibernate.annotations.OnDeleteAction;
|
||||
import org.hibernate.jpa.test.BaseEntityManagerFunctionalTestCase;
|
||||
|
||||
import org.hibernate.testing.DialectChecks;
|
||||
import org.hibernate.testing.RequiresDialectFeature;
|
||||
import org.junit.Test;
|
||||
|
||||
import static org.hibernate.testing.transaction.TransactionUtil.doInJPA;
|
||||
|
@ -17,6 +20,7 @@ import static org.hibernate.testing.transaction.TransactionUtil.doInJPA;
|
|||
/**
|
||||
* @author Vlad Mihalcea
|
||||
*/
|
||||
@RequiresDialectFeature(DialectChecks.SupportsCascadeDeleteCheck.class)
|
||||
public class CascadeOnDeleteTest extends BaseEntityManagerFunctionalTestCase {
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in New Issue