From 2f4461f8d9306a1f325454fdf221da55046d570d Mon Sep 17 00:00:00 2001 From: Dominique FOURNIER Date: Fri, 14 Apr 2023 21:11:07 +0200 Subject: [PATCH] dblayoo : checkRealTypes as changed to CamelCase : update tests --- Tests/DblayerooComplet.php | 56 +++++++++++++++++++------------------- 1 file changed, 28 insertions(+), 28 deletions(-) diff --git a/Tests/DblayerooComplet.php b/Tests/DblayerooComplet.php index 6ea5926..c3cd45c 100644 --- a/Tests/DblayerooComplet.php +++ b/Tests/DblayerooComplet.php @@ -1250,7 +1250,7 @@ class DblayerooTest{ENGINE} extends \PHPUnit_Framework_TestCase $tbl1 = $this->tbl1(); $res = $this->invokeMethod( $tbl1, - "checkRealType_integerPositive", + "checkRealTypeIntegerPositive", "1", "" ); @@ -1261,7 +1261,7 @@ class DblayerooTest{ENGINE} extends \PHPUnit_Framework_TestCase $tbl1 = $this->tbl1(); $res = $this->invokeMethod( $tbl1, - "checkRealType_integerPositive", + "checkRealTypeIntegerPositive", "-1", "" ); @@ -1273,7 +1273,7 @@ class DblayerooTest{ENGINE} extends \PHPUnit_Framework_TestCase $tbl1 = $this->tbl1(); $res = $this->invokeMethod( $tbl1, - "checkRealType_integerPositive", + "checkRealTypeIntegerPositive", "0777", "" ); @@ -1285,7 +1285,7 @@ class DblayerooTest{ENGINE} extends \PHPUnit_Framework_TestCase $tbl1 = $this->tbl1(); $res = $this->invokeMethod( $tbl1, - "checkRealType_integerPositive", + "checkRealTypeIntegerPositive", "07a7", "" ); @@ -1298,7 +1298,7 @@ class DblayerooTest{ENGINE} extends \PHPUnit_Framework_TestCase $tbl1 = $this->tbl1(); $res = $this->invokeMethod( $tbl1, - "checkRealType_allowedchars", + "checkRealTypeAllowedchars", "1111", "allowedchars(123)" ); @@ -1309,7 +1309,7 @@ class DblayerooTest{ENGINE} extends \PHPUnit_Framework_TestCase $tbl1 = $this->tbl1(); $res = $this->invokeMethod( $tbl1, - "checkRealType_allowedchars", + "checkRealTypeAllowedchars", "-1", "allowedchars(123)" ); @@ -1321,7 +1321,7 @@ class DblayerooTest{ENGINE} extends \PHPUnit_Framework_TestCase $tbl1 = $this->tbl1(); $res = $this->invokeMethod( $tbl1, - "checkRealType_array", + "checkRealTypeArray", "235", "array('123','235','256')" ); @@ -1332,7 +1332,7 @@ class DblayerooTest{ENGINE} extends \PHPUnit_Framework_TestCase $tbl1 = $this->tbl1(); $res = $this->invokeMethod( $tbl1, - "checkRealType_array", + "checkRealTypeArray", "777", "array('123','235','256')" ); @@ -1344,7 +1344,7 @@ class DblayerooTest{ENGINE} extends \PHPUnit_Framework_TestCase $tbl1 = $this->tbl1(); $res = $this->invokeMethod( $tbl1, - "checkRealType_regex", + "checkRealTypeRegex", "235", "regex(/^\\d+$/)" ); @@ -1355,7 +1355,7 @@ class DblayerooTest{ENGINE} extends \PHPUnit_Framework_TestCase $tbl1 = $this->tbl1(); $res = $this->invokeMethod( $tbl1, - "checkRealType_regex", + "checkRealTypeRegex", "235", "regex(/^\\d{3}$/)" ); @@ -1366,7 +1366,7 @@ class DblayerooTest{ENGINE} extends \PHPUnit_Framework_TestCase $tbl1 = $this->tbl1(); $res = $this->invokeMethod( $tbl1, - "checkRealType_regex", + "checkRealTypeRegex", "235", "regex(/^\\d{4}$/)" ); @@ -1377,7 +1377,7 @@ class DblayerooTest{ENGINE} extends \PHPUnit_Framework_TestCase $tbl1 = $this->tbl1(); $res = $this->invokeMethod( $tbl1, - "checkRealType_regex", + "checkRealTypeRegex", "abcdef", "regex(/^[a-z]+$/)" ); @@ -1388,7 +1388,7 @@ class DblayerooTest{ENGINE} extends \PHPUnit_Framework_TestCase $tbl1 = $this->tbl1(); $res = $this->invokeMethod( $tbl1, - "checkRealType_regex", + "checkRealTypeRegex", "Abcdef", "regex(/^[a-z]+$/)" ); @@ -1400,7 +1400,7 @@ class DblayerooTest{ENGINE} extends \PHPUnit_Framework_TestCase $tbl1 = $this->tbl1(); $res = $this->invokeMethod( $tbl1, - "checkRealType_mail", + "checkRealTypeMail", "toto@example.com", "" ); @@ -1411,7 +1411,7 @@ class DblayerooTest{ENGINE} extends \PHPUnit_Framework_TestCase $tbl1 = $this->tbl1(); $res = $this->invokeMethod( $tbl1, - "checkRealType_mail", + "checkRealTypeMail", "toto@", "" ); @@ -1423,7 +1423,7 @@ class DblayerooTest{ENGINE} extends \PHPUnit_Framework_TestCase $tbl1 = $this->tbl1(); $res = $this->invokeMethod( $tbl1, - "checkRealType_uuid", + "checkRealTypeUuid", "4e799e3f-f376-46e5-a5db-85200949987e", "" ); @@ -1434,7 +1434,7 @@ class DblayerooTest{ENGINE} extends \PHPUnit_Framework_TestCase $tbl1 = $this->tbl1(); $res = $this->invokeMethod( $tbl1, - "checkRealType_uuid", + "checkRealTypeUuid", "4E799E3F-F376-46E5-A5DB-85200949987E", "" ); @@ -1445,7 +1445,7 @@ class DblayerooTest{ENGINE} extends \PHPUnit_Framework_TestCase $tbl1 = $this->tbl1(); $res = $this->invokeMethod( $tbl1, - "checkRealType_uuid", + "checkRealTypeUuid", "4E799E3F-F376-46E5+A5DB+85200949987E", "" ); @@ -1456,7 +1456,7 @@ class DblayerooTest{ENGINE} extends \PHPUnit_Framework_TestCase $tbl1 = $this->tbl1(); $res = $this->invokeMethod( $tbl1, - "checkRealType_uuid", + "checkRealTypeUuid", "4E799E3F5F376546E55A5DB585200949987E", "" ); @@ -1468,7 +1468,7 @@ class DblayerooTest{ENGINE} extends \PHPUnit_Framework_TestCase $tbl1 = $this->tbl1(); $res = $this->invokeMethod( $tbl1, - "checkRealType_sqldate", + "checkRealTypeSqldate", "2018-10-24", "" ); @@ -1479,7 +1479,7 @@ class DblayerooTest{ENGINE} extends \PHPUnit_Framework_TestCase $tbl1 = $this->tbl1(); $res = $this->invokeMethod( $tbl1, - "checkRealType_sqldate", + "checkRealTypeSqldate", "2018/10/24", "" ); @@ -1490,7 +1490,7 @@ class DblayerooTest{ENGINE} extends \PHPUnit_Framework_TestCase $tbl1 = $this->tbl1(); $res = $this->invokeMethod( $tbl1, - "checkRealType_sqldate", + "checkRealTypeSqldate", "2018-10-32", "" ); @@ -1502,7 +1502,7 @@ class DblayerooTest{ENGINE} extends \PHPUnit_Framework_TestCase $tbl1 = $this->tbl1(); $res = $this->invokeMethod( $tbl1, - "checkRealType_sqltime", + "checkRealTypeSqltime", "12:34:56", "" ); @@ -1513,7 +1513,7 @@ class DblayerooTest{ENGINE} extends \PHPUnit_Framework_TestCase $tbl1 = $this->tbl1(); $res = $this->invokeMethod( $tbl1, - "checkRealType_sqltime", + "checkRealTypeSqltime", "12;22;22", "" ); @@ -1524,7 +1524,7 @@ class DblayerooTest{ENGINE} extends \PHPUnit_Framework_TestCase $tbl1 = $this->tbl1(); $res = $this->invokeMethod( $tbl1, - "checkRealType_sqltime", + "checkRealTypeSqltime", "32:34:56", "" ); @@ -1536,7 +1536,7 @@ class DblayerooTest{ENGINE} extends \PHPUnit_Framework_TestCase $tbl1 = $this->tbl1(); $res = $this->invokeMethod( $tbl1, - "checkRealType_sqldatetime", + "checkRealTypeSqldatetime", "2018-10-24 22:23:24", "" ); @@ -1547,7 +1547,7 @@ class DblayerooTest{ENGINE} extends \PHPUnit_Framework_TestCase $tbl1 = $this->tbl1(); $res = $this->invokeMethod( $tbl1, - "checkRealType_sqldatetime", + "checkRealTypeSqldatetime", "2018/10/24", "" ); @@ -1558,7 +1558,7 @@ class DblayerooTest{ENGINE} extends \PHPUnit_Framework_TestCase $tbl1 = $this->tbl1(); $res = $this->invokeMethod( $tbl1, - "checkRealType_sqldatetime", + "checkRealTypeSqldatetime", "2018-10-24 25:12:25", "" );