aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorGeorgy Redkozubov <georgy.redkozubov@linaro.org>2012-05-30 12:08:12 +0400
committerGeorgy Redkozubov <georgy.redkozubov@linaro.org>2012-05-30 12:08:12 +0400
commite125acf800ba2b171a913f5092fc31069740dbbc (patch)
treef3eb241c2ba15c39aa1aae70d749303446b17cb1 /tests
parent9d30eb3d3ed537d1f7e02b49de42dae3949bb271 (diff)
Fixed indentation
Diffstat (limited to 'tests')
-rw-r--r--tests/BuildInfoTest.php44
1 files changed, 30 insertions, 14 deletions
diff --git a/tests/BuildInfoTest.php b/tests/BuildInfoTest.php
index ced0926..b76a71f 100644
--- a/tests/BuildInfoTest.php
+++ b/tests/BuildInfoTest.php
@@ -9,7 +9,8 @@ class BuildInfoTest extends PHPUnit_Framework_TestCase
private $good_bi;
private $empty_bi;
private $fname;
- private $lic_text_test = '<p>IMPORTANT — PLEASE READ THE FOLLOWING AGREEMENT CAREFULLY.</p>';
+ private $lic_text_test =
+ '<p>IMPORTANT — PLEASE READ THE FOLLOWING AGREEMENT CAREFULLY.</p>';
public function __construct()
{
@@ -59,7 +60,8 @@ class BuildInfoTest extends PHPUnit_Framework_TestCase
*/
public function test_getFormatVersion_type()
{
- $this->assertInternalType('string', $this->good_bi->getFormatVersion());
+ $this->assertInternalType(
+ 'string', $this->good_bi->getFormatVersion());
}
public function test_getFormatVersion()
@@ -74,12 +76,14 @@ class BuildInfoTest extends PHPUnit_Framework_TestCase
public function test_getBuildName_type()
{
- $this->assertInternalType('string', $this->good_bi->getBuildName($this->fname));
+ $this->assertInternalType(
+ 'string', $this->good_bi->getBuildName($this->fname));
}
public function test_getBuildName()
{
- $this->assertEquals('landing-snowball', $this->good_bi->getBuildName($this->fname));
+ $this->assertEquals(
+ 'landing-snowball', $this->good_bi->getBuildName($this->fname));
}
public function test_getTheme_empty()
@@ -89,12 +93,14 @@ class BuildInfoTest extends PHPUnit_Framework_TestCase
public function test_getTheme_type()
{
- $this->assertInternalType('string', $this->good_bi->getTheme($this->fname));
+ $this->assertInternalType(
+ 'string', $this->good_bi->getTheme($this->fname));
}
public function test_getTheme()
{
- $this->assertEquals('stericsson', $this->good_bi->getTheme($this->fname));
+ $this->assertEquals(
+ 'stericsson', $this->good_bi->getTheme($this->fname));
}
public function test_getLicenseType_empty()
@@ -104,12 +110,14 @@ class BuildInfoTest extends PHPUnit_Framework_TestCase
public function test_getLicenseType_type()
{
- $this->assertInternalType('string', $this->good_bi->getLicenseType($this->fname));
+ $this->assertInternalType(
+ 'string', $this->good_bi->getLicenseType($this->fname));
}
public function test_getLicenseType()
{
- $this->assertEquals('open', $this->good_bi->getLicenseType($this->fname));
+ $this->assertEquals(
+ 'open', $this->good_bi->getLicenseType($this->fname));
}
public function test_getCollectUserData_empty()
@@ -119,12 +127,14 @@ class BuildInfoTest extends PHPUnit_Framework_TestCase
public function test_getCollectUserData_type()
{
- $this->assertInternalType('string', $this->good_bi->getCollectUserData($this->fname));
+ $this->assertInternalType(
+ 'string', $this->good_bi->getCollectUserData($this->fname));
}
public function test_getCollectUserData()
{
- $this->assertEquals('yes', $this->good_bi->getCollectUserData($this->fname));
+ $this->assertEquals(
+ 'yes', $this->good_bi->getCollectUserData($this->fname));
}
public function test_getLaunchpadTeams_empty()
@@ -134,12 +144,15 @@ class BuildInfoTest extends PHPUnit_Framework_TestCase
public function test_getLaunchpadTeams_type()
{
- $this->assertInternalType('string', $this->good_bi->getLaunchpadTeams($this->fname));
+ $this->assertInternalType(
+ 'string', $this->good_bi->getLaunchpadTeams($this->fname));
}
public function test_getLaunchpadTeams()
{
- $this->assertEquals('linaro,non-linaro', $this->good_bi->getLaunchpadTeams($this->fname));
+ $this->assertEquals(
+ 'linaro,non-linaro',
+ $this->good_bi->getLaunchpadTeams($this->fname));
}
public function test_getLicenseText_empty()
@@ -149,12 +162,15 @@ class BuildInfoTest extends PHPUnit_Framework_TestCase
public function test_getLicenseText_type()
{
- $this->assertInternalType('string', $this->good_bi->getLicenseText($this->fname));
+ $this->assertInternalType(
+ 'string', $this->good_bi->getLicenseText($this->fname));
}
public function test_getLicenseText()
{
- $this->assertStringStartsWith($this->lic_text_test, $this->good_bi->getLicenseText($this->fname));
+ $this->assertStringStartsWith(
+ $this->lic_text_test,
+ $this->good_bi->getLicenseText($this->fname));
}
}
?>