浏览代码

Add tests on xliff files

Thomas Rabaix 11 年之前
父节点
当前提交
7e2c94c503
共有 1 个文件被更改,包括 25 次插入0 次删除
  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'));
+    }
+}