Class InMemoryJpaRepositoryTest
java.lang.Object
com.reallifedeveloper.tools.test.database.inmemory.AbstractInMemoryCrudRepositoryTest
com.reallifedeveloper.tools.test.database.inmemory.InMemoryJpaRepositoryTest
-
Nested Class Summary
Nested classes/interfaces inherited from class com.reallifedeveloper.tools.test.database.inmemory.AbstractInMemoryCrudRepositoryTest
AbstractInMemoryCrudRepositoryTest.TestEntity
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateTestEntity
(Integer id, String name) void
void
void
void
void
void
getById()
void
void
getOne()
void
void
void
void
protected InMemoryJpaRepository<com.reallifedeveloper.tools.test.database.inmemory.InMemoryJpaRepositoryTest.TestEntityWithFieldAnnotations,
Integer> void
void
void
void
void
void
void
Methods inherited from class com.reallifedeveloper.tools.test.database.inmemory.AbstractInMemoryCrudRepositoryTest
count, countByExample, countEmpty, deleteAll, deleteAllById, deleteAllEmpty, deleteAllEntities, deleteAllNullEntities, deleteById, deleteByIdNonExistingId, deleteByIdNullId, deleteEntityWithNullId, deleteNullEntity, entityWithNoIdAnnotation, existsByExample, existsById, existsByIdNullId, find, findAll, findAllByExample, findAllByExampleAndPageable, findAllByExampleAndSort, findAllById, findAllByIdNoIds, findAllByIdNotFound, findAllByIdNullIds, findAllPageable, findAllPageableWithSorting, findAllSort, findByField, findByFieldEmptyRepository, findByFieldNoneFound, findByFieldNoSuchField, findByFieldNullFieldName, findByFieldNullValue, findById, findByIdNullId, findByUniqueField, findByUniqueFieldNotFound, findByUniqueFieldNotUnique, findOneByExample, save, saveAll, saveAllNullEntities, saveNullEntity, saveNullPrimaryKeyWithNoGenerator, size
-
Constructor Details
-
InMemoryJpaRepositoryTest
public InMemoryJpaRepositoryTest()
-
-
Method Details
-
repository
protected InMemoryJpaRepository<com.reallifedeveloper.tools.test.database.inmemory.InMemoryJpaRepositoryTest.TestEntityWithFieldAnnotations,Integer> repository()- Specified by:
repository
in classAbstractInMemoryCrudRepositoryTest
-
createTestEntity
protected com.reallifedeveloper.tools.test.database.inmemory.InMemoryJpaRepositoryTest.TestEntityWithFieldAnnotations createTestEntity(Integer id, String name) - Specified by:
createTestEntity
in classAbstractInMemoryCrudRepositoryTest
-
deleteNullEntitiesInBatch
@Test public void deleteNullEntitiesInBatch() -
deleteEntitiesInBatch
@Test public void deleteEntitiesInBatch() -
deleteAllInBatchEmpty
@Test public void deleteAllInBatchEmpty() -
deleteAllInBatch
@Test public void deleteAllInBatch() -
deleteAllByIdInBatch
@Test public void deleteAllByIdInBatch() -
getByIdEmpty
@Test public void getByIdEmpty() -
getById
@Test public void getById() -
getOne
@Test public void getOne() -
saveNullPrimaryKeyWithGenerator
@Test public void saveNullPrimaryKeyWithGenerator() -
saveNullPrimaryKeyWithGeneratorAndMethodAnnotations
@Test public void saveNullPrimaryKeyWithGeneratorAndMethodAnnotations() -
saveAndFlushNullEntity
@Test public void saveAndFlushNullEntity() -
saveAndFlush
@Test public void saveAndFlush() -
saveAllAndFlush
@Test public void saveAllAndFlush() -
saveTestEntityWithMethodAnnotations
@Test public void saveTestEntityWithMethodAnnotations() -
mappedSuperclassWithFieldAnnotations
@Test public void mappedSuperclassWithFieldAnnotations() -
mappedSuperclassWithMethodAnnotations
@Test public void mappedSuperclassWithMethodAnnotations() -
idClassSaveWithPrimaryKeys
@Test public void idClassSaveWithPrimaryKeys() -
idClassSaveWithoutPrimaryKeys
@Test public void idClassSaveWithoutPrimaryKeys() -
testToString
@Test public void testToString()
-