forked from sendgrid/sendgrid-java
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTestRequiredFilesExist.java
More file actions
75 lines (61 loc) · 1.53 KB
/
TestRequiredFilesExist.java
File metadata and controls
75 lines (61 loc) · 1.53 KB
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
67
68
69
70
71
72
73
74
75
package com.sendgrid;
import static org.junit.Assert.assertTrue;
import java.io.File;
import org.junit.Test;
public class TestRequiredFilesExist {
// ./Dockerfile
@Test
public void checkDockerExists() {
assertTrue(new File("./Dockerfile").exists());
}
// ./.env_sample
@Test
public void checkEnvSampleExists() {
assertTrue(new File("./.env_sample").exists());
}
// ./.gitignore
@Test
public void checkGitIgnoreExists() {
assertTrue(new File("./.gitignore").exists());
}
// ./CHANGELOG.md
@Test
public void checkChangelogExists() {
assertTrue(new File("./CHANGELOG.md").exists());
}
// ./CODE_OF_CONDUCT.md
@Test
public void checkCodeOfConductExists() {
assertTrue(new File("./CODE_OF_CONDUCT.md").exists());
}
// ./CONTRIBUTING.md
@Test
public void checkContributingGuideExists() {
assertTrue(new File("./CONTRIBUTING.md").exists());
}
// ./LICENSE
@Test
public void checkLicenseExists() {
assertTrue(new File("./LICENSE").exists());
}
// ./PULL_REQUEST_TEMPLATE.md
@Test
public void checkPullRequestExists() {
assertTrue(new File("./PULL_REQUEST_TEMPLATE.md").exists());
}
// ./README.md
@Test
public void checkReadMeExists() {
assertTrue(new File("./README.md").exists());
}
// ./TROUBLESHOOTING.md
@Test
public void checkTroubleShootingGuideExists() {
assertTrue(new File("./TROUBLESHOOTING.md").exists());
}
// ./USAGE.md
@Test
public void checkUsageGuideExists() {
assertTrue(new File("./USAGE.md").exists());
}
}