Search in sources :

Example 1 with SelectionManagerTest

use of org.ow2.proactive.resourcemanager.selection.SelectionManagerTest in project scheduling by ow2-proactive.

the class RMCoreTest method testGetNodes.

@Test
public void testGetNodes() {
    NodeSet nodeSet = rmCore.getNodes(1, TopologyDescriptor.ARBITRARY, null, null, false);
    // we don't check nodeSet as its content is also tested in SelectionManagerTest
    assertEquals(0, nodeSet.size());
}
Also used : NodeSet(org.ow2.proactive.utils.NodeSet) Test(org.junit.Test)

Example 2 with SelectionManagerTest

use of org.ow2.proactive.resourcemanager.selection.SelectionManagerTest in project scheduling by ow2-proactive.

the class RMCoreTest method testGetAtMostNodes.

@Test
public void testGetAtMostNodes() {
    NodeSet nodeSet = rmCore.getAtMostNodes(1, TopologyDescriptor.ARBITRARY, null, null);
    // we don't check nodeSet as its content is also tested in SelectionManagerTest
    assertEquals(0, nodeSet.size());
}
Also used : NodeSet(org.ow2.proactive.utils.NodeSet) Test(org.junit.Test)

Aggregations

Test (org.junit.Test)2 NodeSet (org.ow2.proactive.utils.NodeSet)2