Files
ssw-mvp/docs/e2e/cases/TC-COMPAT-003.mjs
T
admin 3247e9fd15 init: ssw-mvp initial commit
- boot/ (Java/Maven, JNPF 7.0) — 移除旧的 boot/.git,源码直接纳入仓库
- web/ (Vue 3 + Vite + Ant Design Vue, pnpm)
- docs/, scard/, nax/
- refs/INDEX.md + refs/国标/(其余 refs/* 开源子仓库不纳入)
- 已忽略: connector_data/, jweb/, log/, web/{dist,node_modules,.pnpm}, boot/*/target/, .DS_Store, .idea, .vscode
2026-08-05 18:29:12 +08:00

27 lines
985 B
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/**
* TC-COMPAT-003 · 遵循兼容性相关标准
* Q-COMPAT 兼容性 · 正向 · P1
* 预期:系统的设计与开发遵循相关兼容性标准
*/
export const meta = {
tc: 'TC-COMPAT-003',
req: 'Q-COMPAT',
title: '遵循兼容性相关标准',
type: '正向',
priority: 'P1',
needs: ['be', 'manual']
}
export async function run(t) {
await t.login()
// OIDC/标准 headers 遵循 JNPF 约定
const r = await t.api('GET', '/api/oauth/CurrentUser', undefined, { raw: true })
t.assert(r.status === 200 || r.status === 401, `OAuth/CurrentUser 端点遵循 JNPF 协议(HTTP ${r.status})`)
t.manual([
'人工核对遵循的标准:',
'1) 区块链存证 —— 飞梭链(FISCO BCOS)国密合规;',
'2) 隐私计算 —— 集成 SecretFlow / WeDPR / PrimiHub 三大引擎原语;',
'3) 数据沙箱 —— kata confidential containers(K8s 标准接口);',
'4) 国标 7 项 —— docs/refs/国标/。'
].join('\n'))
}