Lines Matching refs:file
148 $file = fopen('php://memory','r+');
149 fwrite($file,TestUtil::getTestCalendarData());
150 rewind($file);
152 $this->calendar->createFile('hello',$file);
154 $file = $this->calendar->getChild('hello');
155 $this->assertTrue($file instanceof CalendarObject);
161 $file = fopen('php://memory','r+');
162 fwrite($file,TestUtil::getTestCalendarData());
163 rewind($file);
166 $calendar->createFile('hello',$file);
168 $file = $calendar->getChild('hello');
169 $this->assertTrue($file instanceof CalendarObject);