|
545 | 545 | variables: |
546 | 546 | file: file:///examples/python/file_a.py |
547 | 547 | effort: 1 |
| 548 | + test-regex-pattern-00000: |
| 549 | + description: Test regex pattern for TypeScript/JavaScript files |
| 550 | + category: potential |
| 551 | + incidents: |
| 552 | + - uri: file:///examples/nodejs/Component.tsx |
| 553 | + message: Found React reference using regex pattern |
| 554 | + codeSnip: " 1 import React from 'react';\n 2 \n 3 export const MyComponent: React.FC = () => {\n 4 return <div>Hello from TypeScript React</div>;\n 5 };\n" |
| 555 | + lineNumber: 1 |
| 556 | + variables: |
| 557 | + matchingText: React |
| 558 | + - uri: file:///examples/nodejs/Component.tsx |
| 559 | + message: Found React reference using regex pattern |
| 560 | + codeSnip: " 1 import React from 'react';\n 2 \n 3 export const MyComponent: React.FC = () => {\n 4 return <div>Hello from TypeScript React</div>;\n 5 };\n" |
| 561 | + lineNumber: 3 |
| 562 | + variables: |
| 563 | + matchingText: React |
| 564 | + - uri: file:///examples/nodejs/Component.tsx |
| 565 | + message: Found React reference using regex pattern |
| 566 | + codeSnip: " 1 import React from 'react';\n 2 \n 3 export const MyComponent: React.FC = () => {\n 4 return <div>Hello from TypeScript React</div>;\n 5 };\n" |
| 567 | + lineNumber: 4 |
| 568 | + variables: |
| 569 | + matchingText: React |
| 570 | + - uri: file:///examples/nodejs/LegacyComponent.jsx |
| 571 | + message: Found React reference using regex pattern |
| 572 | + codeSnip: " 1 import React from 'react';\n 2 \n 3 export const LegacyComponent = () => {\n 4 return <div>Hello from JavaScript React</div>;\n 5 };\n" |
| 573 | + lineNumber: 1 |
| 574 | + variables: |
| 575 | + matchingText: React |
| 576 | + - uri: file:///examples/nodejs/LegacyComponent.jsx |
| 577 | + message: Found React reference using regex pattern |
| 578 | + codeSnip: " 1 import React from 'react';\n 2 \n 3 export const LegacyComponent = () => {\n 4 return <div>Hello from JavaScript React</div>;\n 5 };\n" |
| 579 | + lineNumber: 4 |
| 580 | + variables: |
| 581 | + matchingText: React |
| 582 | + effort: 1 |
548 | 583 | test-tsx-support-00000: |
549 | 584 | description: Test that .tsx files are scanned (builtin provider) |
550 | 585 | category: potential |
|
557 | 592 | matchingText: import React |
558 | 593 | effort: 1 |
559 | 594 | test-tsx-support-00010: |
560 | | - description: Test that nodejs provider can find references in .tsx files |
| 595 | + description: Test that nodejs provider can find references in TypeScript/React files |
561 | 596 | category: potential |
562 | 597 | incidents: |
563 | 598 | - uri: file:///examples/nodejs/Component.tsx |
564 | | - message: Found React reference in .tsx file using nodejs provider |
| 599 | + message: Found React reference using nodejs provider |
565 | 600 | codeSnip: " 1 import React from 'react';\n 2 \n 3 export const MyComponent: React.FC = () => {\n 4 return <div>Hello from TypeScript React</div>;\n 5 };\n" |
566 | 601 | lineNumber: 2 |
567 | 602 | variables: |
568 | 603 | file: file:///examples/nodejs/Component.tsx |
569 | 604 | effort: 1 |
570 | | - typescript-test-001: |
571 | | - description: Testing TypeScript (.ts) file analysis |
572 | | - category: potential |
573 | | - incidents: |
574 | | - - uri: file:///examples/nodejs/test_a.ts |
575 | | - message: TypeScript interface found |
576 | | - codeSnip: " 1 export interface Greeter {\n 2 name: string;\n 3 hello(): string;\n 4 }\n 5 \n 6 export const greeter: Greeter = {\n 7 name: \"Person1\",\n 8 hello() {\n 9 return `Hello, I'm ${this.name}`;\n10 },\n11 };\n" |
577 | | - lineNumber: 5 |
578 | | - variables: |
579 | | - file: file:///examples/nodejs/test_a.ts |
580 | | - - uri: file:///examples/nodejs/test_b.ts |
581 | | - message: TypeScript interface found |
582 | | - codeSnip: " 1 import { greeter } from './test_a';\n 2 \n 3 console.log(greeter.hello());\n" |
583 | | - lineNumber: 0 |
584 | | - variables: |
585 | | - file: file:///examples/nodejs/test_b.ts |
586 | | - - uri: file:///examples/nodejs/test_b.ts |
587 | | - message: TypeScript interface found |
588 | | - codeSnip: " 1 import { greeter } from './test_a';\n 2 \n 3 console.log(greeter.hello());\n" |
589 | | - lineNumber: 2 |
590 | | - variables: |
591 | | - file: file:///examples/nodejs/test_b.ts |
592 | | - effort: 1 |
593 | | - typescript-test-002: |
594 | | - description: Testing TypeScript function detection |
595 | | - category: potential |
596 | | - incidents: |
597 | | - - uri: file:///examples/nodejs/test_a.ts |
598 | | - message: TypeScript function found |
599 | | - codeSnip: " 1 export interface Greeter {\n 2 name: string;\n 3 hello(): string;\n 4 }\n 5 \n 6 export const greeter: Greeter = {\n 7 name: \"Person1\",\n 8 hello() {\n 9 return `Hello, I'm ${this.name}`;\n10 },\n11 };\n" |
600 | | - lineNumber: 2 |
601 | | - variables: |
602 | | - file: file:///examples/nodejs/test_a.ts |
603 | | - - uri: file:///examples/nodejs/test_a.ts |
604 | | - message: TypeScript function found |
605 | | - codeSnip: " 1 export interface Greeter {\n 2 name: string;\n 3 hello(): string;\n 4 }\n 5 \n 6 export const greeter: Greeter = {\n 7 name: \"Person1\",\n 8 hello() {\n 9 return `Hello, I'm ${this.name}`;\n10 },\n11 };\n" |
606 | | - lineNumber: 7 |
607 | | - variables: |
608 | | - file: file:///examples/nodejs/test_a.ts |
609 | | - - uri: file:///examples/nodejs/test_b.ts |
610 | | - message: TypeScript function found |
611 | | - codeSnip: " 1 import { greeter } from './test_a';\n 2 \n 3 console.log(greeter.hello());\n" |
612 | | - lineNumber: 2 |
613 | | - variables: |
614 | | - file: file:///examples/nodejs/test_b.ts |
615 | | - effort: 1 |
616 | 605 | xml-pom-001: |
617 | 606 | description: "" |
618 | 607 | category: potential |
|
1071 | 1060 | java-annotation-inspection-04: connection to the language server is closed, language server is not running |
1072 | 1061 | java-annotation-inspection-05: connection to the language server is closed, language server is not running |
1073 | 1062 | java-chaining-01: connection to the language server is closed, language server is not running |
1074 | | - java-downloaded-maven-artifact: unable to ask for Konveyor rule entry |
| 1063 | + java-downloaded-maven-artifact: connection to the language server is closed, language server is not running |
1075 | 1064 | java-gradle-project: connection to the language server is closed, language server is not running |
1076 | 1065 | java-inclusion-test: connection to the language server is closed, language server is not running |
1077 | 1066 | lang-ref-001: connection to the language server is closed, language server is not running |
|
1080 | 1069 | lang-ref-004: connection to the language server is closed, language server is not running |
1081 | 1070 | singleton-sessionbean-00001: connection to the language server is closed, language server is not running |
1082 | 1071 | singleton-sessionbean-00002: connection to the language server is closed, language server is not running |
| 1072 | + test-regex-pattern-00010: failed to perform file content search - could not run grep with provided pattern exit status 2 |
1083 | 1073 | unmatched: |
1084 | 1074 | - file-002 |
1085 | 1075 | - node-sample-rule-003 |
|
0 commit comments