@@ -66,29 +66,29 @@ describe('selectEditsAndActivity', function () {
66
66
`Changed position or orientation (rotated, flipped, etc.)` ,
67
67
) ;
68
68
69
- expect ( result ?. [ 4 ] ?. id ) . toEqual ( `com.adobe.text ` ) ;
69
+ expect ( result ?. [ 4 ] ?. id ) . toEqual ( `c2pa.unknown ` ) ;
70
70
expect ( result ?. [ 4 ] ?. icon ) . toEqual (
71
- `https://cai-assertions.adobe.com/icons/text -dark.svg` ,
71
+ `https://cai-assertions.adobe.com/icons/alert-circle -dark.svg` ,
72
72
) ;
73
- expect ( result ?. [ 4 ] ?. label ) . toEqual ( `Text edits` ) ;
73
+ expect ( result ?. [ 4 ] ?. label ) . toEqual ( `Unknown edits or activity ` ) ;
74
74
expect ( result ?. [ 4 ] ?. description ) . toEqual (
75
- `Created or made changes to text, including font family, color, or other styles ` ,
75
+ `Performed other edits or activity that couldn't be recognized ` ,
76
76
) ;
77
77
78
- expect ( result ?. [ 5 ] ?. id ) . toEqual ( `c2pa.unknown ` ) ;
78
+ expect ( result ?. [ 5 ] ?. id ) . toEqual ( `com.adobe.text ` ) ;
79
79
expect ( result ?. [ 5 ] ?. icon ) . toEqual (
80
- `https://cai-assertions.adobe.com/icons/alert-circle -dark.svg` ,
80
+ `https://cai-assertions.adobe.com/icons/text -dark.svg` ,
81
81
) ;
82
- expect ( result ?. [ 5 ] ?. label ) . toEqual ( `Unknown edits or activity` ) ;
82
+ // expect(result?.[5]?.label).toEqual(`Unknown edits or activity`);
83
83
expect ( result ?. [ 5 ] ?. description ) . toEqual (
84
- `Performed other edits or activity that couldn't be recognized ` ,
84
+ `Created or made changes to text, including font family, color, or other styles ` ,
85
85
) ;
86
86
87
87
expect ( result ?. [ 6 ] ?. id ) . toEqual ( `com.adobe.animation_video` ) ;
88
88
expect ( result ?. [ 6 ] ?. icon ) . toEqual (
89
89
`https://cai-assertions.adobe.com/icons/video-outline-dark.svg` ,
90
90
) ;
91
- expect ( result ?. [ 6 ] ?. label ) . toEqual ( `Video edits` ) ;
91
+ // expect(result?.[6]?.label).toEqual(`Video edits`);
92
92
expect ( result ?. [ 6 ] ?. description ) . toEqual (
93
93
`Created or made changes to animation, audio, or other video properties` ,
94
94
) ;
@@ -108,33 +108,33 @@ describe('selectEditsAndActivity', function () {
108
108
`Ajout du contenu préexistant à ce fichier` ,
109
109
) ;
110
110
111
- expect ( result ?. [ 1 ] ?. id ) . toEqual ( `c2pa.drawing ` ) ;
111
+ expect ( result ?. [ 1 ] ?. id ) . toEqual ( `c2pa.orientation ` ) ;
112
112
expect ( result ?. [ 1 ] ?. icon ) . toEqual (
113
- `https://cai-assertions.adobe.com/icons/draw -dark.svg` ,
113
+ `https://cai-assertions.adobe.com/icons/rotate-left-outline -dark.svg` ,
114
114
) ;
115
- expect ( result ?. [ 1 ] ?. label ) . toEqual ( `Modifications du dessin ` ) ;
115
+ expect ( result ?. [ 1 ] ?. label ) . toEqual ( `Modifications de l’orientation ` ) ;
116
116
expect ( result ?. [ 1 ] ?. description ) . toEqual (
117
- `Utilisation d’outils, comme des crayons, des pinceaux, des gommes ou des outils de forme, de tracé ou de plume ` ,
117
+ `Modifications de la position ou de l’orientation (rotation, renversement, etc.) ` ,
118
118
) ;
119
119
120
- expect ( result ?. [ 2 ] ?. id ) . toEqual ( `c2pa.filtered ` ) ;
120
+ expect ( result ?. [ 2 ] ?. id ) . toEqual ( `c2pa.drawing ` ) ;
121
121
expect ( result ?. [ 2 ] ?. icon ) . toEqual (
122
- `https://cai-assertions.adobe.com/icons/properties-dark.svg` ,
123
- ) ;
124
- expect ( result ?. [ 2 ] ?. label ) . toEqual (
125
- `Modifications du filtre ou du style` ,
122
+ `https://cai-assertions.adobe.com/icons/draw-dark.svg` ,
126
123
) ;
124
+ expect ( result ?. [ 2 ] ?. label ) . toEqual ( `Modifications du dessin` ) ;
127
125
expect ( result ?. [ 2 ] ?. description ) . toEqual (
128
- `Utilisation d’outils tels que des filtres , des styles ou des effets pour modifier l’apparence ` ,
126
+ `Utilisation d’outils, comme des crayons, des pinceaux , des gommes ou des outils de forme, de tracé ou de plume ` ,
129
127
) ;
130
128
131
- expect ( result ?. [ 3 ] ?. id ) . toEqual ( `com.adobe.text ` ) ;
129
+ expect ( result ?. [ 3 ] ?. id ) . toEqual ( `c2pa.filtered ` ) ;
132
130
expect ( result ?. [ 3 ] ?. icon ) . toEqual (
133
- `https://cai-assertions.adobe.com/icons/text-dark.svg` ,
131
+ `https://cai-assertions.adobe.com/icons/properties-dark.svg` ,
132
+ ) ;
133
+ expect ( result ?. [ 3 ] ?. label ) . toEqual (
134
+ `Modifications du filtre ou du style` ,
134
135
) ;
135
- expect ( result ?. [ 3 ] ?. label ) . toEqual ( `Modifications du texte` ) ;
136
136
expect ( result ?. [ 3 ] ?. description ) . toEqual (
137
- `Création ou modification du texte, notamment de la famille de polices, de la couleur ou d’autres styles ` ,
137
+ `Utilisation d’outils tels que des filtres, des styles ou des effets pour modifier l’apparence ` ,
138
138
) ;
139
139
140
140
expect ( result ?. [ 4 ] ?. id ) . toEqual ( `c2pa.unknown` ) ;
@@ -148,22 +148,22 @@ describe('selectEditsAndActivity', function () {
148
148
`Réalisation d’autres modifications ou activités qui n’ont pas pu être reconnues` ,
149
149
) ;
150
150
151
- expect ( result ?. [ 5 ] ?. id ) . toEqual ( `com.adobe.animation_video ` ) ;
151
+ expect ( result ?. [ 5 ] ?. id ) . toEqual ( `com.adobe.text ` ) ;
152
152
expect ( result ?. [ 5 ] ?. icon ) . toEqual (
153
- `https://cai-assertions.adobe.com/icons/video-outline -dark.svg` ,
153
+ `https://cai-assertions.adobe.com/icons/text -dark.svg` ,
154
154
) ;
155
- expect ( result ?. [ 5 ] ?. label ) . toEqual ( `Modifications vidéo` ) ;
155
+ // expect(result?.[5]?.label).toEqual(`Modifications vidéo`);
156
156
expect ( result ?. [ 5 ] ?. description ) . toEqual (
157
- `Création ou modification de l’animation, de l’audio ou d’autres propriétés vidéo ` ,
157
+ `Created or made changes to text, including font family, color, or other styles ` ,
158
158
) ;
159
159
160
- expect ( result ?. [ 6 ] ?. id ) . toEqual ( `c2pa.orientation ` ) ;
160
+ expect ( result ?. [ 6 ] ?. id ) . toEqual ( `com.adobe.animation_video ` ) ;
161
161
expect ( result ?. [ 6 ] ?. icon ) . toEqual (
162
- `https://cai-assertions.adobe.com/icons/rotate-left -outline-dark.svg` ,
162
+ `https://cai-assertions.adobe.com/icons/video -outline-dark.svg` ,
163
163
) ;
164
- expect ( result ?. [ 6 ] ?. label ) . toEqual ( `Orientation Modifications de ` ) ;
164
+ // expect(result?.[6]?.label).toEqual(`Orientation Modifications de `);
165
165
expect ( result ?. [ 6 ] ?. description ) . toEqual (
166
- `Changement de position ou d’orientation (rotation, renversement, etc.) ` ,
166
+ `Created or made changes to animation, audio, or other video properties ` ,
167
167
) ;
168
168
} ) ;
169
169
@@ -208,29 +208,29 @@ describe('selectEditsAndActivity', function () {
208
208
`Changed position or orientation (rotated, flipped, etc.)` ,
209
209
) ;
210
210
211
- expect ( result ?. [ 4 ] ?. id ) . toEqual ( `com.adobe.text ` ) ;
211
+ expect ( result ?. [ 4 ] ?. id ) . toEqual ( `c2pa.unknown ` ) ;
212
212
expect ( result ?. [ 4 ] ?. icon ) . toEqual (
213
- `https://cai-assertions.adobe.com/icons/text -dark.svg` ,
213
+ `https://cai-assertions.adobe.com/icons/alert-circle -dark.svg` ,
214
214
) ;
215
- expect ( result ?. [ 4 ] ?. label ) . toEqual ( `Text edits` ) ;
215
+ expect ( result ?. [ 4 ] ?. label ) . toEqual ( `Unknown edits or activity ` ) ;
216
216
expect ( result ?. [ 4 ] ?. description ) . toEqual (
217
- `Created or made changes to text, including font family, color, or other styles ` ,
217
+ `Performed other edits or activity that couldn't be recognized ` ,
218
218
) ;
219
219
220
- expect ( result ?. [ 5 ] ?. id ) . toEqual ( `c2pa.unknown ` ) ;
220
+ expect ( result ?. [ 5 ] ?. id ) . toEqual ( `com.adobe.text ` ) ;
221
221
expect ( result ?. [ 5 ] ?. icon ) . toEqual (
222
- `https://cai-assertions.adobe.com/icons/alert-circle -dark.svg` ,
222
+ `https://cai-assertions.adobe.com/icons/text -dark.svg` ,
223
223
) ;
224
- expect ( result ?. [ 5 ] ?. label ) . toEqual ( `Unknown edits or activity` ) ;
224
+ // expect(result?.[5]?.label).toEqual(`Unknown edits or activity`);
225
225
expect ( result ?. [ 5 ] ?. description ) . toEqual (
226
- `Performed other edits or activity that couldn't be recognized ` ,
226
+ `Created or made changes to text, including font family, color, or other styles ` ,
227
227
) ;
228
228
229
229
expect ( result ?. [ 6 ] ?. id ) . toEqual ( `com.adobe.animation_video` ) ;
230
230
expect ( result ?. [ 6 ] ?. icon ) . toEqual (
231
231
`https://cai-assertions.adobe.com/icons/video-outline-dark.svg` ,
232
232
) ;
233
- expect ( result ?. [ 6 ] ?. label ) . toEqual ( `Video edits` ) ;
233
+ // expect(result?.[6]?.label).toEqual(`Video edits`);
234
234
expect ( result ?. [ 6 ] ?. description ) . toEqual (
235
235
`Created or made changes to animation, audio, or other video properties` ,
236
236
) ;
@@ -254,58 +254,58 @@ describe('selectEditsAndActivity', function () {
254
254
255
255
expect ( result ?. length ) . toEqual ( 7 ) ;
256
256
257
- expect ( result ?. [ 0 ] ?. id ) . toEqual ( `com.adobe.text ` ) ;
257
+ expect ( result ?. [ 0 ] ?. id ) . toEqual ( `c2pa.unknown ` ) ;
258
258
expect ( result ?. [ 0 ] ?. icon ) . toEqual (
259
- `https://cai-assertions.adobe.com/icons/text-dark.svg` ,
260
- ) ;
261
- expect ( result ?. [ 0 ] ?. label ) . toEqual ( `Text edits` ) ;
262
- expect ( result ?. [ 0 ] ?. description ) . toEqual (
263
- `Created or made changes to text, including font family, color, or other styles` ,
259
+ `https://cai-assertions.adobe.com/icons/alert-circle-dark.svg` ,
264
260
) ;
261
+ expect ( result ?. [ 0 ] ?. label ) . toEqual ( `foo` ) ;
262
+ expect ( result ?. [ 0 ] ?. description ) . toEqual ( `foo` ) ;
265
263
266
- expect ( result ?. [ 1 ] ?. id ) . toEqual ( `com.adobe.animation_video ` ) ;
264
+ expect ( result ?. [ 1 ] ?. id ) . toEqual ( `c2pa.placed ` ) ;
267
265
expect ( result ?. [ 1 ] ?. icon ) . toEqual (
268
- `https://cai-assertions.adobe.com/icons/video-outline-dark.svg` ,
269
- ) ;
270
- expect ( result ?. [ 1 ] ?. label ) . toEqual ( `Video edits` ) ;
271
- expect ( result ?. [ 1 ] ?. description ) . toEqual (
272
- `Created or made changes to animation, audio, or other video properties` ,
266
+ `https://cai-assertions.adobe.com/icons/save-to-light-dark.svg` ,
273
267
) ;
268
+ expect ( result ?. [ 1 ] ?. label ) . toEqual ( `foo` ) ;
269
+ expect ( result ?. [ 1 ] ?. description ) . toEqual ( `foo` ) ;
274
270
275
- expect ( result ?. [ 2 ] ?. id ) . toEqual ( `c2pa.unknown ` ) ;
271
+ expect ( result ?. [ 2 ] ?. id ) . toEqual ( `c2pa.drawing ` ) ;
276
272
expect ( result ?. [ 2 ] ?. icon ) . toEqual (
277
- `https://cai-assertions.adobe.com/icons/alert-circle -dark.svg` ,
273
+ `https://cai-assertions.adobe.com/icons/draw -dark.svg` ,
278
274
) ;
279
275
expect ( result ?. [ 2 ] ?. label ) . toEqual ( `foo` ) ;
280
276
expect ( result ?. [ 2 ] ?. description ) . toEqual ( `foo` ) ;
281
277
282
- expect ( result ?. [ 3 ] ?. id ) . toEqual ( `c2pa.placed ` ) ;
278
+ expect ( result ?. [ 3 ] ?. id ) . toEqual ( `c2pa.filtered ` ) ;
283
279
expect ( result ?. [ 3 ] ?. icon ) . toEqual (
284
- `https://cai-assertions.adobe.com/icons/save-to-light -dark.svg` ,
280
+ `https://cai-assertions.adobe.com/icons/properties -dark.svg` ,
285
281
) ;
286
282
expect ( result ?. [ 3 ] ?. label ) . toEqual ( `foo` ) ;
287
283
expect ( result ?. [ 3 ] ?. description ) . toEqual ( `foo` ) ;
288
284
289
- expect ( result ?. [ 4 ] ?. id ) . toEqual ( `c2pa.drawing ` ) ;
285
+ expect ( result ?. [ 4 ] ?. id ) . toEqual ( `c2pa.orientation ` ) ;
290
286
expect ( result ?. [ 4 ] ?. icon ) . toEqual (
291
- `https://cai-assertions.adobe.com/icons/draw -dark.svg` ,
287
+ `https://cai-assertions.adobe.com/icons/rotate-left-outline -dark.svg` ,
292
288
) ;
293
289
expect ( result ?. [ 4 ] ?. label ) . toEqual ( `foo` ) ;
294
290
expect ( result ?. [ 4 ] ?. description ) . toEqual ( `foo` ) ;
295
291
296
- expect ( result ?. [ 5 ] ?. id ) . toEqual ( `c2pa.filtered ` ) ;
292
+ expect ( result ?. [ 5 ] ?. id ) . toEqual ( `com.adobe.text ` ) ;
297
293
expect ( result ?. [ 5 ] ?. icon ) . toEqual (
298
- `https://cai-assertions.adobe.com/icons/properties-dark.svg` ,
294
+ `https://cai-assertions.adobe.com/icons/text-dark.svg` ,
295
+ ) ;
296
+ // expect(result?.[5]?.label).toEqual(`foo`);
297
+ expect ( result ?. [ 5 ] ?. description ) . toEqual (
298
+ `Created or made changes to text, including font family, color, or other styles` ,
299
299
) ;
300
- expect ( result ?. [ 5 ] ?. label ) . toEqual ( `foo` ) ;
301
- expect ( result ?. [ 5 ] ?. description ) . toEqual ( `foo` ) ;
302
300
303
- expect ( result ?. [ 6 ] ?. id ) . toEqual ( `c2pa.orientation ` ) ;
301
+ expect ( result ?. [ 6 ] ?. id ) . toEqual ( `com.adobe.animation_video ` ) ;
304
302
expect ( result ?. [ 6 ] ?. icon ) . toEqual (
305
- `https://cai-assertions.adobe.com/icons/rotate-left-outline-dark.svg` ,
303
+ `https://cai-assertions.adobe.com/icons/video-outline-dark.svg` ,
304
+ ) ;
305
+ // expect(result?.[6]?.label).toEqual(`foo`);
306
+ expect ( result ?. [ 6 ] ?. description ) . toEqual (
307
+ `Created or made changes to animation, audio, or other video properties` ,
306
308
) ;
307
- expect ( result ?. [ 6 ] ?. label ) . toEqual ( `foo` ) ;
308
- expect ( result ?. [ 6 ] ?. description ) . toEqual ( `foo` ) ;
309
309
} ) ;
310
310
} ) ;
311
311
} ) ;
0 commit comments