@ -6,3 +6,20 @@
# Datasource local storage ignored files
/dataSources/
/dataSources.local.xml
/target
pom.xml.tag
pom.xml.releaseBackup
pom.xml.versionsBackup
pom.xml.next
release.properties
dependency-reduced-pom.xml
buildNumber.properties
.mvn/timing.properties
# https://github.com/takari/maven-wrapper#usage-without-binary-jar
.mvn/wrapper/maven-wrapper.jar
# Eclipse m2e generated files
# Eclipse Core
.project
# JDT-specific (Eclipse Java Development Tools)
.classpath
@ -0,0 +1,10 @@
package hs.fulda.de.ci.exam.project;
public class Airport {
protected String name;
public String getName() {
return this.name;
}
@ -1,7 +1,8 @@
import java.util.LinkedList;
public class ExampleClass {
public static void main(String[] args) {
System.out.println("Example Class Runs");
After
Width: 750 | Height: 813 | Size: 259 KiB
@ -0,0 +1,14 @@
import org.junit.jupiter.api.Test;
import static org.assertj.core.api.Assertions.assertThat;
public class AirportClassTest {
@Test
void test_getName(){
Airport airport = new Airport();
airport.name = "fraport";
assertThat(airport.getName()).describedAs("get list of Flights").isEqualTo("fraport");