ilateral\SilverStripe\ImportExport\Tests\BetterBulkLoaderTest
Synopsis
class BetterBulkLoaderTest
extends SapphireTest
{
- // members
- protected static string $fixture_file = 'fixtures/BetterBulkLoaderTest.yaml';
- protected static array $extra_dataobjects = ;
- // methods
- public void testMappableColumns()
- public void testSkipRecords()
- public void testLoad()
- public void testLoadWithColumnMap()
- public void testDeleteExistingRecords()
- public void testLoadWithCustomHeaderAndRelation()
- public void testLoadWithIdentifiers()
- public void testDotNotationDuplicateChecks()
- public void testLoadWithCustomImportMethods()
- public void testLoadWithCustomImportMethodDuplicateMap()
- protected void getLineCount()
Hierarchy
Extends
- SilverStripe\Dev\SapphireTest
Tasks
Line | Task |
---|---|
205+ | Test duplicateCheck callbacks |
Members
protected
- $extra_dataobjects
- $fixture_file
Methods
protected
public
- testDeleteExistingRecords() — Test plain import with clear_table_before_import
- testDotNotationDuplicateChecks()
- testLoad() — Test plain import with column auto-detection
- testLoadWithColumnMap() — Test import with manual column mapping
- testLoadWithCustomHeaderAndRelation() — Test import with manual column mapping and custom column names
- testLoadWithCustomImportMethodDuplicateMap()
- testLoadWithCustomImportMethods()
- testLoadWithIdentifiers() — Test import with custom identifiers by importing the data.
- testMappableColumns()
- testSkipRecords()