Made some overall changes.
This commit is contained in:
parent
9f00e00f34
commit
eeb8c58fe9
@ -15,8 +15,8 @@
|
|||||||
<dependencies>
|
<dependencies>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>junit</groupId>
|
<groupId>junit</groupId>
|
||||||
<artifactId>junit</artifactId>
|
<artifactId>junit-dep</artifactId>
|
||||||
<version>3.8.1</version>
|
<version>4.11</version>
|
||||||
<scope>test</scope>
|
<scope>test</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
package com.iluwatar;
|
||||||
|
|
||||||
import java.io.BufferedReader;
|
import java.io.BufferedReader;
|
||||||
import java.io.File;
|
import java.io.File;
|
||||||
import java.io.FileReader;
|
import java.io.FileReader;
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
package com.iluwatar;
|
||||||
|
|
||||||
import java.awt.Color;
|
import java.awt.Color;
|
||||||
import java.awt.event.ActionEvent;
|
import java.awt.event.ActionEvent;
|
||||||
import java.awt.event.ActionListener;
|
import java.awt.event.ActionListener;
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
package com.iluwatar;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Every instance of this class represents the Presenter component
|
* Every instance of this class represents the Presenter component
|
||||||
* in the Model-View-Presenter architectural pattern.
|
* in the Model-View-Presenter architectural pattern.
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
package com.iluwatar;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Every instance of this class represents the Stub component in
|
* Every instance of this class represents the Stub component in
|
||||||
* the Model-View-Presenter architectural pattern.
|
* the Model-View-Presenter architectural pattern.
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
package com.iluwatar;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This interface represents the View component in the
|
* This interface represents the View component in the
|
||||||
* Model-View-Presenter pattern. It can be implemented
|
* Model-View-Presenter pattern. It can be implemented
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
package com.iluwatar;
|
||||||
|
|
||||||
public class MainApp {
|
public class MainApp {
|
||||||
|
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
package com.iluwatar;
|
||||||
|
|
||||||
import static org.junit.Assert.*;
|
import static org.junit.Assert.*;
|
||||||
|
|
||||||
import org.junit.Before;
|
import org.junit.Before;
|
||||||
@ -7,7 +9,7 @@ import org.junit.Test;
|
|||||||
* This test case is responsible for testing our application
|
* This test case is responsible for testing our application
|
||||||
* by taking advantage of the Model-View-Controller architectural pattern.
|
* by taking advantage of the Model-View-Controller architectural pattern.
|
||||||
*/
|
*/
|
||||||
public class FileselectorPresenterTest {
|
public class FileSelectorPresenterTest {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The Presenter component.
|
* The Presenter component.
|
1
pom.xml
1
pom.xml
@ -36,6 +36,7 @@
|
|||||||
<module>iterator</module>
|
<module>iterator</module>
|
||||||
<module>mediator</module>
|
<module>mediator</module>
|
||||||
<module>memento</module>
|
<module>memento</module>
|
||||||
|
<module>model-view-presenter</module>
|
||||||
<module>observer</module>
|
<module>observer</module>
|
||||||
<module>state</module>
|
<module>state</module>
|
||||||
<module>strategy</module>
|
<module>strategy</module>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user