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

neil_a_wilson
04.33.2007 67a4a5468874b52f99907bd46ad1c8ba8d43090d
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
opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/api/plugin/DirectoryServerPluginTestCase.java 6 ●●●●● patch | view | raw | blame | history
opendj-sdk/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())))
      {