Merge branch 'QA_4_4' of github.com:phpmyadmin/phpmyadmin into QA_4_4
This commit is contained in:
commit
f7716754f4
51
po/fr.po
51
po/fr.po
@ -4,14 +4,14 @@ msgstr ""
|
||||
"Project-Id-Version: phpMyAdmin-docs 4.0.0-dev\n"
|
||||
"Report-Msgid-Bugs-To: phpmyadmin-devel@lists.sourceforge.net\n"
|
||||
"POT-Creation-Date: 2015-05-05 15:46-0400\n"
|
||||
"PO-Revision-Date: 2015-04-14 14:56+0200\n"
|
||||
"PO-Revision-Date: 2015-05-06 14:12+0200\n"
|
||||
"Last-Translator: Marc Delisle <marc@infomarc.info>\n"
|
||||
"Language-Team: French <https://hosted.weblate.org/projects/phpmyadmin/4-4/fr/"
|
||||
">\n"
|
||||
"Language-Team: French "
|
||||
"<https://hosted.weblate.org/projects/phpmyadmin/4-4/fr/>\n"
|
||||
"Language: fr\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Language: fr\n"
|
||||
"Plural-Forms: nplurals=2; plural=n > 1;\n"
|
||||
"X-Generator: Weblate 2.3-dev\n"
|
||||
|
||||
@ -5957,7 +5957,6 @@ msgid "Page titles"
|
||||
msgstr "Titres de page"
|
||||
|
||||
#: libraries/config/messages.inc.php:251
|
||||
#, fuzzy
|
||||
#| msgid ""
|
||||
#| "Specify browser's title bar text. Refer to [doc@cfg_TitleTable]"
|
||||
#| "documentation[/doc] for magic strings that can be used to get special "
|
||||
@ -5967,8 +5966,8 @@ msgid ""
|
||||
"for magic strings that can be used to get special values."
|
||||
msgstr ""
|
||||
"Spécifier le texte de la barre de titre du navigateur. Se référer à la "
|
||||
"[doc@cfg_TitleTable]documentation[/doc] pour les chaînes magiques pouvant "
|
||||
"être utilisées."
|
||||
"[doc@faq6-27]documentation[/doc] pour les chaînes magiques pouvant être "
|
||||
"utilisées."
|
||||
|
||||
#: libraries/config/messages.inc.php:255
|
||||
msgid "Query window"
|
||||
@ -6481,7 +6480,6 @@ msgid "Minimum number of databases to display the database filter box"
|
||||
msgstr "Nombre minimum de bases de données pour activer le filtre"
|
||||
|
||||
#: libraries/config/messages.inc.php:456
|
||||
#, fuzzy
|
||||
#| msgid ""
|
||||
#| "Group items in the navigation tree (determined by the separator defined "
|
||||
#| "below)."
|
||||
@ -6490,7 +6488,7 @@ msgid ""
|
||||
"the Databases and Tables tabs above)."
|
||||
msgstr ""
|
||||
"Regrouper les éléments dans l'arborescence de navigation (déterminé par le "
|
||||
"séparateur défini plus bas)."
|
||||
"séparateur défini dans les onglets Bases de données et Tables ci-dessus)."
|
||||
|
||||
#: libraries/config/messages.inc.php:458
|
||||
msgid "Group items in the tree"
|
||||
@ -14999,24 +14997,24 @@ msgstr ""
|
||||
"MySQL."
|
||||
|
||||
#: libraries/advisory_rules.txt:132
|
||||
#, fuzzy
|
||||
#| msgid "Percona documentation is at http://www.percona.com/docs/wiki/"
|
||||
msgid ""
|
||||
"Percona documentation is at http://www.percona.com/software/documentation/"
|
||||
msgstr ""
|
||||
"La documentation de Percona est disponible au http://www.percona.com/docs/"
|
||||
"wiki/"
|
||||
"La documentation de Percona est disponible au "
|
||||
"http://www.percona.com/software/documentation"
|
||||
|
||||
#: libraries/advisory_rules.txt:133
|
||||
msgid "'percona' found in version_comment"
|
||||
msgstr "Le mot «percona» a été trouvé dans version_comment"
|
||||
|
||||
#: libraries/advisory_rules.txt:139
|
||||
#, fuzzy
|
||||
#| msgid "Drizzle documentation is at http://docs.drizzle.org/"
|
||||
msgid ""
|
||||
"Drizzle documentation is at http://www.drizzle.org/content/documentation/"
|
||||
msgstr "La documentation de Drizzle est disponible au http://docs.drizzle.org/"
|
||||
msgstr ""
|
||||
"La documentation de Drizzle est disponible au "
|
||||
"http://www.drizzle.org/content/documentation/"
|
||||
|
||||
#: libraries/advisory_rules.txt:140
|
||||
#, php-format
|
||||
@ -15837,7 +15835,6 @@ msgid "Too many connections are aborted."
|
||||
msgstr "Trop de connexions ont avorté."
|
||||
|
||||
#: libraries/advisory_rules.txt:403 libraries/advisory_rules.txt:410
|
||||
#, fuzzy
|
||||
#| msgid ""
|
||||
#| "Connections are usually aborted when they cannot be authorized. <a href="
|
||||
#| "\"http://www.mysqlperformanceblog.com/2008/08/23/how-to-track-down-the-"
|
||||
@ -15848,8 +15845,8 @@ msgid ""
|
||||
"\"http://www.percona.com/blog/2008/08/23/how-to-track-down-the-source-of-"
|
||||
"aborted_connects/\">This article</a> might help you track down the source."
|
||||
msgstr ""
|
||||
"C'est habituellement un problème d'authentification. <a href=\"http://www."
|
||||
"mysqlperformanceblog.com/2008/08/23/how-to-track-down-the-source-of-"
|
||||
"C'est habituellement un problème d'authentification.<a href=\""
|
||||
"http://www.percona.com/blog/2008/08/23/how-to-track-down-the-source-of-"
|
||||
"aborted_connects/\">Cet article</a> peut vous aider à en trouver la cause."
|
||||
|
||||
#: libraries/advisory_rules.txt:404
|
||||
@ -15975,7 +15972,7 @@ msgid "The InnoDB log file size is inadequately large."
|
||||
msgstr "La taille du journal InnoDB est trop grande."
|
||||
|
||||
#: libraries/advisory_rules.txt:447
|
||||
#, fuzzy, php-format
|
||||
#, php-format
|
||||
#| msgid ""
|
||||
#| "It is usually sufficient to set {innodb_log_file_size} to 25%% of the "
|
||||
#| "size of {innodb_buffer_pool_size}. A very big {innodb_log_file_size} "
|
||||
@ -16000,11 +15997,11 @@ msgstr ""
|
||||
"Il suffit normalement de régler {innodb_log_file_size} à 25%% de "
|
||||
"{innodb_buffer_pool_size}. Si {innodb_log_file_size} est très grand, le "
|
||||
"temps de recouvrement en cas de panne de la base de données sera long. Voir "
|
||||
"aussi <a href=\"http://www.mysqlperformanceblog.com/2006/07/03/choosing-"
|
||||
"proper-innodb_log_file_size/\">cet article</a>. Il vous faut fermer le "
|
||||
"serveur, enlever les journaux InnoDB, placer la nouvelle valeur dans my.cnf, "
|
||||
"démarrer le serveur, puis vérifier les journaux d'erreurs. Voir aussi <a "
|
||||
"href=\"http://mysqldatabaseadministration.blogspot.com/2007/01/increase-"
|
||||
"aussi <a href=\"http://www.percona.com/blog/2006/07/03/choosing-proper-"
|
||||
"innodb_log_file_size/\">cet article</a>. Il vous faut fermer le serveur, "
|
||||
"enlever les journaux InnoDB, placer la nouvelle valeur dans my.cnf, démarrer "
|
||||
"le serveur, puis vérifier les journaux d'erreurs. Voir aussi <a href=\""
|
||||
"http://mysqldatabaseadministration.blogspot.com/2007/01/increase-"
|
||||
"innodblogfilesize-proper-way.html\">cet article de blogue.</a>"
|
||||
|
||||
#: libraries/advisory_rules.txt:448
|
||||
@ -16021,7 +16018,7 @@ msgid "Your InnoDB buffer pool is fairly small."
|
||||
msgstr "Votre mémoire-tampon InnoDB est petite."
|
||||
|
||||
#: libraries/advisory_rules.txt:454
|
||||
#, fuzzy, php-format
|
||||
#, php-format
|
||||
#| msgid ""
|
||||
#| "The InnoDB buffer pool has a profound impact on performance for InnoDB "
|
||||
#| "tables. Assign all your remaining memory to this buffer. For database "
|
||||
@ -16052,9 +16049,9 @@ msgstr ""
|
||||
"disponible. Si ce n'est pas le cas, vérifiez soigneusement la consommation "
|
||||
"mémoire des autres services et des tables non-InnoDB et réglez ce paramètre "
|
||||
"en conséquence. Si sa valeur est trop grande, le système utilisera à "
|
||||
"utiliser le swap, ce qui réduit la performance. Voir aussi <a href=\"http://"
|
||||
"www.mysqlperformanceblog.com/2007/11/03/choosing-innodb_buffer_pool_size/"
|
||||
"\">cet article</a>"
|
||||
"utiliser le swap, ce qui réduit la performance. Voir aussi <a href=\""
|
||||
"http://www.percona.com/blog/2007/11/03/choosing-innodb_buffer_pool_size/\">"
|
||||
"cet article</a>"
|
||||
|
||||
#: libraries/advisory_rules.txt:455
|
||||
#, php-format
|
||||
|
||||
51
po/hu.po
51
po/hu.po
@ -4,14 +4,14 @@ msgstr ""
|
||||
"Project-Id-Version: phpMyAdmin 4.4.6-dev\n"
|
||||
"Report-Msgid-Bugs-To: phpmyadmin-devel@lists.sourceforge.net\n"
|
||||
"POT-Creation-Date: 2015-05-05 15:46-0400\n"
|
||||
"PO-Revision-Date: 2015-03-30 18:31+0200\n"
|
||||
"PO-Revision-Date: 2015-05-06 16:56+0200\n"
|
||||
"Last-Translator: Balázs Úr <urbalazs@gmail.com>\n"
|
||||
"Language-Team: Hungarian <https://hosted.weblate.org/projects/phpmyadmin/4-4/"
|
||||
"hu/>\n"
|
||||
"Language-Team: Hungarian "
|
||||
"<https://hosted.weblate.org/projects/phpmyadmin/4-4/hu/>\n"
|
||||
"Language: hu\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Language: hu\n"
|
||||
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
||||
"X-Generator: Weblate 2.3-dev\n"
|
||||
|
||||
@ -5932,7 +5932,6 @@ msgid "Page titles"
|
||||
msgstr "Oldalcímek"
|
||||
|
||||
#: libraries/config/messages.inc.php:251
|
||||
#, fuzzy
|
||||
#| msgid ""
|
||||
#| "Specify browser's title bar text. Refer to [doc@cfg_TitleTable]"
|
||||
#| "documentation[/doc] for magic strings that can be used to get special "
|
||||
@ -5942,7 +5941,7 @@ msgid ""
|
||||
"for magic strings that can be used to get special values."
|
||||
msgstr ""
|
||||
"Megadhatja a böngésző fejlécében megjelenített címet. Hivatkozzon a "
|
||||
"[doc@cfg_TitleTable]dokumentációra[/doc] a mágikus parancsok végett, amiket "
|
||||
"[doc@faq6-27]dokumentációra[/doc] a mágikus parancsok végett, amiket "
|
||||
"speciális értékek megjelenítésére használhat."
|
||||
|
||||
#: libraries/config/messages.inc.php:255
|
||||
@ -6454,7 +6453,6 @@ msgid "Minimum number of databases to display the database filter box"
|
||||
msgstr "A szűrődoboz megjelenítéséhez szükséges minimális adatbázisok száma"
|
||||
|
||||
#: libraries/config/messages.inc.php:456
|
||||
#, fuzzy
|
||||
#| msgid ""
|
||||
#| "Group items in the navigation tree (determined by the separator defined "
|
||||
#| "below)."
|
||||
@ -6462,8 +6460,8 @@ msgid ""
|
||||
"Group items in the navigation tree (determined by the separator defined in "
|
||||
"the Databases and Tables tabs above)."
|
||||
msgstr ""
|
||||
"Elemek csoportosítása a navigációs faszerkezetben (lent megadott elválasztó "
|
||||
"által meghatározva)."
|
||||
"Elemek csoportosítása a navigációs faszerkezetben (a lenti Adatbázisok és "
|
||||
"táblák lapon megadott elválasztó által meghatározva)."
|
||||
|
||||
#: libraries/config/messages.inc.php:458
|
||||
msgid "Group items in the tree"
|
||||
@ -14932,22 +14930,20 @@ msgid "The MySQL manual only is accurate for official MySQL binaries."
|
||||
msgstr "A MySQL kézikönyv csak a hivatalos MySQL kiadás számára akkurátus."
|
||||
|
||||
#: libraries/advisory_rules.txt:132
|
||||
#, fuzzy
|
||||
#| msgid "Percona documentation is at http://www.percona.com/docs/wiki/"
|
||||
msgid ""
|
||||
"Percona documentation is at http://www.percona.com/software/documentation/"
|
||||
msgstr "Percona dokumentáció: http://www.percona.com/docs/wiki/"
|
||||
msgstr "Percona dokumentáció: http://www.percona.com/software/documentation/"
|
||||
|
||||
#: libraries/advisory_rules.txt:133
|
||||
msgid "'percona' found in version_comment"
|
||||
msgstr "'percona' a version_comment-ben találva"
|
||||
|
||||
#: libraries/advisory_rules.txt:139
|
||||
#, fuzzy
|
||||
#| msgid "Drizzle documentation is at http://docs.drizzle.org/"
|
||||
msgid ""
|
||||
"Drizzle documentation is at http://www.drizzle.org/content/documentation/"
|
||||
msgstr "Drizzle dokumentáció: http://docs.drizzle.org/"
|
||||
msgstr "Drizzle dokumentáció: http://www.drizzle.org/content/documentation/"
|
||||
|
||||
#: libraries/advisory_rules.txt:140
|
||||
#, php-format
|
||||
@ -15772,7 +15768,6 @@ msgid "Too many connections are aborted."
|
||||
msgstr "Túl sok kapcsolat lett megszakítva."
|
||||
|
||||
#: libraries/advisory_rules.txt:403 libraries/advisory_rules.txt:410
|
||||
#, fuzzy
|
||||
#| msgid ""
|
||||
#| "Connections are usually aborted when they cannot be authorized. <a href="
|
||||
#| "\"http://www.mysqlperformanceblog.com/2008/08/23/how-to-track-down-the-"
|
||||
@ -15783,9 +15778,9 @@ msgid ""
|
||||
"\"http://www.percona.com/blog/2008/08/23/how-to-track-down-the-source-of-"
|
||||
"aborted_connects/\">This article</a> might help you track down the source."
|
||||
msgstr ""
|
||||
"A nem azonosítható kapcsolatok általában meg lesznek szakítva. <a href="
|
||||
"\"http://www.mysqlperformanceblog.com/2008/08/23/how-to-track-down-the-"
|
||||
"source-of-aborted_connects/\">Ez a cikk</a> segíthet."
|
||||
"A nem azonosítható kapcsolatok általában meg lesznek szakítva. <a href=\""
|
||||
"http://www.percona.com/blog/2008/08/23/how-to-track-down-the-source-of-"
|
||||
"aborted_connects/\">Ez a cikk</a> segíthet a forrás lekövetéséhez."
|
||||
|
||||
#: libraries/advisory_rules.txt:404
|
||||
#, php-format
|
||||
@ -15909,7 +15904,7 @@ msgid "The InnoDB log file size is inadequately large."
|
||||
msgstr "Az InnoDB naplófájl mérete túlságosan nagy."
|
||||
|
||||
#: libraries/advisory_rules.txt:447
|
||||
#, fuzzy, php-format
|
||||
#, php-format
|
||||
#| msgid ""
|
||||
#| "It is usually sufficient to set {innodb_log_file_size} to 25%% of the "
|
||||
#| "size of {innodb_buffer_pool_size}. A very big {innodb_log_file_size} "
|
||||
@ -15934,13 +15929,13 @@ msgstr ""
|
||||
"Általában elegendő az {innodb_log_file_size} beállítása 25%%-ra a "
|
||||
"{innodb_buffer_pool_size} nagyságához képest. Egy nagyon nagy "
|
||||
"{innodb_log_file_size} jelentősen lassítja a helyreállási időt egy "
|
||||
"összeomlás után. Lásd <a href=\"http://www.mysqlperformanceblog."
|
||||
"com/2006/07/03/choosing-proper-innodb_log_file_size/\">ezt a cikket</a>. A "
|
||||
"kiszolgálót le kell állítani, az InnoDB naplófájlokat ki kell törölni, új "
|
||||
"értéket kell beállítani a my.cnf fájlban, ezután lehet elindítani a "
|
||||
"szervert, majd meg kell nézni a naplófájlokban, hogy minden jól ment-e. Lásd "
|
||||
"még: <a href=\"http://mysqldatabaseadministration.blogspot.com/2007/01/"
|
||||
"increase-innodblogfilesize-proper-way.html\">ezt a blog bejegyzést</a>"
|
||||
"összeomlás után. Lásd <a href=\"http://www.percona.com/blog/2006/07/03"
|
||||
"/choosing-proper-innodb_log_file_size/\">ezt a cikket</a>. A kiszolgálót le "
|
||||
"kell állítani, az InnoDB naplófájlokat ki kell törölni, új értéket kell "
|
||||
"beállítani a my.cnf fájlban, ezután lehet elindítani a szervert, majd meg "
|
||||
"kell nézni a naplófájlokban, hogy minden jól ment-e. Lásd még: <a href=\""
|
||||
"http://mysqldatabaseadministration.blogspot.com/2007/01/increase-"
|
||||
"innodblogfilesize-proper-way.html\">ezt a blog bejegyzést</a>"
|
||||
|
||||
#: libraries/advisory_rules.txt:448
|
||||
#, php-format
|
||||
@ -15956,7 +15951,7 @@ msgid "Your InnoDB buffer pool is fairly small."
|
||||
msgstr "Az InnoDB pufferterülete túlságosan kicsi."
|
||||
|
||||
#: libraries/advisory_rules.txt:454
|
||||
#, fuzzy, php-format
|
||||
#, php-format
|
||||
#| msgid ""
|
||||
#| "The InnoDB buffer pool has a profound impact on performance for InnoDB "
|
||||
#| "tables. Assign all your remaining memory to this buffer. For database "
|
||||
@ -15988,8 +15983,8 @@ msgstr ""
|
||||
"akkor gondosan értékelje át a memória-felhasználás mértékét a más "
|
||||
"szolgáltatások és a nem-InnoDB-táblák számára, és állítsuk át a változó "
|
||||
"értékét ennek megfelelően. Ha az érték túl magas, a rendszer teljesítménye "
|
||||
"jelentősen csökken. Lásd <a href=\"http://www.mysqlperformanceblog."
|
||||
"com/2007/11/03/choosing-innodb_buffer_pool_size/\">ezt a cikket</a>"
|
||||
"jelentősen csökken. Lásd <a href=\"http://www.percona.com/blog/2007/11/03"
|
||||
"/choosing-innodb_buffer_pool_size/\">ezt a cikket</a>"
|
||||
|
||||
#: libraries/advisory_rules.txt:455
|
||||
#, php-format
|
||||
|
||||
41
po/ia.po
41
po/ia.po
@ -8,14 +8,14 @@ msgstr ""
|
||||
"Project-Id-Version: phpMyAdmin 4.4.6-dev\n"
|
||||
"Report-Msgid-Bugs-To: phpmyadmin-devel@lists.sourceforge.net\n"
|
||||
"POT-Creation-Date: 2015-05-05 15:46-0400\n"
|
||||
"PO-Revision-Date: 2015-05-01 23:36+0200\n"
|
||||
"PO-Revision-Date: 2015-05-06 12:09+0200\n"
|
||||
"Last-Translator: Giovanni Sora <g.sora@tiscali.it>\n"
|
||||
"Language-Team: Interlingua <https://hosted.weblate.org/projects/phpmyadmin/4-"
|
||||
"4/ia/>\n"
|
||||
"Language-Team: Interlingua "
|
||||
"<https://hosted.weblate.org/projects/phpmyadmin/4-4/ia/>\n"
|
||||
"Language: ia\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Language: ia\n"
|
||||
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
||||
"X-Generator: Weblate 2.3-dev\n"
|
||||
|
||||
@ -5981,7 +5981,6 @@ msgid "Page titles"
|
||||
msgstr "Titulos de pagina"
|
||||
|
||||
#: libraries/config/messages.inc.php:251
|
||||
#, fuzzy
|
||||
#| msgid ""
|
||||
#| "Specify browser's title bar text. Refer to [doc@cfg_TitleTable]"
|
||||
#| "documentation[/doc] for magic strings that can be used to get special "
|
||||
@ -5991,8 +5990,8 @@ msgid ""
|
||||
"for magic strings that can be used to get special values."
|
||||
msgstr ""
|
||||
"Specifica le texto del barra de titulo del navigator. Refere a "
|
||||
"[doc@cfg_TitleTable]documentation[/doc] pro vider catenas que on pote "
|
||||
"utilisar pro obtener valores special (magic strings)."
|
||||
"[doc@faq6-27]documentation[/doc] pro vider catenas que on pote utilisar pro "
|
||||
"obtener valores special (magic strings)."
|
||||
|
||||
#: libraries/config/messages.inc.php:255
|
||||
msgid "Query window"
|
||||
@ -6512,7 +6511,6 @@ msgstr ""
|
||||
"datos"
|
||||
|
||||
#: libraries/config/messages.inc.php:456
|
||||
#, fuzzy
|
||||
#| msgid ""
|
||||
#| "Group items in the navigation tree (determined by the separator defined "
|
||||
#| "below)."
|
||||
@ -6521,7 +6519,7 @@ msgid ""
|
||||
"the Databases and Tables tabs above)."
|
||||
msgstr ""
|
||||
"Elementos de gruppo in le arbore de navigation (determinate per le separator "
|
||||
"definite a basso)."
|
||||
"definite in le base de datos e schedas de tabellas de supra)."
|
||||
|
||||
#: libraries/config/messages.inc.php:458
|
||||
msgid "Group items in the tree"
|
||||
@ -9389,6 +9387,11 @@ msgid ""
|
||||
"on which form a repeating group. In this case a new table (book_id, author) "
|
||||
"should be created."
|
||||
msgstr ""
|
||||
"Tu ha un gruppo de duo o plus columnas que es connectite strictemente e que "
|
||||
"omnes es repetente le mesme attributo? Per exemplo un tabella que mantene "
|
||||
"datos super libros poterea haber columnas tal como libro_id,autor2,autor2, "
|
||||
"autor3 et cetera que forma un gruppo de repetition. In iste caso un nove "
|
||||
"tabella (libro_id,autor) deberea esser create."
|
||||
|
||||
#: libraries/normalization.lib.php:259
|
||||
msgid ""
|
||||
@ -9416,6 +9419,9 @@ msgid ""
|
||||
"No partial dependencies possible as no non-primary column exists since "
|
||||
"primary key ( %1$s ) is composed of all the columns in the table."
|
||||
msgstr ""
|
||||
"Il non es possibile dependentias partial proque il non existe alcun columna "
|
||||
"non-primari proque la clave primari ( %1$s ) es componite de omne columnas "
|
||||
"in le tabella."
|
||||
|
||||
#: libraries/normalization.lib.php:318 libraries/normalization.lib.php:360
|
||||
msgid "Table is already in second normal form."
|
||||
@ -9427,16 +9433,22 @@ msgid ""
|
||||
"The primary key ( %1$s ) consists of more than one column so we need to find "
|
||||
"the partial dependencies."
|
||||
msgstr ""
|
||||
"Le clave primari ( %1$s ) consiste de plus que un columna assi que on "
|
||||
"necessita trovar le dependentias partial."
|
||||
|
||||
#: libraries/normalization.lib.php:327 libraries/normalization.lib.php:692
|
||||
msgid ""
|
||||
"Please answer the following question(s) carefully to obtain a correct "
|
||||
"normalization."
|
||||
msgstr ""
|
||||
"Pro favor responde al demanda(s) sequente con attention pro obtener un "
|
||||
"normalisation correcte."
|
||||
|
||||
#: libraries/normalization.lib.php:331
|
||||
msgid "+ Show me the possible partial dependencies based on data in the table"
|
||||
msgstr ""
|
||||
"+ Monstra me le possibile dependentias partial basate sur le datos in le "
|
||||
"tabella"
|
||||
|
||||
#: libraries/normalization.lib.php:335
|
||||
msgid ""
|
||||
@ -9444,6 +9456,9 @@ msgid ""
|
||||
"given set whose values combined together are sufficient to determine the "
|
||||
"value of the column."
|
||||
msgstr ""
|
||||
"Pro cata columna a basso, pro favor selige le <b>minime insimul</b> de "
|
||||
"columnas inter le insimul date le cuje valores, combinate conjunctemente, es "
|
||||
"sufficiente per determinar le valor del columna."
|
||||
|
||||
#: libraries/normalization.lib.php:345 libraries/normalization.lib.php:730
|
||||
#, php-format
|
||||
@ -9456,6 +9471,8 @@ msgid ""
|
||||
"No partial dependencies possible as the primary key ( %1$s ) has just one "
|
||||
"column."
|
||||
msgstr ""
|
||||
"Necun dependentia partial es possibile proque le clave primari ( %1$s ) ha "
|
||||
"solmente un columna."
|
||||
|
||||
#: libraries/normalization.lib.php:381
|
||||
#, php-format
|
||||
@ -9463,6 +9480,8 @@ msgid ""
|
||||
"In order to put the original table '%1$s' into Second normal form we need to "
|
||||
"create the following tables:"
|
||||
msgstr ""
|
||||
"Pro poner le tabella original '%1$s' in le Secunde forma normal on "
|
||||
"necessita crear le tabellas sequente:"
|
||||
|
||||
#: libraries/normalization.lib.php:417
|
||||
#, php-format
|
||||
@ -9480,6 +9499,8 @@ msgid ""
|
||||
"In order to put the original table '%1$s' into Third normal form we need to "
|
||||
"create the following tables:"
|
||||
msgstr ""
|
||||
"Pro poner le tabella original '%1$s' in le Tertie forma normal on necessita "
|
||||
"crear le tabellas sequente:"
|
||||
|
||||
#: libraries/normalization.lib.php:548
|
||||
msgid "The third step of normalization is complete."
|
||||
@ -9488,7 +9509,7 @@ msgstr "Le tertie passo pro normalisar es complete."
|
||||
#: libraries/normalization.lib.php:642
|
||||
#, php-format
|
||||
msgid "Selected repeating group has been moved to the table '%s'"
|
||||
msgstr ""
|
||||
msgstr "Le gruppo repetente seligite ha essite movite al tabella '%s'"
|
||||
|
||||
#: libraries/normalization.lib.php:689
|
||||
msgid "Step 3."
|
||||
|
||||
64
po/nl.po
64
po/nl.po
@ -4,14 +4,14 @@ msgstr ""
|
||||
"Project-Id-Version: phpMyAdmin 4.4.6-dev\n"
|
||||
"Report-Msgid-Bugs-To: phpmyadmin-devel@lists.sourceforge.net\n"
|
||||
"POT-Creation-Date: 2015-05-05 15:46-0400\n"
|
||||
"PO-Revision-Date: 2015-04-12 00:30+0200\n"
|
||||
"PO-Revision-Date: 2015-05-06 21:07+0200\n"
|
||||
"Last-Translator: dingo thirteen <dingo13@gmail.com>\n"
|
||||
"Language-Team: Dutch <https://hosted.weblate.org/projects/phpmyadmin/4-4/nl/"
|
||||
">\n"
|
||||
"Language-Team: Dutch <https://hosted.weblate.org/projects/phpmyadmin/4-4/nl/>"
|
||||
"\n"
|
||||
"Language: nl\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Language: nl\n"
|
||||
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
||||
"X-Generator: Weblate 2.3-dev\n"
|
||||
|
||||
@ -5954,7 +5954,6 @@ msgid "Page titles"
|
||||
msgstr "Paginatitels"
|
||||
|
||||
#: libraries/config/messages.inc.php:251
|
||||
#, fuzzy
|
||||
#| msgid ""
|
||||
#| "Specify browser's title bar text. Refer to [doc@cfg_TitleTable]"
|
||||
#| "documentation[/doc] for magic strings that can be used to get special "
|
||||
@ -5963,8 +5962,8 @@ msgid ""
|
||||
"Specify browser's title bar text. Refer to [doc@faq6-27]documentation[/doc] "
|
||||
"for magic strings that can be used to get special values."
|
||||
msgstr ""
|
||||
"Browser titel balk tekst. Zie [doc@cfg_TitleTable]documentatie[/doc] voor "
|
||||
"bruikbare codes."
|
||||
"Specificeer de browser titelbalk tekst. Zie [doc@faq6-27]documentatie[/doc] "
|
||||
"voor tekenreeksen die voor speciale tekens gebruikt kunnen worden."
|
||||
|
||||
#: libraries/config/messages.inc.php:255
|
||||
msgid "Query window"
|
||||
@ -6477,7 +6476,6 @@ msgid "Minimum number of databases to display the database filter box"
|
||||
msgstr "Minimale aantal databases waarbij een filterveld wordt getoond"
|
||||
|
||||
#: libraries/config/messages.inc.php:456
|
||||
#, fuzzy
|
||||
#| msgid ""
|
||||
#| "Group items in the navigation tree (determined by the separator defined "
|
||||
#| "below)."
|
||||
@ -6485,8 +6483,8 @@ msgid ""
|
||||
"Group items in the navigation tree (determined by the separator defined in "
|
||||
"the Databases and Tables tabs above)."
|
||||
msgstr ""
|
||||
"Groepeer elementen in een boomstructuur (scheidingsteken zoals hieronder "
|
||||
"aangegeven)."
|
||||
"Groepeer elementen in een boomstructuur (scheidingsteken zoals gedefinieerd "
|
||||
"in de Databases en Tabellen tabs hier boven)."
|
||||
|
||||
#: libraries/config/messages.inc.php:458
|
||||
msgid "Group items in the tree"
|
||||
@ -15009,23 +15007,24 @@ msgstr ""
|
||||
"De MySQL-handleiding is enkel van toepassing op officiële MySQL-versies."
|
||||
|
||||
#: libraries/advisory_rules.txt:132
|
||||
#, fuzzy
|
||||
#| msgid "Percona documentation is at http://www.percona.com/docs/wiki/"
|
||||
msgid ""
|
||||
"Percona documentation is at http://www.percona.com/software/documentation/"
|
||||
msgstr ""
|
||||
"Percona-documentatie kan gevonden worden op http://www.percona.com/docs/wiki/"
|
||||
"Percona documentatie kan gevonden worden op "
|
||||
"http://www.percona.com/software/documentation/"
|
||||
|
||||
#: libraries/advisory_rules.txt:133
|
||||
msgid "'percona' found in version_comment"
|
||||
msgstr "'percona' werd gevonden in version_comment"
|
||||
|
||||
#: libraries/advisory_rules.txt:139
|
||||
#, fuzzy
|
||||
#| msgid "Drizzle documentation is at http://docs.drizzle.org/"
|
||||
msgid ""
|
||||
"Drizzle documentation is at http://www.drizzle.org/content/documentation/"
|
||||
msgstr "Drizzle-documentatie kan gevonden worden op http://docs.drizzle.org/"
|
||||
msgstr ""
|
||||
"Drizzle-documentatie kan gevonden worden op "
|
||||
"http://www.drizzle.org/content/documentation/"
|
||||
|
||||
#: libraries/advisory_rules.txt:140
|
||||
#, php-format
|
||||
@ -15853,7 +15852,6 @@ msgid "Too many connections are aborted."
|
||||
msgstr "Te veel verbindingen werden afgebroken."
|
||||
|
||||
#: libraries/advisory_rules.txt:403 libraries/advisory_rules.txt:410
|
||||
#, fuzzy
|
||||
#| msgid ""
|
||||
#| "Connections are usually aborted when they cannot be authorized. <a href="
|
||||
#| "\"http://www.mysqlperformanceblog.com/2008/08/23/how-to-track-down-the-"
|
||||
@ -15864,10 +15862,10 @@ msgid ""
|
||||
"\"http://www.percona.com/blog/2008/08/23/how-to-track-down-the-source-of-"
|
||||
"aborted_connects/\">This article</a> might help you track down the source."
|
||||
msgstr ""
|
||||
"Verbindingen worden meestal afgebroken wanneer deze niet toegelaten zijn. <a "
|
||||
"href=\"http://www.mysqlperformanceblog.com/2008/08/23/how-to-track-down-the-"
|
||||
"source-of-aborted_connects/\">Dit artikel</a> kan u helpen om de oorzaak te "
|
||||
"vinden."
|
||||
"Verbindingen worden meestal afgebroken wanneer deze niet geautoriseerd "
|
||||
"kunnen worden. <a href=\"http://www.percona.com/blog/2008/08/23/how-to-"
|
||||
"track-down-the-source-of-aborted_connects/\">Dit artikel</a> kan u helpen om "
|
||||
"de oorzaak te vinden."
|
||||
|
||||
#: libraries/advisory_rules.txt:404
|
||||
#, php-format
|
||||
@ -15996,7 +15994,7 @@ msgid "The InnoDB log file size is inadequately large."
|
||||
msgstr "Het InnoDB-logboek is veel te groot."
|
||||
|
||||
#: libraries/advisory_rules.txt:447
|
||||
#, fuzzy, php-format
|
||||
#, php-format
|
||||
#| msgid ""
|
||||
#| "It is usually sufficient to set {innodb_log_file_size} to 25%% of the "
|
||||
#| "size of {innodb_buffer_pool_size}. A very big {innodb_log_file_size} "
|
||||
@ -16020,15 +16018,15 @@ msgid ""
|
||||
msgstr ""
|
||||
"Doorgaans is het voldoende om {innodb_log_file_size} in te stellen op 25%% "
|
||||
"van {innodb_buffer_pool_size}. \n"
|
||||
"Een grote {innodb_log_file_size} verlengt de hersteltijd na een database-"
|
||||
"crash enorm. Bekijk ook <a href=\"http://www.mysqlperformanceblog."
|
||||
"com/2006/07/03/choosing-proper-innodb_log_file_size/\">dit artikel</a>.\n"
|
||||
"De server moet uitgeschakeld worden, de InnoDB-logbestanden moeten worden "
|
||||
"verwijderd, de nieuwe waarde moet worden ingesteld in my.cnf, de server "
|
||||
"herstart en dan moeten de foutenlogboeken bekeken worden om te zien of alles "
|
||||
"goed gegaan is. Bekijk ook <a href=\"http://mysqldatabaseadministration."
|
||||
"blogspot.com/2007/01/increase-innodblogfilesize-proper-way.html\">deze blog</"
|
||||
"a>"
|
||||
"Een zeer grote {innodb_log_file_size} verlengt de hersteltijd na een "
|
||||
"database-crash enorm. Bekijk ook <a href=\""
|
||||
"http://www.percona.com/blog/2006/07/03/choosing-proper-innodb_log_file_size/"
|
||||
"\">dit artikel</a>.\n"
|
||||
"De server moet uitgeschakeld worden, verwijder de InnoDB-logbestanden, stel "
|
||||
"de nieuwe waarde in my.cnf, herstart de server en controleer dan de "
|
||||
"foutenlogboeken om te zien of alles goed gegaan is. Bekijk ook <a href=\""
|
||||
"http://mysqldatabaseadministration.blogspot.com/2007/01/increase-"
|
||||
"innodblogfilesize-proper-way.html\">deze blog</a>"
|
||||
|
||||
#: libraries/advisory_rules.txt:448
|
||||
#, php-format
|
||||
@ -16044,7 +16042,7 @@ msgid "Your InnoDB buffer pool is fairly small."
|
||||
msgstr "Uw InnoDB-bufferpool is betrekkelijk klein."
|
||||
|
||||
#: libraries/advisory_rules.txt:454
|
||||
#, fuzzy, php-format
|
||||
#, php-format
|
||||
#| msgid ""
|
||||
#| "The InnoDB buffer pool has a profound impact on performance for InnoDB "
|
||||
#| "tables. Assign all your remaining memory to this buffer. For database "
|
||||
@ -16076,9 +16074,9 @@ msgstr ""
|
||||
"zorgvuldig het geheugengebruik van de andere diensten en niet-InnoDB-"
|
||||
"tabellen inschatten en deze waarde gepast instellen. Als deze te hoog wordt "
|
||||
"ingesteld, kan het systeem swapgeheugen gaan gebruiken, waardoor de "
|
||||
"prestaties sterk verminderd worden. Bekijk ook <a href=\"http://www."
|
||||
"mysqlperformanceblog.com/2007/11/03/choosing-innodb_buffer_pool_size/\">dit "
|
||||
"artikel</a>"
|
||||
"prestaties sterk verminderd worden. Zie ook <a href=\""
|
||||
"http://www.percona.com/blog/2007/11/03/choosing-innodb_buffer_pool_size/\">"
|
||||
"this article</a>"
|
||||
|
||||
#: libraries/advisory_rules.txt:455
|
||||
#, php-format
|
||||
|
||||
57
po/tr.po
57
po/tr.po
@ -4,14 +4,14 @@ msgstr ""
|
||||
"Project-Id-Version: phpMyAdmin 4.4.6-dev\n"
|
||||
"Report-Msgid-Bugs-To: phpmyadmin-devel@lists.sourceforge.net\n"
|
||||
"POT-Creation-Date: 2015-05-05 15:46-0400\n"
|
||||
"PO-Revision-Date: 2015-04-30 21:13+0200\n"
|
||||
"PO-Revision-Date: 2015-05-06 09:26+0200\n"
|
||||
"Last-Translator: Burak Yavuz <hitowerdigit@hotmail.com>\n"
|
||||
"Language-Team: Turkish <https://hosted.weblate.org/projects/phpmyadmin/4-4/"
|
||||
"tr/>\n"
|
||||
"Language-Team: Turkish "
|
||||
"<https://hosted.weblate.org/projects/phpmyadmin/4-4/tr/>\n"
|
||||
"Language: tr\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Language: tr\n"
|
||||
"Plural-Forms: nplurals=2; plural=n > 1;\n"
|
||||
"X-Generator: Weblate 2.3-dev\n"
|
||||
|
||||
@ -5920,7 +5920,6 @@ msgid "Page titles"
|
||||
msgstr "Sayfa başlığı"
|
||||
|
||||
#: libraries/config/messages.inc.php:251
|
||||
#, fuzzy
|
||||
#| msgid ""
|
||||
#| "Specify browser's title bar text. Refer to [doc@cfg_TitleTable]"
|
||||
#| "documentation[/doc] for magic strings that can be used to get special "
|
||||
@ -5930,8 +5929,7 @@ msgid ""
|
||||
"for magic strings that can be used to get special values."
|
||||
msgstr ""
|
||||
"Tarayıcının başlık çubuğu metnini belirler. Özel değerleri almakta "
|
||||
"kullanılabilecek sihirli dizgiler için [doc@cfg_TitleTable]belgeden[/doc] "
|
||||
"yararlanın."
|
||||
"kullanılabilen sihirli dizgiler için [doc@faq6-27]belgeden[/doc] yararlanın."
|
||||
|
||||
#: libraries/config/messages.inc.php:255
|
||||
msgid "Query window"
|
||||
@ -6444,7 +6442,6 @@ msgstr ""
|
||||
"Veritabanı süzgeci kutusunu görüntülemek için en az veritabanı sayısıdır"
|
||||
|
||||
#: libraries/config/messages.inc.php:456
|
||||
#, fuzzy
|
||||
#| msgid ""
|
||||
#| "Group items in the navigation tree (determined by the separator defined "
|
||||
#| "below)."
|
||||
@ -6452,8 +6449,8 @@ msgid ""
|
||||
"Group items in the navigation tree (determined by the separator defined in "
|
||||
"the Databases and Tables tabs above)."
|
||||
msgstr ""
|
||||
"Gezinti ağacındaki öğeleri gruplar (aşağıda tanımlanan ayıraç tarafından "
|
||||
"belirlenir)."
|
||||
"Gezinti ağacındaki öğeleri gruplar (Veritabanları ve Tablolar sekmeleri ve "
|
||||
"üzerinde tanımlanan ayıraç tarafından belirlenir)."
|
||||
|
||||
#: libraries/config/messages.inc.php:458
|
||||
msgid "Group items in the tree"
|
||||
@ -14876,22 +14873,22 @@ msgid "The MySQL manual only is accurate for official MySQL binaries."
|
||||
msgstr "MySQL kılavuzu sadece resmi MySQL binarileri için doğrudur."
|
||||
|
||||
#: libraries/advisory_rules.txt:132
|
||||
#, fuzzy
|
||||
#| msgid "Percona documentation is at http://www.percona.com/docs/wiki/"
|
||||
msgid ""
|
||||
"Percona documentation is at http://www.percona.com/software/documentation/"
|
||||
msgstr "Percona belgesi http://www.percona.com/docs/wiki/ adresinde"
|
||||
msgstr ""
|
||||
"Percona belgeleri http://www.percona.com/software/documentation/ adresinde"
|
||||
|
||||
#: libraries/advisory_rules.txt:133
|
||||
msgid "'percona' found in version_comment"
|
||||
msgstr "'percona', version_comment içinde bulundu"
|
||||
|
||||
#: libraries/advisory_rules.txt:139
|
||||
#, fuzzy
|
||||
#| msgid "Drizzle documentation is at http://docs.drizzle.org/"
|
||||
msgid ""
|
||||
"Drizzle documentation is at http://www.drizzle.org/content/documentation/"
|
||||
msgstr "Drizzle belgesi http://docs.drizzle.org/ adresinde"
|
||||
msgstr ""
|
||||
"Drizzle belgeleri http://www.drizzle.org/content/documentation/ adresinde"
|
||||
|
||||
#: libraries/advisory_rules.txt:140
|
||||
#, php-format
|
||||
@ -15690,7 +15687,6 @@ msgid "Too many connections are aborted."
|
||||
msgstr "Çok fazla bağlantı durduruldu."
|
||||
|
||||
#: libraries/advisory_rules.txt:403 libraries/advisory_rules.txt:410
|
||||
#, fuzzy
|
||||
#| msgid ""
|
||||
#| "Connections are usually aborted when they cannot be authorized. <a href="
|
||||
#| "\"http://www.mysqlperformanceblog.com/2008/08/23/how-to-track-down-the-"
|
||||
@ -15701,10 +15697,9 @@ msgid ""
|
||||
"\"http://www.percona.com/blog/2008/08/23/how-to-track-down-the-source-of-"
|
||||
"aborted_connects/\">This article</a> might help you track down the source."
|
||||
msgstr ""
|
||||
"Bağlantılar genellikle izin verilmediklerinde durdurulurlar. <a href="
|
||||
"\"http://www.mysqlperformanceblog.com/2008/08/23/how-to-track-down-the-"
|
||||
"source-of-aborted_connects/\">Bu makale</a> kaynağın izini aramakta yardımcı "
|
||||
"olabilir."
|
||||
"Bağlantılar genellikle izin verilmediklerinde durdurulurlar. <a href=\""
|
||||
"http://www.percona.com/blog/2008/08/23/how-to-track-down-the-source-of-"
|
||||
"aborted_connects/\">Bu makale</a> kaynağın izini aramakta yardımcı olabilir."
|
||||
|
||||
#: libraries/advisory_rules.txt:404
|
||||
#, php-format
|
||||
@ -15827,7 +15822,7 @@ msgid "The InnoDB log file size is inadequately large."
|
||||
msgstr "InnoDB günlük dosyası boyutu yetersiz şekilde büyük."
|
||||
|
||||
#: libraries/advisory_rules.txt:447
|
||||
#, fuzzy, php-format
|
||||
#, php-format
|
||||
#| msgid ""
|
||||
#| "It is usually sufficient to set {innodb_log_file_size} to 25%% of the "
|
||||
#| "size of {innodb_buffer_pool_size}. A very big {innodb_log_file_size} "
|
||||
@ -15852,12 +15847,12 @@ msgstr ""
|
||||
"Genellikle {innodb_log_file_size} değerini {innodb_buffer_pool_size} "
|
||||
"boyutunun %%25'ine ayarlamak yeterlidir. Çok büyük innodb_log_file_size, "
|
||||
"veritabanı çökmesinden sonra kurtarma zamanını oldukça yavaşlatır. Aynı "
|
||||
"zamanda <a href=\"http://www.mysqlperformanceblog.com/2006/07/03/choosing-"
|
||||
"proper-innodb_log_file_size/\">bu Makaleye</a> bakın. Sunucuyu kapatmanız, "
|
||||
"InnoDB günlük dosyalarını kaldırmanız, my.cnf içindeki yeni değeri "
|
||||
"ayarlamanız, sunucuyu başlatmanız gerekir, ondan sonra herşeyin iyi "
|
||||
"gittiğini anlamak için hata günlüklerini kontrol etmelisiniz. Aynı zamanda "
|
||||
"<a href=\"http://mysqldatabaseadministration.blogspot.com/2007/01/increase-"
|
||||
"zamanda <a href=\"http://www.percona.com/blog/2006/07/03/choosing-proper-"
|
||||
"innodb_log_file_size/\">bu Makaleye</a> bakın. Sunucuyu kapatmanız, InnoDB "
|
||||
"günlük dosyalarını kaldırmanız, my.cnf içindeki yeni değeri ayarlamanız, "
|
||||
"sunucuyu başlatmanız gerekir, ondan sonra herşeyin iyi gittiğini anlamak "
|
||||
"için hata günlüklerini kontrol etmelisiniz. Aynı zamanda <a href=\""
|
||||
"http://mysqldatabaseadministration.blogspot.com/2007/01/increase-"
|
||||
"innodblogfilesize-proper-way.html\">bu blog girişine</a> bakın"
|
||||
|
||||
#: libraries/advisory_rules.txt:448
|
||||
@ -15874,7 +15869,7 @@ msgid "Your InnoDB buffer pool is fairly small."
|
||||
msgstr "InnoD arabellek havuzunuz oldukça küçük."
|
||||
|
||||
#: libraries/advisory_rules.txt:454
|
||||
#, fuzzy, php-format
|
||||
#, php-format
|
||||
#| msgid ""
|
||||
#| "The InnoDB buffer pool has a profound impact on performance for InnoDB "
|
||||
#| "tables. Assign all your remaining memory to this buffer. For database "
|
||||
@ -15900,14 +15895,14 @@ msgid ""
|
||||
msgstr ""
|
||||
"InnoDB arabellek havuzu InnoDB tabloları için performansta derin etki yapar. "
|
||||
"Tüm kalan belleğinizi bu arabelleğe atayın. Veritabanı sunucuları için "
|
||||
"depolama motoru olarak sadece InnoDB kullanın ve başka çalışan hizmetler "
|
||||
"(örn. web sunucusu) olmasın, bunu kullanılabilir belleğin %%80'nine kadar "
|
||||
"depolama motoru olarak sadece InnoDB kullanın ve başka çalışan hizmetler ("
|
||||
"örn. web sunucusu) olmasın, bunu kullanılabilir belleğin %%80'nine kadar "
|
||||
"ayarlayabilirsiniz. Eğer durum bu değilse, diğer hizmetlerinizin ve InnoDB-"
|
||||
"Tabloları olmayanların bellek tüketimini dikkatlice değerlendirmeniz ve "
|
||||
"dolayısıyla bu değişkeni ayarlamanız gerekir. Eğer çok yükseğe ayarlanırsa, "
|
||||
"sisteminiz önemli derecede performansı düşüren değiş tokuşa başlayacaktır. "
|
||||
"Aynı zamanda <a href=\"http://www.mysqlperformanceblog.com/2007/11/03/"
|
||||
"choosing-innodb_buffer_pool_size/\">bu makaleye</a> bakın"
|
||||
"Aynı zamanda <a href=\"http://www.percona.com/blog/2007/11/03/choosing-"
|
||||
"innodb_buffer_pool_size/\">bu makaleye</a> bakın"
|
||||
|
||||
#: libraries/advisory_rules.txt:455
|
||||
#, php-format
|
||||
|
||||
@ -131,8 +131,8 @@ class PMA_Normalization_Test extends PHPUnit_Framework_TestCase
|
||||
$table= "PMA_table";
|
||||
$num_fields = 1;
|
||||
$result = PMA_getHtmlForCreateNewColumn($num_fields, $db, $table);
|
||||
$this->assertTag(
|
||||
array('tag' => 'table',"id"=>'table_columns'),
|
||||
$this->assertContains(
|
||||
'<table id="table_columns"',
|
||||
$result
|
||||
);
|
||||
}
|
||||
@ -153,20 +153,27 @@ class PMA_Normalization_Test extends PHPUnit_Framework_TestCase
|
||||
. __('First step of normalization (1NF)') . "</h3>",
|
||||
$result
|
||||
);
|
||||
$this->assertTag(
|
||||
array('tag'=>'div', 'id'=>'mainContent','descendant' => array(
|
||||
'tag' => 'fieldset',
|
||||
'child' => array(
|
||||
'id' => 'extra',
|
||||
'id' => 'newCols'
|
||||
),
|
||||
)
|
||||
),
|
||||
$this->assertContains(
|
||||
"<div id='mainContent'",
|
||||
$result
|
||||
);
|
||||
$this->assertContains("<legend>" . __('Step 1.'), $result);
|
||||
$this->assertTag(array('tag'=>'h4','tag'=>"p"), $result);
|
||||
$this->assertTag(array('tag'=>'select','id'=>"selectNonAtomicCol"), $result);
|
||||
|
||||
$this->assertContains(
|
||||
'<h4',
|
||||
$result
|
||||
);
|
||||
|
||||
$this->assertContains(
|
||||
'<p',
|
||||
$result
|
||||
);
|
||||
|
||||
$this->assertContains(
|
||||
"<select id='selectNonAtomicCol'",
|
||||
$result
|
||||
);
|
||||
|
||||
$this->assertContains(
|
||||
PMA_getHtmlForColumnsList(
|
||||
$db, $table, _pgettext('string types', 'String')
|
||||
@ -191,10 +198,14 @@ class PMA_Normalization_Test extends PHPUnit_Framework_TestCase
|
||||
$this->assertArrayHasKey('subText', $result);
|
||||
$this->assertArrayHasKey('hasPrimaryKey', $result);
|
||||
$this->assertArrayHasKey('extra', $result);
|
||||
$this->assertTag(
|
||||
array('tag'=>'a', 'id'=>'createPrimaryKey'), $result['subText']
|
||||
$this->assertContains(
|
||||
'<a href="#" id="createPrimaryKey">',
|
||||
$result['subText']
|
||||
);
|
||||
$this->assertContains(
|
||||
'<a href="#" id="addNewPrimary">',
|
||||
$result['extra']
|
||||
);
|
||||
$this->assertTag(array('tag'=>'a', 'id'=>'addNewPrimary'), $result['extra']);
|
||||
$this->assertEquals('0', $result['hasPrimaryKey']);
|
||||
$this->assertContains(__('Step 1.') . 2, $result['legendText']);
|
||||
$result1 = PMA_getHtmlContentsFor1NFStep2($db, 'PMA_table');
|
||||
@ -221,8 +232,9 @@ class PMA_Normalization_Test extends PHPUnit_Framework_TestCase
|
||||
PMA_getHtmlForColumnsList($db, $table, 'all', "checkbox"),
|
||||
$result['extra']
|
||||
);
|
||||
$this->assertTag(
|
||||
array('tag'=>'input', 'id'=>'removeRedundant'), $result['extra']
|
||||
$this->assertContains(
|
||||
'<input type="submit" id="removeRedundant"',
|
||||
$result['extra']
|
||||
);
|
||||
}
|
||||
|
||||
@ -247,8 +259,9 @@ class PMA_Normalization_Test extends PHPUnit_Framework_TestCase
|
||||
PMA_getHtmlForColumnsList($db, $table, 'all', "checkbox"),
|
||||
$result['extra']
|
||||
);
|
||||
$this->assertTag(
|
||||
array('tag'=>'input', 'id'=>'moveRepeatingGroup'), $result['extra']
|
||||
$this->assertContains(
|
||||
'<input type="submit" id="moveRepeatingGroup"',
|
||||
$result['extra']
|
||||
);
|
||||
$this->assertEquals(json_encode(array('id')), $result['primary_key']);
|
||||
}
|
||||
@ -273,14 +286,13 @@ class PMA_Normalization_Test extends PHPUnit_Framework_TestCase
|
||||
$this->assertEquals('id', $result['primary_key']);
|
||||
$result1 = PMA_getHtmlFor2NFstep1($db, "PMA_table2");
|
||||
$this->assertEquals('id, col1', $result1['primary_key']);
|
||||
$this->assertTag(
|
||||
array('tag'=>'a', 'id'=>'showPossiblePd'), $result1['headText']
|
||||
$this->assertContains(
|
||||
'<a href="#" id="showPossiblePd"',
|
||||
$result1['headText']
|
||||
);
|
||||
$this->assertTag(
|
||||
array(
|
||||
'tag'=>'input',
|
||||
'attributes'=>array('value'=>'id', 'type'=>'checkbox')
|
||||
), $result1['extra']
|
||||
$this->assertContains(
|
||||
'<input type="checkbox" name="pd" value="id"',
|
||||
$result1['extra']
|
||||
);
|
||||
}
|
||||
|
||||
@ -294,8 +306,9 @@ class PMA_Normalization_Test extends PHPUnit_Framework_TestCase
|
||||
$table= "PMA_table";
|
||||
$partialDependencies = array('col1'=>array('col2'));
|
||||
$result = PMA_getHtmlForNewTables2NF($partialDependencies, $table);
|
||||
$this->assertTag(
|
||||
array('tag'=>'input', 'attributes'=>array('name'=>'col1')), $result
|
||||
$this->assertContains(
|
||||
'<input type="text" name="col1"',
|
||||
$result
|
||||
);
|
||||
}
|
||||
|
||||
@ -350,10 +363,9 @@ class PMA_Normalization_Test extends PHPUnit_Framework_TestCase
|
||||
$dependencies->PMA_table = array('col4', 'col5');
|
||||
$result1 = PMA_getHtmlForNewTables3NF($dependencies, $tables, $db);
|
||||
$this->assertInternalType('array', $result1);
|
||||
$this->assertTag(
|
||||
array(
|
||||
'tag'=>'input', 'attributes'=>array('name'=>'PMA_table')
|
||||
), $result1['html']
|
||||
$this->assertContains(
|
||||
'<input type="text" name="PMA_table"',
|
||||
$result1['html']
|
||||
);
|
||||
$this->assertEquals(
|
||||
array(
|
||||
@ -442,16 +454,13 @@ class PMA_Normalization_Test extends PHPUnit_Framework_TestCase
|
||||
$this->assertArrayHasKey('subText', $result);
|
||||
$this->assertArrayHasKey('extra', $result);
|
||||
$this->assertContains(__('Step 3.') . 1, $result['legendText']);
|
||||
$this->assertTag(
|
||||
array(
|
||||
'tag'=>'form'
|
||||
), $result['extra']
|
||||
$this->assertContains(
|
||||
'<form',
|
||||
$result['extra']
|
||||
);
|
||||
$this->assertTag(
|
||||
array(
|
||||
'tag'=>'input',
|
||||
'attributes'=>array('value'=>'col1', 'type'=>'checkbox')
|
||||
), $result['extra']
|
||||
$this->assertContains(
|
||||
'<input type="checkbox" name="pd" value="col1"',
|
||||
$result['extra']
|
||||
);
|
||||
$result1 = PMA_getHtmlFor3NFstep1($db, array("PMA_table2"));
|
||||
$this->assertEquals(
|
||||
@ -467,13 +476,10 @@ class PMA_Normalization_Test extends PHPUnit_Framework_TestCase
|
||||
public function testPMAGetHtmlForNormalizetable()
|
||||
{
|
||||
$result = PMA_getHtmlForNormalizetable();
|
||||
$this->assertTag(
|
||||
array(
|
||||
'tag'=>'form',
|
||||
'attributes'=>array(
|
||||
'action'=>'normalization.php', 'id'=>'normalizeTable'
|
||||
)
|
||||
), $result
|
||||
$this->assertContains(
|
||||
'<form method="post" action="normalization.php"'
|
||||
. ' name="normalize" id="normalizeTable"',
|
||||
$result
|
||||
);
|
||||
$this->assertContains(
|
||||
'<input type="hidden" name="step1" value="1">', $result
|
||||
@ -499,8 +505,8 @@ class PMA_Normalization_Test extends PHPUnit_Framework_TestCase
|
||||
$table= "PMA_table2";
|
||||
$db = 'PMA_db';
|
||||
$result = PMA_findPartialDependencies($table, $db);
|
||||
$this->assertTag(
|
||||
array('tag'=>'div','attributes'=>array('class'=>'dependencies_box')),
|
||||
$this->assertContains(
|
||||
'<div class="dependencies_box"',
|
||||
$result
|
||||
);
|
||||
$this->assertContains(__('No partial dependencies found!'), $result);
|
||||
@ -520,4 +526,4 @@ class PMA_Normalization_Test extends PHPUnit_Framework_TestCase
|
||||
$result
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -2106,20 +2106,22 @@ class PMA_ServerPrivileges_Test extends PHPUnit_Framework_TestCase
|
||||
$this->assertEquals($exp_found_rows, $actual[0]);
|
||||
$this->assertContains('Edit Privileges', $actual[1]);
|
||||
$this->assertContains('Revoke', $actual[1]);
|
||||
$this->assertTag(PMA_getTagArray('<tr class="odd">'), $actual[1]);
|
||||
$this->assertTag(
|
||||
PMA_getTagArray('<dfn title="No privileges.">USAGE</dfn>'), $actual[1]
|
||||
$this->assertContains(
|
||||
'<tr class="odd">',
|
||||
$actual[1]
|
||||
);
|
||||
$this->assertTag(
|
||||
PMA_getTagArray(
|
||||
'<img src="imageb_usredit.png" title="Edit Privileges" '
|
||||
. 'alt="Edit Privileges" />'
|
||||
), $actual[1]
|
||||
$this->assertContains(
|
||||
'<dfn title="No privileges.">USAGE</dfn>',
|
||||
$actual[1]
|
||||
);
|
||||
$this->assertTag(
|
||||
PMA_getTagArray(
|
||||
'<img src="imageb_usrdrop.png" title="Revoke" alt="Revoke" />'
|
||||
), $actual[1]
|
||||
$this->assertContains(
|
||||
'<img src="imageb_usredit.png" title="Edit Privileges" '
|
||||
. 'alt="Edit Privileges" />',
|
||||
$actual[1]
|
||||
);
|
||||
$this->assertContains(
|
||||
'<img src="imageb_usrdrop.png" title="Revoke" alt="Revoke" />',
|
||||
$actual[1]
|
||||
);
|
||||
|
||||
// Test case 2
|
||||
@ -2146,19 +2148,17 @@ class PMA_ServerPrivileges_Test extends PHPUnit_Framework_TestCase
|
||||
$actual = PMA_getHtmlForAllTableSpecificRights('pma', 'host', 'pmadb');
|
||||
$this->assertArrayHasKey(0, $actual);
|
||||
$this->assertArrayHasKey(1, $actual);
|
||||
$this->assertTag(
|
||||
PMA_getTagArray('<input type="hidden" name="username" value="pma" />'),
|
||||
$this->assertContains(
|
||||
'<input type="hidden" name="username" value="pma" />',
|
||||
$actual[0]
|
||||
);
|
||||
$this->assertTag(
|
||||
PMA_getTagArray('<input type="hidden" name="hostname" value="host" />'),
|
||||
$this->assertContains(
|
||||
'<input type="hidden" name="hostname" value="host" />',
|
||||
$actual[0]
|
||||
);
|
||||
$this->assertTag(
|
||||
PMA_getTagArray(
|
||||
'<legend data-submenu-label="Table">',
|
||||
array('content' => 'Table-specific privileges')
|
||||
),
|
||||
$this->assertContains(
|
||||
'<legend data-submenu-label="Table">'
|
||||
. 'Table-specific privileges',
|
||||
$actual[0]
|
||||
);
|
||||
$this->assertEquals(array(), $actual[1]);
|
||||
@ -2167,11 +2167,9 @@ class PMA_ServerPrivileges_Test extends PHPUnit_Framework_TestCase
|
||||
$actual = PMA_getHtmlForAllTableSpecificRights('pma2', 'host2', '');
|
||||
$this->assertArrayHasKey(0, $actual);
|
||||
$this->assertArrayHasKey(1, $actual);
|
||||
$this->assertTag(
|
||||
PMA_getTagArray(
|
||||
'<legend data-submenu-label="Database">',
|
||||
array('content' => 'Database-specific privileges')
|
||||
),
|
||||
$this->assertContains(
|
||||
'<legend data-submenu-label="Database">'
|
||||
. 'Database-specific privileges',
|
||||
$actual[0]
|
||||
);
|
||||
}
|
||||
@ -2190,33 +2188,27 @@ class PMA_ServerPrivileges_Test extends PHPUnit_Framework_TestCase
|
||||
'mysql'
|
||||
);
|
||||
$actual = PMA_getHtmlForSelectDbInEditPrivs(array('pmadb'));
|
||||
$this->assertTag(
|
||||
PMA_getTagArray(
|
||||
'<label for="text_dbname">',
|
||||
array('content' => 'Add privileges on the following database(s):')
|
||||
),
|
||||
$this->assertContains(
|
||||
'<label for="text_dbname">'
|
||||
. 'Add privileges on the following database(s):',
|
||||
$actual
|
||||
);
|
||||
$this->assertTag(
|
||||
PMA_getTagArray('<select name="pred_dbname[]" multiple="multiple">'),
|
||||
$this->assertContains(
|
||||
'<select name="pred_dbname[]" multiple="multiple">',
|
||||
$actual
|
||||
);
|
||||
$this->assertTag(
|
||||
PMA_getTagArray(
|
||||
'<option value="testdb">',
|
||||
array('content' => 'testdb')
|
||||
),
|
||||
$this->assertContains(
|
||||
'<option value="testdb">'
|
||||
. 'testdb',
|
||||
$actual
|
||||
);
|
||||
$this->assertTag(
|
||||
PMA_getTagArray(
|
||||
'<option value="mysql">',
|
||||
array('content' => 'mysql')
|
||||
),
|
||||
$this->assertContains(
|
||||
'<option value="mysql">'
|
||||
. 'mysql',
|
||||
$actual
|
||||
);
|
||||
$this->assertTag(
|
||||
PMA_getTagArray('<input type="text" id="text_dbname" name="dbname" />'),
|
||||
$this->assertContains(
|
||||
'<input type="text" id="text_dbname" name="dbname" />',
|
||||
$actual
|
||||
);
|
||||
$this->assertContains(
|
||||
@ -2238,35 +2230,28 @@ class PMA_ServerPrivileges_Test extends PHPUnit_Framework_TestCase
|
||||
|
||||
// Test case 1
|
||||
$actual = PMA_displayTablesInEditPrivs('testdb', array());
|
||||
$this->assertTag(
|
||||
PMA_getTagArray('<input type="hidden" name="dbname" value="testdb"/>'),
|
||||
$this->assertContains(
|
||||
'<input type="hidden" name="dbname"',
|
||||
$actual
|
||||
);
|
||||
$this->assertTag(
|
||||
PMA_getTagArray(
|
||||
'<label for="text_tablename">',
|
||||
array('content' => 'Add privileges on the following table:')
|
||||
),
|
||||
$this->assertContains(
|
||||
'<label for="text_tablename">'
|
||||
. 'Add privileges on the following table:',
|
||||
$actual
|
||||
);
|
||||
$this->assertTag(
|
||||
PMA_getTagArray(
|
||||
'<input type="text" id="text_tablename" name="tablename" />'
|
||||
),
|
||||
$this->assertContains(
|
||||
'<input type="text" id="text_tablename" name="tablename" />',
|
||||
$actual
|
||||
);
|
||||
$this->assertTag(
|
||||
PMA_getTagArray('<select name="pred_tablename" class="autosubmit">'),
|
||||
$this->assertContains(
|
||||
'<select name="pred_tablename" class="autosubmit">',
|
||||
$actual
|
||||
);
|
||||
$this->assertTag(
|
||||
PMA_getTagArray(
|
||||
'<option value="" selected="selected">',
|
||||
array('content' => 'Use text field:')
|
||||
),
|
||||
$this->assertContains(
|
||||
'<option value="" selected="selected">'
|
||||
. 'Use text field:',
|
||||
$actual
|
||||
);
|
||||
// assertTag doesn't seems to work with content having escaped html chars
|
||||
$this->assertContains(
|
||||
'<option value="t<bl">t<bl</option>', $actual
|
||||
);
|
||||
|
||||
@ -140,41 +140,31 @@ class PMA_TblColumnsDefinitionFormTest extends PHPUnit_Framework_TestCase
|
||||
|
||||
$result = PMA_getHtmlForTableConfigurations();
|
||||
|
||||
$this->assertTag(
|
||||
PMA_getTagArray(
|
||||
'<input type="text" name="comment" size="40" maxlength="80" '
|
||||
. 'value="c&d" class="textfield"'
|
||||
),
|
||||
$this->assertContains(
|
||||
'<input type="text" name="comment" size="40" maxlength="80" '
|
||||
. 'value="c&d" class="textfield"',
|
||||
$result
|
||||
);
|
||||
|
||||
$this->assertTag(
|
||||
PMA_getTagArray(
|
||||
'<select name="tbl_storage_engine">'
|
||||
),
|
||||
$this->assertContains(
|
||||
'<select name="tbl_storage_engine">',
|
||||
$result
|
||||
);
|
||||
|
||||
$this->assertTag(
|
||||
PMA_getTagArray(
|
||||
'<select lang="en" dir="ltr" name="tbl_collation">'
|
||||
),
|
||||
$this->assertContains(
|
||||
'<select lang="en" dir="ltr" name="tbl_collation">',
|
||||
$result
|
||||
);
|
||||
|
||||
$this->assertTag(
|
||||
PMA_getTagArray(
|
||||
'<option value="utf8_bin" title="Unicode (multilingual), Binary">'
|
||||
. 'utf8_bin</option>'
|
||||
),
|
||||
$this->assertContains(
|
||||
'<option value="utf8_bin" title="Unicode (multilingual), Binary">'
|
||||
. 'utf8_bin</option>',
|
||||
$result
|
||||
);
|
||||
|
||||
$this->assertTag(
|
||||
PMA_getTagArray(
|
||||
'<textarea name="partition_definition" id="partitiondefinition" '
|
||||
. 'cols="10" rows="15" dir="text_dir">partition></textarea>'
|
||||
),
|
||||
$this->assertContains(
|
||||
'<textarea name="partition_definition" id="partitiondefinition" '
|
||||
. 'cols="10" rows="15" dir="text_dir">partition></textarea>',
|
||||
$result
|
||||
);
|
||||
}
|
||||
@ -188,24 +178,18 @@ class PMA_TblColumnsDefinitionFormTest extends PHPUnit_Framework_TestCase
|
||||
{
|
||||
$result = PMA_getHtmlForFooter();
|
||||
|
||||
$this->assertTag(
|
||||
PMA_getTagArray(
|
||||
'<input type="submit" name="do_save_data" value="Save" />'
|
||||
),
|
||||
$this->assertContains(
|
||||
'<input type="submit" name="do_save_data" value="Save" />',
|
||||
$result
|
||||
);
|
||||
|
||||
$this->assertTag(
|
||||
PMA_getTagArray(
|
||||
'<div id="properties_message">'
|
||||
),
|
||||
$this->assertContains(
|
||||
'<div id="properties_message">',
|
||||
$result
|
||||
);
|
||||
|
||||
$this->assertTag(
|
||||
PMA_getTagArray(
|
||||
'<div id="popup_background">'
|
||||
),
|
||||
$this->assertContains(
|
||||
'<div id="popup_background">',
|
||||
$result
|
||||
);
|
||||
}
|
||||
@ -221,26 +205,20 @@ class PMA_TblColumnsDefinitionFormTest extends PHPUnit_Framework_TestCase
|
||||
|
||||
$result = PMA_getHtmlForTableNameAndNoOfColumns();
|
||||
|
||||
$this->assertTag(
|
||||
PMA_getTagArray(
|
||||
'<input type="text" name="table" size="40" maxlength="80" '
|
||||
. 'value="tablename" class="textfield" '
|
||||
),
|
||||
$this->assertContains(
|
||||
'<input type="text" name="table" size="40" maxlength="80" '
|
||||
. 'value="tablename" class="textfield" ',
|
||||
$result
|
||||
);
|
||||
|
||||
$this->assertTag(
|
||||
PMA_getTagArray(
|
||||
'<input type="text" id="added_fields" name="added_fields" '
|
||||
. 'size="2" value="1" onfocus="this.select()"'
|
||||
),
|
||||
$this->assertContains(
|
||||
'<input type="text" id="added_fields" name="added_fields" '
|
||||
. 'size="2" value="1" onfocus="this.select()"',
|
||||
$result
|
||||
);
|
||||
|
||||
$this->assertTag(
|
||||
PMA_getTagArray(
|
||||
'<input type="button" name="submit_num_fields"value="Go"'
|
||||
),
|
||||
$this->assertContains(
|
||||
'<input type="button" name="submit_num_fields"value="Go"',
|
||||
$result
|
||||
);
|
||||
}
|
||||
@ -260,28 +238,28 @@ class PMA_TblColumnsDefinitionFormTest extends PHPUnit_Framework_TestCase
|
||||
);
|
||||
$result = PMA_getHtmlForTableFieldDefinitions($header_cells, $content_cells);
|
||||
|
||||
$this->assertTag(
|
||||
array('tag' => 'th', 'content' => 'h1'),
|
||||
$this->assertContains(
|
||||
'<th>h1</th>',
|
||||
$result
|
||||
);
|
||||
|
||||
$this->assertTag(
|
||||
array('tag' => 'th', 'content' => 'h2'),
|
||||
$this->assertContains(
|
||||
'<th>h2</th>',
|
||||
$result
|
||||
);
|
||||
|
||||
$this->assertTag(
|
||||
array('tag' => 'td', 'content' => 'a'),
|
||||
$this->assertContains(
|
||||
'<td class="center">a</td>',
|
||||
$result
|
||||
);
|
||||
|
||||
$this->assertTag(
|
||||
array('tag' => 'td', 'content' => 'b'),
|
||||
$this->assertContains(
|
||||
'<td class="center">b</td>',
|
||||
$result
|
||||
);
|
||||
|
||||
$this->assertTag(
|
||||
array('tag' => 'td', 'content' => 'c'),
|
||||
$this->assertContains(
|
||||
'<td class="center">c</td>',
|
||||
$result
|
||||
);
|
||||
}
|
||||
@ -313,39 +291,29 @@ class PMA_TblColumnsDefinitionFormTest extends PHPUnit_Framework_TestCase
|
||||
array('h1')
|
||||
);
|
||||
|
||||
$this->assertTag(
|
||||
PMA_getTagArray(
|
||||
'<form method="post" action="tbl_create.php" '
|
||||
. 'class="create_table_form ajax">'
|
||||
),
|
||||
$this->assertContains(
|
||||
'<form method="post" action="tbl_create.php" '
|
||||
. 'class="create_table_form ajax lock-page">',
|
||||
$result
|
||||
);
|
||||
|
||||
$this->assertTag(
|
||||
PMA_getTagArray(
|
||||
'<input type="hidden" name="a" value="b"'
|
||||
),
|
||||
$this->assertContains(
|
||||
'<input type="hidden" name="a" value="b"',
|
||||
$result
|
||||
);
|
||||
|
||||
$this->assertTag(
|
||||
PMA_getTagArray(
|
||||
'<select lang="en" dir="ltr" name="tbl_collation">'
|
||||
),
|
||||
$this->assertContains(
|
||||
'<select lang="en" dir="ltr" name="tbl_collation">',
|
||||
$result
|
||||
);
|
||||
|
||||
$this->assertTag(
|
||||
PMA_getTagArray(
|
||||
'<input type="submit" name="do_save_data" value="Save"'
|
||||
),
|
||||
$this->assertContains(
|
||||
'<input type="submit" name="do_save_data" value="Save"',
|
||||
$result
|
||||
);
|
||||
|
||||
$this->assertTag(
|
||||
PMA_getTagArray(
|
||||
'<input type="text" name="table"'
|
||||
),
|
||||
$this->assertContains(
|
||||
'<input type="text" name="table"',
|
||||
$result
|
||||
);
|
||||
}
|
||||
@ -621,12 +589,10 @@ class PMA_TblColumnsDefinitionFormTest extends PHPUnit_Framework_TestCase
|
||||
'isForeignKey' => false, 'isEditable' => true)), $cfgRelation
|
||||
);
|
||||
|
||||
$this->assertTag(
|
||||
PMA_getTagArray(
|
||||
'<input id="field_2_0" type="text" name="field_name[2]" '
|
||||
$this->assertContains(
|
||||
'<input id="field_2_0" type="text" name="field_name[2]" '
|
||||
. 'maxlength="64" class="textfield" title="Column" size="10" '
|
||||
. 'value="fieldname" />'
|
||||
),
|
||||
. 'value="fieldname" />',
|
||||
$result
|
||||
);
|
||||
}
|
||||
@ -644,17 +610,13 @@ class PMA_TblColumnsDefinitionFormTest extends PHPUnit_Framework_TestCase
|
||||
'isForeignKey' => false, 'isEditable' => true))
|
||||
);
|
||||
|
||||
$this->assertTag(
|
||||
PMA_getTagArray(
|
||||
'<select class="column_type" name="field_type[1]" id="field_1_1">'
|
||||
),
|
||||
$this->assertContains(
|
||||
'<select class="column_type" name="field_type[1]" id="field_1_1">',
|
||||
$result
|
||||
);
|
||||
|
||||
$this->assertTag(
|
||||
PMA_getTagArray(
|
||||
'<option title="">INT</option>'
|
||||
),
|
||||
$this->assertContains(
|
||||
'<option title="">INT</option>',
|
||||
$result
|
||||
);
|
||||
}
|
||||
@ -680,11 +642,9 @@ class PMA_TblColumnsDefinitionFormTest extends PHPUnit_Framework_TestCase
|
||||
2, 4, 4, $cmeta, $mime, ''
|
||||
);
|
||||
|
||||
$this->assertTag(
|
||||
PMA_getTagArray(
|
||||
'<input id="field_2_0" type="text" name="field_transformation_'
|
||||
. 'options[2]" size="16" class="textfield" value="transops" />'
|
||||
),
|
||||
$this->assertContains(
|
||||
'<input id="field_2_0" type="text" name="field_transformation_'
|
||||
. 'options[2]" size="16" class="textfield" value="transops" />',
|
||||
$result
|
||||
);
|
||||
}
|
||||
@ -719,10 +679,8 @@ class PMA_TblColumnsDefinitionFormTest extends PHPUnit_Framework_TestCase
|
||||
2, 0, 0, $avail_mime, $cmeta, $mime, ''
|
||||
);
|
||||
|
||||
$this->assertTag(
|
||||
PMA_getTagArray(
|
||||
'<select id="field_2_0" size="1" name="field_transformation[2]">'
|
||||
),
|
||||
$this->assertContains(
|
||||
'<select id="field_2_0" size="1" name="field_transformation[2]">',
|
||||
$result
|
||||
);
|
||||
|
||||
@ -757,35 +715,24 @@ class PMA_TblColumnsDefinitionFormTest extends PHPUnit_Framework_TestCase
|
||||
2, 0, 0, $moveColumns, $cmeta
|
||||
);
|
||||
|
||||
$this->assertTag(
|
||||
PMA_getTagArray(
|
||||
'<select id="field_2_0" name="field_move_to[2]" size="1" '
|
||||
. 'width="5em">'
|
||||
),
|
||||
$this->assertContains(
|
||||
'<select id="field_2_0" name="field_move_to[2]" size="1" '
|
||||
. 'width="5em">',
|
||||
$result
|
||||
);
|
||||
|
||||
$this->assertTag(
|
||||
PMA_getTagArray(
|
||||
'<option value="" selected="selected">',
|
||||
array('content' => ' ')
|
||||
),
|
||||
$this->assertContains(
|
||||
'<option value="" selected="selected"> </option>',
|
||||
$result
|
||||
);
|
||||
|
||||
$this->assertTag(
|
||||
PMA_getTagArray(
|
||||
'<option value="a" disabled="disabled">',
|
||||
array('content' => 'after `a`')
|
||||
),
|
||||
$this->assertContains(
|
||||
'<option value="a" disabled="disabled">after `a`</option>',
|
||||
$result
|
||||
);
|
||||
|
||||
$this->assertTag(
|
||||
PMA_getTagArray(
|
||||
'<option value="fieldname" disabled="disabled">',
|
||||
array('content' => 'after `fieldname`')
|
||||
),
|
||||
$this->assertContains(
|
||||
'<option value="fieldname" disabled="disabled">after `fieldname`</option>',
|
||||
$result
|
||||
);
|
||||
}
|
||||
@ -809,11 +756,9 @@ class PMA_TblColumnsDefinitionFormTest extends PHPUnit_Framework_TestCase
|
||||
2, 1, 0, $cmeta, $commentMeta
|
||||
);
|
||||
|
||||
$this->assertTag(
|
||||
PMA_getTagArray(
|
||||
'<input id="field_2_1" type="text" name="field_comments[2]" '
|
||||
. 'size="12" value="fieldnamecomment<" class="textfield" />'
|
||||
),
|
||||
$this->assertContains(
|
||||
'<input id="field_2_1" type="text" name="field_comments[2]" '
|
||||
. 'size="12" value="fieldnamecomment<" class="textfield" />',
|
||||
$result
|
||||
);
|
||||
}
|
||||
@ -833,11 +778,9 @@ class PMA_TblColumnsDefinitionFormTest extends PHPUnit_Framework_TestCase
|
||||
2, 1, 0, $cmeta
|
||||
);
|
||||
|
||||
$this->assertTag(
|
||||
PMA_getTagArray(
|
||||
'<input name="field_extra[2]" id="field_2_1" checked="checked" '
|
||||
. 'type="checkbox" value="AUTO_INCREMENT" />'
|
||||
),
|
||||
$this->assertContains(
|
||||
'<input name="field_extra[2]" id="field_2_1" checked="checked" '
|
||||
. 'type="checkbox" value="AUTO_INCREMENT" />',
|
||||
$result
|
||||
);
|
||||
}
|
||||
@ -858,41 +801,28 @@ class PMA_TblColumnsDefinitionFormTest extends PHPUnit_Framework_TestCase
|
||||
2, 1, 0, $cmeta
|
||||
);
|
||||
|
||||
$this->assertTag(
|
||||
PMA_getTagArray(
|
||||
'<select name="field_key[2]" id="field_2_1">'
|
||||
),
|
||||
$this->assertContains(
|
||||
'<select name="field_key[2]" id="field_2_1"',
|
||||
$result
|
||||
);
|
||||
|
||||
$this->assertTag(
|
||||
PMA_getTagArray(
|
||||
'<option value="none_2">---</option>'
|
||||
),
|
||||
$this->assertContains(
|
||||
'<option value="none_2">---</option>',
|
||||
$result
|
||||
);
|
||||
|
||||
$this->assertTag(
|
||||
PMA_getTagArray(
|
||||
'<option value="primary_2" title="Primary">',
|
||||
array('content' => 'PRIMARY')
|
||||
),
|
||||
$this->assertContains(
|
||||
'<option value="primary_2" title="Primary">PRIMARY</option>',
|
||||
$result
|
||||
);
|
||||
|
||||
$this->assertTag(
|
||||
PMA_getTagArray(
|
||||
'<option value="unique_2" title="Unique">',
|
||||
array('content' => 'UNIQUE')
|
||||
),
|
||||
$this->assertContains(
|
||||
'<option value="unique_2" title="Unique">UNIQUE</option>',
|
||||
$result
|
||||
);
|
||||
|
||||
$this->assertTag(
|
||||
PMA_getTagArray(
|
||||
'<option value="index_2" title="Index">',
|
||||
array('content' => 'INDEX')
|
||||
),
|
||||
$this->assertContains(
|
||||
'<option value="index_2" title="Index">INDEX</option>',
|
||||
$result
|
||||
);
|
||||
}
|
||||
@ -912,11 +842,8 @@ class PMA_TblColumnsDefinitionFormTest extends PHPUnit_Framework_TestCase
|
||||
2, $cmeta, 'INT', 'PRI'
|
||||
);
|
||||
|
||||
$this->assertTag(
|
||||
PMA_getTagArray(
|
||||
'<option value="int_2" title="INT" selected="selected">',
|
||||
array('content' => 'INT')
|
||||
),
|
||||
$this->assertContains(
|
||||
'<option value="int_2" title="INT" selected="selected">INT</option>',
|
||||
$result
|
||||
);
|
||||
}
|
||||
@ -936,11 +863,9 @@ class PMA_TblColumnsDefinitionFormTest extends PHPUnit_Framework_TestCase
|
||||
2, 3, 1, $cmeta
|
||||
);
|
||||
|
||||
$this->assertTag(
|
||||
PMA_getTagArray(
|
||||
'<input name="field_null[2]" id="field_2_2" checked="checked" '
|
||||
. 'type="checkbox" value="NULL" class="allow_null"/>'
|
||||
),
|
||||
$this->assertContains(
|
||||
'<input name="field_null[2]" id="field_2_2" checked="checked" '
|
||||
. 'type="checkbox" value="NULL" class="allow_null"/>',
|
||||
$result
|
||||
);
|
||||
}
|
||||
@ -988,19 +913,14 @@ class PMA_TblColumnsDefinitionFormTest extends PHPUnit_Framework_TestCase
|
||||
2, 3, 1, $colspec, $cmeta, true, $analyzed_sql
|
||||
);
|
||||
|
||||
$this->assertTag(
|
||||
PMA_getTagArray(
|
||||
'<select style="width: 7em;" name="field_attribute[2]" '
|
||||
. 'id="field_2_2">'
|
||||
),
|
||||
$this->assertContains(
|
||||
'<select style="width: 7em;" name="field_attribute[2]" '
|
||||
. 'id="field_2_2">',
|
||||
$result
|
||||
);
|
||||
|
||||
$this->assertTag(
|
||||
PMA_getTagArray(
|
||||
'<option value="on update CURRENT_TIMESTAMP">',
|
||||
array('content' => 'on update CURRENT_TIMESTAMP')
|
||||
),
|
||||
$this->assertContains(
|
||||
'<option value="on update CURRENT_TIMESTAMP">',
|
||||
$result
|
||||
);
|
||||
}
|
||||
@ -1020,18 +940,13 @@ class PMA_TblColumnsDefinitionFormTest extends PHPUnit_Framework_TestCase
|
||||
2, 3, 1, $cmeta
|
||||
);
|
||||
|
||||
$this->assertTag(
|
||||
PMA_getTagArray(
|
||||
'<select name="field_collation[2]" id="field_2_2">'
|
||||
),
|
||||
$this->assertContains(
|
||||
'<select lang="en" dir="ltr" name="field_collation[2]" id="field_2_2">',
|
||||
$result
|
||||
);
|
||||
|
||||
$this->assertTag(
|
||||
PMA_getTagArray(
|
||||
'<option value="utf8_bin" title="Unicode (multilingual), Binary">',
|
||||
array('content' => 'utf8_bin')
|
||||
),
|
||||
$this->assertContains(
|
||||
'<option value="utf8_bin" title="Unicode (multilingual), Binary">',
|
||||
$result
|
||||
);
|
||||
}
|
||||
@ -1047,18 +962,14 @@ class PMA_TblColumnsDefinitionFormTest extends PHPUnit_Framework_TestCase
|
||||
2, 3, 1, 10, 8
|
||||
);
|
||||
|
||||
$this->assertTag(
|
||||
PMA_getTagArray(
|
||||
'<input id="field_2_2" type="text" name="field_length[2]" size="10" '
|
||||
. 'value="8" class="textfield" />'
|
||||
),
|
||||
$this->assertContains(
|
||||
'<input id="field_2_2" type="text" name="field_length[2]" size="10" '
|
||||
. 'value="8" class="textfield" />',
|
||||
$result
|
||||
);
|
||||
|
||||
$this->assertTag(
|
||||
PMA_getTagArray(
|
||||
'<p class="enum_notice" id="enum_notice_2_2">'
|
||||
),
|
||||
$this->assertContains(
|
||||
'<p class="enum_notice" id="enum_notice_2_2">',
|
||||
$result
|
||||
);
|
||||
}
|
||||
@ -1080,27 +991,20 @@ class PMA_TblColumnsDefinitionFormTest extends PHPUnit_Framework_TestCase
|
||||
2, 3, 1, 'TIMESTAMP', true, $cmeta
|
||||
);
|
||||
|
||||
$this->assertTag(
|
||||
PMA_getTagArray(
|
||||
'<select name="field_default_type[2]" id="field_2_2" '
|
||||
. 'class="default_type">'
|
||||
),
|
||||
$this->assertContains(
|
||||
'<select name="field_default_type[2]" id="field_2_2" '
|
||||
. 'class="default_type">',
|
||||
$result
|
||||
);
|
||||
|
||||
$this->assertTag(
|
||||
PMA_getTagArray(
|
||||
'<option value="NONE" selected="selected" >',
|
||||
array('content' => 'None')
|
||||
),
|
||||
$this->assertContains(
|
||||
'<option value="NONE" selected="selected" >',
|
||||
$result
|
||||
);
|
||||
|
||||
$this->assertTag(
|
||||
PMA_getTagArray(
|
||||
'<input type="text" name="field_default_value[2]" size="12" '
|
||||
. 'value="2222" class="textfield default_value" />'
|
||||
),
|
||||
$this->assertContains(
|
||||
'<input type="text" name="field_default_value[2]" size="12" '
|
||||
. 'value="2222" class="textfield default_value" />',
|
||||
$result
|
||||
);
|
||||
}
|
||||
|
||||
@ -414,38 +414,28 @@ class PMA_User_Preferences_Test extends PHPUnit_Framework_TestCase
|
||||
$GLOBALS['PMA_PHP_SELF'] = 'phpunit';
|
||||
$result = PMA_userprefsAutoloadGetHeader();
|
||||
|
||||
$this->assertTag(
|
||||
PMA_getTagArray(
|
||||
'<form action="prefs_manage.php" method="post">'
|
||||
),
|
||||
$this->assertContains(
|
||||
'<form action="prefs_manage.php" method="post">',
|
||||
$result
|
||||
);
|
||||
|
||||
$this->assertTag(
|
||||
PMA_getTagArray(
|
||||
'<input type="hidden" name="token" value="token"'
|
||||
),
|
||||
$this->assertContains(
|
||||
'<input type="hidden" name="token" value="token"',
|
||||
$result
|
||||
);
|
||||
|
||||
$this->assertTag(
|
||||
PMA_getTagArray(
|
||||
'<input type="hidden" name="json" value="" />'
|
||||
),
|
||||
$this->assertContains(
|
||||
'<input type="hidden" name="json" value="" />',
|
||||
$result
|
||||
);
|
||||
|
||||
$this->assertTag(
|
||||
PMA_getTagArray(
|
||||
'<input type="hidden" name="submit_import" value="1" />'
|
||||
),
|
||||
$this->assertContains(
|
||||
'<input type="hidden" name="submit_import" value="1" />',
|
||||
$result
|
||||
);
|
||||
|
||||
$this->assertTag(
|
||||
PMA_getTagArray(
|
||||
'<input type="hidden" name="return_url" value="phpunit?" />'
|
||||
),
|
||||
$this->assertContains(
|
||||
'<input type="hidden" name="return_url" value="phpunit?" />',
|
||||
$result
|
||||
);
|
||||
}
|
||||
|
||||
@ -62,11 +62,9 @@ class PMA_EVN_GetEditorForm_Test extends PHPUnit_Framework_TestCase
|
||||
{
|
||||
$GLOBALS['is_ajax_request'] = false;
|
||||
PMA_EVN_setGlobals();
|
||||
$this->assertTag(
|
||||
$this->assertContains(
|
||||
$matcher,
|
||||
PMA_EVN_getEditorForm('add', 'change', $data),
|
||||
'',
|
||||
false
|
||||
PMA_EVN_getEditorForm('add', 'change', $data)
|
||||
);
|
||||
}
|
||||
|
||||
@ -97,138 +95,43 @@ class PMA_EVN_GetEditorForm_Test extends PHPUnit_Framework_TestCase
|
||||
return array(
|
||||
array(
|
||||
$data,
|
||||
array(
|
||||
'tag' => 'input',
|
||||
'attributes' => array(
|
||||
'name' => 'add_item'
|
||||
)
|
||||
)
|
||||
"<input name='add_item'"
|
||||
),
|
||||
array(
|
||||
$data,
|
||||
array(
|
||||
'tag' => 'input',
|
||||
'attributes' => array(
|
||||
'name' => 'item_name'
|
||||
)
|
||||
)
|
||||
"<input type='text' name='item_name'"
|
||||
),
|
||||
array(
|
||||
$data,
|
||||
array(
|
||||
'tag' => 'select',
|
||||
'attributes' => array(
|
||||
'name' => 'item_status'
|
||||
)
|
||||
)
|
||||
"<select name='item_status'"
|
||||
),
|
||||
array(
|
||||
$data,
|
||||
array(
|
||||
'tag' => 'input',
|
||||
'attributes' => array(
|
||||
'name' => 'item_type'
|
||||
)
|
||||
)
|
||||
"<input name='item_type'"
|
||||
),
|
||||
array(
|
||||
$data,
|
||||
array(
|
||||
'tag' => 'input',
|
||||
'attributes' => array(
|
||||
'name' => 'item_changetype'
|
||||
)
|
||||
)
|
||||
"<input type='text' name='item_execute_at'"
|
||||
),
|
||||
array(
|
||||
$data,
|
||||
array(
|
||||
'tag' => 'input',
|
||||
'attributes' => array(
|
||||
'name' => 'item_execute_at'
|
||||
)
|
||||
)
|
||||
"<input type='text' name='item_ends'"
|
||||
),
|
||||
array(
|
||||
$data,
|
||||
array(
|
||||
'tag' => 'input',
|
||||
'attributes' => array(
|
||||
'name' => 'item_interval_value'
|
||||
)
|
||||
)
|
||||
"<textarea name='item_definition'"
|
||||
),
|
||||
array(
|
||||
$data,
|
||||
array(
|
||||
'tag' => 'select',
|
||||
'attributes' => array(
|
||||
'name' => 'item_interval_field'
|
||||
)
|
||||
)
|
||||
"<input type='text' name='item_definer'"
|
||||
),
|
||||
array(
|
||||
$data,
|
||||
array(
|
||||
'tag' => 'input',
|
||||
'attributes' => array(
|
||||
'name' => 'item_starts'
|
||||
)
|
||||
)
|
||||
"<input type='text' name='item_comment'"
|
||||
),
|
||||
array(
|
||||
$data,
|
||||
array(
|
||||
'tag' => 'input',
|
||||
'attributes' => array(
|
||||
'name' => 'item_ends'
|
||||
)
|
||||
)
|
||||
),
|
||||
array(
|
||||
$data,
|
||||
array(
|
||||
'tag' => 'textarea',
|
||||
'attributes' => array(
|
||||
'name' => 'item_definition'
|
||||
)
|
||||
)
|
||||
),
|
||||
array(
|
||||
$data,
|
||||
array(
|
||||
'tag' => 'input',
|
||||
'attributes' => array(
|
||||
'name' => 'item_preserve'
|
||||
)
|
||||
)
|
||||
),
|
||||
array(
|
||||
$data,
|
||||
array(
|
||||
'tag' => 'input',
|
||||
'attributes' => array(
|
||||
'name' => 'item_definer'
|
||||
)
|
||||
)
|
||||
),
|
||||
array(
|
||||
$data,
|
||||
array(
|
||||
'tag' => 'input',
|
||||
'attributes' => array(
|
||||
'name' => 'item_comment'
|
||||
)
|
||||
)
|
||||
),
|
||||
array(
|
||||
$data,
|
||||
array(
|
||||
'tag' => 'input',
|
||||
'attributes' => array(
|
||||
'name' => 'editor_process_add'
|
||||
)
|
||||
)
|
||||
"<input type='submit' name='editor_process_add'"
|
||||
)
|
||||
);
|
||||
}
|
||||
@ -247,11 +150,9 @@ class PMA_EVN_GetEditorForm_Test extends PHPUnit_Framework_TestCase
|
||||
{
|
||||
$GLOBALS['is_ajax_request'] = false;
|
||||
PMA_EVN_setGlobals();
|
||||
$this->assertTag(
|
||||
$this->assertContains(
|
||||
$matcher,
|
||||
PMA_EVN_getEditorForm('edit', 'change', $data),
|
||||
'',
|
||||
false
|
||||
PMA_EVN_getEditorForm('edit', 'change', $data)
|
||||
);
|
||||
}
|
||||
|
||||
@ -282,138 +183,43 @@ class PMA_EVN_GetEditorForm_Test extends PHPUnit_Framework_TestCase
|
||||
return array(
|
||||
array(
|
||||
$data,
|
||||
array(
|
||||
'tag' => 'input',
|
||||
'attributes' => array(
|
||||
'name' => 'edit_item'
|
||||
)
|
||||
)
|
||||
"<input name='edit_item'"
|
||||
),
|
||||
array(
|
||||
$data,
|
||||
array(
|
||||
'tag' => 'input',
|
||||
'attributes' => array(
|
||||
'name' => 'item_name'
|
||||
)
|
||||
)
|
||||
"<input type='text' name='item_name'"
|
||||
),
|
||||
array(
|
||||
$data,
|
||||
array(
|
||||
'tag' => 'select',
|
||||
'attributes' => array(
|
||||
'name' => 'item_status'
|
||||
)
|
||||
)
|
||||
"<select name='item_status'"
|
||||
),
|
||||
array(
|
||||
$data,
|
||||
array(
|
||||
'tag' => 'input',
|
||||
'attributes' => array(
|
||||
'name' => 'item_type'
|
||||
)
|
||||
)
|
||||
"<input name='item_type'"
|
||||
),
|
||||
array(
|
||||
$data,
|
||||
array(
|
||||
'tag' => 'input',
|
||||
'attributes' => array(
|
||||
'name' => 'item_changetype'
|
||||
)
|
||||
)
|
||||
"<input type='text' name='item_execute_at'"
|
||||
),
|
||||
array(
|
||||
$data,
|
||||
array(
|
||||
'tag' => 'input',
|
||||
'attributes' => array(
|
||||
'name' => 'item_execute_at'
|
||||
)
|
||||
)
|
||||
"<input type='text' name='item_ends'"
|
||||
),
|
||||
array(
|
||||
$data,
|
||||
array(
|
||||
'tag' => 'input',
|
||||
'attributes' => array(
|
||||
'name' => 'item_interval_value'
|
||||
)
|
||||
)
|
||||
"<textarea name='item_definition'"
|
||||
),
|
||||
array(
|
||||
$data,
|
||||
array(
|
||||
'tag' => 'select',
|
||||
'attributes' => array(
|
||||
'name' => 'item_interval_field'
|
||||
)
|
||||
)
|
||||
"<input type='text' name='item_definer'"
|
||||
),
|
||||
array(
|
||||
$data,
|
||||
array(
|
||||
'tag' => 'input',
|
||||
'attributes' => array(
|
||||
'name' => 'item_starts'
|
||||
)
|
||||
)
|
||||
"<input type='text' name='item_comment'"
|
||||
),
|
||||
array(
|
||||
$data,
|
||||
array(
|
||||
'tag' => 'input',
|
||||
'attributes' => array(
|
||||
'name' => 'item_ends'
|
||||
)
|
||||
)
|
||||
),
|
||||
array(
|
||||
$data,
|
||||
array(
|
||||
'tag' => 'textarea',
|
||||
'attributes' => array(
|
||||
'name' => 'item_definition'
|
||||
)
|
||||
)
|
||||
),
|
||||
array(
|
||||
$data,
|
||||
array(
|
||||
'tag' => 'input',
|
||||
'attributes' => array(
|
||||
'name' => 'item_preserve'
|
||||
)
|
||||
)
|
||||
),
|
||||
array(
|
||||
$data,
|
||||
array(
|
||||
'tag' => 'input',
|
||||
'attributes' => array(
|
||||
'name' => 'item_definer'
|
||||
)
|
||||
)
|
||||
),
|
||||
array(
|
||||
$data,
|
||||
array(
|
||||
'tag' => 'input',
|
||||
'attributes' => array(
|
||||
'name' => 'item_comment'
|
||||
)
|
||||
)
|
||||
),
|
||||
array(
|
||||
$data,
|
||||
array(
|
||||
'tag' => 'input',
|
||||
'attributes' => array(
|
||||
'name' => 'editor_process_edit'
|
||||
)
|
||||
)
|
||||
"<input type='submit' name='editor_process_edit'"
|
||||
)
|
||||
);
|
||||
}
|
||||
@ -432,11 +238,9 @@ class PMA_EVN_GetEditorForm_Test extends PHPUnit_Framework_TestCase
|
||||
{
|
||||
$GLOBALS['is_ajax_request'] = true;
|
||||
PMA_EVN_setGlobals();
|
||||
$this->assertTag(
|
||||
$this->assertContains(
|
||||
$matcher,
|
||||
PMA_EVN_getEditorForm('edit', 'change', $data),
|
||||
'',
|
||||
false
|
||||
PMA_EVN_getEditorForm('edit', 'change', $data)
|
||||
);
|
||||
}
|
||||
|
||||
@ -467,30 +271,15 @@ class PMA_EVN_GetEditorForm_Test extends PHPUnit_Framework_TestCase
|
||||
return array(
|
||||
array(
|
||||
$data,
|
||||
array(
|
||||
'tag' => 'select',
|
||||
'attributes' => array(
|
||||
'name' => 'item_type'
|
||||
)
|
||||
)
|
||||
"<select name='item_type'"
|
||||
),
|
||||
array(
|
||||
$data,
|
||||
array(
|
||||
'tag' => 'input',
|
||||
'attributes' => array(
|
||||
'name' => 'editor_process_edit'
|
||||
)
|
||||
)
|
||||
"<input type='hidden' name='editor_process_edit'"
|
||||
),
|
||||
array(
|
||||
$data,
|
||||
array(
|
||||
'tag' => 'input',
|
||||
'attributes' => array(
|
||||
'name' => 'ajax_request'
|
||||
)
|
||||
)
|
||||
"<input type='hidden' name='ajax_request'"
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
@ -75,7 +75,10 @@ class PMA_RTN_GetEditorForm_Test extends PHPUnit_Framework_TestCase
|
||||
{
|
||||
$GLOBALS['is_ajax_request'] = false;
|
||||
PMA_RTN_setGlobals();
|
||||
$this->assertTag($matcher, PMA_RTN_getParameterRow($data, $index), false);
|
||||
$this->assertContains(
|
||||
$matcher,
|
||||
PMA_RTN_getParameterRow($data, $index)
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
@ -115,62 +118,27 @@ class PMA_RTN_GetEditorForm_Test extends PHPUnit_Framework_TestCase
|
||||
array(
|
||||
$data,
|
||||
0,
|
||||
array(
|
||||
'tag' => 'select',
|
||||
'attributes' => array(
|
||||
'name' => 'item_param_dir[0]'
|
||||
)
|
||||
)
|
||||
"<select name='item_param_dir[0]'"
|
||||
),
|
||||
array(
|
||||
$data,
|
||||
0,
|
||||
array(
|
||||
'tag' => 'input',
|
||||
'attributes' => array(
|
||||
'name' => 'item_param_name[0]'
|
||||
)
|
||||
)
|
||||
"<input name='item_param_name[0]'"
|
||||
),
|
||||
array(
|
||||
$data,
|
||||
0,
|
||||
array(
|
||||
'tag' => 'select',
|
||||
'attributes' => array(
|
||||
'name' => 'item_param_type[0]'
|
||||
)
|
||||
)
|
||||
"<select name='item_param_type[0]'"
|
||||
),
|
||||
array(
|
||||
$data,
|
||||
0,
|
||||
array(
|
||||
'tag' => 'input',
|
||||
'attributes' => array(
|
||||
'name' => 'item_param_length[0]'
|
||||
)
|
||||
)
|
||||
"<select name='item_param_opts_num[0]'"
|
||||
),
|
||||
array(
|
||||
$data,
|
||||
0,
|
||||
array(
|
||||
'tag' => 'select',
|
||||
'attributes' => array(
|
||||
'name' => 'item_param_opts_num[0]'
|
||||
)
|
||||
)
|
||||
),
|
||||
array(
|
||||
$data,
|
||||
0,
|
||||
array(
|
||||
'tag' => 'a',
|
||||
'attributes' => array(
|
||||
'class' => 'routine_param_remove_anchor'
|
||||
)
|
||||
)
|
||||
"<a href='#' class='routine_param_remove_anchor'"
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user