Skip to content
Snippets Groups Projects
Commit 2afa5639 authored by Patrick Barroca's avatar Patrick Barroca
Browse files

rel #41044 : extract Class_Indexation from Bokeh to its own project + fix Œ

parents
Branches
No related merge requests found
This diff is collapsed.
This diff is collapsed.
{
"name": "afi/linse",
"description": "Linse (lens in Deutch) is a tool to convert and transform texts.",
"require": {
"phpunit/phpunit": "^5.2"
},
"license": "AGPL",
"scripts": {
"test": "phpunit -c tests/phpunit.xml"
}
}
<?php
/**
* Copyright (c) 2012-2016, Agence Française Informatique (AFI). All rights reserved.
*
* LINSE is free software; you can redistribute it and/or modify
* it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE as published by
* the Free Software Foundation.
*
* There are special exceptions to the terms and conditions of the AGPL as it
* is applied to this software (see README file).
*
* LINSE is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU AFFERO GENERAL PUBLIC LICENSE for more details.
*
* You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE
* along with LINSE; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
class LinseTest extends PHPUnit_Framework_TestCase {
/** @test */
public function oeuvreCompleteAlphaShouldBeCorrect() {
$this->assertEquals('OEUVRECOMPLETE', (new Linse())->alphaMaj('Œuvrecomplète'));
}
}
\ No newline at end of file
<?php
/**
* Copyright (c) 2012-2016, Agence Française Informatique (AFI). All rights reserved.
*
* LINSE is free software; you can redistribute it and/or modify
* it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE as published by
* the Free Software Foundation.
*
* There are special exceptions to the terms and conditions of the AGPL as it
* is applied to this software (see README file).
*
* LINSE is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU AFFERO GENERAL PUBLIC LICENSE for more details.
*
* You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE
* along with LINSE; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
require_once __DIR__ . '/../Linse.php';
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<phpunit
bootstrap="./bootstrap.php"
colors="false"
backupGlobals="false"
stopOnFailure="false"
stopOnError="false"
>
<testsuites>
<testsuite name="ApplicationTestSuite">
<directory>.</directory>
</testsuite>
</testsuites>
</phpunit>
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment