lllin000_PaperForge/tests/fixtures/bbt_export_mixed.json
Research Assistant 72cbdc3250 test(11-01): add test_path_normalization.py with 25 test methods
- TestBBTPathNormalization: 8 tests covering absolute Windows, storage: prefix,
  bare relative, Chinese chars, spaces, backslash normalization, empty path,
  absolute non-storage
- TestMainPdfIdentification: 6 tests covering title=PDF primary, largest file
  fallback, first PDF fallback, no PDFs, single PDF, mixed PDF/non-PDF
- TestWikilinkGeneration: 6 tests covering basic wikilink, junction resolution,
  forward slashes, Chinese filename, empty path, nonexistent file
- TestLoadExportRowsIntegration: 5 tests using fixture JSON files
- Fixtures: bbt_export_absolute.json, bbt_export_storage.json,
  bbt_export_mixed.json
2026-04-24 20:30:32 +08:00

51 lines
1.3 KiB
JSON

{
"items": [
{
"key": "MIXED001",
"itemKey": "MIXED001",
"itemType": "journalArticle",
"title": "Mixed Formats Paper",
"date": "2024",
"publicationTitle": "Mixed Journal",
"DOI": "10.9012/mixed.003",
"attachments": [
{
"path": "D:\\L\\Med\\Research\\99_System\\Zotero\\storage\\MIXED001\\Mixed Formats Paper.pdf",
"contentType": "application/pdf",
"title": "PDF",
"size": 2048000
},
{
"path": "storage:MIXED001/supplementary data.pdf",
"contentType": "application/pdf",
"title": "Supplementary Data",
"size": 512000
},
{
"path": "MIXED001/MIXED001.docx",
"contentType": "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
"title": "Word Document",
"size": 256000
}
]
},
{
"key": "BARE002",
"itemKey": "BARE002",
"itemType": "journalArticle",
"title": "Bare Relative Path Paper",
"date": "2023",
"publicationTitle": "Bare Journal",
"DOI": "10.3456/bare.004",
"attachments": [
{
"path": "BARE002/BARE002.pdf",
"contentType": "application/pdf",
"title": "PDF",
"size": 1536000
}
]
}
],
"collections": {}
}