Class ELClientIT

java.lang.Object
ee.jakarta.tck.el.api.beanelresolver.ELClientIT

public class ELClientIT extends Object
  • Constructor Details

    • ELClientIT

      public ELClientIT()
  • Method Details

    • cleanup

      @AfterEach public void cleanup() throws Exception
      Throws:
      Exception
    • beanELResolverTest

      @Test public void beanELResolverTest() throws Exception
      Throws:
      Exception
      Test Name:
      beanELResolverTest
      Assertion IDs:
      EL:JAVADOC:9; EL:JAVADOC:11; EL:JAVADOC:12; EL:JAVADOC:13; EL:JAVADOC:14; EL:JAVADOC:15; EL:JAVADOC:16
      Test Strategy:
      Verify that API calls work as expected: beanELResolver() getValue() getType() setValue() isReadOnly() getCommonPropertyType()
    • beanELResolverDefaultMethodReadOnlyTest

      @Test public void beanELResolverDefaultMethodReadOnlyTest() throws Exception
      Throws:
      Exception
      Test Name:
      beanELResolverDefaultMethodReadOnlyTest
      Assertion IDs:
      EL:JAVADOC:9; EL:JAVADOC:11; EL:JAVADOC:12; EL:JAVADOC:13; EL:JAVADOC:14; EL:JAVADOC:15; EL:JAVADOC:16
      Test Strategy:
      Verify that API calls work as expected when accessing read-only properties defined via a default interface method
    • beanELResolverDefaultMethodReadWriteTest

      @Test public void beanELResolverDefaultMethodReadWriteTest() throws Exception
      Throws:
      Exception
      Test Name:
      beanELResolverDefaultMethodReadWriteTest
      Assertion IDs:
      EL:JAVADOC:9; EL:JAVADOC:11; EL:JAVADOC:12; EL:JAVADOC:13; EL:JAVADOC:14; EL:JAVADOC:15; EL:JAVADOC:16
      Test Strategy:
      Verify that API calls work as expected when accessing writable properties defined via a default interface method
    • beanELResolverInvokeTest

      @Test public void beanELResolverInvokeTest() throws Exception
      Throws:
      Exception
      Test Name:
      beanELResolverInvokeTest
      Assertion IDs:
      EL:JAVADOC:9; EL:JAVADOC:11; EL:JAVADOC:12; EL:JAVADOC:13; EL:JAVADOC:14; EL:JAVADOC:15; EL:JAVADOC:16; EL:JAVADOC:142
      Test Strategy:
      Verify that API calls work as expected for BeanELResolver.invoke().
    • beanELResolverInvokeVoidTest

      @Test public void beanELResolverInvokeVoidTest() throws Exception
      Throws:
      Exception
      Test Name:
      beanELResolverInvokeVoidTest
      Assertion IDs:
      EL:JAVADOC:9; EL:JAVADOC:11; EL:JAVADOC:12; EL:JAVADOC:13; EL:JAVADOC:14; EL:JAVADOC:15; EL:JAVADOC:16
      Test Strategy:
      Verify that the ELResolver.invoke() API calls work as expected when calling a method that returns void.
    • beanELResolverInvokeMNFETest

      @Test public void beanELResolverInvokeMNFETest() throws Exception
      Throws:
      Exception
      Test Name:
      beanELResolverInvokeMNFETest
      Assertion IDs:
      EL:JAVADOC:9; EL:JAVADOC:11; EL:JAVADOC:12; EL:JAVADOC:13; EL:JAVADOC:14; EL:JAVADOC:15; EL:JAVADOC:16; EL:JAVADOC:143
      Test Strategy:
      Verify that the invoke() method throws MethodNotFoundException if no suitable method can be found.
    • beanELResolverNPETest

      @Test public void beanELResolverNPETest() throws Exception
      Throws:
      Exception
      Test Name:
      beanELResolverNPETest
      Assertion IDs:
      EL:JAVADOC:9; EL:JAVADOC:13; EL:JAVADOC:14; EL:JAVADOC:15; EL:JAVADOC:16; EL:JAVADOC:136; EL:JAVADOC:139; EL:JAVADOC:145; EL:JAVADOC:148
      Test Strategy:
      Verify that the following methods throw a NullPointerException, if context is null: getType() getValue() isReadOnly() setValue()
    • beanELResolverPNFETest

      @Test public void beanELResolverPNFETest() throws Exception
      Throws:
      Exception
      Test Name:
      beanELResolverPNFETest
      Assertion IDs:
      EL:JAVADOC:9; EL:JAVADOC:13; EL:JAVADOC:14; EL:JAVADOC:15; EL:JAVADOC:16; EL:JAVADOC:137; EL:JAVADOC:140; EL:JAVADOC:146; EL:JAVADOC:149
      Test Strategy:
      Verify that the following methods throw a PropertyNotFoundException, if the base is not null and the specified property does not exist. getType() isReadOnly() setValue() getValue()
    • beanELResolverPNWETest

      @Test public void beanELResolverPNWETest() throws Exception
      Throws:
      Exception
      Test Name:
      beanELResolverPNWETest
      Assertion IDs:
      EL:JAVADOC:10; EL:JAVADOC:16; EL:JAVADOC:150
      Test Strategy:
      Verify that the single-parameter constructor for beanELResolver can be used to construct a read-only resolver, and that the setValue() method throws a PropertyNotWritableException, if the resolver was constructed in read-only mode. BeanELResolver(boolean) setValue()
    • beanELResolverMethodVisibilityTest

      @Test public void beanELResolverMethodVisibilityTest() throws Exception
      Throws:
      Exception
      Test Name:
      beanELResolverMethodVisibilityTest
      Test Strategy:
      Verify that API calls work as expected for a property that is not visible via the implementing class (it is in an internal, non-exported class) but is visible via an interface method: beanELResolver() getValue() getType() setValue() isReadOnly() getCommonPropertyType()