Autoformatting of changes in mediacontroller.
Change-Id: I8e576444123cdc98766c41ae014073964757fc0e
Signed-off-by: Michal Michalski <m.michalski2@partner.samsung.com>
chai.expect(error.name).to.equal('TypeMismatchError');
}
try {
- cinfo.sendEvent('TestEvent', 'not-an-object-or-null', function(data, code) {});
+ cinfo.sendEvent('TestEvent', 'not-an-object-or-null', function(
+ data,
+ code
+ ) {});
done(new Error('Expected TypeMismatchError'));
} catch (error) {
chai.expect(error.name).to.equal('TypeMismatchError');
var results = native_.getResultObject(nativeResult);
if (!type_.isArray(results)) {
- throw new WebAPIException(WebAPIException.UNKNOWN_ERR, "Invalid return type.");
+ throw new WebAPIException(WebAPIException.UNKNOWN_ERR, 'Invalid return type.');
}
var clientsInfo = [];
free(request_id);
};
- PlatformResult result = server_->SendEvent(
- args.get(kEventName).get<std::string>().c_str(), args.get(kEventData),
- args.get(kClientName).get<std::string>().c_str(), reply_cb, &request_id);
+ PlatformResult result =
+ server_->SendEvent(args.get(kEventName).get<std::string>().c_str(), args.get(kEventData),
+ args.get(kClientName).get<std::string>().c_str(), reply_cb, &request_id);
if (result) {
out[kRequestId] = picojson::value(std::string(request_id));