Browse Source

Add tests on xliff files

Thomas Rabaix 11 years ago
parent
commit
7e2c94c503
1 changed files with 25 additions and 0 deletions
  1. 25 0
      Tests/Resources/XliffTest.php

+ 25 - 0
Tests/Resources/XliffTest.php

@@ -0,0 +1,25 @@
+<?php
+/*
+ * This file is part of the Sonata project.
+ *
+ * (c) Thomas Rabaix <thomas.rabaix@sonata-project.org>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Sonata\AdminBundle\Tests\Resources;
+
+
+use Sonata\CoreBundle\Test\XliffValidatorTestCase;
+
+class XliffTest extends XliffValidatorTestCase
+{
+    /**
+     * @return array List all path to validate xliff
+     */
+    public function getXliffPaths()
+    {
+        return array(array(__DIR__.'/../../Resources/translations'));
+    }
+}