3 +--------------------------------------------------------------------+
4 | Copyright CiviCRM LLC. All rights reserved. |
6 | This work is published under the GNU AGPLv3 license with some |
7 | permitted exceptions and without any warranty. For full license |
8 | and copyright information, see https://civicrm.org/licensing |
9 +--------------------------------------------------------------------+
13 * Tests for linking to resource files
16 class CRM_Utils_ICalendarTest
extends CiviUnitTestCase
{
21 public function escapeExamples() {
28 this is, a \"test\"!",
34 * @param string $testString
35 * @dataProvider escapeExamples
37 public function testParseStrings($testString) {
38 $this->assertEquals($testString, CRM_Utils_ICalendar
::unformatText(CRM_Utils_ICalendar
::formatText($testString)));