No flags found
Use flags to group coverage reports by test type, project and/or folders.
Then setup custom commit statuses and notifications for each flag.
e.g., #unittest #integration
#production #enterprise
#frontend #backend
f5fd57b
... +0 ...
18b58c5
Use flags to group coverage reports by test type, project and/or folders.
Then setup custom commit statuses and notifications for each flag.
e.g., #unittest #integration
#production #enterprise
#frontend #backend
4 | 4 | package junit |
|
5 | 5 | ||
6 | 6 | import scala.language.experimental.macros |
|
7 | - | import scala.reflect.macros.whitebox |
|
7 | + | import scala.reflect.macros.blackbox |
|
8 | 8 | import macrocompat.bundle |
|
9 | 9 | ||
10 | 10 | import scala.annotation.StaticAnnotation |
17 | 17 | } |
|
18 | 18 | ||
19 | 19 | @bundle |
|
20 | - | class TestMacro(val c: whitebox.Context) { |
|
20 | + | class TestMacro(val c: blackbox.Context) { |
|
21 | 21 | ||
22 | 22 | import c.universe._ |
|
23 | 23 |
2 | 2 | package macros |
|
3 | 3 | ||
4 | 4 | import scala.language.experimental.macros |
|
5 | - | import scala.reflect.macros.whitebox |
|
5 | + | import scala.reflect.macros.blackbox |
|
6 | 6 | import macrocompat.bundle |
|
7 | 7 | ||
8 | 8 | /** |
19 | 19 | } |
|
20 | 20 | ||
21 | 21 | @bundle |
|
22 | - | class TypeTagMacros(val c: whitebox.Context) { |
|
22 | + | class TypeTagMacros(val c: blackbox.Context) { |
|
23 | 23 | import c.universe._ |
|
24 | 24 | ||
25 | 25 | def applyImpl[T](implicit tTag: WeakTypeTag[T]): c.Expr[TypeTagM[T]] = { |
28 | 28 | } |
|
29 | 29 | } |
|
30 | 30 | ||
31 | - | import scala.reflect.macros.whitebox |
|
31 | + | import scala.reflect.macros.blackbox |
|
32 | 32 | import macrocompat.bundle |
|
33 | 33 | ||
34 | 34 | @bundle |
|
35 | - | class WSpecMatchersMacros(val c: whitebox.Context) { |
|
35 | + | class WSpecMatchersMacros(val c: blackbox.Context) { |
|
36 | 36 | import c.universe._ |
|
37 | 37 | ||
38 | 38 | def unpack = { |
3 | 3 | ||
4 | 4 | import scala.reflect.ClassTag |
|
5 | 5 | import scala.language.experimental.macros |
|
6 | - | import scala.reflect.macros.whitebox |
|
6 | + | import scala.reflect.macros.blackbox |
|
7 | 7 | import macrocompat.bundle |
|
8 | 8 | ||
9 | 9 | trait TestSpec { self: TestKit => |
35 | 35 | } |
|
36 | 36 | ||
37 | 37 | @bundle |
|
38 | - | class TestSpecMacros(val c: whitebox.Context) { |
|
38 | + | class TestSpecMacros(val c: blackbox.Context) { |
|
39 | 39 | import c.universe._ |
|
40 | 40 | ||
41 | 41 | def assertEqEq[A](actual: Tree, expected: Tree): Tree = |
40 | 40 | macro FSuiteMatchersMacros.assertTypedSame[A] |
|
41 | 41 | } |
|
42 | 42 | ||
43 | - | import scala.reflect.macros.whitebox |
|
43 | + | import scala.reflect.macros.blackbox |
|
44 | 44 | import macrocompat.bundle |
|
45 | 45 | ||
46 | 46 | @bundle |
|
47 | - | class FSuiteMatchersMacros(val c: whitebox.Context) { |
|
47 | + | class FSuiteMatchersMacros(val c: blackbox.Context) { |
|
48 | 48 | import c.universe._ |
|
49 | 49 | ||
50 | 50 | def assertEq[A](actual: Tree, expected: Tree): Tree = |
#30
18b58c5
f5fd57b