mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

neil_a_wilson
04.33.2007 35cf2e6b6148bbdd8332cd6fe78b9b6564ad43ea
Update the test case that looks at the public methods defined in the plugin API
so that it will ignore any methods dynamically added by AspectJ weaving.
1 files modified
6 ■■■■■ changed files
opends/tests/unit-tests-testng/src/server/org/opends/server/api/plugin/DirectoryServerPluginTestCase.java 6 ●●●●● patch | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/api/plugin/DirectoryServerPluginTestCase.java
@@ -561,6 +561,12 @@
    Class pluginClass = DirectoryServerPlugin.class;
    for (Method m : pluginClass.getMethods())
    {
      if (m.getName().startsWith("ajc$"))
      {
        // This is a method added by AspectJ weaving.  We can ignore it.
        continue;
      }
      if (Modifier.isPublic(m.getModifiers()) &&
          (! Modifier.isAbstract(m.getModifiers())))
      {