Deployment fix
This commit is contained in:
1 parent
d8ce1001cb
commit
e5469b7ad5
17 files changed
+91
-48
No files matched your search
@@ -20,3 +20,5 @@ pnpm-debug.log*
|
||||
*.njsproj
|
||||
*.sln
|
||||
*.sw?
|
||||
|
||||
tronio.jar
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 6.3 KiB After Width: | Height: | Size: 9.7 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 23 KiB |
+1
-2
@@ -3,7 +3,7 @@
|
||||
<Game v-if="isLoggedIn"/>
|
||||
<div v-else class="container mainMenu">
|
||||
<img src="./assets/logo.png" alt="TronIo logo" width="150px"/>
|
||||
<h1 class="title">Tron.io</h1>
|
||||
<h1 class="title">tron.io</h1>
|
||||
<b-button @click="loginPrompt">Start</b-button>
|
||||
</div>
|
||||
<b-loading v-model="isLoading"/>
|
||||
@@ -34,7 +34,6 @@ export default {
|
||||
this.$buefy.dialog.prompt({
|
||||
message: 'Choose a name',
|
||||
trapFocus: true,
|
||||
canCancel: false,
|
||||
inputAttrs: {
|
||||
placeholder: 'pedro',
|
||||
minlength: 3,
|
||||
|
||||
@@ -68,11 +68,10 @@ export default {
|
||||
this.canvas.height = window.innerHeight
|
||||
this.canvas.addEventListener('mousemove', this.mouseEvent)
|
||||
this.canvas.addEventListener('touchmove', this.touchEvent)
|
||||
this.renderTimer = setInterval(this.render, 1000 / 60)
|
||||
this.renderTimer = setInterval(this.render, 1000 / 120)
|
||||
},
|
||||
methods: {
|
||||
render () {
|
||||
this.stats.lastFrame = performance.now()
|
||||
this.context.clearRect(0, 0, this.canvas.width, this.canvas.height)
|
||||
this.renderBorders()
|
||||
|
||||
@@ -99,6 +98,8 @@ export default {
|
||||
this.renderMouse()
|
||||
|
||||
this.renderDebug()
|
||||
|
||||
this.stats.lastFrame = performance.now()
|
||||
},
|
||||
renderBorders () {
|
||||
this.context.strokeStyle = 'white'
|
||||
@@ -138,11 +139,11 @@ export default {
|
||||
this.context.fillStyle = 'white'
|
||||
this.context.textAlign = 'start'
|
||||
this.context.fillText('camera x: ' + this.camera.x + ' y:' + this.camera.y, 10, 12)
|
||||
// this.context.fillText('a:' + player.angle + ' a_t' + player.targetAngle, 10, 24)
|
||||
this.context.fillText('canvasX: ' + canvasX + ' canvasY:' + canvasY, 10, 36)
|
||||
this.context.fillText('mouse x: ' + this.mouse.x + ' y:' + this.mouse.y, 10, 24)
|
||||
this.context.fillText('canvasX: ' + canvasX + ' canvasY: ' + canvasY, 10, 36)
|
||||
this.context.fillText('Total walls: ' + this.stats.totalWalls, 10, 48)
|
||||
this.context.fillText('Last update: ' + this.stats.lastUpdateTime, 10, 60)
|
||||
const fps = (performance.now() - this.stats.lastFrame) * 60
|
||||
const fps = 1000 / (performance.now() - this.stats.lastFrame)
|
||||
this.context.fillText('FPS: ' + fps, 10, 72)
|
||||
},
|
||||
renderMouse () {
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
/* eslint-disable no-console */
|
||||
|
||||
import { register } from 'register-service-worker'
|
||||
import { ToastProgrammatic as Toast } from 'buefy'
|
||||
|
||||
if (process.env.NODE_ENV === 'production') {
|
||||
register(`${process.env.BASE_URL}service-worker.js`, {
|
||||
@@ -18,12 +19,16 @@ if (process.env.NODE_ENV === 'production') {
|
||||
},
|
||||
updatefound () {
|
||||
console.log('New content is downloading.')
|
||||
Toast.open('Update found, downloading...')
|
||||
},
|
||||
updated () {
|
||||
console.log('New content is available; please refresh.')
|
||||
window.location.reload(true)
|
||||
Toast.open('App updated !')
|
||||
},
|
||||
offline () {
|
||||
console.log('No internet connection found. App is running in offline mode.')
|
||||
Toast.open('No internet connection !')
|
||||
},
|
||||
error (error) {
|
||||
console.error('Error during service worker registration:', error)
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { ToastProgrammatic as Toast } from 'buefy'
|
||||
|
||||
const connection = new WebSocket('ws://localhost:8181/socket')
|
||||
// const connection = new WebSocket('wss://tronio.gltronic.ovh/socket')
|
||||
// const connection = new WebSocket('ws://localhost:8181/socket')
|
||||
const connection = new WebSocket('wss://tronio.gltronic.ovh/socket')
|
||||
|
||||
export default function createSocketPlugin () {
|
||||
return store => {
|
||||
|
||||
@@ -0,0 +1,33 @@
|
||||
HELP.md
|
||||
target/
|
||||
!.mvn/wrapper/maven-wrapper.jar
|
||||
!**/src/main/**/target/
|
||||
!**/src/test/**/target/
|
||||
|
||||
### STS ###
|
||||
.apt_generated
|
||||
.classpath
|
||||
.factorypath
|
||||
.project
|
||||
.settings
|
||||
.springBeans
|
||||
.sts4-cache
|
||||
|
||||
### IntelliJ IDEA ###
|
||||
.idea
|
||||
*.iws
|
||||
*.iml
|
||||
*.ipr
|
||||
|
||||
### NetBeans ###
|
||||
/nbproject/private/
|
||||
/nbbuild/
|
||||
/dist/
|
||||
/nbdist/
|
||||
/.nb-gradle/
|
||||
build/
|
||||
!**/src/main/**/build/
|
||||
!**/src/test/**/build/
|
||||
|
||||
### VS Code ###
|
||||
.vscode/
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package gltronic.voozik;
|
||||
package gltronic.tronio;
|
||||
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.springframework.boot.test.context.SpringBootTest;
|
||||
@@ -1,3 +1,3 @@
|
||||
artifactId=voozik
|
||||
artifactId=tronio
|
||||
groupId=gltronic
|
||||
version=0.0.1-SNAPSHOT
|
||||
+12
-7
@@ -1,7 +1,12 @@
|
||||
/home/thomsb/Projets/web/voozik/server/src/main/java/gltronic/voozik/web/SocketHandler.java
|
||||
/home/thomsb/Projets/web/voozik/server/src/main/java/gltronic/voozik/business/IYTSearch.java
|
||||
/home/thomsb/Projets/web/voozik/server/src/main/java/gltronic/voozik/business/RoomManager.java
|
||||
/home/thomsb/Projets/web/voozik/server/src/main/java/gltronic/voozik/business/IRoomManager.java
|
||||
/home/thomsb/Projets/web/voozik/server/src/main/java/gltronic/voozik/web/WebSocketConfiguration.java
|
||||
/home/thomsb/Projets/web/voozik/server/src/main/java/gltronic/voozik/VoozikApplication.java
|
||||
/home/thomsb/Projets/web/voozik/server/src/main/java/gltronic/voozik/model/BiMap.java
|
||||
/home/thomsb/Projets/web/tronio/server/src/main/java/gltronic/tronio/TronIoApplication.java
|
||||
/home/thomsb/Projets/web/tronio/server/src/main/java/gltronic/tronio/model/Game.java
|
||||
/home/thomsb/Projets/web/tronio/server/src/main/java/gltronic/tronio/model/BiMap.java
|
||||
/home/thomsb/Projets/web/tronio/server/src/main/java/gltronic/tronio/business/IGameManager.java
|
||||
/home/thomsb/Projets/web/tronio/server/src/main/java/gltronic/tronio/business/GameManager.java
|
||||
/home/thomsb/Projets/web/tronio/server/src/main/java/gltronic/tronio/model/Player.java
|
||||
/home/thomsb/Projets/web/tronio/server/src/main/java/gltronic/tronio/model/GameUpdate.java
|
||||
/home/thomsb/Projets/web/tronio/server/src/main/java/gltronic/tronio/model/GameSettings.java
|
||||
/home/thomsb/Projets/web/tronio/server/src/main/java/gltronic/tronio/business/SocketUtils.java
|
||||
/home/thomsb/Projets/web/tronio/server/src/main/java/gltronic/tronio/model/Wall.java
|
||||
/home/thomsb/Projets/web/tronio/server/src/main/java/gltronic/tronio/web/WebSocketConfiguration.java
|
||||
/home/thomsb/Projets/web/tronio/server/src/main/java/gltronic/tronio/web/SocketHandler.java
|
||||
+1
@@ -0,0 +1 @@
|
||||
gltronic/tronio/DemoApplicationTests.class
|
||||
+1
-1
@@ -1 +1 @@
|
||||
/home/thomsb/Projets/web/voozik/server/src/test/java/gltronic/voozik/DemoApplicationTests.java
|
||||
/home/thomsb/Projets/web/tronio/server/src/test/java/gltronic/tronio/DemoApplicationTests.java
|
||||
@@ -1,9 +1,9 @@
|
||||
<?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="gltronic.voozik.DemoApplicationTests" time="2.292" tests="1" errors="0" skipped="0" failures="0">
|
||||
<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="gltronic.voozik.DemoApplicationTests" time="0.013" tests="1" errors="1" skipped="0" failures="0">
|
||||
<properties>
|
||||
<property name="java.specification.version" value="14"/>
|
||||
<property name="sun.jnu.encoding" value="UTF-8"/>
|
||||
<property name="java.class.path" value="/home/thomsb/Projets/web/voozik/server/target/test-classes:/home/thomsb/Projets/web/voozik/server/target/classes:/home/thomsb/.m2/repository/org/springframework/boot/spring-boot-starter-web/2.3.1.RELEASE/spring-boot-starter-web-2.3.1.RELEASE.jar:/home/thomsb/.m2/repository/org/springframework/boot/spring-boot-starter/2.3.1.RELEASE/spring-boot-starter-2.3.1.RELEASE.jar:/home/thomsb/.m2/repository/org/springframework/boot/spring-boot/2.3.1.RELEASE/spring-boot-2.3.1.RELEASE.jar:/home/thomsb/.m2/repository/org/springframework/boot/spring-boot-autoconfigure/2.3.1.RELEASE/spring-boot-autoconfigure-2.3.1.RELEASE.jar:/home/thomsb/.m2/repository/org/springframework/boot/spring-boot-starter-logging/2.3.1.RELEASE/spring-boot-starter-logging-2.3.1.RELEASE.jar:/home/thomsb/.m2/repository/ch/qos/logback/logback-classic/1.2.3/logback-classic-1.2.3.jar:/home/thomsb/.m2/repository/ch/qos/logback/logback-core/1.2.3/logback-core-1.2.3.jar:/home/thomsb/.m2/repository/org/apache/logging/log4j/log4j-to-slf4j/2.13.3/log4j-to-slf4j-2.13.3.jar:/home/thomsb/.m2/repository/org/apache/logging/log4j/log4j-api/2.13.3/log4j-api-2.13.3.jar:/home/thomsb/.m2/repository/org/slf4j/jul-to-slf4j/1.7.30/jul-to-slf4j-1.7.30.jar:/home/thomsb/.m2/repository/jakarta/annotation/jakarta.annotation-api/1.3.5/jakarta.annotation-api-1.3.5.jar:/home/thomsb/.m2/repository/org/yaml/snakeyaml/1.26/snakeyaml-1.26.jar:/home/thomsb/.m2/repository/org/springframework/boot/spring-boot-starter-json/2.3.1.RELEASE/spring-boot-starter-json-2.3.1.RELEASE.jar:/home/thomsb/.m2/repository/com/fasterxml/jackson/core/jackson-databind/2.11.0/jackson-databind-2.11.0.jar:/home/thomsb/.m2/repository/com/fasterxml/jackson/core/jackson-annotations/2.11.0/jackson-annotations-2.11.0.jar:/home/thomsb/.m2/repository/com/fasterxml/jackson/core/jackson-core/2.11.0/jackson-core-2.11.0.jar:/home/thomsb/.m2/repository/com/fasterxml/jackson/datatype/jackson-datatype-jdk8/2.11.0/jackson-datatype-jdk8-2.11.0.jar:/home/thomsb/.m2/repository/com/fasterxml/jackson/datatype/jackson-datatype-jsr310/2.11.0/jackson-datatype-jsr310-2.11.0.jar:/home/thomsb/.m2/repository/com/fasterxml/jackson/module/jackson-module-parameter-names/2.11.0/jackson-module-parameter-names-2.11.0.jar:/home/thomsb/.m2/repository/org/springframework/boot/spring-boot-starter-tomcat/2.3.1.RELEASE/spring-boot-starter-tomcat-2.3.1.RELEASE.jar:/home/thomsb/.m2/repository/org/apache/tomcat/embed/tomcat-embed-core/9.0.36/tomcat-embed-core-9.0.36.jar:/home/thomsb/.m2/repository/org/glassfish/jakarta.el/3.0.3/jakarta.el-3.0.3.jar:/home/thomsb/.m2/repository/org/apache/tomcat/embed/tomcat-embed-websocket/9.0.36/tomcat-embed-websocket-9.0.36.jar:/home/thomsb/.m2/repository/org/springframework/spring-web/5.2.7.RELEASE/spring-web-5.2.7.RELEASE.jar:/home/thomsb/.m2/repository/org/springframework/spring-beans/5.2.7.RELEASE/spring-beans-5.2.7.RELEASE.jar:/home/thomsb/.m2/repository/org/springframework/spring-webmvc/5.2.7.RELEASE/spring-webmvc-5.2.7.RELEASE.jar:/home/thomsb/.m2/repository/org/springframework/spring-aop/5.2.7.RELEASE/spring-aop-5.2.7.RELEASE.jar:/home/thomsb/.m2/repository/org/springframework/spring-context/5.2.7.RELEASE/spring-context-5.2.7.RELEASE.jar:/home/thomsb/.m2/repository/org/springframework/spring-expression/5.2.7.RELEASE/spring-expression-5.2.7.RELEASE.jar:/home/thomsb/.m2/repository/org/springframework/boot/spring-boot-starter-websocket/2.3.1.RELEASE/spring-boot-starter-websocket-2.3.1.RELEASE.jar:/home/thomsb/.m2/repository/org/springframework/spring-messaging/5.2.7.RELEASE/spring-messaging-5.2.7.RELEASE.jar:/home/thomsb/.m2/repository/org/springframework/spring-websocket/5.2.7.RELEASE/spring-websocket-5.2.7.RELEASE.jar:/home/thomsb/.m2/repository/org/projectlombok/lombok/1.18.12/lombok-1.18.12.jar:/home/thomsb/.m2/repository/org/springframework/boot/spring-boot-starter-test/2.3.1.RELEASE/spring-boot-starter-test-2.3.1.RELEASE.jar:/home/thomsb/.m2/repository/org/springframework/boot/spring-boot-test/2.3.1.RELEASE/spring-boot-test-2.3.1.RELEASE.jar:/home/thomsb/.m2/repository/org/springframework/boot/spring-boot-test-autoconfigure/2.3.1.RELEASE/spring-boot-test-autoconfigure-2.3.1.RELEASE.jar:/home/thomsb/.m2/repository/com/jayway/jsonpath/json-path/2.4.0/json-path-2.4.0.jar:/home/thomsb/.m2/repository/net/minidev/json-smart/2.3/json-smart-2.3.jar:/home/thomsb/.m2/repository/net/minidev/accessors-smart/1.2/accessors-smart-1.2.jar:/home/thomsb/.m2/repository/org/ow2/asm/asm/5.0.4/asm-5.0.4.jar:/home/thomsb/.m2/repository/org/slf4j/slf4j-api/1.7.30/slf4j-api-1.7.30.jar:/home/thomsb/.m2/repository/jakarta/xml/bind/jakarta.xml.bind-api/2.3.3/jakarta.xml.bind-api-2.3.3.jar:/home/thomsb/.m2/repository/jakarta/activation/jakarta.activation-api/1.2.2/jakarta.activation-api-1.2.2.jar:/home/thomsb/.m2/repository/org/assertj/assertj-core/3.16.1/assertj-core-3.16.1.jar:/home/thomsb/.m2/repository/org/hamcrest/hamcrest/2.2/hamcrest-2.2.jar:/home/thomsb/.m2/repository/org/junit/jupiLine truncated
|
||||
<property name="java.class.path" value="/home/thomsb/Projets/web/tronio/server/target/test-classes:/home/thomsb/Projets/web/tronio/server/target/classes:/home/thomsb/.m2/repository/org/springframework/boot/spring-boot-starter-web/2.3.1.RELEASE/spring-boot-starter-web-2.3.1.RELEASE.jar:/home/thomsb/.m2/repository/org/springframework/boot/spring-boot-starter/2.3.1.RELEASE/spring-boot-starter-2.3.1.RELEASE.jar:/home/thomsb/.m2/repository/org/springframework/boot/spring-boot/2.3.1.RELEASE/spring-boot-2.3.1.RELEASE.jar:/home/thomsb/.m2/repository/org/springframework/boot/spring-boot-autoconfigure/2.3.1.RELEASE/spring-boot-autoconfigure-2.3.1.RELEASE.jar:/home/thomsb/.m2/repository/org/springframework/boot/spring-boot-starter-logging/2.3.1.RELEASE/spring-boot-starter-logging-2.3.1.RELEASE.jar:/home/thomsb/.m2/repository/ch/qos/logback/logback-classic/1.2.3/logback-classic-1.2.3.jar:/home/thomsb/.m2/repository/ch/qos/logback/logback-core/1.2.3/logback-core-1.2.3.jar:/home/thomsb/.m2/repository/org/apache/logging/log4j/log4j-to-slf4j/2.13.3/log4j-to-slf4j-2.13.3.jar:/home/thomsb/.m2/repository/org/apache/logging/log4j/log4j-api/2.13.3/log4j-api-2.13.3.jar:/home/thomsb/.m2/repository/org/slf4j/jul-to-slf4j/1.7.30/jul-to-slf4j-1.7.30.jar:/home/thomsb/.m2/repository/jakarta/annotation/jakarta.annotation-api/1.3.5/jakarta.annotation-api-1.3.5.jar:/home/thomsb/.m2/repository/org/yaml/snakeyaml/1.26/snakeyaml-1.26.jar:/home/thomsb/.m2/repository/org/springframework/boot/spring-boot-starter-json/2.3.1.RELEASE/spring-boot-starter-json-2.3.1.RELEASE.jar:/home/thomsb/.m2/repository/com/fasterxml/jackson/core/jackson-databind/2.11.0/jackson-databind-2.11.0.jar:/home/thomsb/.m2/repository/com/fasterxml/jackson/core/jackson-annotations/2.11.0/jackson-annotations-2.11.0.jar:/home/thomsb/.m2/repository/com/fasterxml/jackson/datatype/jackson-datatype-jdk8/2.11.0/jackson-datatype-jdk8-2.11.0.jar:/home/thomsb/.m2/repository/com/fasterxml/jackson/datatype/jackson-datatype-jsr310/2.11.0/jackson-datatype-jsr310-2.11.0.jar:/home/thomsb/.m2/repository/com/fasterxml/jackson/module/jackson-module-parameter-names/2.11.0/jackson-module-parameter-names-2.11.0.jar:/home/thomsb/.m2/repository/org/springframework/boot/spring-boot-starter-tomcat/2.3.1.RELEASE/spring-boot-starter-tomcat-2.3.1.RELEASE.jar:/home/thomsb/.m2/repository/org/apache/tomcat/embed/tomcat-embed-core/9.0.36/tomcat-embed-core-9.0.36.jar:/home/thomsb/.m2/repository/org/glassfish/jakarta.el/3.0.3/jakarta.el-3.0.3.jar:/home/thomsb/.m2/repository/org/apache/tomcat/embed/tomcat-embed-websocket/9.0.36/tomcat-embed-websocket-9.0.36.jar:/home/thomsb/.m2/repository/org/springframework/spring-web/5.2.7.RELEASE/spring-web-5.2.7.RELEASE.jar:/home/thomsb/.m2/repository/org/springframework/spring-beans/5.2.7.RELEASE/spring-beans-5.2.7.RELEASE.jar:/home/thomsb/.m2/repository/org/springframework/spring-webmvc/5.2.7.RELEASE/spring-webmvc-5.2.7.RELEASE.jar:/home/thomsb/.m2/repository/org/springframework/spring-aop/5.2.7.RELEASE/spring-aop-5.2.7.RELEASE.jar:/home/thomsb/.m2/repository/org/springframework/spring-context/5.2.7.RELEASE/spring-context-5.2.7.RELEASE.jar:/home/thomsb/.m2/repository/org/springframework/spring-expression/5.2.7.RELEASE/spring-expression-5.2.7.RELEASE.jar:/home/thomsb/.m2/repository/org/springframework/boot/spring-boot-starter-websocket/2.3.1.RELEASE/spring-boot-starter-websocket-2.3.1.RELEASE.jar:/home/thomsb/.m2/repository/org/springframework/spring-messaging/5.2.7.RELEASE/spring-messaging-5.2.7.RELEASE.jar:/home/thomsb/.m2/repository/org/springframework/spring-websocket/5.2.7.RELEASE/spring-websocket-5.2.7.RELEASE.jar:/home/thomsb/.m2/repository/org/projectlombok/lombok/1.18.12/lombok-1.18.12.jar:/home/thomsb/.m2/repository/org/springframework/boot/spring-boot-starter-test/2.3.1.RELEASE/spring-boot-starter-test-2.3.1.RELEASE.jar:/home/thomsb/.m2/repository/org/springframework/boot/spring-boot-test/2.3.1.RELEASE/spring-boot-test-2.3.1.RELEASE.jar:/home/thomsb/.m2/repository/org/springframework/boot/spring-boot-test-autoconfigure/2.3.1.RELEASE/spring-boot-test-autoconfigure-2.3.1.RELEASE.jar:/home/thomsb/.m2/repository/com/jayway/jsonpath/json-path/2.4.0/json-path-2.4.0.jar:/home/thomsb/.m2/repository/net/minidev/json-smart/2.3/json-smart-2.3.jar:/home/thomsb/.m2/repository/net/minidev/accessors-smart/1.2/accessors-smart-1.2.jar:/home/thomsb/.m2/repository/org/ow2/asm/asm/5.0.4/asm-5.0.4.jar:/home/thomsb/.m2/repository/org/slf4j/slf4j-api/1.7.30/slf4j-api-1.7.30.jar:/home/thomsb/.m2/repository/jakarta/xml/bind/jakarta.xml.bind-api/2.3.3/jakarta.xml.bind-api-2.3.3.jar:/home/thomsb/.m2/repository/jakarta/activation/jakarta.activation-api/1.2.2/jakarta.activation-api-1.2.2.jar:/home/thomsb/.m2/repository/org/assertj/assertj-core/3.16.1/assertj-core-3.16.1.jar:/home/thomsb/.m2/repository/org/hamcrest/hamcrest/2.2/hamcrest-2.2.jar:/home/thomsb/.m2/repository/org/junit/jupiter/junit-jupiter/5.6.2/junit-jupiter-5.6.2.jar:/home/thomsb/.m2/repository/org/junit/jupiter/junitLine truncated
|
||||
<property name="java.vm.vendor" value="Oracle Corporation"/>
|
||||
<property name="sun.arch.data.model" value="64"/>
|
||||
<property name="java.vendor.url" value="https://openjdk.java.net/"/>
|
||||
@@ -12,9 +12,9 @@
|
||||
<property name="sun.java.launcher" value="SUN_STANDARD"/>
|
||||
<property name="user.country" value="FR"/>
|
||||
<property name="sun.boot.library.path" value="/usr/lib/jvm/java-14-openjdk/lib"/>
|
||||
<property name="sun.java.command" value="/home/thomsb/Projets/web/voozik/server/target/surefire/surefirebooter13591471119398146544.jar /home/thomsb/Projets/web/voozik/server/target/surefire 2020-08-05T16-55-15_730-jvmRun1 surefire11598135553483392804tmp surefire_08534461117387381619tmp"/>
|
||||
<property name="sun.java.command" value="/home/thomsb/Projets/web/tronio/server/target/surefire/surefirebooter22043398912885793.jar /home/thomsb/Projets/web/tronio/server/target/surefire 2020-09-01T14-41-32_970-jvmRun1 surefire7094573940723083651tmp surefire_05452904416209512560tmp"/>
|
||||
<property name="jdk.debug" value="release"/>
|
||||
<property name="surefire.test.class.path" value="/home/thomsb/Projets/web/voozik/server/target/test-classes:/home/thomsb/Projets/web/voozik/server/target/classes:/home/thomsb/.m2/repository/org/springframework/boot/spring-boot-starter-web/2.3.1.RELEASE/spring-boot-starter-web-2.3.1.RELEASE.jar:/home/thomsb/.m2/repository/org/springframework/boot/spring-boot-starter/2.3.1.RELEASE/spring-boot-starter-2.3.1.RELEASE.jar:/home/thomsb/.m2/repository/org/springframework/boot/spring-boot/2.3.1.RELEASE/spring-boot-2.3.1.RELEASE.jar:/home/thomsb/.m2/repository/org/springframework/boot/spring-boot-autoconfigure/2.3.1.RELEASE/spring-boot-autoconfigure-2.3.1.RELEASE.jar:/home/thomsb/.m2/repository/org/springframework/boot/spring-boot-starter-logging/2.3.1.RELEASE/spring-boot-starter-logging-2.3.1.RELEASE.jar:/home/thomsb/.m2/repository/ch/qos/logback/logback-classic/1.2.3/logback-classic-1.2.3.jar:/home/thomsb/.m2/repository/ch/qos/logback/logback-core/1.2.3/logback-core-1.2.3.jar:/home/thomsb/.m2/repository/org/apache/logging/log4j/log4j-to-slf4j/2.13.3/log4j-to-slf4j-2.13.3.jar:/home/thomsb/.m2/repository/org/apache/logging/log4j/log4j-api/2.13.3/log4j-api-2.13.3.jar:/home/thomsb/.m2/repository/org/slf4j/jul-to-slf4j/1.7.30/jul-to-slf4j-1.7.30.jar:/home/thomsb/.m2/repository/jakarta/annotation/jakarta.annotation-api/1.3.5/jakarta.annotation-api-1.3.5.jar:/home/thomsb/.m2/repository/org/yaml/snakeyaml/1.26/snakeyaml-1.26.jar:/home/thomsb/.m2/repository/org/springframework/boot/spring-boot-starter-json/2.3.1.RELEASE/spring-boot-starter-json-2.3.1.RELEASE.jar:/home/thomsb/.m2/repository/com/fasterxml/jackson/core/jackson-databind/2.11.0/jackson-databind-2.11.0.jar:/home/thomsb/.m2/repository/com/fasterxml/jackson/core/jackson-annotations/2.11.0/jackson-annotations-2.11.0.jar:/home/thomsb/.m2/repository/com/fasterxml/jackson/core/jackson-core/2.11.0/jackson-core-2.11.0.jar:/home/thomsb/.m2/repository/com/fasterxml/jackson/datatype/jackson-datatype-jdk8/2.11.0/jackson-datatype-jdk8-2.11.0.jar:/home/thomsb/.m2/repository/com/fasterxml/jackson/datatype/jackson-datatype-jsr310/2.11.0/jackson-datatype-jsr310-2.11.0.jar:/home/thomsb/.m2/repository/com/fasterxml/jackson/module/jackson-module-parameter-names/2.11.0/jackson-module-parameter-names-2.11.0.jar:/home/thomsb/.m2/repository/org/springframework/boot/spring-boot-starter-tomcat/2.3.1.RELEASE/spring-boot-starter-tomcat-2.3.1.RELEASE.jar:/home/thomsb/.m2/repository/org/apache/tomcat/embed/tomcat-embed-core/9.0.36/tomcat-embed-core-9.0.36.jar:/home/thomsb/.m2/repository/org/glassfish/jakarta.el/3.0.3/jakarta.el-3.0.3.jar:/home/thomsb/.m2/repository/org/apache/tomcat/embed/tomcat-embed-websocket/9.0.36/tomcat-embed-websocket-9.0.36.jar:/home/thomsb/.m2/repository/org/springframework/spring-web/5.2.7.RELEASE/spring-web-5.2.7.RELEASE.jar:/home/thomsb/.m2/repository/org/springframework/spring-beans/5.2.7.RELEASE/spring-beans-5.2.7.RELEASE.jar:/home/thomsb/.m2/repository/org/springframework/spring-webmvc/5.2.7.RELEASE/spring-webmvc-5.2.7.RELEASE.jar:/home/thomsb/.m2/repository/org/springframework/spring-aop/5.2.7.RELEASE/spring-aop-5.2.7.RELEASE.jar:/home/thomsb/.m2/repository/org/springframework/spring-context/5.2.7.RELEASE/spring-context-5.2.7.RELEASE.jar:/home/thomsb/.m2/repository/org/springframework/spring-expression/5.2.7.RELEASE/spring-expression-5.2.7.RELEASE.jar:/home/thomsb/.m2/repository/org/springframework/boot/spring-boot-starter-websocket/2.3.1.RELEASE/spring-boot-starter-websocket-2.3.1.RELEASE.jar:/home/thomsb/.m2/repository/org/springframework/spring-messaging/5.2.7.RELEASE/spring-messaging-5.2.7.RELEASE.jar:/home/thomsb/.m2/repository/org/springframework/spring-websocket/5.2.7.RELEASE/spring-websocket-5.2.7.RELEASE.jar:/home/thomsb/.m2/repository/org/projectlombok/lombok/1.18.12/lombok-1.18.12.jar:/home/thomsb/.m2/repository/org/springframework/boot/spring-boot-starter-test/2.3.1.RELEASE/spring-boot-starter-test-2.3.1.RELEASE.jar:/home/thomsb/.m2/repository/org/springframework/boot/spring-boot-test/2.3.1.RELEASE/spring-boot-test-2.3.1.RELEASE.jar:/home/thomsb/.m2/repository/org/springframework/boot/spring-boot-test-autoconfigure/2.3.1.RELEASE/spring-boot-test-autoconfigure-2.3.1.RELEASE.jar:/home/thomsb/.m2/repository/com/jayway/jsonpath/json-path/2.4.0/json-path-2.4.0.jar:/home/thomsb/.m2/repository/net/minidev/json-smart/2.3/json-smart-2.3.jar:/home/thomsb/.m2/repository/net/minidev/accessors-smart/1.2/accessors-smart-1.2.jar:/home/thomsb/.m2/repository/org/ow2/asm/asm/5.0.4/asm-5.0.4.jar:/home/thomsb/.m2/repository/org/slf4j/slf4j-api/1.7.30/slf4j-api-1.7.30.jar:/home/thomsb/.m2/repository/jakarta/xml/bind/jakarta.xml.bind-api/2.3.3/jakarta.xml.bind-api-2.3.3.jar:/home/thomsb/.m2/repository/jakarta/activation/jakarta.activation-api/1.2.2/jakarta.activation-api-1.2.2.jar:/home/thomsb/.m2/repository/org/assertj/assertj-core/3.16.1/assertj-core-3.16.1.jar:/home/thomsb/.m2/repository/org/hamcrest/hamcrest/2.2/hamcrest-2.2.jar:/home/thomsb/.m2/repository/org/jLine truncated
|
||||
<property name="surefire.test.class.path" value="/home/thomsb/Projets/web/tronio/server/target/test-classes:/home/thomsb/Projets/web/tronio/server/target/classes:/home/thomsb/.m2/repository/org/springframework/boot/spring-boot-starter-web/2.3.1.RELEASE/spring-boot-starter-web-2.3.1.RELEASE.jar:/home/thomsb/.m2/repository/org/springframework/boot/spring-boot-starter/2.3.1.RELEASE/spring-boot-starter-2.3.1.RELEASE.jar:/home/thomsb/.m2/repository/org/springframework/boot/spring-boot/2.3.1.RELEASE/spring-boot-2.3.1.RELEASE.jar:/home/thomsb/.m2/repository/org/springframework/boot/spring-boot-autoconfigure/2.3.1.RELEASE/spring-boot-autoconfigure-2.3.1.RELEASE.jar:/home/thomsb/.m2/repository/org/springframework/boot/spring-boot-starter-logging/2.3.1.RELEASE/spring-boot-starter-logging-2.3.1.RELEASE.jar:/home/thomsb/.m2/repository/ch/qos/logback/logback-classic/1.2.3/logback-classic-1.2.3.jar:/home/thomsb/.m2/repository/ch/qos/logback/logback-core/1.2.3/logback-core-1.2.3.jar:/home/thomsb/.m2/repository/org/apache/logging/log4j/log4j-to-slf4j/2.13.3/log4j-to-slf4j-2.13.3.jar:/home/thomsb/.m2/repository/org/apache/logging/log4j/log4j-api/2.13.3/log4j-api-2.13.3.jar:/home/thomsb/.m2/repository/org/slf4j/jul-to-slf4j/1.7.30/jul-to-slf4j-1.7.30.jar:/home/thomsb/.m2/repository/jakarta/annotation/jakarta.annotation-api/1.3.5/jakarta.annotation-api-1.3.5.jar:/home/thomsb/.m2/repository/org/yaml/snakeyaml/1.26/snakeyaml-1.26.jar:/home/thomsb/.m2/repository/org/springframework/boot/spring-boot-starter-json/2.3.1.RELEASE/spring-boot-starter-json-2.3.1.RELEASE.jar:/home/thomsb/.m2/repository/com/fasterxml/jackson/core/jackson-databind/2.11.0/jackson-databind-2.11.0.jar:/home/thomsb/.m2/repository/com/fasterxml/jackson/core/jackson-annotations/2.11.0/jackson-annotations-2.11.0.jar:/home/thomsb/.m2/repository/com/fasterxml/jackson/datatype/jackson-datatype-jdk8/2.11.0/jackson-datatype-jdk8-2.11.0.jar:/home/thomsb/.m2/repository/com/fasterxml/jackson/datatype/jackson-datatype-jsr310/2.11.0/jackson-datatype-jsr310-2.11.0.jar:/home/thomsb/.m2/repository/com/fasterxml/jackson/module/jackson-module-parameter-names/2.11.0/jackson-module-parameter-names-2.11.0.jar:/home/thomsb/.m2/repository/org/springframework/boot/spring-boot-starter-tomcat/2.3.1.RELEASE/spring-boot-starter-tomcat-2.3.1.RELEASE.jar:/home/thomsb/.m2/repository/org/apache/tomcat/embed/tomcat-embed-core/9.0.36/tomcat-embed-core-9.0.36.jar:/home/thomsb/.m2/repository/org/glassfish/jakarta.el/3.0.3/jakarta.el-3.0.3.jar:/home/thomsb/.m2/repository/org/apache/tomcat/embed/tomcat-embed-websocket/9.0.36/tomcat-embed-websocket-9.0.36.jar:/home/thomsb/.m2/repository/org/springframework/spring-web/5.2.7.RELEASE/spring-web-5.2.7.RELEASE.jar:/home/thomsb/.m2/repository/org/springframework/spring-beans/5.2.7.RELEASE/spring-beans-5.2.7.RELEASE.jar:/home/thomsb/.m2/repository/org/springframework/spring-webmvc/5.2.7.RELEASE/spring-webmvc-5.2.7.RELEASE.jar:/home/thomsb/.m2/repository/org/springframework/spring-aop/5.2.7.RELEASE/spring-aop-5.2.7.RELEASE.jar:/home/thomsb/.m2/repository/org/springframework/spring-context/5.2.7.RELEASE/spring-context-5.2.7.RELEASE.jar:/home/thomsb/.m2/repository/org/springframework/spring-expression/5.2.7.RELEASE/spring-expression-5.2.7.RELEASE.jar:/home/thomsb/.m2/repository/org/springframework/boot/spring-boot-starter-websocket/2.3.1.RELEASE/spring-boot-starter-websocket-2.3.1.RELEASE.jar:/home/thomsb/.m2/repository/org/springframework/spring-messaging/5.2.7.RELEASE/spring-messaging-5.2.7.RELEASE.jar:/home/thomsb/.m2/repository/org/springframework/spring-websocket/5.2.7.RELEASE/spring-websocket-5.2.7.RELEASE.jar:/home/thomsb/.m2/repository/org/projectlombok/lombok/1.18.12/lombok-1.18.12.jar:/home/thomsb/.m2/repository/org/springframework/boot/spring-boot-starter-test/2.3.1.RELEASE/spring-boot-starter-test-2.3.1.RELEASE.jar:/home/thomsb/.m2/repository/org/springframework/boot/spring-boot-test/2.3.1.RELEASE/spring-boot-test-2.3.1.RELEASE.jar:/home/thomsb/.m2/repository/org/springframework/boot/spring-boot-test-autoconfigure/2.3.1.RELEASE/spring-boot-test-autoconfigure-2.3.1.RELEASE.jar:/home/thomsb/.m2/repository/com/jayway/jsonpath/json-path/2.4.0/json-path-2.4.0.jar:/home/thomsb/.m2/repository/net/minidev/json-smart/2.3/json-smart-2.3.jar:/home/thomsb/.m2/repository/net/minidev/accessors-smart/1.2/accessors-smart-1.2.jar:/home/thomsb/.m2/repository/org/ow2/asm/asm/5.0.4/asm-5.0.4.jar:/home/thomsb/.m2/repository/org/slf4j/slf4j-api/1.7.30/slf4j-api-1.7.30.jar:/home/thomsb/.m2/repository/jakarta/xml/bind/jakarta.xml.bind-api/2.3.3/jakarta.xml.bind-api-2.3.3.jar:/home/thomsb/.m2/repository/jakarta/activation/jakarta.activation-api/1.2.2/jakarta.activation-api-1.2.2.jar:/home/thomsb/.m2/repository/org/assertj/assertj-core/3.16.1/assertj-core-3.16.1.jar:/home/thomsb/.m2/repository/org/hamcrest/hamcrest/2.2/hamcrest-2.2.jar:/home/thomsb/.m2/repository/org/junit/jupiter/junit-jupiter/5.6.2/junit-jupiter-5.6.2.jar:/home/thomsb/.m2/repository/org/junit/jupiLine truncated
|
||||
<property name="sun.cpu.endian" value="little"/>
|
||||
<property name="user.home" value="/home/thomsb"/>
|
||||
<property name="user.language" value="fr"/>
|
||||
@@ -22,17 +22,17 @@
|
||||
<property name="java.version.date" value="2020-07-14"/>
|
||||
<property name="java.home" value="/usr/lib/jvm/java-14-openjdk"/>
|
||||
<property name="file.separator" value="/"/>
|
||||
<property name="basedir" value="/home/thomsb/Projets/web/voozik/server"/>
|
||||
<property name="basedir" value="/home/thomsb/Projets/web/tronio/server"/>
|
||||
<property name="java.vm.compressedOopsMode" value="Zero based"/>
|
||||
<property name="line.separator" value=" "/>
|
||||
<property name="java.vm.specification.vendor" value="Oracle Corporation"/>
|
||||
<property name="java.specification.name" value="Java Platform API Specification"/>
|
||||
<property name="surefire.real.class.path" value="/home/thomsb/Projets/web/voozik/server/target/surefire/surefirebooter13591471119398146544.jar"/>
|
||||
<property name="surefire.real.class.path" value="/home/thomsb/Projets/web/tronio/server/target/surefire/surefirebooter22043398912885793.jar"/>
|
||||
<property name="sun.management.compiler" value="HotSpot 64-Bit Tiered Compilers"/>
|
||||
<property name="java.runtime.version" value="14.0.2+12"/>
|
||||
<property name="user.name" value="thomsb"/>
|
||||
<property name="path.separator" value=":"/>
|
||||
<property name="os.version" value="5.7.11-arch1-1"/>
|
||||
<property name="os.version" value="5.8.5-arch1-1"/>
|
||||
<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"/>
|
||||
@@ -40,7 +40,7 @@
|
||||
<property name="java.vendor.url.bug" value="https://bugreport.java.com/bugreport/"/>
|
||||
<property name="java.io.tmpdir" value="/tmp"/>
|
||||
<property name="java.version" value="14.0.2"/>
|
||||
<property name="user.dir" value="/home/thomsb/Projets/web/voozik/server"/>
|
||||
<property name="user.dir" value="/home/thomsb/Projets/web/tronio/server"/>
|
||||
<property name="os.arch" value="amd64"/>
|
||||
<property name="java.vm.specification.name" value="Java Virtual Machine Specification"/>
|
||||
<property name="java.library.path" value="/usr/java/packages/lib:/usr/lib64:/lib64:/lib:/usr/lib"/>
|
||||
@@ -50,5 +50,18 @@
|
||||
<property name="sun.io.unicode.encoding" value="UnicodeLittle"/>
|
||||
<property name="java.class.version" value="58.0"/>
|
||||
</properties>
|
||||
<testcase name="contextLoads" classname="gltronic.voozik.DemoApplicationTests" time="0.284"/>
|
||||
<testcase name="gltronic.voozik.DemoApplicationTests" classname="gltronic.voozik.DemoApplicationTests" time="0.013">
|
||||
<error message="Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test" type="java.lang.IllegalStateException">java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test
|
||||
</error>
|
||||
<system-out><![CDATA[2020-09-01 14:41:36.277 INFO 31991 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Neither @ContextConfiguration nor @ContextHierarchy found for test class [gltronic.voozik.DemoApplicationTests], using SpringBootContextLoader
|
||||
2020-09-01 14:41:36.278 INFO 31991 --- [ main] o.s.t.c.support.AbstractContextLoader : Could not detect default resource locations for test class [gltronic.voozik.DemoApplicationTests]: no resource found for suffixes {-context.xml, Context.groovy}.
|
||||
2020-09-01 14:41:36.278 INFO 31991 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [gltronic.voozik.DemoApplicationTests]: DemoApplicationTests does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
|
||||
2020-09-01 14:41:36.284 INFO 31991 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Neither @ContextConfiguration nor @ContextHierarchy found for test class [gltronic.voozik.DemoApplicationTests], using SpringBootContextLoader
|
||||
2020-09-01 14:41:36.285 INFO 31991 --- [ main] o.s.t.c.support.AbstractContextLoader : Could not detect default resource locations for test class [gltronic.voozik.DemoApplicationTests]: no resource found for suffixes {-context.xml, Context.groovy}.
|
||||
2020-09-01 14:41:36.285 INFO 31991 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [gltronic.voozik.DemoApplicationTests]: DemoApplicationTests does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
|
||||
2020-09-01 14:41:36.297 INFO 31991 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Neither @ContextConfiguration nor @ContextHierarchy found for test class [gltronic.voozik.DemoApplicationTests], using SpringBootContextLoader
|
||||
2020-09-01 14:41:36.297 INFO 31991 --- [ main] o.s.t.c.support.AbstractContextLoader : Could not detect default resource locations for test class [gltronic.voozik.DemoApplicationTests]: no resource found for suffixes {-context.xml, Context.groovy}.
|
||||
2020-09-01 14:41:36.298 INFO 31991 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [gltronic.voozik.DemoApplicationTests]: DemoApplicationTests does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
|
||||
]]></system-out>
|
||||
</testcase>
|
||||
</testsuite>
|
||||
@@ -1,4 +1,7 @@
|
||||
-------------------------------------------------------------------------------
|
||||
Test set: gltronic.voozik.DemoApplicationTests
|
||||
-------------------------------------------------------------------------------
|
||||
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.292 s - in gltronic.voozik.DemoApplicationTests
|
||||
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.013 s <<< FAILURE! - in gltronic.voozik.DemoApplicationTests
|
||||
gltronic.voozik.DemoApplicationTests Time elapsed: 0.013 s <<< ERROR!
|
||||
java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test
|
||||
|
||||
Binary file not shown.
@@ -1,19 +0,0 @@
|
||||
{
|
||||
"type":"gameUpdate",
|
||||
"message": [
|
||||
{
|
||||
"color":"#0deeff",
|
||||
"x":361.69764869823257,
|
||||
"y":427.9410817135364,
|
||||
"angle":0.0,
|
||||
"targetAngle":0.0,
|
||||
"walls":[
|
||||
{"x":323.69764869823257,"y":427.9410817135364},
|
||||
{"x":335.69764869823257,"y":427.9410817135364},
|
||||
{"x":347.69764869823257,"y":427.9410817135364},
|
||||
{"x":359.69764869823257,"y":427.9410817135364}
|
||||
],
|
||||
"lastWall":0
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in new issue
Block a user