L10nUpdateTest.test 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455
  1. <?php
  2. /**
  3. * @file
  4. * Contains L10nUpdateTest.
  5. */
  6. /**
  7. * Tests for update translations.
  8. */
  9. class L10nUpdateTest extends L10nUpdateTestBase {
  10. /**
  11. * {@inheritdoc}
  12. */
  13. public static function getInfo() {
  14. return array(
  15. 'name' => 'Update translations',
  16. 'description' => 'Tests for updating the interface translations of projects.',
  17. 'group' => 'Localization Update',
  18. );
  19. }
  20. /**
  21. * {@inheritdoc}
  22. */
  23. public function setUp() {
  24. parent::setUp();
  25. $admin_user = $this->drupalCreateUser(array('administer modules', 'administer site configuration', 'administer languages', 'access administration pages', 'translate interface'));
  26. $this->drupalLogin($admin_user);
  27. // Exclude drupal core and nl10n_update so no remote translations are
  28. // fetched.
  29. $edit = array(
  30. 'disabled_projects' => "drupal\nl10n_update",
  31. );
  32. $this->drupalPost('admin/config/regional/language/update', $edit, t('Save configuration'));
  33. // We use German as test language. This language must match the translation
  34. // file that come with the l10n_update_test module (test.de.po) and can
  35. // therefore not be chosen randomly.
  36. $this->addLanguage('de');
  37. module_load_include('compare.inc', 'l10n_update');
  38. module_load_include('fetch.inc', 'l10n_update');
  39. }
  40. /**
  41. * Checks if a list of translatable projects gets build.
  42. */
  43. public function testUpdateProjects() {
  44. module_load_include('compare.inc', 'l10n_update');
  45. variable_set('l10n_update_test_projects_alter', TRUE);
  46. // Make the test modules look like a normal custom module. i.e. make the
  47. // modules not hidden. l10n_update_test_system_info_alter() modifies the
  48. // project info of the l10n_update_test and l10n_update_test_translate
  49. // modules.
  50. variable_set('l10n_update_test_system_info_alter', TRUE);
  51. $this->resetAll();
  52. // Check if interface translation data is collected from hook_info.
  53. $projects = l10n_update_project_list();
  54. $this->assertFalse(isset($projects['l10n_update_test_translate']), 'Hidden module not found');
  55. $this->assertEqual($projects['l10n_update_test']['info']['l10n path'], drupal_get_path('module', 'l10n_update') . '/tests/test.%language.po', 'l10n path parameter found in project info.');
  56. $this->assertEqual($projects['l10n_update_test']['name'], 'l10n_update_test', format_string('%key found in project info.', array('%key' => 'interface translation project')));
  57. }
  58. /**
  59. * Checks if local or remote translation sources are detected.
  60. *
  61. * The translation status process by default checks the status of the
  62. * installed projects. For testing purpose a predefined set of modules with
  63. * fixed file names and release versions is used. This custom project
  64. * definition is applied using a hook_l10n_update_projects_alter
  65. * implementation in the l10n_update_test module.
  66. *
  67. * This test generates a set of local and remote translation files in their
  68. * respective local and remote translation directory. The test checks whether
  69. * the most recent files are selected in the different check scenarios: check
  70. * for local files only, check for both local and remote files.
  71. */
  72. public function testUpdateCheckStatus() {
  73. // Set a flag to let the l10n_update_test module replace the project data
  74. // with a set of test projects.
  75. variable_set('l10n_update_test_projects_alter', TRUE);
  76. // Create local and remote translations files.
  77. $this->setTranslationFiles();
  78. variable_set('l10n_update_default_filename', '%project-%release.%language._po');
  79. // Set the test conditions.
  80. $edit = array(
  81. 'l10n_update_check_mode' => L10N_UPDATE_USE_SOURCE_LOCAL,
  82. );
  83. $this->drupalPost('admin/config/regional/language/update', $edit, t('Save configuration'));
  84. // Get status of translation sources at local file system.
  85. $this->drupalGet('admin/config/regional/translate/check');
  86. $result = l10n_update_get_status();
  87. $this->assertEqual($result['contrib_module_one']['de']->type, L10N_UPDATE_LOCAL, 'Translation of contrib_module_one found');
  88. $this->assertEqual($result['contrib_module_one']['de']->timestamp, $this->timestamp_old, 'Translation timestamp found');
  89. $this->assertEqual($result['contrib_module_two']['de']->type, L10N_UPDATE_LOCAL, 'Translation of contrib_module_two found');
  90. $this->assertEqual($result['contrib_module_two']['de']->timestamp, $this->timestamp_new, 'Translation timestamp found');
  91. $this->assertEqual($result['l10n_update_test']['de']->type, L10N_UPDATE_LOCAL, 'Translation of l10n_update_test found');
  92. $this->assertEqual($result['custom_module_one']['de']->type, L10N_UPDATE_LOCAL, 'Translation of custom_module_one found');
  93. // Set the test conditions.
  94. $edit = array(
  95. 'l10n_update_check_mode' => L10N_UPDATE_USE_SOURCE_REMOTE_AND_LOCAL,
  96. );
  97. $this->drupalPost('admin/config/regional/language/update', $edit, t('Save configuration'));
  98. // Get status of translation sources at both local and remote locations.
  99. $this->drupalGet('admin/config/regional/translate/check');
  100. $result = l10n_update_get_status();
  101. $this->assertEqual($result['contrib_module_one']['de']->type, L10N_UPDATE_REMOTE, 'Translation of contrib_module_one found');
  102. $this->assertEqual($result['contrib_module_one']['de']->timestamp, $this->timestamp_new, 'Translation timestamp found');
  103. $this->assertEqual($result['contrib_module_two']['de']->type, L10N_UPDATE_LOCAL, 'Translation of contrib_module_two found');
  104. $this->assertEqual($result['contrib_module_two']['de']->timestamp, $this->timestamp_new, 'Translation timestamp found');
  105. $this->assertEqual($result['contrib_module_three']['de']->type, L10N_UPDATE_LOCAL, 'Translation of contrib_module_three found');
  106. $this->assertEqual($result['contrib_module_three']['de']->timestamp, $this->timestamp_old, 'Translation timestamp found');
  107. $this->assertEqual($result['l10n_update_test']['de']->type, L10N_UPDATE_LOCAL, 'Translation of l10n_update_test found');
  108. $this->assertEqual($result['custom_module_one']['de']->type, L10N_UPDATE_LOCAL, 'Translation of custom_module_one found');
  109. }
  110. /**
  111. * Tests translation import from remote sources.
  112. *
  113. * Test conditions:
  114. * - Source: remote and local files
  115. * - Import overwrite: all existing translations.
  116. */
  117. public function testUpdateImportSourceRemote() {
  118. // Build the test environment.
  119. $this->setTranslationFiles();
  120. $this->setCurrentTranslations();
  121. variable_set('l10n_update_default_filename', '%project-%release.%language._po');
  122. // Set the update conditions for this test.
  123. $edit = array(
  124. 'l10n_update_check_mode' => L10N_UPDATE_USE_SOURCE_REMOTE_AND_LOCAL,
  125. 'l10n_update_import_mode' => LOCALE_IMPORT_OVERWRITE,
  126. );
  127. $this->drupalPost('admin/config/regional/language/update', $edit, t('Save configuration'));
  128. // Get the translation status.
  129. $this->drupalGet('admin/config/regional/translate/check');
  130. // Check the status on the Available translation status page.
  131. $this->assertRaw('<label class="element-invisible" for="edit-langcodes-de">Update German </label>', 'German language found');
  132. $this->assertText('Updates for: Contributed module one, Contributed module two, Custom module one, Locale test', 'Updates found');
  133. $this->assertText('Contributed module one (' . format_date($this->timestamp_new, 'medium') . ')', 'Updates for Contrib module one');
  134. $this->assertText('Contributed module two (' . format_date($this->timestamp_new, 'medium') . ')', 'Updates for Contrib module two');
  135. // Execute the translation update.
  136. $this->drupalPost('admin/config/regional/translate/update', array(), t('Update translations'));
  137. // Check if the translation has been updated, using the status cache.
  138. $status = l10n_update_get_status();
  139. $this->assertEqual($status['contrib_module_one']['de']->type, L10N_UPDATE_CURRENT, 'Translation of contrib_module_one found');
  140. $this->assertEqual($status['contrib_module_two']['de']->type, L10N_UPDATE_CURRENT, 'Translation of contrib_module_two found');
  141. $this->assertEqual($status['contrib_module_three']['de']->type, L10N_UPDATE_CURRENT, 'Translation of contrib_module_three found');
  142. // Check the new translation status.
  143. // The static cache needs to be flushed first to get the most recent data
  144. // from the database. The function was called earlier during this test.
  145. drupal_static_reset('l10n_update_get_file_history');
  146. $history = l10n_update_get_file_history();
  147. $this->assertTrue($history['contrib_module_one']['de']->timestamp >= $this->timestamp_now, 'Translation of contrib_module_one is imported');
  148. $this->assertTrue($history['contrib_module_one']['de']->last_checked >= $this->timestamp_now, 'Translation of contrib_module_one is updated');
  149. $this->assertEqual($history['contrib_module_two']['de']->timestamp, $this->timestamp_new, 'Translation of contrib_module_two is imported');
  150. $this->assertTrue($history['contrib_module_two']['de']->last_checked >= $this->timestamp_now, 'Translation of contrib_module_two is updated');
  151. $this->assertEqual($history['contrib_module_three']['de']->timestamp, $this->timestamp_medium, 'Translation of contrib_module_three is not imported');
  152. $this->assertEqual($history['contrib_module_three']['de']->last_checked, $this->timestamp_medium, 'Translation of contrib_module_three is not updated');
  153. // Check whether existing translations have (not) been overwritten.
  154. $this->assertEqual(t('January', array(), array('langcode' => 'de')), 'Januar_1', 'Translation of January');
  155. $this->assertEqual(t('February', array(), array('langcode' => 'de')), 'Februar_2', 'Translation of February');
  156. $this->assertEqual(t('March', array(), array('langcode' => 'de')), 'Marz_2', 'Translation of March');
  157. $this->assertEqual(t('April', array(), array('langcode' => 'de')), 'April_2', 'Translation of April');
  158. $this->assertEqual(t('May', array(), array('langcode' => 'de')), 'Mai_customized', 'Translation of May');
  159. $this->assertEqual(t('June', array(), array('langcode' => 'de')), 'Juni', 'Translation of June');
  160. $this->assertEqual(t('Monday', array(), array('langcode' => 'de')), 'Montag', 'Translation of Monday');
  161. }
  162. /**
  163. * Tests translation import from local sources.
  164. *
  165. * Test conditions:
  166. * - Source: local files only
  167. * - Import overwrite: all existing translations.
  168. */
  169. public function testUpdateImportSourceLocal() {
  170. // Build the test environment.
  171. $this->setTranslationFiles();
  172. $this->setCurrentTranslations();
  173. variable_set('l10n_update_default_filename', '%project-%release.%language._po');
  174. // Set the update conditions for this test.
  175. $edit = array(
  176. 'l10n_update_check_mode' => L10N_UPDATE_USE_SOURCE_LOCAL,
  177. 'l10n_update_import_mode' => LOCALE_IMPORT_OVERWRITE,
  178. );
  179. $this->drupalPost('admin/config/regional/language/update', $edit, t('Save configuration'));
  180. // Execute the translation update.
  181. $this->drupalGet('admin/config/regional/translate/check');
  182. $this->drupalPost('admin/config/regional/translate/update', array(), t('Update translations'));
  183. // Check if the translation has been updated, using the status cache.
  184. $status = l10n_update_get_status();
  185. $this->assertEqual($status['contrib_module_one']['de']->type, L10N_UPDATE_CURRENT, 'Translation of contrib_module_one found');
  186. $this->assertEqual($status['contrib_module_two']['de']->type, L10N_UPDATE_CURRENT, 'Translation of contrib_module_two found');
  187. $this->assertEqual($status['contrib_module_three']['de']->type, L10N_UPDATE_CURRENT, 'Translation of contrib_module_three found');
  188. // Check the new translation status.
  189. // The static cache needs to be flushed first to get the most recent data
  190. // from the database. The function was called earlier during this test.
  191. drupal_static_reset('l10n_update_get_file_history');
  192. $history = l10n_update_get_file_history();
  193. $this->assertTrue($history['contrib_module_one']['de']->timestamp >= $this->timestamp_medium, 'Translation of contrib_module_one is imported');
  194. $this->assertEqual($history['contrib_module_one']['de']->last_checked, $this->timestamp_medium, 'Translation of contrib_module_one is updated');
  195. $this->assertEqual($history['contrib_module_two']['de']->timestamp, $this->timestamp_new, 'Translation of contrib_module_two is imported');
  196. $this->assertTrue($history['contrib_module_two']['de']->last_checked >= $this->timestamp_now, 'Translation of contrib_module_two is updated');
  197. $this->assertEqual($history['contrib_module_three']['de']->timestamp, $this->timestamp_medium, 'Translation of contrib_module_three is not imported');
  198. $this->assertEqual($history['contrib_module_three']['de']->last_checked, $this->timestamp_medium, 'Translation of contrib_module_three is not updated');
  199. // Check whether existing translations have (not) been overwritten.
  200. $this->assertEqual(t('January', array(), array('langcode' => 'de')), 'Januar_customized', 'Translation of January');
  201. $this->assertEqual(t('February', array(), array('langcode' => 'de')), 'Februar_2', 'Translation of February');
  202. $this->assertEqual(t('March', array(), array('langcode' => 'de')), 'Marz_2', 'Translation of March');
  203. $this->assertEqual(t('April', array(), array('langcode' => 'de')), 'April_2', 'Translation of April');
  204. $this->assertEqual(t('May', array(), array('langcode' => 'de')), 'Mai_customized', 'Translation of May');
  205. $this->assertEqual(t('June', array(), array('langcode' => 'de')), 'Juni', 'Translation of June');
  206. $this->assertEqual(t('Monday', array(), array('langcode' => 'de')), 'Montag', 'Translation of Monday');
  207. }
  208. /**
  209. * Tests translation import and only overwrite non-customized translations.
  210. *
  211. * Test conditions:
  212. * - Source: remote and local files
  213. * - Import overwrite: only overwrite non-customized translations.
  214. */
  215. public function testUpdateImportModeNonCustomized() {
  216. // Build the test environment.
  217. $this->setTranslationFiles();
  218. $this->setCurrentTranslations();
  219. variable_set('l10n_update_default_filename', '%project-%release.%language._po');
  220. // Set the test conditions.
  221. $edit = array(
  222. 'l10n_update_check_mode' => L10N_UPDATE_USE_SOURCE_REMOTE_AND_LOCAL,
  223. 'l10n_update_import_mode' => L10N_UPDATE_OVERWRITE_NON_CUSTOMIZED,
  224. );
  225. $this->drupalPost('admin/config/regional/language/update', $edit, t('Save configuration'));
  226. // Execute translation update.
  227. $this->drupalGet('admin/config/regional/translate/check');
  228. $this->drupalPost('admin/config/regional/translate/update', array(), t('Update translations'));
  229. // Check whether existing translations have (not) been overwritten.
  230. $this->assertEqual(t('January', array(), array('langcode' => 'de')), 'Januar_customized', 'Translation of January');
  231. $this->assertEqual(t('February', array(), array('langcode' => 'de')), 'Februar_customized', 'Translation of February');
  232. $this->assertEqual(t('March', array(), array('langcode' => 'de')), 'Marz_2', 'Translation of March');
  233. $this->assertEqual(t('April', array(), array('langcode' => 'de')), 'April_2', 'Translation of April');
  234. $this->assertEqual(t('May', array(), array('langcode' => 'de')), 'Mai_customized', 'Translation of May');
  235. $this->assertEqual(t('June', array(), array('langcode' => 'de')), 'Juni', 'Translation of June');
  236. $this->assertEqual(t('Monday', array(), array('langcode' => 'de')), 'Montag', 'Translation of Monday');
  237. }
  238. /**
  239. * Tests translation import and don't overwrite any translation.
  240. *
  241. * Test conditions:
  242. * - Source: remote and local files
  243. * - Import overwrite: don't overwrite any existing translation.
  244. */
  245. public function testUpdateImportModeNone() {
  246. // Build the test environment.
  247. $this->setTranslationFiles();
  248. $this->setCurrentTranslations();
  249. variable_set('l10n_update_default_filename', '%project-%release.%language._po');
  250. // Set the test conditions.
  251. $edit = array(
  252. 'l10n_update_check_mode' => L10N_UPDATE_USE_SOURCE_REMOTE_AND_LOCAL,
  253. 'l10n_update_import_mode' => LOCALE_IMPORT_KEEP,
  254. );
  255. $this->drupalPost('admin/config/regional/language/update', $edit, t('Save configuration'));
  256. // Execute translation update.
  257. $this->drupalGet('admin/config/regional/translate/check');
  258. $this->drupalPost('admin/config/regional/translate/update', array(), t('Update translations'));
  259. // Check whether existing translations have (not) been overwritten.
  260. $this->assertTranslation('January', 'Januar_customized', 'de');
  261. $this->assertTranslation('February', 'Februar_customized', 'de');
  262. $this->assertTranslation('March', 'Marz', 'de');
  263. $this->assertTranslation('April', 'April_2', 'de');
  264. $this->assertTranslation('May', 'Mai_customized', 'de');
  265. $this->assertTranslation('June', 'Juni', 'de');
  266. $this->assertTranslation('Monday', 'Montag', 'de');
  267. }
  268. /**
  269. * Tests automatic translation import when a module is enabled.
  270. */
  271. public function testEnableUninstallModule() {
  272. // Make the hidden test modules look like a normal custom module.
  273. variable_set('l10n_update_test_system_info_alter', TRUE);
  274. // Check if there is no translation yet.
  275. $this->assertTranslation('Tuesday', '', 'de');
  276. // Enable a module.
  277. $edit = array(
  278. 'modules[Testing][l10n_update_test_translate][enable]' => '1',
  279. );
  280. $this->drupalPost('admin/modules', $edit, t('Save configuration'));
  281. // Check if translations have been imported.
  282. // @TODO: Find out why this currently returns 0 translations.
  283. $this->assertRaw(t('One translation file imported. %number translations were added, %update translations were updated and %delete translations were removed.',
  284. array('%number' => 0, '%update' => 0 /* 7 */, '%delete' => 0)), 'One translation file imported.');
  285. $this->assertTranslation('Tuesday', 'Dienstag', 'de');
  286. // Disable and uninstall a module
  287. // module_disable(array('l10n_update_test_translate'));
  288. // $edit = array(
  289. // 'uninstall[l10n_update_test_translate]' => '1',
  290. // );
  291. // $this->drupalPost('admin/modules/uninstall', $edit, t('Uninstall'));
  292. // $this->drupalPost(NULL, array(), t('Uninstall'));
  293. //
  294. // // Check if the file data is removed from the database.
  295. // $history = l10n_update_get_file_history();
  296. // $this->assertFalse(isset($history['l10n_update_test_translate']), 'Project removed from the file history');
  297. // $projects = l10n_update_get_projects();
  298. // $this->assertFalse(isset($projects['l10n_update_test_translate']), 'Project removed from the project list');
  299. }
  300. /**
  301. * Tests automatic translation import when a langauge is enabled.
  302. *
  303. * When a language is added, the system will check for translations files of
  304. * enabled modules and will import them. When a language is removed the system
  305. * will remove all translations of that langugue from the database.
  306. */
  307. public function testEnableLanguage() {
  308. // Make the hidden test modules look like a normal custom module.
  309. variable_set('l10n_update_test_system_info_alter', TRUE);
  310. // Enable a module.
  311. $edit = array(
  312. 'modules[Testing][l10n_update_test_translate][enable]' => '1',
  313. );
  314. $this->drupalPost('admin/modules', $edit, t('Save configuration'));
  315. // Check if there is no Dutch translation yet.
  316. $this->assertTranslation('Extraday', '', 'nl');
  317. $this->assertTranslation('Tuesday', 'Dienstag', 'de');
  318. // Add a language.
  319. $this->addLanguage('nl');
  320. // Check if the right number of translations are added.
  321. // @TODO: Find out why this currently returns 0 translations.
  322. $this->assertRaw(t('One translation file imported. %number translations were added, %update translations were updated and %delete translations were removed.',
  323. array('%number' => 0, '%update' => 0 /* 8 */, '%delete' => 0)), 'One language added.');
  324. $this->assertTranslation('Extraday', 'extra dag', 'nl');
  325. // Check if the language data is added to the database.
  326. $result = db_query("SELECT project FROM {l10n_update_file} WHERE language='nl'")->fetchField();
  327. $this->assertTrue((boolean) $result, 'Files removed from file history');
  328. // Remove a language.
  329. $this->drupalPost('admin/config/regional/language/delete/nl', array(), t('Delete'));
  330. // Check if the language data is removed from the database.
  331. $result = db_query("SELECT project FROM {l10n_update_file} WHERE language='nl'")->fetchField();
  332. $this->assertFalse($result, 'Files removed from file history');
  333. // Check that the Dutch translation is gone.
  334. $this->assertTranslation('Extraday', '', 'nl');
  335. $this->assertTranslation('Tuesday', 'Dienstag', 'de');
  336. }
  337. /**
  338. * Tests automatic translation import when a custom langauge is enabled.
  339. */
  340. public function testEnableCustomLanguage() {
  341. // Make the hidden test modules look like a normal custom module.
  342. variable_set('l10n_update_test_system_info_alter', TRUE);
  343. // Enable a module.
  344. $edit = array(
  345. 'modules[Testing][l10n_update_test_translate][enable]' => '1',
  346. );
  347. $this->drupalPost('admin/modules', $edit, t('Save configuration'));
  348. // Create and enable a custom language with language code 'xx' and a random
  349. // name.
  350. $langcode = 'xx';
  351. $name = $this->randomName(16);
  352. $edit = array(
  353. 'langcode' => $langcode,
  354. 'name' => $name,
  355. 'native' => $name,
  356. 'prefix' => $langcode,
  357. 'direction' => '0',
  358. );
  359. $this->drupalPost('admin/config/regional/language/add', $edit, t('Add custom language'));
  360. drupal_static_reset('language_list');
  361. $languages = language_list();
  362. $this->assertTrue(isset($languages[$langcode]), format_string('Language %langcode added.', array('%langcode' => $langcode)));
  363. // Ensure the translation file is automatically imported when the language
  364. // was added.
  365. $this->assertText(t('One translation file imported.'), 'Language file automatically imported.');
  366. $this->assertText(t('One translation string was skipped because of disallowed or malformed HTML'), 'Language file automatically imported.');
  367. // Ensure the strings were successfully imported.
  368. $search = array(
  369. 'string' => 'lundi',
  370. 'language' => $langcode,
  371. 'translation' => 'translated',
  372. );
  373. $this->drupalPost('admin/config/regional/translate/translate', $search, t('Filter'));
  374. $this->assertNoText(t('No strings available.'), 'String successfully imported.');
  375. // Ensure the multiline string was imported.
  376. $search = array(
  377. 'string' => 'Source string for multiline translation',
  378. 'language' => $langcode,
  379. 'translation' => 'all',
  380. );
  381. $this->drupalPost('admin/config/regional/translate/translate', $search, t('Filter'));
  382. $this->assertText('Source string for multiline translation', 'String successfully imported.');
  383. // Ensure 'Allowed HTML source string' was imported but the translation for
  384. // 'Another allowed HTML source string' was not because it contains invalid
  385. // HTML.
  386. $search = array(
  387. 'string' => 'HTML source string',
  388. 'language' => $langcode,
  389. 'translation' => 'translated',
  390. );
  391. $this->drupalPost('admin/config/regional/translate/translate', $search, t('Filter'));
  392. // $this->assertText('Allowed HTML source string', 'String successfully imported.'); $this->assertNoText('Another allowed HTML source string', 'String with disallowed translation not imported.');
  393. }
  394. }