-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #50 from utastudents/gameWon
Game won
- Loading branch information
Showing
17 changed files
with
171 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
package com.cse3310; | ||
|
||
public class Winner { | ||
int won; | ||
String winner; | ||
int score; | ||
|
||
public Winner(User u) { | ||
this.won = 1; | ||
this.winner = u.username; | ||
this.score = u.wordCount; | ||
} | ||
} |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/createdFiles.lst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
com/cse3310/UserTest.class | ||
com/cse3310/AppTest.class |
1 change: 1 addition & 0 deletions
1
target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
/mnt/c/Users/verid/OneDrive/Documents/School/Classes/CSE 3310 Software Engineering/cse3310_sp24_group_26/src/test/java/com/cse3310/UserTest.java | ||
/mnt/c/Users/verid/OneDrive/Documents/School/Classes/CSE 3310 Software Engineering/cse3310_sp24_group_26/src/test/java/com/cse3310/AppTest.java |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<testsuite xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://maven.apache.org/surefire/maven-surefire-plugin/xsd/surefire-test-report.xsd" name="com.cse3310.UserTest" time="0.002" tests="2" errors="0" skipped="0" failures="0"> | ||
<properties> | ||
<property name="awt.toolkit" value="sun.awt.X11.XToolkit"/> | ||
<property name="exec.mainClass" value="com.cse3310.App"/> | ||
<property name="java.specification.version" value="11"/> | ||
<property name="sun.cpu.isalist" value=""/> | ||
<property name="sun.jnu.encoding" value="UTF-8"/> | ||
<property name="java.class.path" value="/mnt/c/Users/verid/OneDrive/Documents/School/Classes/CSE 3310 Software Engineering/cse3310_sp24_group_26/target/test-classes:/mnt/c/Users/verid/OneDrive/Documents/School/Classes/CSE 3310 Software Engineering/cse3310_sp24_group_26/target/classes:/home/veridion/.m2/repository/junit/junit/4.13.1/junit-4.13.1.jar:/home/veridion/.m2/repository/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar:/home/veridion/.m2/repository/com/google/code/gson/gson/2.9.1/gson-2.9.1.jar:/home/veridion/.m2/repository/net/freeutils/jlhttp/2.6/jlhttp-2.6.jar:/home/veridion/.m2/repository/org/java-websocket/Java-WebSocket/1.5.4/Java-WebSocket-1.5.4.jar:/home/veridion/.m2/repository/org/slf4j/slf4j-api/2.0.0-alpha0/slf4j-api-2.0.0-alpha0.jar:"/> | ||
<property name="java.vm.vendor" value="Ubuntu"/> | ||
<property name="sun.arch.data.model" value="64"/> | ||
<property name="java.vendor.url" value="https://ubuntu.com/"/> | ||
<property name="user.timezone" value=""/> | ||
<property name="java.vm.specification.version" value="11"/> | ||
<property name="os.name" value="Linux"/> | ||
<property name="sun.java.launcher" value="SUN_STANDARD"/> | ||
<property name="sun.boot.library.path" value="/usr/lib/jvm/java-11-openjdk-amd64/lib"/> | ||
<property name="sun.java.command" value="/mnt/c/Users/verid/OneDrive/Documents/School/Classes/CSE 3310 Software Engineering/cse3310_sp24_group_26/target/surefire/surefirebooter1265698555585075939.jar /mnt/c/Users/verid/OneDrive/Documents/School/Classes/CSE 3310 Software Engineering/cse3310_sp24_group_26/target/surefire 2024-04-30T17-05-53_897-jvmRun1 surefire12147627652851137436tmp surefire_011632373026406175695tmp"/> | ||
<property name="jdk.debug" value="release"/> | ||
<property name="surefire.test.class.path" value="/mnt/c/Users/verid/OneDrive/Documents/School/Classes/CSE 3310 Software Engineering/cse3310_sp24_group_26/target/test-classes:/mnt/c/Users/verid/OneDrive/Documents/School/Classes/CSE 3310 Software Engineering/cse3310_sp24_group_26/target/classes:/home/veridion/.m2/repository/junit/junit/4.13.1/junit-4.13.1.jar:/home/veridion/.m2/repository/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar:/home/veridion/.m2/repository/com/google/code/gson/gson/2.9.1/gson-2.9.1.jar:/home/veridion/.m2/repository/net/freeutils/jlhttp/2.6/jlhttp-2.6.jar:/home/veridion/.m2/repository/org/java-websocket/Java-WebSocket/1.5.4/Java-WebSocket-1.5.4.jar:/home/veridion/.m2/repository/org/slf4j/slf4j-api/2.0.0-alpha0/slf4j-api-2.0.0-alpha0.jar:"/> | ||
<property name="sun.cpu.endian" value="little"/> | ||
<property name="user.home" value="/home/veridion"/> | ||
<property name="user.language" value="en"/> | ||
<property name="java.specification.vendor" value="Oracle Corporation"/> | ||
<property name="java.version.date" value="2023-10-17"/> | ||
<property name="java.home" value="/usr/lib/jvm/java-11-openjdk-amd64"/> | ||
<property name="file.separator" value="/"/> | ||
<property name="basedir" value="/mnt/c/Users/verid/OneDrive/Documents/School/Classes/CSE 3310 Software Engineering/cse3310_sp24_group_26"/> | ||
<property name="java.vm.compressedOopsMode" value="Zero based"/> | ||
<property name="line.separator" value=" "/> | ||
<property name="java.specification.name" value="Java Platform API Specification"/> | ||
<property name="java.vm.specification.vendor" value="Oracle Corporation"/> | ||
<property name="java.awt.graphicsenv" value="sun.awt.X11GraphicsEnvironment"/> | ||
<property name="surefire.real.class.path" value="/mnt/c/Users/verid/OneDrive/Documents/School/Classes/CSE 3310 Software Engineering/cse3310_sp24_group_26/target/surefire/surefirebooter1265698555585075939.jar"/> | ||
<property name="sun.management.compiler" value="HotSpot 64-Bit Tiered Compilers"/> | ||
<property name="java.runtime.version" value="11.0.21+9-post-Ubuntu-0ubuntu122.04"/> | ||
<property name="user.name" value="veridion"/> | ||
<property name="path.separator" value=":"/> | ||
<property name="os.version" value="4.4.0-19041-Microsoft"/> | ||
<property name="java.runtime.name" value="OpenJDK Runtime Environment"/> | ||
<property name="file.encoding" value="UTF-8"/> | ||
<property name="java.vm.name" value="OpenJDK 64-Bit Server VM"/> | ||
<property name="localRepository" value="/home/veridion/.m2/repository"/> | ||
<property name="java.vendor.url.bug" value="https://bugs.launchpad.net/ubuntu/+source/openjdk-lts"/> | ||
<property name="java.io.tmpdir" value="/tmp"/> | ||
<property name="java.version" value="11.0.21"/> | ||
<property name="user.dir" value="/mnt/c/Users/verid/OneDrive/Documents/School/Classes/CSE 3310 Software Engineering/cse3310_sp24_group_26"/> | ||
<property name="os.arch" value="amd64"/> | ||
<property name="java.vm.specification.name" value="Java Virtual Machine Specification"/> | ||
<property name="java.awt.printerjob" value="sun.print.PSPrinterJob"/> | ||
<property name="sun.os.patch.level" value="unknown"/> | ||
<property name="java.library.path" value="/usr/java/packages/lib:/usr/lib/x86_64-linux-gnu/jni:/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu:/usr/lib/jni:/lib:/usr/lib"/> | ||
<property name="java.vm.info" value="mixed mode, sharing"/> | ||
<property name="java.vendor" value="Ubuntu"/> | ||
<property name="java.vm.version" value="11.0.21+9-post-Ubuntu-0ubuntu122.04"/> | ||
<property name="java.specification.maintenance.version" value="2"/> | ||
<property name="sun.io.unicode.encoding" value="UnicodeLittle"/> | ||
<property name="java.class.version" value="55.0"/> | ||
</properties> | ||
<testcase name="testForDuplicateUsernames" classname="com.cse3310.UserTest" time="0"/> | ||
<testcase name="addFourToScoreAndWins" classname="com.cse3310.UserTest" time="0"/> | ||
</testsuite> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
------------------------------------------------------------------------------- | ||
Test set: com.cse3310.AppTest | ||
------------------------------------------------------------------------------- | ||
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.121 s - in com.cse3310.AppTest | ||
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.503 s - in com.cse3310.AppTest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
------------------------------------------------------------------------------- | ||
Test set: com.cse3310.UserTest | ||
------------------------------------------------------------------------------- | ||
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 s - in com.cse3310.UserTest |
Binary file not shown.
Binary file not shown.