tgavankar / kit Goto Github PK
View Code? Open in Web Editor NEWKitchen Inventory Tracker
Kitchen Inventory Tracker
self explanatory
STR:
Object construction time does not necessarily equate to the time the entry is added.
public InventoryEntry(UPCEntry upc) {
this.upc = upc;
this.created = Long.toString((new java.util.Date()).getTime() / 1000);
}
When a user custom entry is added via UPCDAO.addEntry, the foreign key for the upc_map.id entry is set to 0.
STR:
Expected: foreign key is properly linked
Actual: foreign key is listed as 0
The setup/teardown that we have for DAO tests doesn't work as intended - a lot of the tests are failing with SQLException "column upc not unique", which means that it isn't being cleaned properly. We should switch to truncating the table or something.
Need to add JavaDocs.
We need unit tests to test DAO and Exporters.
repro steps:
Welcome to Kitchen Inventory Tracker
Please note that you can enter 'h' or 'help' at the prompt to get a full list of commands
Enter command> e
Enter start date (MM-DD-YYYY)>05-18-1989
Enter end date or 'now' (MM-DD-YYYY))>05-18-2012
Enter end date or 'now' (MM-DD-YYYY))>05-18-2012
Enter end date or 'now' (MM-DD-YYYY))>05-18-2012
Enter end date or 'now' (MM-DD-YYYY))>now
Enter command>
Object construction time does not necessarily equate to the time the entry is added.
public InventoryEntry(UPCEntry upc) {
this.upc = upc;
this.created = Long.toString((new java.util.Date()).getTime() / 1000);
}
If you toggle between quiet mode and regular mode when in scan mode, it always says "Entering scan mode" rather than the appropriate enter/exit.
Right now, when a SQLException occurs, we just throw it in some cases, catch and print stack traces in others, etc. There is no consistency.
Also, the test case addDuplicateEntry fails.
It's not thread safe currently.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.