You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Arti Zirk 22e75573a9 Add comments 4 years ago
src Add comments 4 years ago
test initial setup 4 years ago
README.md initial setup 4 years ago
description.html initial setup 4 years ago
git_eclipse.txt initial setup 4 years ago

README.md

README

See on esimese kodutöö failide hoidla, mida saab kasutada ainult algseks lugemiseks. Töötamiseks looge endale isiklik repositoorium, näiteks (privaatne) ‘fork’ bitbucket serverisse, millest saate luua klooni oma arvutisse.

Näidete kasutamine käsurealt

Kompileerimine:

#!bash

javac -cp src src/Balls.java

Käivitamine:

#!bash

java -cp src Balls

Testide kasutamine

Testi kompileerimine:

#!bash

javac -encoding utf8 -cp 'src:test:test/junit-4.12.jar:test/hamcrest-core-1.3.jar' test/BallsTest.java

Sama Windows aknas (koolonite asemel peavad olema semikoolonid):

#!bash

javac -encoding utf8 -cp 'src;test;test/junit-4.12.jar;test/hamcrest-core-1.3.jar' test/BallsTest.java


Testi käivitamine:

#!bash

java -cp 'src:test:test/junit-4.12.jar:test/hamcrest-core-1.3.jar' org.junit.runner.JUnitCore BallsTest

Sama Windows aknas (koolonite asemel semikoolonid):

#!bash

java -cp 'src;test;test/junit-4.12.jar;test/hamcrest-core-1.3.jar' org.junit.runner.JUnitCore BallsTest