Author: adietish
Date: 2010-12-15 05:04:05 -0500 (Wed, 15 Dec 2010)
New Revision: 27494
Modified:
trunk/deltacloud/tests/org.jboss.tools.deltacloud.test/src/org/jboss/tools/internal/deltacloud/test/core/client/InstanceMockIntegrationTest.java
Log:
[JBIDE-7594]
* corrected scheduling rules to have correct blocking across the scheduling class
hierarchy
* created #createSecurePasswordStore to be able to fake store in tests
* created tests for all scheduling rules
Modified:
trunk/deltacloud/tests/org.jboss.tools.deltacloud.test/src/org/jboss/tools/internal/deltacloud/test/core/client/InstanceMockIntegrationTest.java
===================================================================
---
trunk/deltacloud/tests/org.jboss.tools.deltacloud.test/src/org/jboss/tools/internal/deltacloud/test/core/client/InstanceMockIntegrationTest.java 2010-12-15
10:01:11 UTC (rev 27493)
+++
trunk/deltacloud/tests/org.jboss.tools.deltacloud.test/src/org/jboss/tools/internal/deltacloud/test/core/client/InstanceMockIntegrationTest.java 2010-12-15
10:04:05 UTC (rev 27494)
@@ -173,7 +173,8 @@
private Instance createInstance() throws IllegalArgumentException,
InstantiationException, IllegalAccessException,
InvocationTargetException, SecurityException, NoSuchMethodException {
- Constructor<Instance> constructor = (Constructor<Instance>)
Instance.class.getDeclaredConstructor(null);
+ Constructor<Instance> constructor =
+ (Constructor<Instance>) Instance.class.getDeclaredConstructor((Class<?>)
null);
constructor.setAccessible(true);
return constructor.newInstance();
}
Show replies by date