Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,9 @@
namespace Flow\ETL\Tests\Integration\DataFrame;

use function Flow\ETL\DSL\{bool_entry, df, from_rows, int_entry, row, rows, str_entry};
use Flow\ETL\Adapter\Elasticsearch\Tests\Integration\TestCase;
use Flow\ETL\{Flow, Loader};
use Flow\ETL\{Flow, Loader, Tests\FlowTestCase};

final class JoinCrossTest extends TestCase
final class JoinCrossTest extends FlowTestCase
{
public function test_cross_join() : void
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,10 @@
namespace Flow\ETL\Tests\Integration\DataFrame;

use function Flow\ETL\DSL\{df, from_rows, int_entry, row, rows, str_entry};
use Flow\ETL\Adapter\Elasticsearch\Tests\Integration\TestCase;
use Flow\ETL\Join\Expression;
use Flow\ETL\{DataFrame, DataFrameFactory, Flow, Loader, Rows};
use Flow\ETL\{DataFrame, DataFrameFactory, Flow, Loader, Rows, Tests\FlowTestCase};

final class JoinEachTest extends TestCase
final class JoinEachTest extends FlowTestCase
{
public function test_join_each() : void
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
use function Flow\ETL\DSL\{from_array, lit, to_memory};
use Flow\ETL\Flow;
use Flow\ETL\Memory\ArrayMemory;
use PHPUnit\Framework\TestCase;
use Flow\ETL\Tests\FlowTestCase;

final class AddDynamicEntriesTest extends TestCase
final class AddDynamicEntriesTest extends FlowTestCase
{
public function test_adding_new_entries() : void
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
use function Flow\ETL\DSL\{from_array, lit, ref, to_memory};
use Flow\ETL\Flow;
use Flow\ETL\Memory\ArrayMemory;
use PHPUnit\Framework\TestCase;
use Flow\ETL\Tests\FlowTestCase;

final class AddJsonTest extends TestCase
final class AddJsonTest extends FlowTestCase
{
public function test_add_json_into_existing_reference() : void
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
use function Flow\ETL\DSL\{all, from_array, lit, ref, to_memory, when};
use Flow\ETL\Flow;
use Flow\ETL\Memory\ArrayMemory;
use PHPUnit\Framework\TestCase;
use Flow\ETL\Tests\FlowTestCase;

final class AllTest extends TestCase
final class AllTest extends FlowTestCase
{
public function test_all_cases_found() : void
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
use function Flow\ETL\DSL\{any, from_array, lit, ref, to_memory, when};
use Flow\ETL\Flow;
use Flow\ETL\Memory\ArrayMemory;
use PHPUnit\Framework\TestCase;
use Flow\ETL\Tests\FlowTestCase;

final class AnyTest extends TestCase
final class AnyTest extends FlowTestCase
{
public function test_any_case_found() : void
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
use Flow\ETL\Flow;
use Flow\ETL\Function\ArrayExpand\ArrayExpand;
use Flow\ETL\Memory\ArrayMemory;
use PHPUnit\Framework\TestCase;
use Flow\ETL\Tests\FlowTestCase;

final class ArrayExpandTest extends TestCase
final class ArrayExpandTest extends FlowTestCase
{
public function test_expand_both() : void
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
use function Flow\ETL\DSL\{from_array, ref, to_memory};
use Flow\ETL\Flow;
use Flow\ETL\Memory\ArrayMemory;
use PHPUnit\Framework\TestCase;
use Flow\ETL\Tests\FlowTestCase;

final class ArrayGetCollectionTest extends TestCase
final class ArrayGetCollectionTest extends FlowTestCase
{
public function test_array_get_collection() : void
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
use function Flow\ETL\DSL\{from_array, ref, to_memory};
use Flow\ETL\Flow;
use Flow\ETL\Memory\ArrayMemory;
use PHPUnit\Framework\TestCase;
use Flow\ETL\Tests\FlowTestCase;

final class ArrayGetTest extends TestCase
final class ArrayGetTest extends FlowTestCase
{
public function test_array_get() : void
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
use function Flow\ETL\DSL\{array_key_rename, from_array, optional, ref, to_memory};
use Flow\ETL\Flow;
use Flow\ETL\Memory\ArrayMemory;
use PHPUnit\Framework\TestCase;
use Flow\ETL\Tests\FlowTestCase;

final class ArrayKeyRenameTest extends TestCase
final class ArrayKeyRenameTest extends FlowTestCase
{
public function test_array_key_rename() : void
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
use function Flow\ETL\DSL\{array_keys_style_convert, from_array, ref, to_memory};
use Flow\ETL\Flow;
use Flow\ETL\Memory\ArrayMemory;
use PHPUnit\Framework\TestCase;
use Flow\ETL\Tests\FlowTestCase;

final class ArrayKeysStyleConvertTest extends TestCase
final class ArrayKeysStyleConvertTest extends FlowTestCase
{
public function test_array_keys_style_convert() : void
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
use function Flow\ETL\DSL\{from_array, optional, ref, to_memory};
use Flow\ETL\Flow;
use Flow\ETL\Memory\ArrayMemory;
use PHPUnit\Framework\TestCase;
use Flow\ETL\Tests\FlowTestCase;

final class ArrayMergeCollectionTest extends TestCase
final class ArrayMergeCollectionTest extends FlowTestCase
{
public function test_array_merge_collection() : void
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
use function Flow\ETL\DSL\{array_merge, from_array, optional, ref, to_memory};
use Flow\ETL\Flow;
use Flow\ETL\Memory\ArrayMemory;
use PHPUnit\Framework\TestCase;
use Flow\ETL\Tests\FlowTestCase;

final class ArrayMergeTest extends TestCase
final class ArrayMergeTest extends FlowTestCase
{
public function test_array_merge() : void
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
use function Flow\ETL\DSL\{array_exists, from_array, ref, to_memory};
use Flow\ETL\Flow;
use Flow\ETL\Memory\ArrayMemory;
use PHPUnit\Framework\TestCase;
use Flow\ETL\Tests\FlowTestCase;

final class ArrayPathExistsTest extends TestCase
final class ArrayPathExistsTest extends FlowTestCase
{
public function test_array_path_exists() : void
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
use function Flow\ETL\DSL\{from_array, optional, ref, to_memory};
use Flow\ETL\Flow;
use Flow\ETL\Memory\ArrayMemory;
use PHPUnit\Framework\TestCase;
use Flow\ETL\Tests\FlowTestCase;

final class ArrayReverseTest extends TestCase
final class ArrayReverseTest extends FlowTestCase
{
public function test_array_reverse() : void
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
use Flow\ETL\Flow;
use Flow\ETL\Function\ArraySort\Sort;
use Flow\ETL\Memory\ArrayMemory;
use PHPUnit\Framework\TestCase;
use Flow\ETL\Tests\FlowTestCase;

final class ArraySortTest extends TestCase
final class ArraySortTest extends FlowTestCase
{
public function test_array_sort() : void
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
use function Flow\ETL\DSL\{from_array, ref, to_memory};
use Flow\ETL\Flow;
use Flow\ETL\Memory\ArrayMemory;
use PHPUnit\Framework\TestCase;
use Flow\ETL\Tests\FlowTestCase;

final class ArrayUnpackTest extends TestCase
final class ArrayUnpackTest extends FlowTestCase
{
public function test_array_unpack() : void
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@

use function Flow\ETL\DSL\{df, from_array, lit, ref, to_memory};
use Flow\ETL\Memory\ArrayMemory;
use PHPUnit\Framework\TestCase;
use Flow\ETL\Tests\FlowTestCase;

final class BetweenTest extends TestCase
final class BetweenTest extends FlowTestCase
{
public function test_between_comparisons() : void
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
use function Flow\ETL\DSL\{from_array, lit, ref, to_memory, when};
use Flow\ETL\Flow;
use Flow\ETL\Memory\ArrayMemory;
use PHPUnit\Framework\TestCase;
use Flow\ETL\Tests\FlowTestCase;

final class BinaryComparisonsTest extends TestCase
final class BinaryComparisonsTest extends FlowTestCase
{
public function test_all_comparisons() : void
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
use function Flow\ETL\DSL\{from_array, ref, to_memory};
use Flow\ETL\Flow;
use Flow\ETL\Memory\ArrayMemory;
use PHPUnit\Framework\TestCase;
use Flow\ETL\Tests\FlowTestCase;

final class CapitalizeTest extends TestCase
final class CapitalizeTest extends FlowTestCase
{
public function test_to_lower() : void
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@

use function Flow\ETL\DSL\{df, from_array, ref, to_memory};
use Flow\ETL\Memory\ArrayMemory;
use PHPUnit\Framework\TestCase;
use Flow\ETL\Tests\FlowTestCase;

final class CastTest extends TestCase
final class CastTest extends FlowTestCase
{
public function test_cast() : void
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
use function Flow\ETL\DSL\{combine, from_array, optional, ref, to_memory};
use Flow\ETL\Flow;
use Flow\ETL\Memory\ArrayMemory;
use PHPUnit\Framework\TestCase;
use Flow\ETL\Tests\FlowTestCase;

final class CombineTest extends TestCase
final class CombineTest extends FlowTestCase
{
public function test_combine() : void
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
use function Flow\ETL\DSL\{array_get, concat, from_array, lit, ref, to_memory};
use Flow\ETL\Flow;
use Flow\ETL\Memory\ArrayMemory;
use PHPUnit\Framework\TestCase;
use Flow\ETL\Tests\FlowTestCase;

final class ConcatTest extends TestCase
final class ConcatTest extends FlowTestCase
{
public function test_concat_on_non_string_value() : void
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
use function Flow\ETL\DSL\{from_array, lit, ref, to_memory};
use Flow\ETL\Flow;
use Flow\ETL\Memory\ArrayMemory;
use PHPUnit\Framework\TestCase;
use Flow\ETL\Tests\FlowTestCase;

final class ContainsTest extends TestCase
final class ContainsTest extends FlowTestCase
{
public function test_contains() : void
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
use function Flow\ETL\DSL\{from_array, ref, to_memory};
use Flow\ETL\Flow;
use Flow\ETL\Memory\ArrayMemory;
use PHPUnit\Framework\TestCase;
use Flow\ETL\Tests\FlowTestCase;

final class CountTest extends TestCase
final class CountTest extends FlowTestCase
{
public function test_count_on_array() : void
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
namespace Flow\ETL\Tests\Integration\Function;

use function Flow\ETL\DSL\{df, from_rows, ref, row, rows, xml_element_entry, xml_entry};
use Flow\ETL\Adapter\Elasticsearch\Tests\Integration\TestCase;
use Flow\ETL\Tests\FlowTestCase;

final class DOMElementAttributeValueTest extends TestCase
final class DOMElementAttributeValueTest extends FlowTestCase
{
public function test_dom_element_attribute_value() : void
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
namespace Flow\ETL\Tests\Integration\Function;

use function Flow\ETL\DSL\{df, from_rows, ref, row, rows, xml_element_entry, xml_entry};
use Flow\ETL\Adapter\Elasticsearch\Tests\Integration\TestCase;
use Flow\ETL\Tests\FlowTestCase;

final class DOMElementValueTest extends TestCase
final class DOMElementValueTest extends FlowTestCase
{
public function test_dom_element_value() : void
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
use function Flow\ETL\DSL\{from_array, lit, ref, to_memory};
use Flow\ETL\Flow;
use Flow\ETL\Memory\ArrayMemory;
use PHPUnit\Framework\TestCase;
use Flow\ETL\Tests\FlowTestCase;

final class EndsWithTest extends TestCase
final class EndsWithTest extends FlowTestCase
{
public function test_ends_with() : void
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
namespace Flow\ETL\Tests\Integration\Function;

use function Flow\ETL\DSL\{df, first, from_array};
use PHPUnit\Framework\TestCase;
use Flow\ETL\Tests\FlowTestCase;

final class FirstTest extends TestCase
final class FirstTest extends FlowTestCase
{
public function test_first_aggregation() : void
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
use Flow\ETL\Flow;
use Flow\ETL\Hash\NativePHPHash;
use Flow\ETL\Memory\ArrayMemory;
use Flow\ETL\Tests\FlowTestCase;
use PHPUnit\Framework\Attributes\DataProvider;
use PHPUnit\Framework\TestCase;

final class HashTest extends TestCase
final class HashTest extends FlowTestCase
{
public static function provideValues() : \Generator
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
use function Flow\ETL\DSL\{from_array, lit, ref, to_memory};
use Flow\ETL\Flow;
use Flow\ETL\Memory\ArrayMemory;
use PHPUnit\Framework\TestCase;
use Flow\ETL\Tests\FlowTestCase;

final class JsonDecodeTest extends TestCase
final class JsonDecodeTest extends FlowTestCase
{
public function test_add_json_string_into_existing_reference() : void
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
use function Flow\ETL\DSL\{from_array, lit, ref, to_memory};
use Flow\ETL\Flow;
use Flow\ETL\Memory\ArrayMemory;
use PHPUnit\Framework\TestCase;
use Flow\ETL\Tests\FlowTestCase;

final class JsonEncodeTest extends TestCase
final class JsonEncodeTest extends FlowTestCase
{
public function test_adding_json_as_object_from_string_entry() : void
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
namespace Flow\ETL\Tests\Integration\Function;

use function Flow\ETL\DSL\{df, from_array, last};
use PHPUnit\Framework\TestCase;
use Flow\ETL\Tests\FlowTestCase;

final class LastTest extends TestCase
final class LastTest extends FlowTestCase
{
public function test_first_aggregation_with_grouping() : void
{
Expand Down
Loading
Loading