diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..75d408c --- /dev/null +++ b/.gitignore @@ -0,0 +1,120 @@ +### Eclipse template +*.pydevproject +.metadata +.gradle +bin/ +tmp/ +*.tmp +*.bak +*.swp +*~.nib +local.properties +.settings/ +.loadpath + +# Eclipse Core +.project + +# External tool builders +.externalToolBuilders/ + +# Locally stored "Eclipse launch configurations" +*.launch + +# CDT-specific +.cproject + +# JDT-specific (Eclipse Java Development Tools) +.classpath + +# Java annotation processor (APT) +.factorypath + +# PDT-specific +.buildpath + +# sbteclipse plugin +.target + +# TeXlipse plugin +.texlipse +### Maven template +target/ +pom.xml.tag +pom.xml.releaseBackup +pom.xml.versionsBackup +pom.xml.next +release.properties +dependency-reduced-pom.xml +buildNumber.properties +.mvn/timing.properties +### JetBrains template +# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio + +*.iml + +## Directory-based project format: +.idea/* +# if you remove the above rule, at least ignore the following: + +# User-specific stuff: +# .idea/workspace.xml +# .idea/tasks.xml +# .idea/dictionaries + +# Sensitive or high-churn files: +# .idea/dataSources.ids +# .idea/dataSources.xml +# .idea/sqlDataSources.xml +# .idea/dynamic.xml +# .idea/uiDesigner.xml + +# Gradle: +# .idea/gradle.xml +# .idea/libraries + +# Mongo Explorer plugin: +# .idea/mongoSettings.xml + +## File-based project format: +*.ipr +*.iws + +## Plugin-specific files: + +# IntelliJ +/out/ + +# mpeltonen/sbt-idea plugin +.idea_modules/ + +# JIRA plugin +atlassian-ide-plugin.xml + +# Crashlytics plugin (for Android Studio and IntelliJ) +com_crashlytics_export_strings.xml +crashlytics.properties +crashlytics-build.properties +### Gradle template +build/ + +# Ignore Gradle GUI config +gradle-app.setting + +# Avoid ignoring Gradle wrapper jar file (.jar files are usually ignored) +!gradle-wrapper.jar +### Java template +*.class + +# Mobile Tools for Java (J2ME) +.mtj.tmp/ + +# Package Files # +*.jar +*.war +*.ear + +# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml +hs_err_pid* + +# Created by .ignore support plugin (hsz.mobi) diff --git a/Chapter_05/Spittr/src/test/java/spittr/web/SpittleControllerTest.java b/Chapter_05/Spittr/src/test/java/spittr/web/SpittleControllerTest.java index 1c0571b..a9b1fa0 100644 --- a/Chapter_05/Spittr/src/test/java/spittr/web/SpittleControllerTest.java +++ b/Chapter_05/Spittr/src/test/java/spittr/web/SpittleControllerTest.java @@ -20,7 +20,7 @@ public class SpittleControllerTest { @Test - public void houldShowRecentSpittles() throws Exception { + public void shouldShowRecentSpittles() throws Exception { List expectedSpittles = createSpittleList(20); SpittleRepository mockRepository = mock(SpittleRepository.class); when(mockRepository.findSpittles(Long.MAX_VALUE, 20)) diff --git a/Chapter_06/jsp/src/test/java/spittr/web/SpittleControllerTest.java b/Chapter_06/jsp/src/test/java/spittr/web/SpittleControllerTest.java index 2332cef..1e378c1 100644 --- a/Chapter_06/jsp/src/test/java/spittr/web/SpittleControllerTest.java +++ b/Chapter_06/jsp/src/test/java/spittr/web/SpittleControllerTest.java @@ -19,7 +19,7 @@ public class SpittleControllerTest { @Test - public void houldShowRecentSpittles() throws Exception { + public void shouldShowRecentSpittles() throws Exception { List expectedSpittles = createSpittleList(20); SpittleRepository mockRepository = mock(SpittleRepository.class); when(mockRepository.findSpittles(Long.MAX_VALUE, 20)) diff --git a/Chapter_06/thymeleaf/src/test/java/spitter/web/SpittleControllerTest.java b/Chapter_06/thymeleaf/src/test/java/spitter/web/SpittleControllerTest.java index 12c23a4..1bef1c7 100644 --- a/Chapter_06/thymeleaf/src/test/java/spitter/web/SpittleControllerTest.java +++ b/Chapter_06/thymeleaf/src/test/java/spitter/web/SpittleControllerTest.java @@ -20,7 +20,7 @@ public class SpittleControllerTest { @Test - public void houldShowRecentSpittles() throws Exception { + public void shouldShowRecentSpittles() throws Exception { List expectedSpittles = createSpittleList(20); SpittleRepository mockRepository = mock(SpittleRepository.class); when(mockRepository.findSpittles(Long.MAX_VALUE, 20)) diff --git a/Chapter_06/tiles/src/test/java/spittr/web/SpittleControllerTest.java b/Chapter_06/tiles/src/test/java/spittr/web/SpittleControllerTest.java index 2332cef..1e378c1 100644 --- a/Chapter_06/tiles/src/test/java/spittr/web/SpittleControllerTest.java +++ b/Chapter_06/tiles/src/test/java/spittr/web/SpittleControllerTest.java @@ -19,7 +19,7 @@ public class SpittleControllerTest { @Test - public void houldShowRecentSpittles() throws Exception { + public void shouldShowRecentSpittles() throws Exception { List expectedSpittles = createSpittleList(20); SpittleRepository mockRepository = mock(SpittleRepository.class); when(mockRepository.findSpittles(Long.MAX_VALUE, 20)) diff --git a/Chapter_07/Spittr/src/test/java/spittr/web/SpittleControllerTest.java b/Chapter_07/Spittr/src/test/java/spittr/web/SpittleControllerTest.java index 1c0571b..a9b1fa0 100644 --- a/Chapter_07/Spittr/src/test/java/spittr/web/SpittleControllerTest.java +++ b/Chapter_07/Spittr/src/test/java/spittr/web/SpittleControllerTest.java @@ -20,7 +20,7 @@ public class SpittleControllerTest { @Test - public void houldShowRecentSpittles() throws Exception { + public void shouldShowRecentSpittles() throws Exception { List expectedSpittles = createSpittleList(20); SpittleRepository mockRepository = mock(SpittleRepository.class); when(mockRepository.findSpittles(Long.MAX_VALUE, 20)) diff --git a/Chapter_09/thymeleaf/src/test/java/spittr/web/SpittleControllerTest.java b/Chapter_09/thymeleaf/src/test/java/spittr/web/SpittleControllerTest.java index 1c0571b..a9b1fa0 100644 --- a/Chapter_09/thymeleaf/src/test/java/spittr/web/SpittleControllerTest.java +++ b/Chapter_09/thymeleaf/src/test/java/spittr/web/SpittleControllerTest.java @@ -20,7 +20,7 @@ public class SpittleControllerTest { @Test - public void houldShowRecentSpittles() throws Exception { + public void shouldShowRecentSpittles() throws Exception { List expectedSpittles = createSpittleList(20); SpittleRepository mockRepository = mock(SpittleRepository.class); when(mockRepository.findSpittles(Long.MAX_VALUE, 20))