Skip to content

Missing import statements in tutorial-3 tests

There is a lot of missing import statements in tutorial-3 tests. Here's all of them:

decorator package:
BeefMeatTest.java and CucumberTest.java have correctly imported the necessary bread classes. The rest, however...

  • CheeseTest.java: missing import id.ac.ui.cs.advprog.tutorial3.decorator.bread.NoCrustSandwich;
  • ChickenMeatTest.java: missing import id.ac.ui.cs.advprog.tutorial3.decorator.bread.ThinBunBurger;
  • ChiliSauceTest.java: missing import id.ac.ui.cs.advprog.tutorial3.decorator.bread.ThickBunBurger;
  • LettuceTest.java: missing import id.ac.ui.cs.advprog.tutorial3.decorator.bread.NoCrustSandwich;
  • TomatoSauceTest.java: missing import id.ac.ui.cs.advprog.tutorial3.decorator.bread.ThinBunBurger;
  • TomatoTest.java: missing import id.ac.ui.cs.advprog.tutorial3.decorator.bread.ThickBunBurger;

composite package:
Both CompanyTest.java and AdditionalCompanyTest.java are missing these import statements:

import id.ac.ui.cs.advprog.tutorial3.composite.higherups.Cto;
import id.ac.ui.cs.advprog.tutorial3.composite.techexpert.FrontendProgrammer;
import id.ac.ui.cs.advprog.tutorial3.composite.techexpert.NetworkExpert;
import id.ac.ui.cs.advprog.tutorial3.composite.techexpert.SecurityExpert;
import id.ac.ui.cs.advprog.tutorial3.composite.techexpert.UiUxDesigner;

Is this intended? We aren't supposed to modify the tests without permission, but I think it's ridiculous if we actually need to do it even for the mandatory tasks.