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

  Define application using java in the eclipse environment

Within this project create a package called task01. Within this package you will be required to author (write, develop) some classes. These classes are described below

  Produce a design document

You will design and deliver a website foes fictional client part-1 Website Design Document and produce a design document

  Die class that can hold an integer

Design a die class that can hold an integer from 1 to 6. use the dice class to create a dice game. in this game, the user chooses a number between 2 and 12 inclusive

  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.

  Write java program to reverse contents of original array

Write down the Java program method named reversal which returns the new array which is a reversal of original array. Use [5.0, 4.4, 1.9, 2.9, 3.4, 3.5] to test method.

  Marketing necessary for practice-hospital to successful

Why is marketing necessary for a practice or hospital to be successful? What considerations should be taken into account when marketing health care services or products? (Hint think about all the medication ads you seen on tv or in magazines)

  Primary care-secondary care and tertitary care

Discuss the differences among primary care, secondary care, and tertitary care and the 6 C's of primary care

  Computing the time complexity using the big-o notation

You are required to calculate the time complexity using the big-O notation of the Algorithm_2 given by the following methods defined by the following Java code.

  The code must take into account

The code must take into account leap year and adding or subtracting between years. Write two additional methods that you come with on your own as well.

  Explain we have to make a project in java

We have to make a project in java . This is a small deskstop application no specifications given so far . The CD store has CD games and music we can rent a cd or we can buy . This is all we need to develop.

  Write a java program that reads unspecified number

Write a java program that reads unspecified number of integers (the input 0 signifies the end of the input). Calculates and displays the sum and the average of the input value (not counting zero). The program also finds the maximum and minimum of ..

  Modeling the caves

Assignment 2 Description:  You are a mighty warrior, and armed with your trusty bow and 3 arrows, you enter The Caves in search of the mighty Wumpus. If you shoot the Wumpus, you are victorious and the masses will praise you, but if you stumble upon ..

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