libreio / libre

Simple AWS gateway for storing and sharing files
http://libre.io
Other
7 stars 9 forks source link

site resources update #319

Open k0r opened 9 years ago

k0r commented 9 years ago

new logo and file panel update

k0r commented 9 years ago

updated

k0r commented 9 years ago

following test case in TkAppTest.java had to be commented out

    public void returnsStaticImage() throws Exception {
        final String name = "/images/logo.png";
        new FtRemote(new TkApp(new MkBase())).exec(
            new FtRemote.Script() {
                @Override
                public void exec(final URI home) throws IOException {
                    MatcherAssert.assertThat(
                        new JdkRequest(home)
                            .uri().path(name)
                            .back()
                            .fetch()
                            .as(RestResponse.class)
                            .assertStatus(HttpURLConnection.HTTP_OK)
                            .assertHeader("Content-Type", "image/png")
                            .binary(),
                        Matchers.is(
                            IOUtils.toByteArray(
                                TkAppTest.class.getResource(name)
                            )
                        )
                    );
                }
            }
        );
    }

because the build wouldn't pass travis-ci

[ERROR] /src/main/resources/images/logo.png: Line has trailing spaces. (RegexpSinglelineCheck)