This commit is contained in:
33
e2e/swift_e2e/Tests/KreuzbergE2ETests/RegistryOperationsTests.swift
generated
Normal file
33
e2e/swift_e2e/Tests/KreuzbergE2ETests/RegistryOperationsTests.swift
generated
Normal file
@@ -0,0 +1,33 @@
|
||||
// This file is auto-generated by alef — DO NOT EDIT.
|
||||
// alef:hash:4e15143f4af1ae8bafbdb1506ef057da924484c66a19483966333558ad437e75
|
||||
// To regenerate: alef generate
|
||||
// To verify freshness: alef verify --exit-code
|
||||
// Issues & docs: https://github.com/kreuzberg-dev/alef
|
||||
// swift-format-ignore-file
|
||||
|
||||
import XCTest
|
||||
import Foundation
|
||||
#if canImport(FoundationNetworking)
|
||||
import FoundationNetworking
|
||||
#endif
|
||||
import Kreuzberg
|
||||
import RustBridge
|
||||
|
||||
/// E2e tests for category: registry_operations.
|
||||
final class RegistryOperationsTests: XCTestCase {
|
||||
func testExtensionsDocx() throws {
|
||||
// Get file extensions for DOCX MIME type
|
||||
let result = try Kreuzberg.getExtensionsForMime(mimeType: "application/vnd.openxmlformats-officedocument.wordprocessingml.document")
|
||||
}
|
||||
|
||||
func testExtensionsHtml() throws {
|
||||
// Get file extensions for HTML MIME type
|
||||
let result = try Kreuzberg.getExtensionsForMime(mimeType: "text/html")
|
||||
}
|
||||
|
||||
func testExtensionsPdf() throws {
|
||||
// Get file extensions for PDF MIME type
|
||||
let result = try Kreuzberg.getExtensionsForMime(mimeType: "application/pdf")
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user