From 4ffc8d4aa0caf0ce42c7b9aa7379af3f196a31d3 Mon Sep 17 00:00:00 2001 From: aaandri98 <anrighi@unibz.it> Date: Wed, 9 Oct 2019 11:38:03 +0200 Subject: [PATCH] lab 9th October added methods of the given UML diagram added acceptance test (to be finished) and user story (to be started) for placeBid method --- acceptanceTest - placeBid.txt | 0 umlDiagramMethods.txt | 29 +++++++++++++++++++++++++++++ userStory - placeBid.txt | 7 +++++++ 3 files changed, 36 insertions(+) create mode 100644 acceptanceTest - placeBid.txt create mode 100644 umlDiagramMethods.txt create mode 100644 userStory - placeBid.txt diff --git a/acceptanceTest - placeBid.txt b/acceptanceTest - placeBid.txt new file mode 100644 index 0000000..e69de29 diff --git a/umlDiagramMethods.txt b/umlDiagramMethods.txt new file mode 100644 index 0000000..ab016b1 --- /dev/null +++ b/umlDiagramMethods.txt @@ -0,0 +1,29 @@ +User +-String subscribeTo(auctionID) +-ArrayList<Item> itemBidded() + + +Bid + + +Category + + +Item +-void addItem(code, category, description, image, bidIncrement) +-void deleteItem(code) +-void modifyItem(code, category, description, image, bidIncrement) +-String toString() +-Item searchItem(code) +-ArrayList<Item> searchItem(category) + + +Auction +-void login(username, password) +-void placeBid(incrementTimes) + + +itemImage + + +Seller \ No newline at end of file diff --git a/userStory - placeBid.txt b/userStory - placeBid.txt new file mode 100644 index 0000000..174c960 --- /dev/null +++ b/userStory - placeBid.txt @@ -0,0 +1,7 @@ +Title: placeBid + + Acceptance Test: placeBid + Priority: 2 + Point: 6 + +Text: If the auction is valid, it should be possible for registered user to place a bid for an item. It must be possible to know the current price of the item we are bidding for and the minimum bidding increment for the item. The user who want to place the bid, should be able to choose how many increments to make. When the time interval for the auction is expired, no more bids can be placed and the \ No newline at end of file -- GitLab