mirror of
https://github.com/github/codeql.git
synced 2026-05-05 13:45:19 +02:00
Add test cases
This commit is contained in:
@@ -11,7 +11,7 @@ moduleBases
|
||||
| classes.rb:41:1:52:3 | class << ... | ClassDeclaration |
|
||||
| classes.rb:55:1:56:3 | MyClassInGlobalScope | ClassDeclaration |
|
||||
| modules.rb:1:1:2:3 | Empty | ModuleDeclaration |
|
||||
| modules.rb:1:1:105:4 | modules.rb | Toplevel |
|
||||
| modules.rb:1:1:122:1 | modules.rb | Toplevel |
|
||||
| modules.rb:4:1:24:3 | Foo | ModuleDeclaration |
|
||||
| modules.rb:5:3:14:5 | Bar | ModuleDeclaration |
|
||||
| modules.rb:6:5:7:7 | ClassInFooBar | ClassDeclaration |
|
||||
@@ -38,6 +38,12 @@ moduleBases
|
||||
| modules.rb:97:3:98:5 | Z | ModuleDeclaration |
|
||||
| modules.rb:101:1:105:3 | PrependTest | ModuleDeclaration |
|
||||
| modules.rb:103:3:104:5 | Y | ModuleDeclaration |
|
||||
| modules.rb:107:1:110:3 | MM | ModuleDeclaration |
|
||||
| modules.rb:108:3:109:5 | MM | ModuleDeclaration |
|
||||
| modules.rb:112:1:113:3 | YY | ClassDeclaration |
|
||||
| modules.rb:115:1:118:3 | XX | ModuleDeclaration |
|
||||
| modules.rb:116:7:117:9 | YY | ClassDeclaration |
|
||||
| modules.rb:120:1:121:3 | Baz | ModuleDeclaration |
|
||||
| toplevel.rb:1:1:5:23 | toplevel.rb | Toplevel |
|
||||
moduleBaseClasses
|
||||
| classes.rb:2:1:56:3 | classes.rb | classes.rb:3:1:4:3 | Foo |
|
||||
@@ -47,6 +53,7 @@ moduleBaseClasses
|
||||
| classes.rb:2:1:56:3 | classes.rb | classes.rb:20:1:37:3 | Wibble |
|
||||
| classes.rb:2:1:56:3 | classes.rb | classes.rb:55:1:56:3 | MyClassInGlobalScope |
|
||||
| classes.rb:20:1:37:3 | Wibble | classes.rb:32:3:33:5 | ClassInWibble |
|
||||
| modules.rb:1:1:122:1 | modules.rb | modules.rb:112:1:113:3 | YY |
|
||||
| modules.rb:4:1:24:3 | Foo | modules.rb:19:3:20:5 | ClassInFoo |
|
||||
| modules.rb:5:3:14:5 | Bar | modules.rb:6:5:7:7 | ClassInFooBar |
|
||||
| modules.rb:26:1:35:3 | Foo | modules.rb:30:3:31:5 | ClassInAnotherDefinitionOfFoo |
|
||||
@@ -54,6 +61,7 @@ moduleBaseClasses
|
||||
| modules.rb:65:3:68:5 | Foo1 | modules.rb:66:5:67:7 | Bar |
|
||||
| modules.rb:70:3:74:5 | Foo2 | modules.rb:72:5:73:7 | Bar |
|
||||
| modules.rb:76:3:80:5 | Foo3 | modules.rb:78:5:79:7 | Bar |
|
||||
| modules.rb:115:1:118:3 | XX | modules.rb:116:7:117:9 | YY |
|
||||
moduleBaseMethods
|
||||
| classes.rb:20:1:37:3 | Wibble | classes.rb:21:3:23:5 | method_a |
|
||||
| classes.rb:20:1:37:3 | Wibble | classes.rb:25:3:27:5 | method_b |
|
||||
@@ -68,17 +76,20 @@ moduleBaseMethods
|
||||
moduleBaseModules
|
||||
| classes.rb:2:1:56:3 | classes.rb | classes.rb:15:1:15:20 | MyModule |
|
||||
| classes.rb:20:1:37:3 | Wibble | classes.rb:35:3:36:5 | ModuleInWibble |
|
||||
| modules.rb:1:1:105:4 | modules.rb | modules.rb:1:1:2:3 | Empty |
|
||||
| modules.rb:1:1:105:4 | modules.rb | modules.rb:4:1:24:3 | Foo |
|
||||
| modules.rb:1:1:105:4 | modules.rb | modules.rb:26:1:35:3 | Foo |
|
||||
| modules.rb:1:1:105:4 | modules.rb | modules.rb:37:1:46:3 | Bar |
|
||||
| modules.rb:1:1:105:4 | modules.rb | modules.rb:48:1:57:3 | Bar |
|
||||
| modules.rb:1:1:105:4 | modules.rb | modules.rb:60:1:61:3 | MyModuleInGlobalScope |
|
||||
| modules.rb:1:1:105:4 | modules.rb | modules.rb:63:1:81:3 | Test |
|
||||
| modules.rb:1:1:105:4 | modules.rb | modules.rb:83:1:86:3 | Other |
|
||||
| modules.rb:1:1:105:4 | modules.rb | modules.rb:88:1:93:3 | IncludeTest |
|
||||
| modules.rb:1:1:105:4 | modules.rb | modules.rb:95:1:99:3 | IncludeTest2 |
|
||||
| modules.rb:1:1:105:4 | modules.rb | modules.rb:101:1:105:3 | PrependTest |
|
||||
| modules.rb:1:1:122:1 | modules.rb | modules.rb:1:1:2:3 | Empty |
|
||||
| modules.rb:1:1:122:1 | modules.rb | modules.rb:4:1:24:3 | Foo |
|
||||
| modules.rb:1:1:122:1 | modules.rb | modules.rb:26:1:35:3 | Foo |
|
||||
| modules.rb:1:1:122:1 | modules.rb | modules.rb:37:1:46:3 | Bar |
|
||||
| modules.rb:1:1:122:1 | modules.rb | modules.rb:48:1:57:3 | Bar |
|
||||
| modules.rb:1:1:122:1 | modules.rb | modules.rb:60:1:61:3 | MyModuleInGlobalScope |
|
||||
| modules.rb:1:1:122:1 | modules.rb | modules.rb:63:1:81:3 | Test |
|
||||
| modules.rb:1:1:122:1 | modules.rb | modules.rb:83:1:86:3 | Other |
|
||||
| modules.rb:1:1:122:1 | modules.rb | modules.rb:88:1:93:3 | IncludeTest |
|
||||
| modules.rb:1:1:122:1 | modules.rb | modules.rb:95:1:99:3 | IncludeTest2 |
|
||||
| modules.rb:1:1:122:1 | modules.rb | modules.rb:101:1:105:3 | PrependTest |
|
||||
| modules.rb:1:1:122:1 | modules.rb | modules.rb:107:1:110:3 | MM |
|
||||
| modules.rb:1:1:122:1 | modules.rb | modules.rb:115:1:118:3 | XX |
|
||||
| modules.rb:1:1:122:1 | modules.rb | modules.rb:120:1:121:3 | Baz |
|
||||
| modules.rb:4:1:24:3 | Foo | modules.rb:5:3:14:5 | Bar |
|
||||
| modules.rb:63:1:81:3 | Test | modules.rb:65:3:68:5 | Foo1 |
|
||||
| modules.rb:63:1:81:3 | Test | modules.rb:70:3:74:5 | Foo2 |
|
||||
@@ -88,3 +99,4 @@ moduleBaseModules
|
||||
| modules.rb:88:1:93:3 | IncludeTest | modules.rb:91:3:92:5 | Y |
|
||||
| modules.rb:95:1:99:3 | IncludeTest2 | modules.rb:97:3:98:5 | Z |
|
||||
| modules.rb:101:1:105:3 | PrependTest | modules.rb:103:3:104:5 | Y |
|
||||
| modules.rb:107:1:110:3 | MM | modules.rb:108:3:109:5 | MM |
|
||||
|
||||
Reference in New Issue
Block a user