* * Copyright 2010-2020 Christoph Kappestein * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ namespace PSX\Schema\Tests; use PHPUnit\Framework\TestCase; /** * BinTest * * @author Christoph Kappestein * @license http://www.apache.org/licenses/LICENSE-2.0 * @link http://phpsx.org */ class BinTest extends TestCase { protected function setUp(): void { if (strpos(shell_exec('php -v'), 'PHP') === false) { $this->markTestIncomplete('Looks like php is not available'); } } public function testBin() { $actual = shell_exec('php ' . __DIR__ . '/../bin/schema --no-ansi'); $expect = <<assertEquals($expect, $actual, $actual); } } __halt_compiler();----SIGNATURE:----aIyGvZ0bp4Ec9bOPWpw8v/aCE0IRAcfJuan56cv9LZ4p9UXJa2QiYowSQUmVx5nBtUx/9ebRdU5zUKRs5v7LBvHON854gy1q5K8o7SRaVOt62O3H+BuVpR9dCDNAC+/1sNX7xfAuEZb3+8tklhjwldyntbns6shWEFjohSlGB+ccXk0TPWieXbnt4qEuS1WAMbRwyIFcFaZ/m2kqe2m23GmW0yYPvcZD0+yL+GSIHWchm3/eVu0OqTHCC5K45yz9Y9wHqnCUKFOuPQ/UcOsyDdfb5g2i5l+hX5jp59TnCWIFAKaeXx+p9ZQoCVxwn/VHnV1vIqxrm6l0KJA27jH23K8tUck1l3kzDltvZDZ4pC2zW5jv6NEQJQs1YYXY7q5fPS2YQxJKzOFpwb/2pOxlmCX1qZ4w6gs6GdcjGjZz8GweEBiZxysts2QkV/zIYQ8GgmBQSmIqyxAxYFDo0RFG/uVvdI2m4GtZWYSiDgTFww7W8k4atrj8TBV+isr9NarvFaPrGy3MgliCsA9bNSovTjb1CRA+KmVuEypacic4f/KK1gWiOUoiUmlGraNpItJ2VFPiLznBM23Kr8k+JB30bZaNjmeHKPfHtUWhe95k6FviTfdvQbMn7vMohERzwf/z8S/u5qmYJyG77WrOYVOFItE3ONAAtoJWq88KyqB/2T4=----ATTACHMENT:----OTQ0MzAzNzQ1MjYwNjMzNiA1Mjk3OTU4Nzk3NDUzNTgxIDgwNDUwMzM5NTYwNjA5MzI=