LeKoala\Encrypt\Test\EncryptTest
Test for Encrypt ; Run with the following command : ./vendor/bin/phpunit ./encrypt/tests/EncryptTest.php
You may need to run:
php ./framework/cli-script.php dev/build ?flush=all
before (remember manifest for cli is not the same...)
Synopsis
class EncryptTest
extends SapphireTest
{
- // members
- protected static string $fixture_file = 'EncryptTest.yml';
- protected static array $extra_dataobjects = ;
- // methods
- public void setUp()
- protected void generateData()
- protected void showRowsFromDb()
- protected void writeDataFromYml()
- protected void showAsYml()
- public void tearDown()
- public Test_EncryptedModel getTestModel()
- public Test_EncryptedModel getTestModel2()
- public Test_EncryptedModel getTestModel3()
- public Test_EncryptedModel getAdminTestModel()
- public Test_EncryptedModel getUser1TestModel()
- public Test_EncryptedModel getUser2TestModel()
- public Member getAdminMember()
- public Member getUser1Member()
- public Member getUser2Member()
- public array getAllMembers()
- public File getRegularFile()
- public File getEncryptedFile()
- public EncryptedFile getEncryptedFile2()
- protected array fetchRawData()
- public void testEncryption()
- public void testIndexes()
- public void testSearch()
- public void testSearchFilter()
- public void testRotation()
- public void testCompositeOptions()
- public void testIndexPlanner()
- public void testFixture()
- public void testFixture2()
- public void testRecordIsEncrypted()
- public void testFileEncryption()
- public void testMessageEncryption()
- protected void getMultiTenantProvider()
- public void testMultiTenantProvider()
- public void testJsonField()
Hierarchy
Extends
- SilverStripe\Dev\SapphireTest
Members
protected
- $extra_dataobjects
- $fixture_file
—
string
Defines the fixture file to use for this test class
Methods
protected
- fetchRawData()
- generateData()
- getMultiTenantProvider()
- showAsYml()
- showRowsFromDb()
- writeDataFromYml()
public
- getAdminMember()
- getAdminTestModel()
- getAllMembers()
- getEncryptedFile()
- getEncryptedFile2()
- getRegularFile()
- getTestModel()
- getTestModel2()
- getTestModel3()
- getUser1Member()
- getUser1TestModel()
- getUser2Member()
- getUser2TestModel()
- setUp()
- tearDown()
- testCompositeOptions()
- testEncryption()
- testFileEncryption()
- testFixture()
- testFixture2()
- testIndexPlanner()
- testIndexes()
- testJsonField()
- testMessageEncryption()
- testMultiTenantProvider()
- testRecordIsEncrypted()
- testRotation()
- testSearch()
- testSearchFilter()