added Basic WebFilterTests

check-style does not apply to tests AFAIK


On Thu, Aug 28, 2014 at 9:46 AM, Mesut Celik <notifications@github.com>
wrote:

> In
> hazelcast-wm/src/test/java/com/hazelcast/wm/test/WebFilterBasicTest.java:
>
> > +        CookieStore cookieStore = new BasicCookieStore();
> > +        IMap<String, Object> map = hz.getMap("default");
> > +
> > +        executeRequest("write", serverPort1, cookieStore);
> > +        executeRequest("timeout", serverPort1, cookieStore);
> > +        assertSizeEventually(0, map);
> > +    }
> > +
> > +    @Override
> > +    protected ServletContainer getServletContainer(int port, String sourceDir, String serverXml) throws Exception {
> > +        return new JettyServer(port, sourceDir, serverXml);
> > +    }
> > +
> > +    @Before
> > +    public void setup() throws Exception {
> > +        if (isSetup == true) {
>
> We have a checkstyle for it.
>
> https://github.com/hazelcast/hazelcast/blob/master/checkstyle/checkstyle.xml#L255
>
> How come it does not complain about that?
> More info:
> http://checkstyle.sourceforge.net/config_coding.html#SimplifyBooleanExpression
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/hazelcast/hazelcast/pull/3396/files#r16823361>.
>



-- 


*Ali GurbuzSolutions Architect*
Mahir İz Cad. No:35, Altunizade, İstanbul
ali@hazelcast.com
+90 507 857 7815
@aligurbuz