public void AnimalManagerConstructorTest()
 {
     string animalsListFile = string.Empty; // TODO: Initialize to an appropriate value
     ListBox animalListBox = null; // TODO: Initialize to an appropriate value
     AnimalManager target = new AnimalManager(animalsListFile, animalListBox);
     Assert.Inconclusive("TODO: Implement code to verify target");
 }
        public Form1()
        {
            InitializeComponent();

            ///<summary>
            ///Initialise the animal manager with a file containing a list of animals,
            ///and the listbox which they will be displayed in.
            ///</summary>
            animalManager = new AnimalManager("animalList.txt", showAnimalsLB);

            ///<summary>
            ///Initialise the array of PictureBoxes, and
            ///fill it with the listboxes on the form.
            ///</summary>
            pictureBoxes = new PictureBox[4];
            pictureBoxes[0] = animal1PB;
            pictureBoxes[1] = animal2PB;
            pictureBoxes[2] = animal3PB;
            pictureBoxes[3] = animal4PB;

            ///<summary>
            ///Load the animals from the file
            ///</summary>
            animalManager.loadCritterList();

            ///<summary>
            ///Retrieve the list of animals which were
            ///loaded with the previous method call.
            ///</summary>
            animals = animalManager.getAnimalsList();
        }
 public void addAnimalsToLBandImagesTest1()
 {
     string animalsListFile = string.Empty; // TODO: Initialize to an appropriate value
     ListBox animalListBox = null; // TODO: Initialize to an appropriate value
     AnimalManager target = new AnimalManager(animalsListFile, animalListBox); // TODO: Initialize to an appropriate value
     List<IAnimal> animals = null; // TODO: Initialize to an appropriate value
     AnimalTypes.animalTypes type = new AnimalTypes.animalTypes(); // TODO: Initialize to an appropriate value
     PictureBox[] pictureBoxes = null; // TODO: Initialize to an appropriate value
     target.addAnimalsToLBandImages(animals, type, pictureBoxes);
     Assert.Inconclusive("A method that does not return a value cannot be verified.");
 }
 public void getAnimalsListTest()
 {
     string animalsListFile = string.Empty; // TODO: Initialize to an appropriate value
     ListBox animalListBox = null; // TODO: Initialize to an appropriate value
     AnimalManager target = new AnimalManager(animalsListFile, animalListBox); // TODO: Initialize to an appropriate value
     List<IAnimal> expected = null; // TODO: Initialize to an appropriate value
     List<IAnimal> actual;
     actual = target.getAnimalsList();
     Assert.AreEqual(expected, actual);
     Assert.Inconclusive("Verify the correctness of this test method.");
 }
 public void loadCritterListTest1()
 {
     string animalsListFile = string.Empty; // TODO: Initialize to an appropriate value
     ListBox animalListBox = null; // TODO: Initialize to an appropriate value
     AnimalManager target = new AnimalManager(animalsListFile, animalListBox); // TODO: Initialize to an appropriate value
     target.loadCritterList();
     Assert.Inconclusive("A method that does not return a value cannot be verified.");
 }