4. Create the following unit tests: Test: (assertEquals) Test Data and expected system responses.  Developer array correctly populated: The developer array contains the expected  test data. Test Data: Developer entry for Test data for  tasks 1-4 The system returns: "Mike Smith", "Edward Harrington" , "Samantha Paulson", "Glenda Oberholzer" Display Developer and Duration for task with  longest duration. Test Data: Task 1-4 The system returns: “Glenda Oberholzer, 11; Search for tasks Test Data: “Create Login The system returns: “ Mike Smith, Create Login” Search all tasks assigned to Developer Test Data: Samantha Paulson The system returns: Create Reports Delete Task from array Test Data: "Create Reports" The system returns: Entry “Create reports” successfully deleted Display Report The system returns:

Programming with Microsoft Visual Basic 2017
8th Edition
ISBN:9781337102124
Author:Diane Zak
Publisher:Diane Zak
Chapter8: Arrays
Section: Chapter Questions
Problem 4E
icon
Related questions
icon
Concept explainers
Question

Complete the following in Java

1. Users should be able to use to populate the following arrays:

Array  Contents 
Developer Contains the names of all the developers 
assigned to tasks
Task Names Contains the names of all the created tasks
Task ID Contains the generated taskID’s for all tasks
Task Duration Contains the Duration of all tasks
Task Status Contains the Status of all tasks


2. Users should be able to use these arrays to:


a. Display the Developer, Task Names and Task Duration for all tasks with the status of 
done.
b. Display the Developer and Duration of the class with the longest duration.
c. Search for a task with a Task Name and display the Task Name, Developer and Task 
Status.
d. Search for all tasks assigned to a developer and display the Task Name and Task 
Status.
e. Delete a task using the Task Name.
f. Display a report that lists the full details of all captured tasks.


3. Use the following test Data for your unit tests and to populate your arrays:
Test Data Task 1 
Developer - Mike Smith
Task Name - Create Login
Task Duration - 5
Task Status - To Do


Test Data Task 2
Developer - Edward Harrison
Task Name  - Create Add Features
Task Duration - 8
Task Status - Doing 


Test Data Task 3
Developer - Samantha Paulson
Task Name - Create Reports 
Task Duration - 2
Task Status - Done 


Test Data Task 4
Developer - Glenda Oberholzer
Task Name - Add Arrays
Task Duration - 11
Task Status - To Do 


4. Create the following unit tests:

Test: (assertEquals) Test Data and expected system responses. 
Developer array correctly populated:
The developer array contains the expected 
test data.
Test Data: Developer entry for Test data for 
tasks 1-4
The system returns:
"Mike Smith", "Edward Harrington"
, "Samantha Paulson", "Glenda Oberholzer"


Display Developer and Duration for task with 
longest duration.
Test Data: Task 1-4
The system returns:
“Glenda Oberholzer, 11;


Search for tasks Test Data: “Create Login
The system returns:
“ Mike Smith, Create Login”


Search all tasks assigned to Developer Test Data: Samantha Paulson
The system returns:
Create Reports


Delete Task from array Test Data: "Create Reports"
The system returns:
Entry “Create reports” successfully deleted


Display Report
The system returns:

Expert Solution
steps

Step by step

Solved in 3 steps

Blurred answer
Knowledge Booster
Query Syntax
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Programming with Microsoft Visual Basic 2017
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
Microsoft Visual C#
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,
Systems Architecture
Systems Architecture
Computer Science
ISBN:
9781305080195
Author:
Stephen D. Burd
Publisher:
Cengage Learning
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr