Package org.apache.cocoon.profiling.data

Examples of org.apache.cocoon.profiling.data.ProfilingDataHolder


        assertEquals("3", response.getHeader("X-Cocoon-Version"));

        String profilingId = response.getHeader(X_COCOON_PROFILING_ID);
        assertNotNull(profilingId);

        ProfilingDataHolder dataHolder = (ProfilingDataHolder) applicationContext
                .getBean("org.apache.cocoon.profiling.data.ProfilingDataHolder");

        ProfilingData profilingData = dataHolder.get(profilingId);

        assertTrue(this.containsProfilingData("Sitemap", profilingData, null));
    }
View Full Code Here


        assertEquals("3", response.getHeader("X-Cocoon-Version"));

        String profilingId = response.getHeader(X_COCOON_PROFILING_ID);
        assertNotNull(profilingId);

        ProfilingDataHolder dataHolder = (ProfilingDataHolder) applicationContext
                .getBean("org.apache.cocoon.profiling.data.ProfilingDataHolder");

        ProfilingData profilingData = dataHolder.get(profilingId);

        assertTrue(profilingData.getChildren().size() > 0);
        HashMap<String, String> attributes = new HashMap<String, String>();
        attributes.put("equals", null);
        assertTrue(this.containsProfilingData("MatchNode", profilingData, attributes));
View Full Code Here

        assertEquals("3", response.getHeader("X-Cocoon-Version"));

        String profilingId = response.getHeader(X_COCOON_PROFILING_ID);
        assertNotNull(profilingId);

        ProfilingDataHolder dataHolder = (ProfilingDataHolder) applicationContext
                .getBean("org.apache.cocoon.profiling.data.ProfilingDataHolder");

        ProfilingData profilingData = dataHolder.get(profilingId);

        assertTrue(profilingData.getChildren().size() > 0);
        HashMap<String, String> attributes = new HashMap<String, String>();
        attributes.put("pattern", null);
        assertTrue(this.containsProfilingData("MatchNode", profilingData, attributes));
View Full Code Here

        assertEquals("3", response.getHeader("X-Cocoon-Version"));

        String profilingId = response.getHeader(X_COCOON_PROFILING_ID);
        assertNotNull(profilingId);

        ProfilingDataHolder dataHolder = (ProfilingDataHolder) applicationContext
                .getBean("org.apache.cocoon.profiling.data.ProfilingDataHolder");

        ProfilingData profilingData = dataHolder.get(profilingId);

        assertTrue(profilingData.getChildren().size() > 0);
        HashMap<String, String> attributes = new HashMap<String, String>();
        attributes.put("wildcard", null);
        assertTrue(this.containsProfilingData("MatchNode", profilingData, attributes));
View Full Code Here

        assertEquals("3", response.getHeader("X-Cocoon-Version"));

        String profilingId = response.getHeader(X_COCOON_PROFILING_ID);
        assertNotNull(profilingId);

        ProfilingDataHolder dataHolder = (ProfilingDataHolder) applicationContext
                .getBean("org.apache.cocoon.profiling.data.ProfilingDataHolder");

        ProfilingData profilingData = dataHolder.get(profilingId);

        assertTrue(profilingData.getChildren().size() > 0);
        HashMap<String, String> attributes = new HashMap<String, String>();
        attributes.put("regexp", null);
        assertTrue(this.containsProfilingData("MatchNode", profilingData, attributes));
View Full Code Here

        assertEquals("3", response.getHeader("X-Cocoon-Version"));

        String profilingId = response.getHeader(X_COCOON_PROFILING_ID);
        assertNotNull(profilingId);

        ProfilingDataHolder dataHolder = (ProfilingDataHolder) applicationContext
                .getBean("org.apache.cocoon.profiling.data.ProfilingDataHolder");

        ProfilingData profilingData = dataHolder.get(profilingId);

        // check the nesting of profiling data objects
        assertTrue(this.checkProfilingDataStructure(profilingData, 0));

        // check parent and child references
View Full Code Here

TOP

Related Classes of org.apache.cocoon.profiling.data.ProfilingDataHolder

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.