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

Add initial UI prototype #84

Merged
merged 22 commits into from
Mar 8, 2020
Merged

Add initial UI prototype #84

merged 22 commits into from
Mar 8, 2020

Conversation

lam2mo
Copy link
Member

@lam2mo lam2mo commented Feb 14, 2020

This is a quick-and-dirty proof of concept of a simple Swing UI for the user study. It's completely barebones and brittle at the moment, but at least provides a starting point for further discussion and development related to #25.

For now I changed the default main class in Gradle so you can just use ./gradlew run to start it. That will obviously need to be cleaned up if we end up using this.

@lam2mo
Copy link
Member Author

lam2mo commented Feb 20, 2020

See init() in LJStaticAnalysisTest.java for possible solution to "X already declared" bugs.

lam2mo and others added 9 commits February 21, 2020 09:31
This workaround clears up some of the stray error messages that show up
in the UI. A better solution is described in JMU-CS#89.
This is still broken at the moment because the wrappers aren't being
properly integrated for some reason.
This repairs part of the breakage in the build system cleanup (44c2bc0).
Run works, and test executes but for some reason JUnit can't find the tests
anymore.
* Added testing of files to lj script

* Replaced error message of programs not having main with a warning, and stopped the lj script from running programs without a main function

* Rebuilt dotests.sh so it works with the lj script where all output is in a single file (fixes JMU-CS#50)

* Reset all test outputs to match the new format.

* Set the travis file to call dotests.sh over the entire tests directory

* Added the exit 1 condition for any failing outputs in dotests.sh (travis will fail incorrect outputs)

* Fixed the primitive-numbers test and removed it from the failing directory

* Fixed incorrect io tests that didn't match the language and reset their output.

* Added .in files for any io tests that required them and were lacking them.

* Updated the README
@lam2mo
Copy link
Member Author

lam2mo commented Feb 26, 2020

With the recent removal of test.sh, the UI no longer finds the JUnit tests, even though the command that it runs works from the command line.

@lam2mo lam2mo mentioned this pull request Feb 26, 2020
@Zamua
Copy link
Contributor

Zamua commented Mar 8, 2020

LGTM! Merge at your own discretion

@lam2mo lam2mo merged commit c363902 into JMU-CS:ui Mar 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants