You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by up...@apache.org on 2016/02/16 23:12:10 UTC
[50/56] [abbrv] incubator-geode git commit: Removing tests for invoke
methods I removed
Removing tests for invoke methods I removed
Project: http://git-wip-us.apache.org/repos/asf/incubator-geode/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-geode/commit/8faa3841
Tree: http://git-wip-us.apache.org/repos/asf/incubator-geode/tree/8faa3841
Diff: http://git-wip-us.apache.org/repos/asf/incubator-geode/diff/8faa3841
Branch: refs/heads/feature/GEODE-866
Commit: 8faa3841d905005fa182b2a43ac23a8bcb3eeb9b
Parents: 69024aa
Author: Dan Smith <up...@apache.org>
Authored: Wed Feb 10 16:53:15 2016 -0800
Committer: Dan Smith <up...@apache.org>
Committed: Tue Feb 16 14:08:39 2016 -0800
----------------------------------------------------------------------
.../gemfire/test/dunit/tests/VMDUnitTest.java | 35 --------------------
1 file changed, 35 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/8faa3841/gemfire-core/src/test/java/com/gemstone/gemfire/test/dunit/tests/VMDUnitTest.java
----------------------------------------------------------------------
diff --git a/gemfire-core/src/test/java/com/gemstone/gemfire/test/dunit/tests/VMDUnitTest.java b/gemfire-core/src/test/java/com/gemstone/gemfire/test/dunit/tests/VMDUnitTest.java
index 9cea1cc..26a67c8 100644
--- a/gemfire-core/src/test/java/com/gemstone/gemfire/test/dunit/tests/VMDUnitTest.java
+++ b/gemfire-core/src/test/java/com/gemstone/gemfire/test/dunit/tests/VMDUnitTest.java
@@ -40,22 +40,6 @@ public class VMDUnitTest extends DistributedTestCase {
super(name);
}
- //////// Test Methods
-
- public void notestInvokeNonExistentMethod() {
- Host host = Host.getHost(0);
- VM vm = host.getVM(0);
- try {
- vm.invoke(() -> VMDUnitTest.nonExistentMethod());
- fail("Should have thrown an RMIException");
-
- } catch (RMIException ex) {
- String s = "Excepted a NoSuchMethodException, got a " +
- ex.getCause();;
- assertTrue(s, ex.getCause() instanceof NoSuchMethodException);
- }
- }
-
/**
* Accessed via reflection. DO NOT REMOVE
* @return
@@ -130,25 +114,6 @@ public class VMDUnitTest extends DistributedTestCase {
}
}
- public void notestInvokeInstanceLong() {
- Host host = Host.getHost(0);
- VM vm = host.getVM(0);
- assertEquals(LONG_VALUE,
- vm.invokeLong(new ClassWithLong(), "getLong"));
- }
-
- public void notestInvokeInstanceLongNotLong() {
- Host host = Host.getHost(0);
- VM vm = host.getVM(0);
- try {
- vm.invokeLong(new ClassWithByte(), "getByte");
- fail("Should have thrown an IllegalArgumentException");
-
- } catch (IllegalArgumentException ex) {
-
- }
- }
-
protected static class InvokeRunnable
implements SerializableRunnableIF {