File tree Expand file tree Collapse file tree 1 file changed +22
-5
lines changed Expand file tree Collapse file tree 1 file changed +22
-5
lines changed Original file line number Diff line number Diff line change @@ -23,14 +23,31 @@ export function algorithmSuite({
2323}
2424
2525export function ecdsaRdfc2019Algorithms ( {
26+ endpoints,
2627 suiteName,
28+ keyType,
2729 vcVersion
2830} ) {
2931 return describe ( `${ suiteName } - Algorithms - VC ${ vcVersion } ` , function ( ) {
30- it ( 'The transformation options MUST contain a type identifier for the ' +
31- 'cryptographic suite (type) and a cryptosuite identifier (cryptosuite).' ,
32- async function ( ) {
33- this . test . link = 'https://w3c.github.io/vc-di-ecdsa/#transformation-ecdsa-rdfc-2019' ;
34- } ) ;
32+ this . matrix = true ;
33+ this . report = true ;
34+ this . implemented = [ ...endpoints ] ;
35+ this . rowLabel = 'Test Name' ;
36+ this . columnLabel = 'Implementation' ;
37+ for ( const [ name , { endpoints : issuers } ] of endpoints ) {
38+ describe ( `${ name } : ${ keyType } ` , function ( ) {
39+ beforeEach ( function ( ) {
40+ this . currentTest . cell = {
41+ rowId : this . currentTest . title ,
42+ columnId : this . currentTest . parent . title
43+ } ;
44+ } ) ;
45+ it ( 'The transformation options MUST contain a type identifier for ' +
46+ 'the cryptographic suite (type) and a cryptosuite identifier ' +
47+ '(cryptosuite).' , async function ( ) {
48+ this . test . link = 'https://w3c.github.io/vc-di-ecdsa/#transformation-ecdsa-rdfc-2019' ;
49+ } ) ;
50+ } ) ;
51+ }
3552 } ) ;
3653}
You can’t perform that action at this time.
0 commit comments