Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

modified .gitignore to remove unnecessary files

  • Loading branch information...
commit 3639b8c91cb532e2390f1c3c18bae2757620b9a2 1 parent e08bf57
unknown authored
View
4 .gitignore
@@ -1,4 +1,8 @@
*.class
+.project
+.settings/
+.classpath
+target/
# Package Files #
*.jar
View
4 src/test/java/com/visionarysoftwaresolutions/reviewable/ReviewableTest.java
@@ -6,7 +6,7 @@
import org.junit.Test;
import static org.junit.Assert.*;
-public class ReviewableTests {
+public class ReviewableTest {
Reviewer nick = new User("nick");
Reviewable food = new Food("Phonecian Cafe Hummus");
@@ -49,7 +49,7 @@ public void testDatedReview(){
//Then it is rated
assertEquals(datedResult.getReviewer(), nick);
assertEquals(datedResult.getReviewed(), food);
- assertTrue(today.equals(datedResult.getDate()));
+ assertEquals(today.compareTo(datedResult.getDate()),-1);
assertEquals("It is so creamy and delicious! on " + today,
datedResult.getDescription());
}
View
66 target/surefire-reports/TEST-com.visionarysoftwaresolutions.reviewable.ReviewableTest.xml
@@ -0,0 +1,66 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<testsuite failures="0" time="0.312" errors="0" skipped="0" tests="3" name="com.visionarysoftwaresolutions.reviewable.ReviewableTest">
+ <properties>
+ <property name="java.runtime.name" value="Java(TM) SE Runtime Environment"/>
+ <property name="sun.boot.library.path" value="C:\Program Files\Java\jdk1.7.0_02\jre\bin"/>
+ <property name="java.vm.version" value="22.0-b10"/>
+ <property name="java.vm.vendor" value="Oracle Corporation"/>
+ <property name="java.vendor.url" value="http://java.oracle.com/"/>
+ <property name="path.separator" value=";"/>
+ <property name="guice.disable.misplaced.annotation.check" value="true"/>
+ <property name="java.vm.name" value="Java HotSpot(TM) 64-Bit Server VM"/>
+ <property name="file.encoding.pkg" value="sun.io"/>
+ <property name="user.script" value=""/>
+ <property name="user.country" value="US"/>
+ <property name="sun.java.launcher" value="SUN_STANDARD"/>
+ <property name="sun.os.patch.level" value="Service Pack 1"/>
+ <property name="java.vm.specification.name" value="Java Virtual Machine Specification"/>
+ <property name="user.dir" value="C:\Users\Master\Documents\Programming\reviewable"/>
+ <property name="java.runtime.version" value="1.7.0_02-b13"/>
+ <property name="java.awt.graphicsenv" value="sun.awt.Win32GraphicsEnvironment"/>
+ <property name="java.endorsed.dirs" value="C:\Program Files\Java\jdk1.7.0_02\jre\lib\endorsed"/>
+ <property name="os.arch" value="amd64"/>
+ <property name="java.io.tmpdir" value="C:\Users\Master\AppData\Local\Temp\"/>
+ <property name="line.separator" value="
+"/>
+ <property name="java.vm.specification.vendor" value="Oracle Corporation"/>
+ <property name="user.variant" value=""/>
+ <property name="os.name" value="Windows 7"/>
+ <property name="classworlds.conf" value="C:\Maven\apache-maven-3.0.4\bin\..\bin\m2.conf"/>
+ <property name="sun.jnu.encoding" value="Cp1252"/>
+ <property name="java.library.path" value="C:\Program Files\Java\jdk1.7.0_02\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Windows Live\Shared;C:\Program Files\Trend Micro\AMSP;C:\Program Files\Java\jdk1.7.0_02\bin;C:\Grails\grails-2.0.4\bin;C:\Python27;C:\Program Files (x86)\Heroku\bin;C:\Program Files (x86)\ruby-1.9.3\bin;C:\Program Files (x86)\git\bin;C:\Program Files (x86)\git\cmd;C:\Ant\apache-ant-1.8.4\bin;C:\Maven\apache-maven-3.0.4\bin;C:\Program Files (x86)\SSH Communications Security\SSH Secure Shell;."/>
+ <property name="java.specification.name" value="Java Platform API Specification"/>
+ <property name="java.class.version" value="51.0"/>
+ <property name="sun.management.compiler" value="HotSpot 64-Bit Tiered Compilers"/>
+ <property name="os.version" value="6.1"/>
+ <property name="user.home" value="C:\Users\Master"/>
+ <property name="user.timezone" value="America/Phoenix"/>
+ <property name="java.awt.printerjob" value="sun.awt.windows.WPrinterJob"/>
+ <property name="java.specification.version" value="1.7"/>
+ <property name="file.encoding" value="Cp1252"/>
+ <property name="user.name" value="Master"/>
+ <property name="java.class.path" value="C:\Maven\apache-maven-3.0.4\bin\..\boot\plexus-classworlds-2.4.jar"/>
+ <property name="java.vm.specification.version" value="1.7"/>
+ <property name="sun.arch.data.model" value="64"/>
+ <property name="java.home" value="C:\Program Files\Java\jdk1.7.0_02\jre"/>
+ <property name="sun.java.command" value="org.codehaus.plexus.classworlds.launcher.Launcher test"/>
+ <property name="java.specification.vendor" value="Oracle Corporation"/>
+ <property name="user.language" value="en"/>
+ <property name="awt.toolkit" value="sun.awt.windows.WToolkit"/>
+ <property name="java.vm.info" value="mixed mode"/>
+ <property name="java.version" value="1.7.0_02"/>
+ <property name="java.ext.dirs" value="C:\Program Files\Java\jdk1.7.0_02\jre\lib\ext;C:\Windows\Sun\Java\lib\ext"/>
+ <property name="sun.boot.class.path" value="C:\Program Files\Java\jdk1.7.0_02\jre\lib\resources.jar;C:\Program Files\Java\jdk1.7.0_02\jre\lib\rt.jar;C:\Program Files\Java\jdk1.7.0_02\jre\lib\sunrsasign.jar;C:\Program Files\Java\jdk1.7.0_02\jre\lib\jsse.jar;C:\Program Files\Java\jdk1.7.0_02\jre\lib\jce.jar;C:\Program Files\Java\jdk1.7.0_02\jre\lib\charsets.jar;C:\Program Files\Java\jdk1.7.0_02\jre\classes"/>
+ <property name="java.vendor" value="Oracle Corporation"/>
+ <property name="maven.home" value="C:\Maven\apache-maven-3.0.4\bin\.."/>
+ <property name="file.separator" value="\"/>
+ <property name="java.vendor.url.bug" value="http://bugreport.sun.com/bugreport/"/>
+ <property name="sun.cpu.endian" value="little"/>
+ <property name="sun.io.unicode.encoding" value="UnicodeLittle"/>
+ <property name="sun.desktop" value="windows"/>
+ <property name="sun.cpu.isalist" value="amd64"/>
+ </properties>
+ <testcase time="0.115" classname="com.visionarysoftwaresolutions.reviewable.ReviewableTest" name="testDatedReview"/>
+ <testcase time="0.004" classname="com.visionarysoftwaresolutions.reviewable.ReviewableTest" name="testRatedReview"/>
+ <testcase time="0.004" classname="com.visionarysoftwaresolutions.reviewable.ReviewableTest" name="testReview"/>
+</testsuite>
View
4 target/surefire-reports/com.visionarysoftwaresolutions.reviewable.ReviewableTest.txt
@@ -0,0 +1,4 @@
+-------------------------------------------------------------------------------
+Test set: com.visionarysoftwaresolutions.reviewable.ReviewableTest
+-------------------------------------------------------------------------------
+Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.313 sec
Please sign in to comment.
Something went wrong with that request. Please try again.