<commit_before>import 'streamy_test.dart' as streamy_test;
import 'generated/addendum_test.dart' as addendum_test;
import 'generated/docs_test.dart' as docs_test;
import 'generated/method_get_test.dart' as method_get_test;
import 'generated/method_post_test.dart' as method_post_test;
import 'generated/method_params_test.dart' as method_params_test;
import 'generated/multiplexer_test.dart' as multiplexer_test;
import 'generated/schema_object_test.dart' as schema_object_test;
import 'generated/schema_unknown_fields_test.dart' as schema_unknown_fields_test;
import 'runtime/multiplexer_test.dart' as runtime_multiplexer_test;

main() {
  addendum_test.main();
  docs_test.main();
  method_get_test.main();
  method_post_test.main();
  method_params_test.main();
  schema_object_test.main();
  schema_unknown_fields_test.main();
  multiplexer_test.main();
  streamy_test.main();
  runtime_multiplexer_test.main();
}<commit_msg>Ensure we run tests in checked mode.<commit_after>import 'streamy_test.dart' as streamy_test;
import 'generated/addendum_test.dart' as addendum_test;
import 'generated/docs_test.dart' as docs_test;
import 'generated/method_get_test.dart' as method_get_test;
import 'generated/method_post_test.dart' as method_post_test;
import 'generated/method_params_test.dart' as method_params_test;
import 'generated/multiplexer_test.dart' as multiplexer_test;
import 'generated/schema_object_test.dart' as schema_object_test;
import 'generated/schema_unknown_fields_test.dart' as schema_unknown_fields_test;
import 'runtime/multiplexer_test.dart' as runtime_multiplexer_test;

main() {
  ensureCheckedMode();
  addendum_test.main();
  docs_test.main();
  method_get_test.main();
  method_post_test.main();
  method_params_test.main();
  schema_object_test.main();
  schema_unknown_fields_test.main();
  multiplexer_test.main();
  streamy_test.main();
  runtime_multiplexer_test.main();
}

void ensureCheckedMode() {
  try {
    var a = <Object>[1];
    List b = a;
    List<String> c = b;
    print(c[0]);  // ensures that the code is not tree-shaken off
    throw new StateError("Checked mode is disabled. Use option -c.");
  } on TypeError {
    // expected
  }
}
{'fraction_non_alphanumeric': 0.10724106324472961, 'fraction_numerical': 0.0009165902841429881, 'mean_word_length': 6.301003344481606, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '767124', 'n_tokens_mistral': 758, 'n_tokens_neox': 750, 'n_words': 142}