summaryrefslogtreecommitdiff
path: root/src/test/java
AgeCommit message (Collapse)Author
2025-02-23Add internationalization API to GUIAdrien Hopkins
This commit intentionally fails one test, since that is for functionality I intend to add later.
2024-08-22Show unit/dim file errors as popupAdrien Hopkins
Previously, any error in the unit or dimension file(s) crashes the program. Instead, 7Units now ignores any invalid lines, still parsing the correct ones, and shows a popup in case any errors happen.
2024-08-15Correct encoding of ±Adrien Hopkins
2024-03-24Format source code & set explicit UTF-8Adrien Hopkins
2023-09-16Only create config directory when savingAdrien Hopkins
Previously, if the user had no settings dir, starting the program would create it, but nothing would be read. If the user did not change their settings, it would just leave an empty directory!
2022-07-17All dimension names are now in title caseAdrien Hopkins
2022-07-17Misc test documentation tweaksv0.4.0rc1Adrien Hopkins
2022-07-17Added a test for prefix repetition rulesAdrien Hopkins
2022-07-17Added a GUI test simulating expression conversionAdrien Hopkins
2022-07-17Added a GUI test simulating unit conversionAdrien Hopkins
2022-07-17Added another rounding rule testAdrien Hopkins
2022-07-17Added more PrefixSearchRule testsAdrien Hopkins
2022-07-17Added a test for StandardDisplayRules.getStandardRuleAdrien Hopkins
2022-07-17Added tests for the new rounding rulesAdrien Hopkins
2022-07-09Added documentation to undocumented testsAdrien Hopkins
2022-07-08Added basic tests for the search rulesAdrien Hopkins
2022-07-08Specified the search rule in tests affected by itAdrien Hopkins
2022-04-19Finalized version 0.4.0-alpha.1Adrien Hopkins
2022-04-19Implemented prefix settings, saving & loading of settingsAdrien Hopkins
Also fixed some bugs: - Presenter now has default values for its settings in case they don't load properly - UnitDatabase ensures its units, prefixes and dimensions have all of the names you give it
2022-04-18Implemented one-way conversion, duplicate prefixes can now be hiddenAdrien Hopkins
2022-04-18Implemented rounding and duplicate-removal settings into the new GUIAdrien Hopkins
2022-04-16Implemented the unit & prefix viewersAdrien Hopkins
2022-04-16Added a full suite of frontend testsAdrien Hopkins
(Added tests for the settings and unit/prefix viewer parts of the GUI, which are not yet implemented)
2022-04-16Removed NamedObjectProduct in favour of the regular ObjectProductAdrien Hopkins
2022-04-09View now sends and recieves Strings instead of dataAdrien Hopkins
2022-03-10Named the metric dimensions & fixed NameSymbol.toStringAdrien Hopkins
2022-02-26Implemented expression conversion, tests now passAdrien Hopkins
2022-02-26Implemented unit conversion, with a few problemsAdrien Hopkins
TabbedView now displays its units, but with their toString method which shows their definition in addition to their name
2022-02-24Moved SemanticVersionNumber to sevenUnits.utilsAdrien Hopkins
2022-02-20Made the version number an object, changing it to 0.4.0-alpha+devAdrien Hopkins
2022-02-19Made barebones GUI (TabbedView)Adrien Hopkins
2022-02-12Made some basic Presenter testsAdrien Hopkins
2021-11-29Added a full suite of tests for the UncertainDoubleAdrien Hopkins
2021-11-04Added a bunch of tests related to unit valuesAdrien Hopkins
2021-11-02Added a test for UnitDatabase.isRemovableDuplicateAdrien Hopkins
2021-10-07Added tests for getUnit and the prefixed unit mapAdrien Hopkins
Also fixed a bug where a prefixed unit map with units but no prefixes would appear empty
2021-10-04Added tests for valid & invalid dimension filesAdrien Hopkins
2021-10-04Removed unused importsAdrien Hopkins
2021-09-27The ExpressionParser test is now a paramaterized testAdrien Hopkins
2021-09-27Added a test for evaluating an expression & fixed a bug it foundAdrien Hopkins
The bug: non-exact LinearUnitValue instances have their value printed as "(", i.e. "(5.0 ± 0.1) m" will be printed as "( m"
2021-09-27Added some tests for invalid unitfilesAdrien Hopkins
2021-09-22Added a test to test loading unitfilesAdrien Hopkins
2021-08-26Added units and dimensions to the design documentAdrien Hopkins
2021-08-07Renamed sevenUnits.math to sevenUnits.utilsAdrien Hopkins
2021-06-28Renamed project to 7UnitsAdrien Hopkins
2021-05-22Added an option to exclude duplicate unitsAdrien Hopkins
2021-03-27Added automatic building with GradleAdrien Hopkins
2019-10-15Upgraded to JUnit 5 and moved tests to their proper directoriesAdrien Hopkins
2019-08-26The unit file parser now uses regular expressions.Adrien Hopkins
2019-05-22Added new default methods to the Unit interface.Adrien Hopkins