Uploaded image for project: 'CDI TCK'
  1. CDI TCK
  2. CDITCK-24

DependentContextTest - testDestroyingSimpleParentDestroysDependents

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 1.0.0.CR1
    • None
    • None
    • None

      Hi,

      In the above test,

      @RequestScoped
      class Farm
      {

      @Current Stable stable;

      public void open() {};

      }

      Farm has normal scope, so we do not create its instance before any of its method is called. Therefore we do not inject fields of the Farm. But in the test case, it is assumed to create Farm instance and inject fields. So test fails in our implementation.

      Is this normal?

      Thanks;

      Gurkan

            pmuiratbleepbleep Pete Muir (Inactive)
            gerdogdu@managecat.com Gurkan Erdogdu (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: