The principal idea, is create a platform were different users can buy and sell different products.
I have implemented a class using intern classes, creating a class client that buys a product and a class chasier, thats validates that the transantion happens.Also I have interned the class product in the class category. I implemented in the class client a boolean call test, to use it in my thread's tests,after a lot of searching i didn't find anything of help and I have not got it.
I find this practice pretty interesting and a oportunity to fix the things about my program, but I have a problem and I lost the new GUI,the proxy menu and the tests to upgrade my mark(I have sent you a message to see if you can help me), in this week I will redo it, because I think that is a good way to review for the exam.
PD:During my research i found this interesting website https://codurance.com/2015/12/13/testing-multithreaded-code-in-java/ where they conclude that the multithreading test is quite hard and is better use a framework.
User: Name /Email /Password /Exist (To test if it is the last user) /Basket (List with the products that the user bought) /The different tests
Category: Name /Products (List of products that contains)
Product: Categoty (To test where to put it) /Name /Price /Quantity
The program is form by two principal menus:
-- User's menu --
- Log in with your user.
- Creatiion of user.
- Close project.
-- Product's Menu --
- You can choose a product and add it to your basket.
- Add a product to a precreated category.
- Print basket list.
- With the use of boolean you can change the currency's price.
- Close project.