+--------------------------------------------------------------------+
| CiviCRM version 4.6 |
+--------------------------------------------------------------------+
-| Copyright CiviCRM LLC (c) 2004-2014 |
+| Copyright CiviCRM LLC (c) 2004-2015 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
| GNU Affero General Public License or the licensing of CiviCRM, |
| see the CiviCRM license FAQ at http://civicrm.org/licensing |
+--------------------------------------------------------------------+
-*/
+ */
/**
* Include class definitions
////////////// test $this->callAPISuccess3_profile_get //////////////////
/**
- * Check Without ProfileId
+ * Check Without ProfileId.
*/
public function testProfileGetWithoutProfileId() {
$params = array(
}
/**
- * Check with no invalid profile Id
+ * Check with no invalid profile Id.
*/
public function testProfileGetInvalidProfileId() {
$params = array(
}
/**
- * Check with success
+ * Check with success.
*/
public function testProfileGet() {
$pofileFieldValues = $this->_createIndividualContact();
}
/**
- * Check contact activity profile without activity id
+ * Check contact activity profile without activity id.
*/
public function testContactActivityGetWithoutActivityId() {
list($params, $expected) = $this->_createContactWithActivity();
}
/**
- * Check contact activity profile wrong activity id
+ * Check contact activity profile wrong activity id.
*/
public function testContactActivityGetWrongActivityId() {
list($params, $expected) = $this->_createContactWithActivity();
}
/**
- * Check contact activity profile with wrong activity type
+ * Check contact activity profile with wrong activity type.
*/
public function testContactActivityGetWrongActivityType() {
//flush cache by calling with reset
}
/**
- * Check contact activity profile with success
+ * Check contact activity profile with success.
*/
public function testContactActivityGetSuccess() {
list($params, $expected) = $this->_createContactWithActivity();
/////////////// test $this->callAPISuccess3_profile_set //////////////////
/**
- * Check Without ProfileId
+ * Check Without ProfileId.
*/
public function testProfileSubmitWithoutProfileId() {
$params = array(
}
/**
- * Check with no invalid profile Id
+ * Check with no invalid profile Id.
*/
public function testProfileSubmitInvalidProfileId() {
$params = array(
}
/**
- * Check with missing required field in profile
+ * Check with missing required field in profile.
*/
public function testProfileSubmitCheckProfileRequired() {
$pofileFieldValues = $this->_createIndividualContact();
}
/**
- * Check with success
+ * Check with success.
*/
public function testProfileSubmit() {
$pofileFieldValues = $this->_createIndividualContact();
}
/**
- * Test that the fields are returned in the right order despite the faffing around that goes on
+ * Test that the fields are returned in the right order despite the faffing around that goes on.
*/
public function testMembershipGetFieldsOrder() {
$result = $this->callAPISuccess('profile', 'getfields', array(
}
/**
- * Set is deprecated but we need to ensure it still works
+ * Set is deprecated but we need to ensure it still works.
*/
public function testLegacySet() {
$pofileFieldValues = $this->_createIndividualContact();
}
/**
- * Check contact activity profile without activity id
+ * Check contact activity profile without activity id.
*/
public function testContactActivitySubmitWithoutActivityId() {
list($params, $expected) = $this->_createContactWithActivity();
}
/**
- * Check contact activity profile wrong activity id
+ * Check contact activity profile wrong activity id.
*/
public function testContactActivitySubmitWrongActivityId() {
list($params, $expected) = $this->_createContactWithActivity();
}
/**
- * Check contact activity profile with wrong activity type
+ * Check contact activity profile with wrong activity type.
*/
public function testContactActivitySubmitWrongActivityType() {
//flush cache by calling with reset
}
/**
- * Check contact activity profile with success
+ * Check contact activity profile with success.
*/
public function testContactActivitySubmitSuccess() {
list($params, $expected) = $this->_createContactWithActivity();
}
/**
- * Check profile apply Without ProfileId
+ * Check profile apply Without ProfileId.
*/
public function testProfileApplyWithoutProfileId() {
$params = array(
}
/**
- * Check profile apply with no invalid profile Id
+ * Check profile apply with no invalid profile Id.
*/
public function testProfileApplyInvalidProfileId() {
$params = array(
}
/**
- * Check with success
+ * Check with success.
*/
public function testProfileApply() {
$pofileFieldValues = $this->_createIndividualContact();
}
/**
- * Create a profile
+ * Create a profile.
*/
public function _createIndividualProfile() {
'contact_type' => 'Contact',
));
}
+
}