Package org.apache.sirona.pathtracking.test

Examples of org.apache.sirona.pathtracking.test.ExtendedInMemoryPathTrackingDataStore


        App app = new App().redirectStreamout();
        app.beer();

        DataStoreFactory dataStoreFactory = IoCs.findOrCreateInstance( DataStoreFactory.class );

        ExtendedInMemoryPathTrackingDataStore ptds =
            ExtendedInMemoryPathTrackingDataStore.class.cast( dataStoreFactory.getPathTrackingDataStore() );

        Map<String, Set<PathTrackingEntry>> all = ptds.retrieveAll();

        System.out.println( all );

        Assert.assertTrue( !all.isEmpty() );
View Full Code Here


        App app = new App();
        app.beer();

        DataStoreFactory dataStoreFactory = IoCs.findOrCreateInstance( DataStoreFactory.class );

        ExtendedInMemoryPathTrackingDataStore ptds =
            ExtendedInMemoryPathTrackingDataStore.class.cast( dataStoreFactory.getPathTrackingDataStore() );

        Map<String, Set<PathTrackingEntry>> all = ptds.retrieveAll();

        Assert.assertTrue( !all.isEmpty() );

        // test only one Thread so only one trackingId
        Assert.assertEquals( 1, all.size() );
View Full Code Here

TOP

Related Classes of org.apache.sirona.pathtracking.test.ExtendedInMemoryPathTrackingDataStore

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.