文件
mynode/packages/fork-sax/test/issue-23.js
chen 301194963b
一些检查失败了
automerge / automerge (push) Has been cancelled
react-native-android-build-apk / AssembleRelease (push) Has been cancelled
Build macOS M1 / Main (push) Has been cancelled
Joplin Continuous Integration / Main (macos-15-intel) (push) Has been cancelled
Joplin Continuous Integration / Main (ubuntu-22.04) (push) Has been cancelled
Joplin Continuous Integration / Main (ubuntu-22.04-arm) (push) Has been cancelled
Joplin Continuous Integration / Main (windows-11-vs2026-arm) (push) Has been cancelled
Joplin Continuous Integration / Main (windows-2025) (push) Has been cancelled
Joplin Continuous Integration / ServerDockerImage (ubuntu-22.04) (push) Has been cancelled
Joplin Continuous Integration / ServerDockerImage (ubuntu-22.04-arm) (push) Has been cancelled
Joplin UI tests / Main (ubuntu-22.04) (push) Has been cancelled
Joplin UI tests / Main (windows-2025) (push) Has been cancelled
Joplin UI tests / Mobile (push) Has been cancelled
Close stale issues / ProcessStaleIssues (push) Has been cancelled
feat: Initial clean release of CHM
2026-11-04 11:29:39 +08:00

47 行
1.9 KiB
JavaScript

require(__dirname).test({
xml: '<compileClassesResponse>' +
'<result>' +
'<bodyCrc>653724009</bodyCrc>' +
'<column>-1</column>' +
'<id>01pG0000002KoSUIA0</id>' +
'<line>-1</line>' +
'<name>CalendarController</name>' +
'<success>true</success>' +
'</result>' +
'</compileClassesResponse>',
expect: [
[ 'opentagstart', { name: 'COMPILECLASSESRESPONSE', attributes: {} } ],
[ 'opentag', { name: 'COMPILECLASSESRESPONSE', attributes: {}, isSelfClosing: false } ],
[ 'opentagstart', { name: 'RESULT', attributes: {} } ],
[ 'opentag', { name: 'RESULT', attributes: {}, isSelfClosing: false } ],
[ 'opentagstart', { name: 'BODYCRC', attributes: {} } ],
[ 'opentag', { name: 'BODYCRC', attributes: {}, isSelfClosing: false } ],
[ 'text', '653724009' ],
[ 'closetag', 'BODYCRC' ],
[ 'opentagstart', { name: 'COLUMN', attributes: {} } ],
[ 'opentag', { name: 'COLUMN', attributes: {}, isSelfClosing: false } ],
[ 'text', '-1' ],
[ 'closetag', 'COLUMN' ],
[ 'opentagstart', { name: 'ID', attributes: {} } ],
[ 'opentag', { name: 'ID', attributes: {}, isSelfClosing: false } ],
[ 'text', '01pG0000002KoSUIA0' ],
[ 'closetag', 'ID' ],
[ 'opentagstart', { name: 'LINE', attributes: {} } ],
[ 'opentag', { name: 'LINE', attributes: {}, isSelfClosing: false } ],
[ 'text', '-1' ],
[ 'closetag', 'LINE' ],
[ 'opentagstart', { name: 'NAME', attributes: {} } ],
[ 'opentag', { name: 'NAME', attributes: {}, isSelfClosing: false } ],
[ 'text', 'CalendarController' ],
[ 'closetag', 'NAME' ],
[ 'opentagstart', { name: 'SUCCESS', attributes: {} } ],
[ 'opentag', { name: 'SUCCESS', attributes: {}, isSelfClosing: false } ],
[ 'text', 'true' ],
[ 'closetag', 'SUCCESS' ],
[ 'closetag', 'RESULT' ],
[ 'closetag', 'COMPILECLASSESRESPONSE' ]
],
strict: false,
opt: {}
})