[SourceKit] Split SourceDocInfo tests into CursorInfo and RelatedIdents subdirectories

Unless you're familiar with the way the swift source code is organized,
it's not clear what "SourceDocInfo" means, or how it is different from
DocSupport, etc.  Move the tests into directories that are named based
on their request (note: we already had one test under CursorInfo, which
just made things even more confusing).
This commit is contained in:
Ben Langmuir
2016-03-17 16:25:45 -07:00
parent 9b0727f6aa
commit 503887c5f2
32 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
class MyClass {
init(abc:Int) {
}
}
class MySubClass: MyClass {
}
func foo() {
MyClass(abc:1)
MySubClass(abc:1)
}
// RUN: %sourcekitd-test -req=cursor -pos=10:12 %s -- %s | FileCheck -check-prefix=CHECK1 %s
// CHECK1: <Declaration>init(abc: <Type usr="s:Si">Int</Type>)</Declaration>
// RUN: %sourcekitd-test -req=cursor -pos=11:16 %s -- %s | FileCheck -check-prefix=CHECK2 %s
// CHECK2: <Declaration>init(abc: <Type usr="s:Si">Int</Type>)</Declaration>