From 46b77928f746a4231d064774b5b67fd892c7ce86 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20L=C5=93uillet?= Date: Sun, 4 Aug 2013 17:50:34 +0200 Subject: rm vendor --- .../Tests/ResourceBundle/Writer/Fixtures/en.php | 23 ------- .../Tests/ResourceBundle/Writer/Fixtures/en.res | Bin 316 -> 0 bytes .../Tests/ResourceBundle/Writer/Fixtures/en.txt | 23 ------- .../ResourceBundle/Writer/PhpBundleWriterTest.php | 62 ------------------- .../ResourceBundle/Writer/TextBundleWriterTest.php | 67 --------------------- 5 files changed, 175 deletions(-) delete mode 100644 vendor/symfony/intl/Symfony/Component/Intl/Tests/ResourceBundle/Writer/Fixtures/en.php delete mode 100644 vendor/symfony/intl/Symfony/Component/Intl/Tests/ResourceBundle/Writer/Fixtures/en.res delete mode 100644 vendor/symfony/intl/Symfony/Component/Intl/Tests/ResourceBundle/Writer/Fixtures/en.txt delete mode 100644 vendor/symfony/intl/Symfony/Component/Intl/Tests/ResourceBundle/Writer/PhpBundleWriterTest.php delete mode 100644 vendor/symfony/intl/Symfony/Component/Intl/Tests/ResourceBundle/Writer/TextBundleWriterTest.php (limited to 'vendor/symfony/intl/Symfony/Component/Intl/Tests/ResourceBundle/Writer') diff --git a/vendor/symfony/intl/Symfony/Component/Intl/Tests/ResourceBundle/Writer/Fixtures/en.php b/vendor/symfony/intl/Symfony/Component/Intl/Tests/ResourceBundle/Writer/Fixtures/en.php deleted file mode 100644 index 1ded57a7..00000000 --- a/vendor/symfony/intl/Symfony/Component/Intl/Tests/ResourceBundle/Writer/Fixtures/en.php +++ /dev/null @@ -1,23 +0,0 @@ - - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -return array( - 'Entry1' => array( - 'Array' => array( - 0 => 'foo', - 1 => 'bar', - ), - 'Integer' => 5, - 'Boolean' => false, - 'Float' => 1.23, - ), - 'Entry2' => 'String', -); diff --git a/vendor/symfony/intl/Symfony/Component/Intl/Tests/ResourceBundle/Writer/Fixtures/en.res b/vendor/symfony/intl/Symfony/Component/Intl/Tests/ResourceBundle/Writer/Fixtures/en.res deleted file mode 100644 index 7c1f71eb..00000000 Binary files a/vendor/symfony/intl/Symfony/Component/Intl/Tests/ResourceBundle/Writer/Fixtures/en.res and /dev/null differ diff --git a/vendor/symfony/intl/Symfony/Component/Intl/Tests/ResourceBundle/Writer/Fixtures/en.txt b/vendor/symfony/intl/Symfony/Component/Intl/Tests/ResourceBundle/Writer/Fixtures/en.txt deleted file mode 100644 index 0ee0d7f2..00000000 --- a/vendor/symfony/intl/Symfony/Component/Intl/Tests/ResourceBundle/Writer/Fixtures/en.txt +++ /dev/null @@ -1,23 +0,0 @@ -en{ - Entry1{ - Array{ - "foo", - "bar", - { - Key{"value"} - }, - } - Integer:int{5} - IntVector:intvector{ - 0, - 1, - 2, - 3, - } - FalseBoolean{"false"} - TrueBoolean{"true"} - Null{""} - Float{"1.23"} - } - Entry2{"String"} -} diff --git a/vendor/symfony/intl/Symfony/Component/Intl/Tests/ResourceBundle/Writer/PhpBundleWriterTest.php b/vendor/symfony/intl/Symfony/Component/Intl/Tests/ResourceBundle/Writer/PhpBundleWriterTest.php deleted file mode 100644 index 03302834..00000000 --- a/vendor/symfony/intl/Symfony/Component/Intl/Tests/ResourceBundle/Writer/PhpBundleWriterTest.php +++ /dev/null @@ -1,62 +0,0 @@ - - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -namespace Symfony\Component\Intl\Tests\ResourceBundle\Writer; - -use Symfony\Component\Filesystem\Filesystem; -use Symfony\Component\Intl\ResourceBundle\Writer\PhpBundleWriter; - -/** - * @author Bernhard Schussek - */ -class PhpBundleWriterTest extends \PHPUnit_Framework_TestCase -{ - /** - * @var PhpBundleWriter - */ - private $writer; - - private $directory; - - /** - * @var Filesystem - */ - private $filesystem; - - protected function setUp() - { - $this->writer = new PhpBundleWriter(); - $this->directory = sys_get_temp_dir() . '/PhpBundleWriterTest/' . rand(1000, 9999); - $this->filesystem = new Filesystem(); - - $this->filesystem->mkdir($this->directory); - } - - protected function tearDown() - { - $this->filesystem->remove($this->directory); - } - - public function testWrite() - { - $this->writer->write($this->directory, 'en', array( - 'Entry1' => array( - 'Array' => array('foo', 'bar'), - 'Integer' => 5, - 'Boolean' => false, - 'Float' => 1.23, - ), - 'Entry2' => 'String', - )); - - $this->assertFileEquals(__DIR__ . '/Fixtures/en.php', $this->directory . '/en.php'); - } -} diff --git a/vendor/symfony/intl/Symfony/Component/Intl/Tests/ResourceBundle/Writer/TextBundleWriterTest.php b/vendor/symfony/intl/Symfony/Component/Intl/Tests/ResourceBundle/Writer/TextBundleWriterTest.php deleted file mode 100644 index cbe0c8d8..00000000 --- a/vendor/symfony/intl/Symfony/Component/Intl/Tests/ResourceBundle/Writer/TextBundleWriterTest.php +++ /dev/null @@ -1,67 +0,0 @@ - - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -namespace Symfony\Component\Intl\Tests\ResourceBundle\Writer; - -use Symfony\Component\Filesystem\Filesystem; -use Symfony\Component\Intl\ResourceBundle\Writer\TextBundleWriter; - -/** - * @author Bernhard Schussek - * - * @see http://source.icu-project.org/repos/icu/icuhtml/trunk/design/bnf_rb.txt - */ -class TextBundleWriterTest extends \PHPUnit_Framework_TestCase -{ - /** - * @var TextBundleWriter - */ - private $writer; - - private $directory; - - /** - * @var Filesystem - */ - private $filesystem; - - protected function setUp() - { - $this->writer = new TextBundleWriter(); - $this->directory = sys_get_temp_dir() . '/TextBundleWriterTest/' . rand(1000, 9999); - $this->filesystem = new Filesystem(); - - $this->filesystem->mkdir($this->directory); - } - - protected function tearDown() - { - $this->filesystem->remove($this->directory); - } - - public function testWrite() - { - $this->writer->write($this->directory, 'en', array( - 'Entry1' => array( - 'Array' => array('foo', 'bar', array('Key' => 'value')), - 'Integer' => 5, - 'IntVector' => array(0, 1, 2, 3), - 'FalseBoolean' => false, - 'TrueBoolean' => true, - 'Null' => null, - 'Float' => 1.23, - ), - 'Entry2' => 'String', - )); - - $this->assertFileEquals(__DIR__ . '/Fixtures/en.txt', $this->directory . '/en.txt'); - } -} -- cgit v1.2.3