/**
	 * Test...
	 *
	 * @covers  JFilesystemHelper::getJStreams
	 *
	 * @return void
	 */
	public function testGetJStreams()
	{
		$streams = JFilesystemHelper::getJStreams();

		$this->assertEquals(
			array('string'),
			$streams
		);
	}
Beispiel #2
0
 /**
  * Determine if a stream is a Joomla stream.
  *
  * @param   string  $streamname  The name of a stream
  *
  * @return  boolean  True for a Joomla Stream
  *
  * @since   11.1
  */
 function isJoomlaStream($streamname)
 {
     return in_array($streamname, JFilesystemHelper::getJStreams());
 }