Skip to content

Commit

Permalink
new breeds for HP Procurve and ios15; unit tests for HP Procurve breed
Browse files Browse the repository at this point in the history
  • Loading branch information
igloo777 authored and infrastation committed Oct 17, 2018
1 parent 0c667e1 commit 82286a3
Show file tree
Hide file tree
Showing 8 changed files with 1,250 additions and 3 deletions.
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

0 comments on commit 82286a3

Please sign in to comment.