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

Adding maven structure and junit test #2

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

TomasJohansson
Copy link

I have created a fork as a maven project.
https://github.com/TomasJohansson/k-shortest-paths/commits/adding-maven-structure-and-junit-test

There I also removed a reference to an interface "KSPAlgorithmCutoff" which I could not find and therefore it caused a compilation error.
Currently I am using my own fork in an adapter implementation, though would prefer to use an officially released version, and preferably available at maven central repository.

If you are interested in seeing where I use the fork, here is the link:
https://github.com/TomasJohansson/adapters-shortest-paths

…lgorithmCutoff" not existing and only referred once i.e. not used.
…tructure.

Note that the text files are still located at the root level because of the following kind of source code is still being used
new FileReader("edu/ufl/cise/bsmock/graph/ksp/test/tiny_graph_01.txt");
If you have maven installed and open a command prompt with the root dirctory (i.e. where pom.xml is located) as
current directory then you can for example run the main method of "TestYen" with this maven command:
mvn exec:java -Dexec.mainClass="edu.ufl.cise.bsmock.graph.ksp.test.TestYen"
Also added a test class, not doing any meaningful testing,
but just to verify that the project now works as a maven project, i.e. you can now write "mvn test" to run test code.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant