Search in sources :

Example 11 with VisualVMModel

use of com.oracle.coherence.plugin.visualvm.VisualVMModel in project coherence-visualvm by oracle.

the class VisualVMModelReportTests method testVisualVMModel.

@Test
public void testVisualVMModel() {
    VisualVMModel model = VisualVMModel.getInstance();
    Map<Class, String> mapReportXML = model.getReportXMLMap();
    Assert.assertTrue("mapReportXML must not be null", mapReportXML != null);
    Assert.assertTrue("mapReportXML size should be 18 but is " + mapReportXML.size(), mapReportXML.size() == 18);
}
Also used : VisualVMModel(com.oracle.coherence.plugin.visualvm.VisualVMModel) Test(org.junit.Test)

Aggregations

VisualVMModel (com.oracle.coherence.plugin.visualvm.VisualVMModel)11 CacheData (com.oracle.coherence.plugin.visualvm.tablemodel.model.CacheData)8 CacheDetailData (com.oracle.coherence.plugin.visualvm.tablemodel.model.CacheDetailData)8 ClusterData (com.oracle.coherence.plugin.visualvm.tablemodel.model.ClusterData)8 Data (com.oracle.coherence.plugin.visualvm.tablemodel.model.Data)8 FederationData (com.oracle.coherence.plugin.visualvm.tablemodel.model.FederationData)8 FederationDestinationDetailsData (com.oracle.coherence.plugin.visualvm.tablemodel.model.FederationDestinationDetailsData)8 FederationOriginDetailsData (com.oracle.coherence.plugin.visualvm.tablemodel.model.FederationOriginDetailsData)8 MemberData (com.oracle.coherence.plugin.visualvm.tablemodel.model.MemberData)8 PersistenceData (com.oracle.coherence.plugin.visualvm.tablemodel.model.PersistenceData)8 ProxyData (com.oracle.coherence.plugin.visualvm.tablemodel.model.ProxyData)8 RamJournalData (com.oracle.coherence.plugin.visualvm.tablemodel.model.RamJournalData)8 ServiceData (com.oracle.coherence.plugin.visualvm.tablemodel.model.ServiceData)8 ServiceMemberData (com.oracle.coherence.plugin.visualvm.tablemodel.model.ServiceMemberData)8 Map (java.util.Map)8 RequestSender (com.oracle.coherence.plugin.visualvm.helper.RequestSender)3 ExtensibleConfigurableCacheFactory (com.tangosol.net.ExtensibleConfigurableCacheFactory)3 NamedCache (com.tangosol.net.NamedCache)3 Test (org.junit.Test)2 Eventually (com.oracle.bedrock.testsupport.deferred.Eventually)1