forked from com-lihaoyi/sourcecode
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTests.scala
More file actions
37 lines (32 loc) · 1009 Bytes
/
Tests.scala
File metadata and controls
37 lines (32 loc) · 1009 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
package sourcecode
object Tests{
def logExample() = {
def log(foo: String)(implicit line: sourcecode.Line, file: sourcecode.File) = {
println(s"${file.value}:${line.value} $foo")
}
log("Foooooo") // sourcecode/shared/src/test/scala/sourcecode/Tests.scala:86 Fooooo
}
def run() = {
println("================Test Begin================")
Apply.applyRun()
Implicits.implicitRun()
EnumExaple.run()
EnumFull.run()
NoSynthetic.run()
Synthetic.run()
ManualImplicit()
TextTests()
ArgsTests()
println("================LogExample================")
logExample()
println("================Debug Full================")
DebugFull.main()
println("================Debug Name================")
DebugName.main()
println("================Debug Lite================")
DebugLite.main()
println("================Regressions===============")
Regressions.main()
println("================Test Ended================")
}
}