aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorj-james2022-10-17 15:45:08 +0000
committerj-james2022-10-17 15:45:08 +0000
commit9eea270aaec82bc38d297f7aa2282877d48cd3c1 (patch)
treed807128220cb8f8db3255f43d84fa8f32faef5f6
parente1b3f9b8f017ec1f3e1504bd09f47cd9dc6516bd (diff)
Split tests into packages
-rw-r--r--README.md8
-rw-r--r--src/test/model/css/CssParserTest.java (renamed from src/test/model/CssParserTest.java)2
-rw-r--r--src/test/model/html/HtmlParserTest.java (renamed from src/test/model/HtmlParserTest.java)2
3 files changed, 6 insertions, 6 deletions
diff --git a/README.md b/README.md
index 033a880..c5b7808 100644
--- a/README.md
+++ b/README.md
@@ -12,7 +12,7 @@ I've heard that Java Swing has a native HTML rendering component. I hope to enti
## user stories
-- As a user, I want to open and render an HTML file.
-- As a user, I want to be able to add a new tab to a list of open tabs.
-- As a user, I want to be able to click links on a rendered webpage and view the linked pages.
-- As a user, I want to be able to apply basic styling to an open page. \ No newline at end of file
+- As a user, I want to be able to construct a structural representation of an HTML file.
+- As a user, I want to be able to construct a structural representation of a CSS file.
+- As a user, I want to be able to add multiple Nodes to an HTML file.
+- As a user, I want to be able to open and render an arbitrary HTML file.
diff --git a/src/test/model/CssParserTest.java b/src/test/model/css/CssParserTest.java
index 35f5310..a2335f2 100644
--- a/src/test/model/CssParserTest.java
+++ b/src/test/model/css/CssParserTest.java
@@ -1,4 +1,4 @@
-package model;
+package model.css;
import model.css.CssParser;
import org.javatuples.Pair;
diff --git a/src/test/model/HtmlParserTest.java b/src/test/model/html/HtmlParserTest.java
index 36c5935..a7093e1 100644
--- a/src/test/model/HtmlParserTest.java
+++ b/src/test/model/html/HtmlParserTest.java
@@ -1,4 +1,4 @@
-package model;
+package model.html;
import model.html.ElementNode;
import model.html.HtmlParser;