5 Replies Latest reply on May 18, 2016 8:00 AM by jdvande

    Jive's core-test-base for functional testing.

    yingjieg

      Hi all, the only post I found about core-test-base is Automated functional testing of plugins with Jive's core-test-base.

      I created unit test case follow the post, but I met lot of problems. I hope someone can offer me a example that can execute successfully. thanks.

        • Re: Jive's core-test-base for functional testing.
          jdvande

          what version of jive are you running?  it appears that core-test-base is mia for 7.0.5.0 and 7.0.4.0

          • Re: Jive's core-test-base for functional testing.
            ggopalkrishna

            Yingjie Guo

            Hi I followed above steps , I am receiving below error when I try to run the test. This looks like wrong build path, but I am not able to figure out. Any pointers?

             

            Version : 8.0.3.1

            Installation: On premise

            pom.xml

             

            <dependency>

               <groupId>com.jivesoftware</groupId>

               <artifactId>core-test-base</artifactId>

               <version>7.0.3.1_5dfcca9</version>

              </dependency>

             

            14:15:12,365 [main] FATAL com.jivesoftware.util.JiveCommunityTest  - com.jivesoftware.util.StringUtils.isEmpty(Ljava/lang/String;)Z

            java.lang.NoSuchMethodError: com.jivesoftware.util.StringUtils.isEmpty(Ljava/lang/String;)Z

              at com.jivesoftware.util.TestConnectionProvider.<init>(TestConnectionProvider.java:64)

              at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

              at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)

              at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)

              at java.lang.reflect.Constructor.newInstance(Constructor.java:423)

              at java.lang.Class.newInstance(Class.java:442)