This repository has been archived by the owner on Feb 9, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBUCK
66 lines (57 loc) · 1.41 KB
/
BUCK
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
remote_file(
name = 'junit.jar',
url = 'https://repo1.maven.org/maven2/junit/junit/4.12/junit-4.12.jar',
sha1 = '2973d150c0dc1fefe998f834810d68f278ea58ec',
)
remote_file(
name = 'hamcrest-core.jar',
url = 'https://repo1.maven.org/maven2/org/hamcrest/hamcrest-core/2.2/hamcrest-core-2.2.jar',
sha1 = '3f2bd07716a31c395e2837254f37f21f0f0ab24b',
)
remote_file(
name = 'hamcrest.jar',
url = 'https://repo1.maven.org/maven2/org/hamcrest/hamcrest/2.2/hamcrest-2.2.jar',
sha1 = '1820c0968dba3a11a1b30669bb1f01978a91dedc',
)
prebuilt_jar(
name = 'hamcrest',
binary_jar = ':hamcrest.jar',
)
prebuilt_jar(
name = 'hamcrest-core',
binary_jar = ':hamcrest-core.jar',
deps = [ ':hamcrest' ],
)
prebuilt_jar(
name = 'junit',
binary_jar = ':junit.jar',
deps = [ ':hamcrest-core' ],
)
java_test(
name = 'test1',
srcs = [ 'javatest/tests/FastStableTest.java' ],
deps = [ ':junit' ],
labels = [ 'fast', 'stable' ],
visibility = [ 'PUBLIC' ],
)
java_test(
name = 'test2',
srcs = [ 'javatest/tests/FastTrustworthyTest.java' ],
deps = [ ':junit' ],
labels = [ 'fast', 'trustworthy' ],
visibility = [ 'PUBLIC' ],
)
java_test(
name = 'test3',
srcs = [ 'javatest/tests/FastUnstableTest.java' ],
deps = [ ':junit' ],
labels = [ 'fast', 'unstable' ],
visibility = [ 'PUBLIC' ],
)
java_test(
name = 'test4',
srcs = [ 'javatest/tests/SlowTest.java' ],
deps = [ ':junit' ],
labels = [ 'slow' ],
visibility = [ 'PUBLIC' ],
)