Complete Refactor of File Directories

master
Hammy 4 years ago
parent 27dff46ebe
commit d23927fd6e

@ -1,4 +1,4 @@
package tdd.hello.world.src.main.java.hello.world;
package tdd.hello.world.src.java;
public class Greeting {
String message;

@ -1,4 +1,4 @@
package tdd.hello.world.src.main.java.hello.world;
package tdd.hello.world.src.java;
/**
* Hello world!

@ -1,18 +1,13 @@
package tdd.hello.world.src.test.java.hello.world;
package tdd.hello.world.test.java;
import org.junit.Test;
import tdd.hello.world.src.main.java.hello.world.Greeting;
import tdd.hello.world.src.java.Greeting;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotEquals;
/**
* Unit test for simple App.
*/
public class HelloWorldTest {
/**
* Rigorous Test :-)
*/
@Test
public void greetingMessageShouldPass() {
Greeting greeting = new Greeting("Hello World");
@ -24,4 +19,4 @@ public class HelloWorldTest {
Greeting greeting = new Greeting("Not Hello World");
assertNotEquals("Hello World", greeting.getMessage());
}
}
}
Loading…
Cancel
Save