зеркало из https://github.com/mozilla/gecko-dev.git
Bug 782252 - Don't return nsresult from main() (editor/); r=ehsan
This commit is contained in:
Родитель
719dcb2097
Коммит
5963cc87af
|
@ -4591,34 +4591,33 @@ main (int argc, char *argv[])
|
|||
//
|
||||
|
||||
result = simple_test();
|
||||
NS_ENSURE_SUCCESS(result, result);
|
||||
NS_ENSURE_SUCCESS(result, 1);
|
||||
|
||||
result = aggregation_test();
|
||||
NS_ENSURE_SUCCESS(result, result);
|
||||
NS_ENSURE_SUCCESS(result, 1);
|
||||
|
||||
//
|
||||
// quick_batch_test() part:
|
||||
//
|
||||
|
||||
result = simple_batch_test();
|
||||
NS_ENSURE_SUCCESS(result, result);
|
||||
NS_ENSURE_SUCCESS(result, 1);
|
||||
|
||||
result = aggregation_batch_test();
|
||||
NS_ENSURE_SUCCESS(result, result);
|
||||
NS_ENSURE_SUCCESS(result, 1);
|
||||
|
||||
//
|
||||
// stress_test() part:
|
||||
//
|
||||
|
||||
result = simple_stress_test();
|
||||
NS_ENSURE_SUCCESS(result, result);
|
||||
NS_ENSURE_SUCCESS(result, 1);
|
||||
|
||||
result = aggregation_stress_test();
|
||||
NS_ENSURE_SUCCESS(result, result);
|
||||
NS_ENSURE_SUCCESS(result, 1);
|
||||
|
||||
result = aggregation_batch_stress_test();
|
||||
NS_ENSURE_SUCCESS(result, result);
|
||||
NS_ENSURE_SUCCESS(result, 1);
|
||||
|
||||
|
||||
return NS_OK;
|
||||
return 0;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче