Pārlūkot izejas kodu

Add tests on xliff files

Thomas Rabaix 11 gadi atpakaļ
vecāks
revīzija
7e2c94c503
1 mainītis faili ar 25 papildinājumiem un 0 dzēšanām
  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'));
+    }
+}