Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New breeds for HP Procurve and ios15; unit tests for HP Procurve breed #225

Merged
merged 1 commit into from
Oct 17, 2018
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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
682 changes: 682 additions & 0 deletions tests/BreedHPprocurveN1178PureProvider.php

Large diffs are not rendered by default.

20 changes: 20 additions & 0 deletions tests/PureFunctionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@

require_once '../wwwroot/inc/popup.php';

// Breed hpprocurveN1178
require ('BreedHPprocurveN1178PureProvider.php');
// any other breed-specific files

class PureFunctionTest extends RTTestCase
{
/**
Expand Down Expand Up @@ -124,6 +128,14 @@ static function doubleEcho ($str)
}

public function providerUnaryEquals ()
{
$ret = self::baseUnaryEquals();
$ret = array_merge ($ret, breedHPprocurveN1178UnaryEquals());
// any other breed-specific Unary additions
return $ret;
}

private static function baseUnaryEquals ()
{
return array
(
Expand Down Expand Up @@ -1481,6 +1493,14 @@ public function providerBinarySame ()
}

public function providerTernaryEquals ()
{
$ret = self::baseTernaryEquals();
$ret = array_merge ($ret, breedHPprocurveN1178TernaryEquals());
// any other breed-specific Ternary additions
return $ret;
}

private static function baseTernaryEquals ()
{
return array
(
Expand Down