Commit ddf1cbff authored by Alexander's avatar Alexander

Rework test-folder structure

parent a440f2d4
......@@ -26,7 +26,7 @@ public class ErrorTests extends Assignment2TestBase {
@Test
@DisplayName("competition")
void competitionErrors() {
testWithIOFile(getDataFolderDirectory() + "error_tests/add_competition.io");
testWithIOFile(getDataFolderDirectory() + "error_tests/competition.io");
}
/**
......
......@@ -11,7 +11,7 @@ class IOTestsWithError extends Assignment2TestBase {
@Test
@DisplayName("venue-test")
void venueTest() {
testWithIOFile(getDataFolderDirectory() + "error_tests/venue_tests.io");
testWithIOFile(getDataFolderDirectory() + "basic_functionality/venue_tests.io");
}
/**
......@@ -20,7 +20,7 @@ class IOTestsWithError extends Assignment2TestBase {
@Test
@DisplayName("ioc-code-tests")
void iocCodeTest() {
testWithIOFile(getDataFolderDirectory() + "error_tests/ioc_codes_tests.io");
testWithIOFile(getDataFolderDirectory() + "basic_functionality/ioc_codes_tests.io");
}
/**
......@@ -29,7 +29,7 @@ class IOTestsWithError extends Assignment2TestBase {
@Test
@DisplayName("sport-tests")
void sportTests() {
testWithIOFile(getDataFolderDirectory() + "error_tests/sport_tests.io");
testWithIOFile(getDataFolderDirectory() + "basic_functionality/sport_tests.io");
}
/**
......@@ -38,7 +38,7 @@ class IOTestsWithError extends Assignment2TestBase {
@Test
@DisplayName("athlete-tests")
void athleteTests() {
testWithIOFile(getDataFolderDirectory() + "error_tests/athlete_tests.io");
testWithIOFile(getDataFolderDirectory() + "basic_functionality/athlete_tests.io");
}
/**
......@@ -47,34 +47,33 @@ class IOTestsWithError extends Assignment2TestBase {
@Test
@DisplayName("medal-tests")
void medalTests() {
testWithIOFile(getDataFolderDirectory() + "error_tests/medal_tests.io");
testWithIOFile(getDataFolderDirectory() + "basic_functionality/medal_tests.io");
}
/**
* Tests the creation of athletes
*/
@Test
@DisplayName("competition-tests")
void competitionTests() {
testWithIOFile(getDataFolderDirectory() + "competition_tests.io");
testWithIOFile(getDataFolderDirectory() + "competition/competition_tests.io");
}
@Test
@DisplayName("competition-tests-2")
void competitionTests2() {
testWithIOFile(getDataFolderDirectory() + "competition_tests_2.io");
testWithIOFile(getDataFolderDirectory() + "competition/competition_tests_2.io");
}
@Test
@DisplayName("competition-tests-3")
void competitionTests3() {
testWithIOFile(getDataFolderDirectory() + "competition_tests_3.io");
testWithIOFile(getDataFolderDirectory() + "competition/competition_tests_3.io");
}
@Test
@DisplayName("competition-tests-4")
void competitionTests4() {
testWithIOFile(getDataFolderDirectory() + "competition_tests_4.io");
testWithIOFile(getDataFolderDirectory() + "competition/competition_tests_4.io");
}
}
......@@ -16,6 +16,6 @@ public class IOTestsWithNoError extends Assignment2TestBase {
@DisplayName("assignment-example")
void assignmentExample() {
enableShowAllProgramOutput();
testWithIOFile(getDataFolderDirectory() + "assignment_example.io");
testWithIOFile(getDataFolderDirectory() + "basic_functionality/assignment_example.io");
}
}
......@@ -15,6 +15,6 @@ public class PermissionTests extends Assignment2TestBase {
@Test
@DisplayName("permission tests")
void assignmentExample() {
testWithIOFile(getDataFolderDirectory() + "permission_tests.io");
testWithIOFile(getDataFolderDirectory() + "basic_functionality/permission_tests.io");
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment