Skip to content

Commit

Permalink
tester 2.5.3
Browse files Browse the repository at this point in the history
  • Loading branch information
dg committed May 3, 2024
1 parent b83e39e commit 589cf32
Show file tree
Hide file tree
Showing 16 changed files with 64 additions and 16 deletions.
5 changes: 4 additions & 1 deletion tester/bg/helpers.texy
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ DomQuery .[#toc-domquery]
`Tester\DomQuery` е клас, разширяващ `SimpleXMLElement` с методи за улесняване на тестването на HTML или XML съдържание.

```php
# let's have an HTML document in $html that we load
# в $html е низ с HTML документа, а в $dom получаваме кореновия елемент
$dom = Tester\DomQuery::fromHtml($html);

# we can test the presence of elements using CSS selectors
Expand All @@ -17,6 +17,9 @@ Assert::true($dom->has('input[type="submit"]'));

# or select elements as array of DomQuery
$elems = $dom->find('input[data-autocomplete]');

# или проверете дали елементът отговаря на селектора (от версия 2.5.3)
Assert::true($elems[0]->matches('[type="submit"]'));
```


Expand Down
5 changes: 4 additions & 1 deletion tester/cs/helpers.texy
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ DomQuery
`Tester\DomQuery` je třída rozšiřující `SimpleXMLElement` o metody usnadňující testování obsahu HTML nebo XML.

```php
# mějme v $html HTML dokument, který načteme
# v $html je řetězec s HTML dokumentem, v $dom získáme kořenový element
$dom = Tester\DomQuery::fromHtml($html);

# můžeme testovat přítomnost elementů podle CSS selektorů
Expand All @@ -17,6 +17,9 @@ Assert::true($dom->has('input[type="submit"]'));

# nebo vybrat elementy jako pole DomQuery
$elems = $dom->find('input[data-autocomplete]');

# nebo ověřovat, zda element vyhovuje selektoru (od verze 2.5.3)
Assert::true($elems[0]->matches('[type="submit"]'));
```


Expand Down
5 changes: 4 additions & 1 deletion tester/de/helpers.texy
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ DomQuery
`Tester\DomQuery` ist eine Klasse, die `SimpleXMLElement` mit Methoden erweitert, die das Testen von HTML- oder XML-Inhalten erleichtern.

```php
# let's have an HTML document in $html that we load
# $html ist ein String mit dem HTML-Dokument, $dom ist das Root-Element.
$dom = Tester\DomQuery::fromHtml($html);

# we can test the presence of elements using CSS selectors
Expand All @@ -17,6 +17,9 @@ Assert::true($dom->has('input[type="submit"]'));

# or select elements as array of DomQuery
$elems = $dom->find('input[data-autocomplete]');

# oder überprüfen, ob das Element mit dem Selektor übereinstimmt (ab Version 2.5.3)
Assert::true($elems[0]->matches('[type="submit"]'));
```


Expand Down
5 changes: 4 additions & 1 deletion tester/el/helpers.texy
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ DomQuery .[#toc-domquery]
`Tester\DomQuery` είναι μια κλάση που επεκτείνει το `SimpleXMLElement` με μεθόδους που διευκολύνουν τον έλεγχο περιεχομένου HTML ή XML.

```php
# let's have an HTML document in $html that we load
# στο $html είναι μια συμβολοσειρά με το έγγραφο HTML, στο $dom παίρνουμε το στοιχείο ρίζα
$dom = Tester\DomQuery::fromHtml($html);

# we can test the presence of elements using CSS selectors
Expand All @@ -17,6 +17,9 @@ Assert::true($dom->has('input[type="submit"]'));

# or select elements as array of DomQuery
$elems = $dom->find('input[data-autocomplete]');

# ή να επαληθεύσει ότι το στοιχείο ταιριάζει με τον επιλογέα (από την έκδοση 2.5.3)
Assert::true($elems[0]->matches('[type="submit"]'));
```


Expand Down
5 changes: 4 additions & 1 deletion tester/en/helpers.texy
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ DomQuery
`Tester\DomQuery` is a class that extends `SimpleXMLElement` with methods that make it easier to test HTML or XML content.

```php
# let's have an HTML document in $html that we load
# in $html is a string with the HTML document, in $dom we get the root element
$dom = Tester\DomQuery::fromHtml($html);

# we can test the presence of elements using CSS selectors
Expand All @@ -17,6 +17,9 @@ Assert::true($dom->has('input[type="submit"]'));

# or select elements as array of DomQuery
$elems = $dom->find('input[data-autocomplete]');

# or verify that the element matches the selector (from version 2.5.3)
Assert::true($elems[0]->matches('[type="submit"]'));
```


Expand Down
5 changes: 4 additions & 1 deletion tester/es/helpers.texy
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ DomQuery
`Tester\DomQuery` es una clase que amplía `SimpleXMLElement` con métodos que facilitan la comprobación de contenidos HTML o XML.

```php
# tengamos un documento HTML en $html que cargamos
# en $html es una cadena con el documento HTML, en $dom obtenemos el elemento raíz
$dom = Tester\DomQuery::fromHtml($html);

# podemos comprobar la presencia de elementos utilizando selectores CSS
Expand All @@ -17,6 +17,9 @@ Assert::true($dom->has('input[type="submit"]'));

# o seleccionar elementos como array de DomQuery
$elems = $dom->find('input[data-autocomplete]');

# o verificar que el elemento coincide con el selector (a partir de la versión 2.5.3)
Assert::true($elems[0]->matches('[type="submit"]'));
```


Expand Down
5 changes: 4 additions & 1 deletion tester/fr/helpers.texy
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ DomQuery
`Tester\DomQuery` est une classe qui étend `SimpleXMLElement` avec des méthodes qui facilitent le test du contenu HTML ou XML.

```php
# let's have an HTML document in $html that we load
# dans $html est une chaîne avec le document HTML, dans $dom nous obtenons l'élément racine
$dom = Tester\DomQuery::fromHtml($html);

# we can test the presence of elements using CSS selectors
Expand All @@ -17,6 +17,9 @@ Assert::true($dom->has('input[type="submit"]'));

# or select elements as array of DomQuery
$elems = $dom->find('input[data-autocomplete]');

# ou vérifier que l'élément correspond au sélecteur (à partir de la version 2.5.3)
Assert::true($elems[0]->matches('[type="submit"]'));
```


Expand Down
5 changes: 4 additions & 1 deletion tester/hu/helpers.texy
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ DomQuery .[#toc-domquery]
`Tester\DomQuery` egy olyan osztály, amely a `SimpleXMLElement` címet bővíti olyan metódusokkal, amelyek megkönnyítik a HTML- vagy XML-tartalom tesztelését.

```php
# let's have an HTML document in $html that we load
# a $html-ben egy karakterlánc a HTML dokumentummal, a $dom-ban pedig a gyökérelemet kapjuk meg.
$dom = Tester\DomQuery::fromHtml($html);

# we can test the presence of elements using CSS selectors
Expand All @@ -17,6 +17,9 @@ Assert::true($dom->has('input[type="submit"]'));

# or select elements as array of DomQuery
$elems = $dom->find('input[data-autocomplete]');

# vagy ellenőrizze, hogy az elem megfelel-e a szelektornak (a 2.5.3. verziótól)
Assert::true($elems[0]->matches('[type="submit"]'));
```


Expand Down
5 changes: 4 additions & 1 deletion tester/it/helpers.texy
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ DomQuery .[#toc-domquery]
`Tester\DomQuery` è una classe che estende `SimpleXMLElement` con metodi che facilitano il test di contenuti HTML o XML.

```php
# let's have an HTML document in $html that we load
# in $html c'è una stringa con il documento HTML, in $dom c'è l'elemento root
$dom = Tester\DomQuery::fromHtml($html);

# we can test the presence of elements using CSS selectors
Expand All @@ -17,6 +17,9 @@ Assert::true($dom->has('input[type="submit"]'));

# or select elements as array of DomQuery
$elems = $dom->find('input[data-autocomplete]');

# o verificare che l'elemento corrisponda al selettore (dalla versione 2.5.3)
Assert::true($elems[0]->matches('[type="submit"]'));
```


Expand Down
5 changes: 4 additions & 1 deletion tester/pl/helpers.texy
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ DomQuery .[#toc-domquery]
`Tester\DomQuery` jest klasą rozszerzającą `SimpleXMLElement` o metody ułatwiające testowanie zawartości HTML lub XML.

```php
# mějme v $html HTML dokument, který načteme
# w $html jest łańcuch z dokumentem HTML, w $dom otrzymujemy element główny
$dom = Tester\DomQuery::fromHtml($html);

# můžeme testovat přítomnost elementů podle CSS selektorů
Expand All @@ -17,6 +17,9 @@ Assert::true($dom->has('input[type="submit"]'));

# nebo vybrat elementy jako pole DomQuery
$elems = $dom->find('input[data-autocomplete]');

# lub sprawdzić, czy element pasuje do selektora (od wersji 2.5.3)
Assert::true($elems[0]->matches('[type="submit"]'));
```


Expand Down
5 changes: 4 additions & 1 deletion tester/pt/helpers.texy
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ DomQuery .[#toc-domquery]
`Tester\DomQuery` é uma classe que se estende `SimpleXMLElement` com métodos que facilitam o teste de conteúdo HTML ou XML.

```php
# let's have an HTML document in $html that we load
# em $html é uma string com o documento HTML, em $dom obtemos o elemento raiz
$dom = Tester\DomQuery::fromHtml($html);

# we can test the presence of elements using CSS selectors
Expand All @@ -17,6 +17,9 @@ Assert::true($dom->has('input[type="submit"]'));

# or select elements as array of DomQuery
$elems = $dom->find('input[data-autocomplete]');

# ou verificar se o elemento corresponde ao seletor (a partir da versão 2.5.3)
Assert::true($elems[0]->matches('[type="submit"]'));
```


Expand Down
5 changes: 4 additions & 1 deletion tester/ro/helpers.texy
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ DomQuery .[#toc-domquery]
`Tester\DomQuery` este o clasă care extinde `SimpleXMLElement` cu metode care facilitează testarea conținutului HTML sau XML.

```php
# let's have an HTML document in $html that we load
# în $html este un șir de caractere cu documentul HTML, în $dom obținem elementul rădăcină
$dom = Tester\DomQuery::fromHtml($html);

# we can test the presence of elements using CSS selectors
Expand All @@ -17,6 +17,9 @@ Assert::true($dom->has('input[type="submit"]'));

# or select elements as array of DomQuery
$elems = $dom->find('input[data-autocomplete]');

# sau verifică dacă elementul se potrivește cu selectorul (din versiunea 2.5.3)
Assert::true($elems[0]->matches('[type="submit"]'));
```


Expand Down
5 changes: 4 additions & 1 deletion tester/ru/helpers.texy
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ DomQuery
`Tester\DomQuery` это класс, расширяющий `SimpleXMLElement` с методами, облегчающими тестирование содержимого HTML или XML.

```php
# let's have an HTML document in $html that we load
# в $html - строка с HTML-документом, в $dom - корневой элемент
$dom = Tester\DomQuery::fromHtml($html);

# we can test the presence of elements using CSS selectors
Expand All @@ -17,6 +17,9 @@ Assert::true($dom->has('input[type="submit"]'));

# or select elements as array of DomQuery
$elems = $dom->find('input[data-autocomplete]');

# или проверьте, соответствует ли элемент селектору (начиная с версии 2.5.3)
Assert::true($elems[0]->matches('[type="submit"]'));
```


Expand Down
5 changes: 4 additions & 1 deletion tester/sl/helpers.texy
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ DomQuery .[#toc-domquery]
`Tester\DomQuery` je razred, ki razširja `SimpleXMLElement` z metodami, ki olajšajo testiranje vsebine HTML ali XML.

```php
# let's have an HTML document in $html that we load
# v $html je niz z dokumentom HTML, v $dom dobimo korenski element
$dom = Tester\DomQuery::fromHtml($html);

# we can test the presence of elements using CSS selectors
Expand All @@ -17,6 +17,9 @@ Assert::true($dom->has('input[type="submit"]'));

# or select elements as array of DomQuery
$elems = $dom->find('input[data-autocomplete]');

# ali preverite, ali element ustreza izbirniku (od različice 2.5.3)
Assert::true($elems[0]->matches('[type="submit"]'));
```


Expand Down
5 changes: 4 additions & 1 deletion tester/tr/helpers.texy
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ DomQuery .[#toc-domquery]
`Tester\DomQuery` HTML veya XML içeriğini test etmeyi kolaylaştıran yöntemlerle `SimpleXMLElement` adresini genişleten bir sınıftır.

```php
# let's have an HTML document in $html that we load
# in $html HTML belgesini içeren bir dizedir, $dom içinde kök öğeyi alırız
$dom = Tester\DomQuery::fromHtml($html);

# we can test the presence of elements using CSS selectors
Expand All @@ -17,6 +17,9 @@ Assert::true($dom->has('input[type="submit"]'));

# or select elements as array of DomQuery
$elems = $dom->find('input[data-autocomplete]');

# veya öğenin seçiciyle eşleştiğini doğrulayın (2.5.3 sürümünden itibaren)
Assert::true($elems[0]->matches('[type="submit"]'));
```


Expand Down
5 changes: 4 additions & 1 deletion tester/uk/helpers.texy
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ DomQuery .[#toc-domquery]
`Tester\DomQuery` це клас, що розширює `SimpleXMLElement` з методами, які полегшують тестування вмісту HTML або XML.

```php
# let's have an HTML document in $html that we load
# в $html знаходиться рядок з HTML-документом, в $dom ми отримуємо кореневий елемент
$dom = Tester\DomQuery::fromHtml($html);

# we can test the presence of elements using CSS selectors
Expand All @@ -17,6 +17,9 @@ Assert::true($dom->has('input[type="submit"]'));

# or select elements as array of DomQuery
$elems = $dom->find('input[data-autocomplete]');

# або перевірка відповідності елемента селектору (починаючи з версії 2.5.3)
Assert::true($elems[0]->matches('[type="submit"]'));
```


Expand Down

0 comments on commit 589cf32

Please sign in to comment.