Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improved existing tests and implemented new tests #123

Open
wants to merge 24 commits into
base: dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
62043b9
v0.7.0
Sergix Nov 24, 2017
855658e
Fix Docs
Sergix Nov 25, 2017
9c882e1
Update README for archival
Sergix Oct 8, 2018
687eb75
Updated Git configuration
T145 Oct 10, 2018
49816ce
Updated docs
T145 Oct 10, 2018
2ba0862
Removed unnecessary throws in initWidnows function
sananta Apr 27, 2019
7296d35
Merge pull request #121 from sananta/remove-unnecessary-throws
T145 May 14, 2019
f9d492b
Ported code from ezcli project to JTerm. This includes passing comman…
Aug 3, 2019
a6e6332
Fixed cd command and java docs referencing ported code, and implement…
Aug 4, 2019
d2a8ff8
Finished backporting code, headless and GUI mode are operating as the…
Aug 5, 2019
cf95786
Enabled Ctrl+C + Ctrl+Z key combinations for exiting application
Aug 5, 2019
4b9bf0c
Fixed visual glitch in headless mode
Aug 6, 2019
7389059
Fixed existing tests, all passing now
Aug 7, 2019
ddf75f7
Improved existing tests, current line coverage up to 30% from 18%
Aug 7, 2019
129e712
Changed testing frameworks and fixed tests, also implemented new test…
Aug 8, 2019
83f19e0
Improved coverage to 36%
Aug 8, 2019
0d78cd6
Improved coverage to 41%
Aug 10, 2019
f92e4f5
Merge remote-tracking branch 'remotes/upstream/dev' into unittests
Aug 10, 2019
6d03b2a
Merged with dev branch, coverage down to 39%
Aug 10, 2019
89598cd
Change from oraclejdk8 for tests to openjdk8
Aug 11, 2019
6057019
Fixed tests to better match Travis directory structure, and improved …
Aug 11, 2019
4ce20a6
Changed travis.yml, xvbf script was not working
Aug 11, 2019
35bd6f5
Removed notifications for slack, to stop triggering messages
Aug 11, 2019
87896be
travis.yml finalized, notifications added again
Aug 11, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Set default behaviour, in case users don't have core.autocrlf set.
* text=auto

# Explicitly declare text files we want to always be normalized and converted to native line endings on checkout.
# These files are text and should be normalized (Convert crlf => lf)
*.java text
*.properties text
*.sh text
*.md text
*.info text
*.txt text
*.json text

# Denote all files that are truly binary and should not be modified.
# (binary is a macro for -text -diff)
*.class binary
*.gif binary
*.ico binary
*.jar binary
*.jpg binary
*.jpeg binary
*.png binary

# Make sure Windows batch files preserve CR/LF line endings, otherwise they may not be able to execute. Windows
# batch files require a CR/LF for labels to work properly, otherwise they may fail when labels straddle 512-byte
# block boundaries. This is important when files are downloaded through a zip archive that was authored on a
# Linux machine (the default behavior on GitHub)
*.bat eol=crlf
File renamed without changes.
File renamed without changes.
File renamed without changes.
14 changes: 14 additions & 0 deletions .github/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
![JTerm](https://www.sergix.net/assets/img/logo/jterm.png)

## What is it?
A terminal written for cross-platform usage.

## Why will it help me?
Because the JTerm project is written in Java, this provides it various advantages:
- System compatibility downsides don't exist!
- Much safer than C++/C and other system languages

Plus, it's open source, so if you find any issues, you can help out everyone else using JTerm!

## Where do I get it?
Check the [releases](https://github.com/Sergix/JTerm/releases) page for binaries, as well as the source code. You can also look in the `/builds` directory for changelogs and other build-related files.
File renamed without changes.
File renamed without changes.
143 changes: 61 additions & 82 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,90 +1,69 @@
# Log file
*.log

# BlueJ files
*.ctxt

# Mobile Tools for Java (J2ME)
.mtj.tmp/

# Package Files #
*.war
*.ear
*.tar.gz
*.rar

# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
hs_err_pid*


# ignore gradle artifacts
.gradle/
gradlew.bat
build/libs/
build/tmp/

# test scripts
test.bat

target/
combined-batch.bat

# IDEA files
.idea/
jterm.iml

# eclipse files
.classpath
.project
.settings

# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and Webstorm
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839

# User-specific stuff:
.idea/**/workspace.xml
.idea/**/tasks.xml
.idea/dictionaries

# Sensitive or high-churn files:
.idea/**/dataSources/
.idea/**/dataSources.ids
.idea/**/dataSources.xml
.idea/**/dataSources.local.xml
.idea/**/sqlDataSources.xml
.idea/**/dynamic.xml
.idea/**/uiDesigner.xml

# Gradle:
.idea/**/gradle.xml
.idea/**/libraries

# CMake
cmake-build-debug/

# Mongo Explorer plugin:
.idea/**/mongoSettings.xml

## File-based project format:
# See https://help.github.com/articles/ignoring-files for more about ignoring files.
#
# If you find yourself ignoring temporary files generated by your text editor
# or operating system, you probably want to add a global ignore instead:
# git config --global core.excludesfile '~/.gitignore_global'

# Ignore files that are not wanted in general
.*
_MACOSX
*.db

# Don't ignore GitHub files
!.github
!.gitignore
!.gitattributes

# or EditorConfig
!.editorconfig

# Ignore Eclipse files
/bin/
tmp/
*.tmp
*.bak
*.swp
*~.nib
local.properties
*.launch

# Ignore IntelliJ IDEA files
*.iml
*.ipr
*.iws

## Plugin-specific files:

# IntelliJ
out/

# mpeltonen/sbt-idea plugin
.idea_modules/

# JIRA plugin
/out/
atlassian-ide-plugin.xml

# Cursive Clojure plugin
.idea/replstate.xml

# Crashlytics plugin (for Android Studio and IntelliJ)
com_crashlytics_export_strings.xml
crashlytics.properties
crashlytics-build.properties
fabric.properties

# Ignore NetBeans files
nbproject/private/
/build/
nbbuild/
/dist/
nbdist/
nbactions.xml
nb-configuration.xml

# Ignore JVM crash logs
hs_err_pid*

# Ignore generic & archive binaries
*.7z
*.dmg
*.gz
*.iso
*.jar
*.rar
*.tar
*.zip
*.war
*.ear
*.sar
*.class

# Project-specific dependencies
/target/
10 changes: 4 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
#
# Travis CI
# Build File
#

language: java
jdk:
- oraclejdk8
- openjdk8
dist: xenial
services:
- xvfb
notifications:
slack: sergix:qb9AYlJo8QqPybBY1FQ5V6my
31 changes: 0 additions & 31 deletions README.md

This file was deleted.

8 changes: 4 additions & 4 deletions docs/release/jterm-v0.7.0-docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@ This document provides information on changes included in release version "0.7.0

## Build Targets
```
[VERSION] [FILE] [STATE]
[VERSION] [FILE] [STATE]
0.1.0 jterm-v0.1.0.jar OK
0.2.0 jterm-v0.2.0.jar OK
0.2.1 jterm-v0.2.1.jar OK
0.3.0 jterm-v0.3.0.jar DEPRECATED
0.3.1 jterm-v0.3.1.jar OK
0.4.0 jterm-v0.4.0.jar OK
0.4.1 jterm-v0.4.1.jar OK
0.5.0 jterm-v0.5.0.jar OK
0.4.1 jterm-v0.4.1.jar OK
0.5.0 jterm-v0.5.0.jar OK
0.5.1 jterm-v0.5.1.jar OK
0.6.0 jterm-v0.6.0.jar OK
0.6.1 jterm-v0.6.1.jar DEPRECATED
Expand Down Expand Up @@ -190,4 +190,4 @@ The `download`, `rmdir`, `mv`/`move`, `rn`, and 'regex' commands have been added
> JTerm 0.7.0
> `jterm-v0.7.0.jar`
> This project and its source are held under the GNU General Public License, located in the LICENSE file in the project's directory.
> (c) 2017
> (c) 2017
24 changes: 21 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,15 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.16</version>
<configuration>
<reuseForks>false</reuseForks>
<forkCount>1</forkCount>
</configuration>
</plugin>
</plugins>
</build>

Expand All @@ -73,10 +82,19 @@
<artifactId>forms_rt</artifactId>
<version>7.0.3</version>
</dependency>
<!-- https://mvnrepository.com/artifact/junit/junit -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.10</version>
<scope>test</scope>
</dependency>

<!-- https://mvnrepository.com/artifact/org.mockito/mockito-all -->
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
<version>RELEASE</version>
<groupId>org.mockito</groupId>
<artifactId>mockito-all</artifactId>
<version>1.9.5</version>
<scope>test</scope>
</dependency>
</dependencies>
Expand Down
Loading