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

  Create java program to simulate the operation of a bank atm

write a Java program to simulate the operation of a bank ATM (cashpoint) system for payment and deposit on an account. In order to make the system fairly simple there is only one bank account and there are 5 cards that can be used to deposit or wi..

  Create an application for disney''s cottages

Create an application for Disney's Cottages, a weekend getaway resort that rents cottages and boats to use on the local lake

  What makes a program easy to modify

Describe the order of magnitude of the code section using Big(O) notation and Explain the relationship between dynamic storage allocation and recursion.

  Java application to declare and create a vector

Write a java application that perform the following task: declare and create a vector with initial size of 10, increment of 2

  Create a project in eclipse

Create a new project

  Java-s ability to derive new fonts from existing ones

Find out where on your system these font libraries are located. When you do, please specify the operating system and the location (folder/directory) where you found them. Discuss Java's ability to derive new fonts from existing ones.

  Hasanodddigit that returns whether any digit

d named hasAnOddDigit that returns whether any digit of a positive integer is odd. Your method should return true if the number has at least one odd digit and false if none of its digits are odd. 0, 2, 4, 6, and 8 are even digits, and 1, 3, 5, 7, 9 a..

  Java program to find solution of cryptarithmetic puzzle

A solution to puzzle is S=9, R=8, O=0, M=1, Y=2, E=5, N=6, D=7. Write down a java program which finds solution to cryptarithmetic puzzle of: TOO + TOO + TOO + TOO = GOOD.

  Display random numbers to simulate rolling a die

1. Display random numbers to simulate rolling a die2. Create a java program that simulate a casino game. (rollin a die)

  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.

  What is server-side and client-side scripting?

1. What is Server-side and Client-side scripting? Explain the differences between server-side and client - side scripting languages. Please provide 3 advantages and disadvantages of each. Please provide applicable references in APA style

  Addressed with attributable risk

Which of the following questions is addressed with attributable risk?

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