fixing phpcs in build.xml and removing the incomplete tag for all phpunits

This commit is contained in:
Fernando Ontiveros
2012-07-12 22:34:02 -04:00
parent b4641ceaae
commit 259263bcc8
171 changed files with 341 additions and 3696 deletions

View File

@@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php';
require_once PATH_TRUNK . 'workflow/engine/classes/class.AppSolr.php';
/**
* Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 20:28:32.
* Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 22:32:25.
*/
class classAppSolrTest extends PHPUnit_Framework_TestCase
@@ -43,7 +43,7 @@ class classAppSolrTest extends PHPUnit_Framework_TestCase
*/
public function testNumberOfMethodsInThisClass()
{
$this->assertTrue( count($methods) == 25);
$methods = get_class_methods('AppSolr'); $this->assertTrue( count($methods) == 25);
}
/**
@@ -65,8 +65,6 @@ class classAppSolrTest extends PHPUnit_Framework_TestCase
$this->assertTrue( $params[2]->getName() == 'SolrInstance');
$this->assertTrue( $params[2]->isArray() == false);
$this->assertTrue( $params[2]->isOptional () == false);
$this->markTestIncomplete('This test has not been implemented yet.');
}
/**
@@ -79,8 +77,6 @@ class classAppSolrTest extends PHPUnit_Framework_TestCase
$this->assertTrue( in_array('isSolrEnabled', $methods ), 'exists method isSolrEnabled' );
$r = new ReflectionMethod('AppSolr', 'isSolrEnabled');
$params = $r->getParameters();
$this->markTestIncomplete('This test has not been implemented yet.');
}
/**
@@ -156,8 +152,6 @@ class classAppSolrTest extends PHPUnit_Framework_TestCase
$this->assertTrue( $params[15]->isArray() == false);
$this->assertTrue( $params[15]->isOptional () == true);
$this->assertTrue( $params[15]->getDefaultValue() == '');
$this->markTestIncomplete('This test has not been implemented yet.');
}
/**
@@ -173,8 +167,6 @@ class classAppSolrTest extends PHPUnit_Framework_TestCase
$this->assertTrue( $params[0]->getName() == 'userUid');
$this->assertTrue( $params[0]->isArray() == false);
$this->assertTrue( $params[0]->isOptional () == false);
$this->markTestIncomplete('This test has not been implemented yet.');
}
/**
@@ -190,8 +182,6 @@ class classAppSolrTest extends PHPUnit_Framework_TestCase
$this->assertTrue( $params[0]->getName() == 'usrUID');
$this->assertTrue( $params[0]->isArray() == false);
$this->assertTrue( $params[0]->isOptional () == false);
$this->markTestIncomplete('This test has not been implemented yet.');
}
/**
@@ -210,8 +200,6 @@ class classAppSolrTest extends PHPUnit_Framework_TestCase
$this->assertTrue( $params[1]->getName() == 'delIndex');
$this->assertTrue( $params[1]->isArray() == false);
$this->assertTrue( $params[1]->isOptional () == false);
$this->markTestIncomplete('This test has not been implemented yet.');
}
/**
@@ -227,8 +215,6 @@ class classAppSolrTest extends PHPUnit_Framework_TestCase
$this->assertTrue( $params[0]->getName() == 'plainSearchText');
$this->assertTrue( $params[0]->isArray() == false);
$this->assertTrue( $params[0]->isOptional () == false);
$this->markTestIncomplete('This test has not been implemented yet.');
}
/**
@@ -244,8 +230,6 @@ class classAppSolrTest extends PHPUnit_Framework_TestCase
$this->assertTrue( $params[0]->getName() == 'appUID');
$this->assertTrue( $params[0]->isArray() == false);
$this->assertTrue( $params[0]->isOptional () == false);
$this->markTestIncomplete('This test has not been implemented yet.');
}
/**
@@ -261,8 +245,6 @@ class classAppSolrTest extends PHPUnit_Framework_TestCase
$this->assertTrue( $params[0]->getName() == 'aaAPPUIDs');
$this->assertTrue( $params[0]->isArray() == false);
$this->assertTrue( $params[0]->isOptional () == false);
$this->markTestIncomplete('This test has not been implemented yet.');
}
/**
@@ -278,8 +260,6 @@ class classAppSolrTest extends PHPUnit_Framework_TestCase
$this->assertTrue( $params[0]->getName() == 'appUID');
$this->assertTrue( $params[0]->isArray() == false);
$this->assertTrue( $params[0]->isOptional () == false);
$this->markTestIncomplete('This test has not been implemented yet.');
}
/**
@@ -295,8 +275,6 @@ class classAppSolrTest extends PHPUnit_Framework_TestCase
$this->assertTrue( $params[0]->getName() == 'aaAPPUIDs');
$this->assertTrue( $params[0]->isArray() == false);
$this->assertTrue( $params[0]->isOptional () == false);
$this->markTestIncomplete('This test has not been implemented yet.');
}
/**
@@ -348,8 +326,6 @@ class classAppSolrTest extends PHPUnit_Framework_TestCase
$this->assertTrue( $params[12]->getName() == 'unassignedGroups');
$this->assertTrue( $params[12]->isArray() == false);
$this->assertTrue( $params[12]->isOptional () == false);
$this->markTestIncomplete('This test has not been implemented yet.');
}
/**
@@ -365,8 +341,6 @@ class classAppSolrTest extends PHPUnit_Framework_TestCase
$this->assertTrue( $params[0]->getName() == 'AppUID');
$this->assertTrue( $params[0]->isArray() == false);
$this->assertTrue( $params[0]->isOptional () == false);
$this->markTestIncomplete('This test has not been implemented yet.');
}
/**
@@ -397,8 +371,6 @@ class classAppSolrTest extends PHPUnit_Framework_TestCase
$this->assertTrue( $params[4]->isArray() == false);
$this->assertTrue( $params[4]->isOptional () == true);
$this->assertTrue( $params[4]->getDefaultValue() == '');
$this->markTestIncomplete('This test has not been implemented yet.');
}
/**
@@ -429,8 +401,6 @@ class classAppSolrTest extends PHPUnit_Framework_TestCase
$this->assertTrue( $params[4]->isArray() == false);
$this->assertTrue( $params[4]->isOptional () == true);
$this->assertTrue( $params[4]->getDefaultValue() == '');
$this->markTestIncomplete('This test has not been implemented yet.');
}
/**
@@ -449,8 +419,6 @@ class classAppSolrTest extends PHPUnit_Framework_TestCase
$this->assertTrue( $params[1]->getName() == 'andColumnsConditions');
$this->assertTrue( $params[1]->isArray() == false);
$this->assertTrue( $params[1]->isOptional () == false);
$this->markTestIncomplete('This test has not been implemented yet.');
}
/**
@@ -466,8 +434,6 @@ class classAppSolrTest extends PHPUnit_Framework_TestCase
$this->assertTrue( $params[0]->getName() == 'AppUID');
$this->assertTrue( $params[0]->isArray() == false);
$this->assertTrue( $params[0]->isOptional () == false);
$this->markTestIncomplete('This test has not been implemented yet.');
}
/**
@@ -486,8 +452,6 @@ class classAppSolrTest extends PHPUnit_Framework_TestCase
$this->assertTrue( $params[1]->getName() == 'TaskUID');
$this->assertTrue( $params[1]->isArray() == false);
$this->assertTrue( $params[1]->isOptional () == false);
$this->markTestIncomplete('This test has not been implemented yet.');
}
/**
@@ -503,8 +467,6 @@ class classAppSolrTest extends PHPUnit_Framework_TestCase
$this->assertTrue( $params[0]->getName() == 'ProUID');
$this->assertTrue( $params[0]->isArray() == false);
$this->assertTrue( $params[0]->isOptional () == false);
$this->markTestIncomplete('This test has not been implemented yet.');
}
/**
@@ -523,8 +485,6 @@ class classAppSolrTest extends PHPUnit_Framework_TestCase
$this->assertTrue( $params[1]->getName() == 'updated');
$this->assertTrue( $params[1]->isArray() == false);
$this->assertTrue( $params[1]->isOptional () == false);
$this->markTestIncomplete('This test has not been implemented yet.');
}
/**
@@ -537,8 +497,6 @@ class classAppSolrTest extends PHPUnit_Framework_TestCase
$this->assertTrue( in_array('synchronizePendingApplications', $methods ), 'exists method synchronizePendingApplications' );
$r = new ReflectionMethod('AppSolr', 'synchronizePendingApplications');
$params = $r->getParameters();
$this->markTestIncomplete('This test has not been implemented yet.');
}
/**
@@ -551,8 +509,6 @@ class classAppSolrTest extends PHPUnit_Framework_TestCase
$this->assertTrue( in_array('getCountApplicationsPMOS2', $methods ), 'exists method getCountApplicationsPMOS2' );
$r = new ReflectionMethod('AppSolr', 'getCountApplicationsPMOS2');
$params = $r->getParameters();
$this->markTestIncomplete('This test has not been implemented yet.');
}
/**
@@ -565,8 +521,6 @@ class classAppSolrTest extends PHPUnit_Framework_TestCase
$this->assertTrue( in_array('getCountApplicationsSearchIndex', $methods ), 'exists method getCountApplicationsSearchIndex' );
$r = new ReflectionMethod('AppSolr', 'getCountApplicationsSearchIndex');
$params = $r->getParameters();
$this->markTestIncomplete('This test has not been implemented yet.');
}
/**
@@ -585,8 +539,6 @@ class classAppSolrTest extends PHPUnit_Framework_TestCase
$this->assertTrue( $params[1]->getName() == 'pagesize');
$this->assertTrue( $params[1]->isArray() == false);
$this->assertTrue( $params[1]->isOptional () == false);
$this->markTestIncomplete('This test has not been implemented yet.');
}
/**
@@ -599,8 +551,6 @@ class classAppSolrTest extends PHPUnit_Framework_TestCase
$this->assertTrue( in_array('reindexAllApplications', $methods ), 'exists method reindexAllApplications' );
$r = new ReflectionMethod('AppSolr', 'reindexAllApplications');
$params = $r->getParameters();
$this->markTestIncomplete('This test has not been implemented yet.');
}
}