Project

General

Profile

Actions

User Story #764

closed

Тестирование update processor на LSB и POSIX

Added by Alexey Khoroshilov almost 14 years ago. Updated almost 14 years ago.

Status:
Closed
Priority:
Normal
Category:
-
Target version:
Start date:
02/01/2011
Due date:
% Done:

100%

Estimated time:
20.00 h
Published in build:
0.9.55

Description

Сначала для LSB как маленького (по размеченности), а потом и для POSIX:
1. Импортировать разметку LSB и POSIX в проект (из старого-старого формата).
2. Импортировать новую версию стандарта без разметки и прогнать update processor.
3. Проверить результаты автоматического распознования.
4. Подготовить из этого тест/тесты.


Files

LSB-3.1.tar.gz (427 KB) LSB-3.1.tar.gz Размеченный стандарт Alexey Khoroshilov, 02/01/2011 09:05 PM
susv3-markup.tar.gz (1.15 MB) susv3-markup.tar.gz Размеченный стандарт POSIX-2004(SuSv3) Alexey Khoroshilov, 02/03/2011 02:37 PM
filez.tar.gz (1.41 MB) filez.tar.gz Yuriy Shekochihin, 02/10/2011 03:05 PM
filez-new.tar.gz (1.41 MB) filez-new.tar.gz Yuriy Shekochihin, 02/11/2011 02:53 PM
Actions #1

Updated by Alexey Khoroshilov almost 14 years ago

  • translation missing: en.field_position set to 6
Actions #2

Updated by Alexey Khoroshilov almost 14 years ago

  • translation missing: en.field_position deleted (6)
  • translation missing: en.field_position set to 5
Actions #3

Updated by Alexey Demakov almost 14 years ago

Где брать размеченные и неразмеченные документы?

Actions #4

Updated by Alexey Khoroshilov almost 14 years ago

Размеченный LSB приложен, неразмеченный:
http://refspecs.linux-foundation.org/LSB_3.2.0/LSB-Core-generic/LSB-Core-generic/
http://refspecs.linux-foundation.org/LSB_4.0.0/LSB-Core-generic/LSB-Core-generic/

Старая документация по импорту:

Конвертирование
java -classpath "../libs/reqdb.jar" "com.unitesk.reqdb.legacy.Converter" <input file> <output file>

Импорт
java -classpath "../libs/reqdb.jar" "com.unitesk.reqdb.legacy.XhtmlImport" <input file> <path to catalogue> <root ID> <branch>

Actions #6

Updated by Alexey Demakov almost 14 years ago

  • translation missing: en.field_story_points set to 5
  • translation missing: en.field_position deleted (4)
  • translation missing: en.field_position set to 4
Actions #7

Updated by Yuriy Shekochihin almost 14 years ago

Тестовый набор с конвертированных файлов

Actions #8

Updated by Vladimir Fedotov almost 14 years ago

  • Status changed from New to Open
  • Assignee set to Vladimir Fedotov
  • Estimated time set to 20.00 h
Actions #9

Updated by Yuriy Shekochihin almost 14 years ago

Новые файлики

Actions #10

Updated by Vladimir Fedotov almost 14 years ago

  • % Done changed from 0 to 20

Пример из filez-new/atanh.html.xhtml:
<span class="requality_text id_1c97cf26-4f94-495b-9018-984d354eb686"><a id="id_1c97cf26-4f94-495b-9018-984d354eb686" name="1c97cf26-4f94-495b-9018-984d354eb686" class="requality_id"></a><p title="GENERAL:atanh?.*">These functions shall compute the inverse hyperbolic tangent of their argument <i>x</i>.</p></span>

Структура не соответствует документам размеченным Requality, здесь в span завернуты вложенные теги, а там - только текстовые ноды.

Ожидалось что-то вроде:
<p title="GENERAL:atanh?.*"><span class="requality_text id_1c97cf26-4f94-495b-9018-984d354eb686"><a id="id_1c97cf26-4f94-495b-9018-984d354eb686" name="1c97cf26-4f94-495b-9018-984d354eb686" class="requality_id"></a>These functions shall compute the inverse hyperbolic tangent of their argument </span><i><span class="requality_text id_1c97cf26-4f94-495b-9018-984d354eb686">x</span></i><span class="requality_text id_1c97cf26-4f94-495b-9018-984d354eb686">.</span></p>

Actions #11

Updated by Vladimir Fedotov almost 14 years ago

  • % Done changed from 20 to 30

Конвертер работает. Merge отработал без ошибок и падений, результат пока не проверялся.

Actions #12

Updated by Vladimir Fedotov almost 14 years ago

  • % Done changed from 30 to 70

Тест на POSIX зеленый.

Actions #13

Updated by Vladimir Fedotov almost 14 years ago

  • Status changed from Open to Resolved
  • % Done changed from 70 to 100

Applied in changeset r1678.

Actions #14

Updated by Alexey Demakov almost 14 years ago

  • Published in build set to 0.9.55
Actions #15

Updated by Alexey Khoroshilov almost 14 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF