Gentics Portal.Node PHP API
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
All
Classes
Namespaces
Functions
Variables
Pages
tests
unit
friends
FriendsModuleTest.php
1
<?php
2
/**
3
*
4
*/
5
class
FriendsModuleTest
extends
CDbTestCase
6
{
7
8
public
$tString =
'string'
;
9
public
$encString =
'Andrew'
;
10
11
public
function
testInit()
12
{
13
$this->assertNotNull(Yii::app()->getModule(
'friends'
));
14
}
15
16
public
function
testT()
17
{
18
$this->assertEquals(
FriendsModule::t
($this->tString), $this->tString);
19
}
20
21
public
function
testEncrypt()
22
{
23
$this->assertNotEmpty(
FriendsModule::encrypting
($this->encString));
24
}
25
26
27
}
Generated on Thu Feb 6 2014 15:47:55 for Gentics Portal.Node PHP API by
1.8.1.2