Hi Omindu, I have checked for the ContentTypeCharsetTestCase.java class in the latest product-esb-master in github and found out that the line referencing the SimulatedService class has been commented as follows and not been used.
//SimpleWebServer simpleWebServer = new SimulatedService(port, 200); May be this class an obsolete one. So, you can try out the following. Comment the line appearing this class and give a try. You will be able to build successfully and run the tests. Cheers. *Dilan U. Ariyaratne* Software Engineer WSO2 Inc. <http://wso2.com/> Mobile: +94775149066 lean . enterprise . middleware On Wed, Nov 5, 2014 at 2:05 PM, Omindu Rathnaweera <omi...@wso2.com> wrote: > Hi, > > I was trying to write a test case for ESB. When building the tests, the > following error occurred. > > [ERROR] COMPILATION ERROR : > > [INFO] ------------------------------------------------------------- > > [ERROR] > /Users/Omindu/Documents/Eclipse/workspace/wso2carbon-platform-turing-4.2.0-chunk07/products/esb/4.8.1/modules/integration/tests/src/test/java/org/wso2/carbon/esb/nhttp/transport/test/ContentTypeCharsetTestCase.java:[44,31] > cannot find symbol > > symbol : class SimulatedService > > location: package org.wso2.carbon.esb.util > > [ERROR] > /Users/Omindu/Documents/Eclipse/workspace/wso2carbon-platform-turing-4.2.0-chunk07/products/esb/4.8.1/modules/integration/tests/src/test/java/org/wso2/carbon/esb/nhttp/transport/test/ContentTypeCharsetTestCase.java:[44,31] > cannot find symbol > > symbol : class SimulatedService > > location: package org.wso2.carbon.esb.util > > [ERROR] > /Users/Omindu/Documents/Eclipse/workspace/wso2carbon-platform-turing-4.2.0-chunk07/products/esb/4.8.1/modules/integration/tests/src/test/java/org/wso2/carbon/esb/nhttp/transport/test/ContentTypeCharsetTestCase.java:[74,40] > cannot find symbol > > symbol : class SimulatedService > > location: class > org.wso2.carbon.esb.nhttp.transport.test.ContentTypeCharsetTestCase > > When checking the class I found out that SimulatedService.java class > (which is used by ContentTypeCharsetTestCase.java class as an import) is > missing. > > Any advice on how to proceed with the issue? > > Thank you. > Omindu > > -- > Omindu Rathnaweera > Software Engineer, WSO2 Inc. > Mobile: +94 771 197 211 > > _______________________________________________ > Dev mailing list > Dev@wso2.org > http://wso2.org/cgi-bin/mailman/listinfo/dev > >
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev