Optymalizacja soneta-form-xml skill
This commit is contained in:
@@ -0,0 +1,50 @@
|
||||
{
|
||||
"expectations": [
|
||||
{
|
||||
"text": "Plik zaczyna się od <?xml version=\"1.0\" encoding=\"utf-8\"?>",
|
||||
"passed": true,
|
||||
"evidence": "Linia 1: <?xml version=\"1.0\" encoding=\"utf-8\"?>"
|
||||
},
|
||||
{
|
||||
"text": "Element DataForm ma atrybut Priority=\"10\"",
|
||||
"passed": true,
|
||||
"evidence": "Linia 6: Priority=\"10\" w elemencie DataForm"
|
||||
},
|
||||
{
|
||||
"text": "Element Page ma atrybut DataContext=\"{DataSource}\"",
|
||||
"passed": true,
|
||||
"evidence": "Linia 8: <Page CaptionHtml=\"Szczegoly\" DataContext=\"{DataSource}\">"
|
||||
},
|
||||
{
|
||||
"text": "Są trzy elementy Group: 'Dane podstawowe', 'Warunki', 'Pozycje'",
|
||||
"passed": true,
|
||||
"evidence": "Linie 10, 17, 30: Group CaptionHtml=\"Dane podstawowe\", \"Warunki\", \"Pozycje\""
|
||||
},
|
||||
{
|
||||
"text": "Układ dwukolumnowy w grupie Warunki używa Row zawierającego Stack",
|
||||
"passed": true,
|
||||
"evidence": "Linie 18-28: <Row><Stack>SposobDostawy, TerminDostawy</Stack><Stack>SposobZaplaty, TerminZaplaty</Stack></Row>"
|
||||
},
|
||||
{
|
||||
"text": "Element Grid ma atrybuty IsToolbarVisible=\"true\", EditInPlace=\"true\", NewInPlace=\"true\"",
|
||||
"passed": true,
|
||||
"evidence": "Linie 31-35: Grid z IsToolbarVisible=\"true\" EditInPlace=\"true\" NewInPlace=\"true\""
|
||||
},
|
||||
{
|
||||
"text": "Pola Ilosc i Wartosc w Grid mają atrybut Footer=\"Sum\"",
|
||||
"passed": true,
|
||||
"evidence": "Linia 38: Footer=\"Sum\" na Ilosc; Linia 40: Footer=\"Sum\" na Wartosc"
|
||||
},
|
||||
{
|
||||
"text": "Binding pól używa składni {NazwaPola} w cudzysłowie",
|
||||
"passed": true,
|
||||
"evidence": "EditValue=\"{Numer}\", EditValue=\"{DataZlozenia}\" itp. — poprawna składnia"
|
||||
}
|
||||
],
|
||||
"summary": {
|
||||
"passed": 8,
|
||||
"failed": 0,
|
||||
"total": 8,
|
||||
"pass_rate": 1.0
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user