Consider a company that wants to keep track of its employees

Assignment Help JAVA Programming
Reference no: EM13316116

Consider a company that wants to keep track of its employees, their positions and their telephone numbers. Your development team has developed a simple prototype using the Java code found in EmployeeDirectory.zip. In the lib directory is a jar file that must be in the Java classpath in order for the code to compile and run. In the res directory are sample input files containing employee and phone records. 

1) Use jUnit to write thorough unit tests for the Phone and Employee classes. Do not put test code in the src directory, instead, create a separate test directory. 

2) The provided Ant script build.xml contains the following targets:

  • init (does preliminaries for build)
  • compile (compiles the application code and puts it into build directory)
  • dist (default(target, generates the application distribution jar, places this and supporting data files in dist directory)
  • clean (deletes any directories and files created during build activities)


Modify build.xml to provide the following additional targets (be sure to update clean accordingly): 

a) test (compiles and runs the jUnit tests you have created, depends on compile)

b) doc (generates the application code's javadoc and puts it into a doc directory)

Resources

https://github.com/junitQteam/junit/wiki

https://ant.apache.org/manual/

Attachment:- ASSIGNMENT.rar

Reference no: EM13316116

Questions Cloud

How long will it take the car to hit the ground : A car drives horizontally off a 86m -high cliff at a speed of 29m/s . Ignore air resistance. How long will it take the car to hit the ground
What is the difference between fixed cost and variable cost : What is the difference between fixed cost and variable cost? Explain the shape of the Total Variable Cost curve and explain why and how the total cost and total variable cost curves differ.
How much ice needs to be added to your cooler : As an eager scientist on a hot summer day you wish to determine how much ice to buy to add to your cooler which is filled with 3.0x10^1 cans of soda which are warm at 86.5F. how much ice needs to be added to your cooler
How many adult tickets did he sell : Been sold some adult tickets and student tickets for a basketball game each adult ticket cost $5 each student ticket cost$3
Consider a company that wants to keep track of its employees : Consider a company that wants to keep track of its employees, their positions and their telephone numbers. Your development team has developed a simple prototype using the Java code found in EmployeeDirectory.zip.
Determine the clearance between the tube and the cylinder : a 25-mm diameter steel cylinder 300-mm long falls, because of its own weight, at a uniform rate of 0.1 m/s inside a tube of slightly larger diameter. A castor-oil film of constant thickness is between the cylinder and the tube.
Find resulting potential difference across each capacitor : 80 pF capacitor and a 320 pF capacitor are both charged to 2.8 kV. They are then disconnected from the voltage source and are connected together, Find the resulting potential difference across each capacitor
An article research regarding the atc system : Visit the Hunt Library and conduct an article research regarding the ATC system. Select a topic on safety, organization, or an aspect of technology and modernization.Summarize the article, explain and correlate the relevancy of the article to the mod..
Find the difference in fluid level between two sides of tube : A U-shaped tube is filled mostly with water, but some vegetable oil has been added to both sides of the U tube. Find the difference in fluid level between the two sides of the tube

Reviews

Write a Review

JAVA Programming Questions & Answers

  Recursive factorial program

Write a class Array that encapsulates an array and provides bounds-checked access. Create a recursive factorial program that prompts the user for an integer N and writes out a series of equations representing the calculation of N!.

  Hunt the wumpus game

Reprot on Hunt the Wumpus Game has Source Code listing, screen captures and UML design here and also, may include Javadoc source here.

  Create a gui interface

Create GUI Interface in java programing with these function: Sort by last name and print all employees info, Sort by job title and print all employees info, Sort by weekly salary and print all employees info, search by job title and print that emp..

  Plot pois on a graph

Write a JAVA program that would get the locations of all the POIs from the file and plot them on a map.

  Write a university grading system in java

University grading system maintains number of tables to store, retrieve and manipulate student marks. Write a JAVA program that would simulate a number of cars.

  Wolves and sheep: design a game

This project is designed a game in java. you choose whether you'd like to write a wolf or a sheep agent. Then, you are assigned to either a "sheep" or a "wolf" team.

  Build a graphical user interface for displaying the image

Build a graphical user interface for displaying the image groups (= cluster) in JMJRST. Design and implement using a Swing interface.

  Determine the day of the week for new year''s day

This assignment contains a java project. Project evaluates the day of the week for New Year's Day.

  Write a java windowed application

Write a Java windowed application to do online quiz on general knowledge and the application also displays the quiz result.

  Input pairs of natural numbers

Java program to input pairs of natural numbers.

  Create classes implement java interface

Interface that contains a generic type. Create two classes that implement this interface.

  Java class, array, link list , generic class

These 14 questions covers java class, Array, link list , generic class.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd