Skip to content

Commit

Permalink
Merge pull request #20 from ZenoxTek/Develop
Browse files Browse the repository at this point in the history
V1
  • Loading branch information
ElodieBerthaud authored Nov 30, 2019
2 parents 8d21382 + 3d89eb2 commit 38a7a5c
Show file tree
Hide file tree
Showing 37 changed files with 852 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Compiled class file
*.class

.idea

# Log file
*.log

Expand All @@ -19,5 +21,15 @@
*.tar.gz
*.rar

#Hidden files
.idea
.gradle

#Gradle
gradle

#Build
build

# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
hs_err_pid*
Binary file not shown.
Binary file not shown.
Binary file added .gradle/5.2.1/fileChanges/last-build.bin
Binary file not shown.
Binary file added .gradle/5.2.1/fileHashes/fileHashes.bin
Binary file not shown.
Binary file added .gradle/5.2.1/fileHashes/fileHashes.lock
Binary file not shown.
Empty file added .gradle/5.2.1/gc.properties
Empty file.
Binary file added .gradle/buildOutputCleanup/buildOutputCleanup.lock
Binary file not shown.
2 changes: 2 additions & 0 deletions .gradle/buildOutputCleanup/cache.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#Sat Nov 30 09:51:30 CET 2019
gradle.version=5.2.1
Binary file added .gradle/buildOutputCleanup/outputFiles.bin
Binary file not shown.
Empty file added .gradle/vcs-1/gc.properties
Empty file.
11 changes: 11 additions & 0 deletions .idea/$PROJECT_FILE$

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions .idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 11 additions & 0 deletions .idea/HQSE_3.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 16 additions & 0 deletions .idea/checkstyle-idea.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 18 additions & 0 deletions .idea/gradle.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 20 additions & 0 deletions .idea/jarRepositories.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 12 additions & 0 deletions .idea/qaplug_profiles.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 18 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
language: java

install: gradle wrapper --gradle-version 5.2.1

jdk:
- oraclejdk11

if: (type = push AND branch IN (master, Develop, ChatRoom, Develop_user, dev_bot)) OR (type = pull_request AND NOT branch =~ /no-ci/)

branches:
only:
- Develop
- develop
- master
- /^feature.*$/

after_success:
- ./gradlew jacocoTestReport coveralls
20 changes: 20 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#Change log

**Merged pull requests:**

- User Class : https://github.com/ZenoxTek/HQSE_3/pull/9
- Bot Class : https://github.com/ZenoxTek/HQSE_3/pull/11
- Chat room : https://github.com/ZenoxTek/HQSE_3/pull/12
- Init travis https://github.com/ZenoxTek/HQSE_3/pull/13
- Chat room logic : https://github.com/ZenoxTek/HQSE_3/pull/14
- Parser : https://github.com/ZenoxTek/HQSE_3/pull/16

**Closed issues:**
- IDEA configuration file : https://github.com/ZenoxTek/HQSE_3/issues/1
- Gradle configuration file https://github.com/ZenoxTek/HQSE_3/issues/2
- Develop branch : https://github.com/ZenoxTek/HQSE_3/issues/3
- Change commit msg : https://github.com/ZenoxTek/HQSE_3/issues/4
- Build status badge : https://github.com/ZenoxTek/HQSE_3/issues/6
- Handling issues : https://github.com/ZenoxTek/HQSE_3/issues/7
- Assign and tag issues : https://github.com/ZenoxTek/HQSE_3/issues/8
- Author name readme : https://github.com/ZenoxTek/HQSE_3/issues/10
60 changes: 60 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,62 @@
# HQSE_3
[![Build Status](https://travis-ci.com/ZenoxTek/HQSE_3.svg?branch=Develop)](https://travis-ci.com/ZenoxTek/HQSE_3)

**[ETAPE 1]**

L’objectif de cette étape sera d’implémenter une session de chat
ou on pourra préciser quel pseudo nous souhaitons utiliser, ainsi qu’un chatbot basique qui ne fera que répondre bonjour ainsi que la date et l’heure lorsqu’on le mentionne, comme sur l’exemple suivant.


```
shell$ java -jar chatbot.jar -p toto
[toto] @hello
[hello] Salut toto! Nous sommes Jeudi 25 octobre et il est 14h30.
[toto] foo
[toto] ++
shell$
```



Il vous faudra donc :



* Récupérer la valeur de l’argument “-p”.




* Lancer une session de chat ou l’application attendra que l'utilisateur saisisse son message, on
considère que l’utilisateur a terminé lorsqu’il appuiera sur la touche “Entrer” (astuce: regarder du côté de System.in)




* En cas d’un message égal à @hello, le chatbot répond comme sur l’exemple ci-dessus, en cas d’autre
message, le chatbot ne répond pas.




* Pour quitter la session (et donc terminer l'exécution de l’application), l’utilisateur devra saisir
le message “++”.


**[ETAPE 2]**

Module Epitech CleanCodeTP jour 3

**CREDITS**

Developpers :

Elodie BERTHAUD
Remi DE LIMA
Benjamin DUHIEU
39 changes: 39 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
plugins {
id 'application'
id 'jacoco'
id 'com.github.kt3k.coveralls' version '2.8.4'
}

run {
standardInput = System.in
}

jacocoTestReport {
reports {
xml.enabled = true // coveralls plugin depends on xml format report
html.enabled = true
}
}

jar {
manifest {
attributes 'Main-Class': 'Main'
}
}

group 'org.example'
version '1.0'

mainClassName = 'Main'
archivesBaseName = 'chatbot'

sourceCompatibility = 1.8

repositories {
mavenCentral()
}

dependencies {
testCompile group: 'junit', name: 'junit', version: '4.12'
testCompile "org.mockito:mockito-core:1.+"
}
6 changes: 6 additions & 0 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#Sat Nov 30 09:54:07 CET 2019
distributionUrl=https\://services.gradle.org/distributions/gradle-5.2.1-all.zip
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStorePath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
Loading

0 comments on commit 38a7a5c

Please sign in to comment.