You've already forked pgbackrest
mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2025-12-23 23:51:07 +02:00
Divide tests into three types (unit, integration, performance).
Many options that were set per test can instead be inferred from the types, i.e. container, c, expect, and individual. Also finish renaming Perl unit tests with the -perl suffix.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
####################################################################################################################################
|
||||
# BackupInfoUnitTest.pm - Unit tests for BackupInfo
|
||||
# Unit tests for ArchiveInfo
|
||||
####################################################################################################################################
|
||||
package pgBackRestTest::Module::Archive::ArchiveInfoUnitTest;
|
||||
package pgBackRestTest::Module::Archive::ArchiveInfoUnitPerlTest;
|
||||
use parent 'pgBackRestTest::Env::HostEnvTest';
|
||||
|
||||
####################################################################################################################################
|
||||
@@ -1,7 +1,7 @@
|
||||
####################################################################################################################################
|
||||
# BackupInfoUnitTest.pm - Unit tests for BackupInfo
|
||||
# Unit tests for BackupInfo
|
||||
####################################################################################################################################
|
||||
package pgBackRestTest::Module::Backup::BackupInfoUnitTest;
|
||||
package pgBackRestTest::Module::Backup::BackupInfoUnitPerlTest;
|
||||
use parent 'pgBackRestTest::Env::HostEnvTest';
|
||||
|
||||
####################################################################################################################################
|
||||
@@ -1,7 +1,7 @@
|
||||
####################################################################################################################################
|
||||
# BackupUnitTest.pm - Tests for Backup module
|
||||
# Tests for Backup module
|
||||
####################################################################################################################################
|
||||
package pgBackRestTest::Module::Backup::BackupUnitTest;
|
||||
package pgBackRestTest::Module::Backup::BackupUnitPerlTest;
|
||||
use parent 'pgBackRestTest::Env::HostEnvTest';
|
||||
|
||||
####################################################################################################################################
|
||||
@@ -1,7 +1,7 @@
|
||||
####################################################################################################################################
|
||||
# S3 Request Tests
|
||||
####################################################################################################################################
|
||||
package pgBackRestTest::Module::Common::CommonHttpClientTest;
|
||||
package pgBackRestTest::Module::Common::CommonHttpClientPerlTest;
|
||||
use parent 'pgBackRestTest::Common::RunTest';
|
||||
|
||||
####################################################################################################################################
|
||||
@@ -1,7 +1,7 @@
|
||||
####################################################################################################################################
|
||||
# CommonIoBufferedTest.pm - tests for Common::Io::Buffered module
|
||||
# Tests for Common::Io::Buffered module
|
||||
####################################################################################################################################
|
||||
package pgBackRestTest::Module::Common::CommonIoBufferedTest;
|
||||
package pgBackRestTest::Module::Common::CommonIoBufferedPerlTest;
|
||||
use parent 'pgBackRestTest::Common::RunTest';
|
||||
|
||||
####################################################################################################################################
|
||||
@@ -1,7 +1,7 @@
|
||||
####################################################################################################################################
|
||||
# CommonIoProcessTest.pm - tests for Common::Io::Process module
|
||||
# Tests for Common::Io::Process module
|
||||
####################################################################################################################################
|
||||
package pgBackRestTest::Module::Common::CommonIoProcessTest;
|
||||
package pgBackRestTest::Module::Common::CommonIoProcessPerlTest;
|
||||
use parent 'pgBackRestTest::Common::RunTest';
|
||||
|
||||
####################################################################################################################################
|
||||
@@ -1,7 +1,7 @@
|
||||
####################################################################################################################################
|
||||
# InfoUnitTest.pm - Unit tests for Info module
|
||||
# Unit tests for Info module
|
||||
####################################################################################################################################
|
||||
package pgBackRestTest::Module::Info::InfoUnitTest;
|
||||
package pgBackRestTest::Module::Info::InfoUnitPerlTest;
|
||||
use parent 'pgBackRestTest::Env::HostEnvTest';
|
||||
|
||||
####################################################################################################################################
|
||||
@@ -1,7 +1,7 @@
|
||||
####################################################################################################################################
|
||||
# ManifestAllTest.pm - Unit tests for Manifest module
|
||||
# Unit tests for Manifest module
|
||||
####################################################################################################################################
|
||||
package pgBackRestTest::Module::Manifest::ManifestAllTest;
|
||||
package pgBackRestTest::Module::Manifest::ManifestAllPerlTest;
|
||||
use parent 'pgBackRestTest::Env::HostEnvTest';
|
||||
|
||||
####################################################################################################################################
|
||||
@@ -1,7 +1,7 @@
|
||||
####################################################################################################################################
|
||||
# ProtocolCommonMinionTest.pm - tests for Protocol::Common::Minion module
|
||||
# Tests for Protocol::Common::Minion module
|
||||
####################################################################################################################################
|
||||
package pgBackRestTest::Module::Protocol::ProtocolCommonMinionTest;
|
||||
package pgBackRestTest::Module::Protocol::ProtocolCommonMinionPerlTest;
|
||||
use parent 'pgBackRestTest::Common::RunTest';
|
||||
|
||||
####################################################################################################################################
|
||||
@@ -1,7 +1,7 @@
|
||||
####################################################################################################################################
|
||||
# Protocol Helper Tests
|
||||
####################################################################################################################################
|
||||
package pgBackRestTest::Module::Protocol::ProtocolHelperTest;
|
||||
package pgBackRestTest::Module::Protocol::ProtocolHelperPerlTest;
|
||||
use parent 'pgBackRestTest::Env::ConfigEnvTest';
|
||||
|
||||
####################################################################################################################################
|
||||
@@ -1,7 +1,7 @@
|
||||
####################################################################################################################################
|
||||
# StanzaAllTest.pm - Unit tests for Stanza.pm
|
||||
# Unit tests for Stanza module
|
||||
####################################################################################################################################
|
||||
package pgBackRestTest::Module::Stanza::StanzaAllTest;
|
||||
package pgBackRestTest::Module::Stanza::StanzaAllPerlTest;
|
||||
use parent 'pgBackRestTest::Env::HostEnvTest';
|
||||
|
||||
####################################################################################################################################
|
||||
@@ -1,7 +1,7 @@
|
||||
####################################################################################################################################
|
||||
# Tests for Block Cipher
|
||||
####################################################################################################################################
|
||||
package pgBackRestTest::Module::Storage::StorageFilterCipherBlockTest;
|
||||
package pgBackRestTest::Module::Storage::StorageFilterCipherBlockPerlTest;
|
||||
use parent 'pgBackRestTest::Common::RunTest';
|
||||
|
||||
####################################################################################################################################
|
||||
@@ -1,7 +1,7 @@
|
||||
####################################################################################################################################
|
||||
# StorageFilterGzipTest.pm - Tests for Storage::Filter::Gzip module.
|
||||
# Tests for Storage::Filter::Gzip module
|
||||
####################################################################################################################################
|
||||
package pgBackRestTest::Module::Storage::StorageFilterGzipTest;
|
||||
package pgBackRestTest::Module::Storage::StorageFilterGzipPerlTest;
|
||||
use parent 'pgBackRestTest::Common::RunTest';
|
||||
|
||||
####################################################################################################################################
|
||||
@@ -1,7 +1,7 @@
|
||||
####################################################################################################################################
|
||||
# StorageFilterShaTest.pm - Tests for StorageFilterSha module.
|
||||
# Tests for StorageFilterSha module
|
||||
####################################################################################################################################
|
||||
package pgBackRestTest::Module::Storage::StorageFilterShaTest;
|
||||
package pgBackRestTest::Module::Storage::StorageFilterShaPerlTest;
|
||||
use parent 'pgBackRestTest::Common::RunTest';
|
||||
|
||||
####################################################################################################################################
|
||||
@@ -1,7 +1,7 @@
|
||||
####################################################################################################################################
|
||||
# StorageLocalTest.pm - Tests for Storage::Local module
|
||||
# Tests for Storage::Local module
|
||||
####################################################################################################################################
|
||||
package pgBackRestTest::Module::Storage::StorageLocalTest;
|
||||
package pgBackRestTest::Module::Storage::StorageLocalPerlTest;
|
||||
use parent 'pgBackRestTest::Common::RunTest';
|
||||
|
||||
####################################################################################################################################
|
||||
@@ -1,7 +1,7 @@
|
||||
####################################################################################################################################
|
||||
# Posix Driver Tests
|
||||
####################################################################################################################################
|
||||
package pgBackRestTest::Module::Storage::StoragePosixTest;
|
||||
package pgBackRestTest::Module::Storage::StoragePosixPerlTest;
|
||||
use parent 'pgBackRestTest::Common::RunTest';
|
||||
|
||||
####################################################################################################################################
|
||||
@@ -1,7 +1,7 @@
|
||||
####################################################################################################################################
|
||||
# S3 Authentication Tests
|
||||
####################################################################################################################################
|
||||
package pgBackRestTest::Module::Storage::StorageS3AuthTest;
|
||||
package pgBackRestTest::Module::Storage::StorageS3AuthPerlTest;
|
||||
use parent 'pgBackRestTest::Common::RunTest';
|
||||
|
||||
####################################################################################################################################
|
||||
@@ -3,7 +3,7 @@
|
||||
#
|
||||
# Verify that SSL certificate validation works on live S3 servers.
|
||||
####################################################################################################################################
|
||||
package pgBackRestTest::Module::Storage::StorageS3CertTest;
|
||||
package pgBackRestTest::Module::Storage::StorageS3CertPerlTest;
|
||||
use parent 'pgBackRestTest::Env::ConfigEnvTest';
|
||||
|
||||
####################################################################################################################################
|
||||
@@ -1,7 +1,7 @@
|
||||
####################################################################################################################################
|
||||
# S3 Storage Tests
|
||||
####################################################################################################################################
|
||||
package pgBackRestTest::Module::Storage::StorageS3Test;
|
||||
package pgBackRestTest::Module::Storage::StorageS3PerlTest;
|
||||
use parent 'pgBackRestTest::Env::S3EnvTest';
|
||||
|
||||
####################################################################################################################################
|
||||
@@ -1,7 +1,7 @@
|
||||
####################################################################################################################################
|
||||
# S3 Request Tests
|
||||
####################################################################################################################################
|
||||
package pgBackRestTest::Module::Storage::StorageS3RequestTest;
|
||||
package pgBackRestTest::Module::Storage::StorageS3RequestPerlTest;
|
||||
use parent 'pgBackRestTest::Common::RunTest';
|
||||
|
||||
####################################################################################################################################
|
||||
Reference in New Issue
Block a user