Skip to content
Snippets Groups Projects
Commit d09ef4b6 authored by aTrueYety's avatar aTrueYety
Browse files

Initial commit

parents
Branches
Tags
No related merge requests found
Pipeline #238008 failed
### A "Standard" .gitignore file suitable for most Java projects. ###
target/
!.mvn/wrapper/maven-wrapper.jar
### IntelliJ IDEA ###
.idea/
*.iws
*.iml
*.ipr
### Eclipse ###
.apt_generated
.classpath
.factorypath
.project
.settings
.springBeans
.sts4-cache
### NetBeans ###
/nbproject/private/
/nbbuild/
/dist/
/nbdist/
/.nb-gradle/
build/
!**/src/main/**/build/
!**/src/test/**/build/
### VS Code ###
.vscode/
### Mac OS ###
.DS_Store
\ No newline at end of file
# Portfolio project IDATA1003 - 2023
This file uses Mark Down syntax. For more information see [here](https://www.markdownguide.org/basic-syntax/).
STUDENT NAME = "Your name"
STUDENT ID = "Your ID"
## Project description
[//]: # (TODO: Write a short description of your project/product here.)
## Project structure
[//]: # (TODO: Describe the structure of your project here. How have you used packages in your structure. Where are all sourcefiles stored. Where are all JUnit-test classes stored. etc.)
## Link to repository
[//]: # (TODO: Include a link to your repository here.)
## How to run the project
[//]: # (TODO: Describe how to run your project here. What is the main class? What is the main method?
What is the input and output of the program? What is the expected behaviour of the program?)
## How to run the tests
[//]: # (TODO: Describe how to run the tests here.)
## References
[//]: # (TODO: Include references here, if any. For example, if you have used code from the course book, include a reference to the chapter.
Or if you have used code from a website or other source, include a link to the source.)
pom.xml 0 → 100644
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>edu.ntnu.stud</groupId>
<artifactId>TrainDispatchSystem</artifactId>
<version>1.0-SNAPSHOT</version>
<properties>
<!-- Java version. Always use the latest LTS version. Pr September 2023 v17 is the latest LTS -->
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<!-- In this section we define all external libraries, not part of the JDK, that we use in our project -->
<dependencies>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter</artifactId>
<version>5.10.0</version>
<scope>test</scope>
</dependency>
</dependencies>
<!--
This section is for plugins. We use plugins to extend the functionality of Maven.
To be able to execute the tests we need to add the surefire plugin.
-->
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.1.2</version>
</plugin>
</plugins>
</build>
</project>
\ No newline at end of file
package edu.ntnu.stud;
/**
* This is the main class for the train dispatch application.
*/
public class TrainDispatchApp {
// TODO: Fill in the main method and any other methods you need.
}
Alle klassene som er testklasser (JUnit test klasser) plasserer du har.
Pass på at du har en testklasse for hver klasse du har laget.
Hver testklasse skal ha en testmetode for hver positive og negative test du ønsker å utføre på klassen.
Husk at test klassen og klassen som testes må ligge i samme pakke!
Når du har lest og forstått denne filen kan du velge å slette den.
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment