Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

src and test #7

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/target/
.classpath
.project
.settings
18 changes: 17 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,23 @@
<groupId>org.jboss.set</groupId>
<artifactId>cryo-test</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>pom</packaging>
<packaging>jar</packaging>
<name>CRYO-TEST</name>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<jdk.min.version>1.8</jdk.min.version>
<junit.version>4.12</junit.version>
</properties>


<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>${junit.version}</version>
</dependency>
</dependencies>

</project>
16 changes: 16 additions & 0 deletions src/test/java/RegressionTest.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import java.io.File;

import javax.management.RuntimeErrorException;

import org.junit.Test;

public class RegressionTest {
@Test
public void testRegressiveFiles() {
File f= new File("./");
File existence = new File(f,"regression.txt");
if(existence.exists()) {
throw new RuntimeException();
}
}
}