How to Install and Uninstall libantlr3-gunit-java Package on Ubuntu 21.04 (Hirsute Hippo)

Last updated: November 26,2024

1. Install "libantlr3-gunit-java" package

Here is a brief guide to show you how to install libantlr3-gunit-java on Ubuntu 21.04 (Hirsute Hippo)

$ sudo apt update $ sudo apt install libantlr3-gunit-java

2. Uninstall "libantlr3-gunit-java" package

Here is a brief guide to show you how to uninstall libantlr3-gunit-java on Ubuntu 21.04 (Hirsute Hippo):

$ sudo apt remove libantlr3-gunit-java $ sudo apt autoclean && sudo apt autoremove

3. Information about the libantlr3-gunit-java package on Ubuntu 21.04 (Hirsute Hippo)

Package: libantlr3-gunit-java
Architecture: all
Version: 3.5.2-9
Priority: optional
Section: universe/java
Source: antlr3
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Java Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 319
Depends: antlr3 (>= 3.5.2-9), junit4
Suggests: antlr3-gunit-maven-plugin
Filename: pool/universe/a/antlr3/libantlr3-gunit-java_3.5.2-9_all.deb
Size: 267272
MD5sum: 4dd1052ac111f6ca3c4c4a3eacc9b69c
SHA1: cc64d8dc151c0cde78467a19110d22f7d0b3f8d0
SHA256: 49ab30a518d56ad7fb1662e22ee41ea211c98130c5a6e9c44d0cb21c4a76c29d
SHA512: 824b34dee18b9dde553b5837f08b15640729c4c7e87a9b78e9a38a1f5204cc1074e7c3b0d78aec9072f628e865ce6fd94dc7113288c1d6701c36b8b60c019843
Homepage: http://www.antlr3.org
Description-en: Unit Test framework for ANTLR grammars
gUnit is a "Unit Test" framework for ANTLR grammars. It provides a simple
way to write and run automated tests for ANTLR grammars in a manner similar
to Java unit testing framework jUnit. The basic idea is to create a bunch of
input/output pairs for rules in a grammar and gUnit will verify the expected
output/result. The input can be a single line or multiple lines of strings or
even an external file. The output can be simply success or failure, an
abstract syntax tree (AST), a rule return value, or some text output which
could be a rule's template return value. The current version of gUnit has 2
main functions, interpreter and jUnit generator. The interpreter interprets
your gUnit script and runs unit tests using Java reflection to invoke methods
in your parser objects. The generator, on the other hand, translates your
gUnit script to jUnit Java code that you can compile and execute by hand.
Description-md5: f40979cd635396931074b9413af8656a