summaryrefslogtreecommitdiff
path: root/plugins/IntentionPowerPak/testSrc/com/siyeh/ipp/types
diff options
context:
space:
mode:
authorTor Norbye <tnorbye@google.com>2013-07-08 11:26:24 -0700
committerTor Norbye <tnorbye@google.com>2013-07-08 11:26:24 -0700
commitc1ace1f7e1e49c81bb4b75377c99f07be340abfe (patch)
tree9d0db96bd3d86ddfec80e7e3554cad9dcc066553 /plugins/IntentionPowerPak/testSrc/com/siyeh/ipp/types
parentc6218e46d5d2017e987ecdbd99b318a95c42abc0 (diff)
downloadidea-c1ace1f7e1e49c81bb4b75377c99f07be340abfe.tar.gz
Snapshot aea001abfc1b38fec3a821bcd5174cc77dc75787 from master branch of git://git.jetbrains.org/idea/community.git
Change-Id: Icdea2a2bd7ad43b4d05967b1f0479db3bda1c93c
Diffstat (limited to 'plugins/IntentionPowerPak/testSrc/com/siyeh/ipp/types')
-rw-r--r--plugins/IntentionPowerPak/testSrc/com/siyeh/ipp/types/MakeMethodDefaultTest.java44
1 files changed, 44 insertions, 0 deletions
diff --git a/plugins/IntentionPowerPak/testSrc/com/siyeh/ipp/types/MakeMethodDefaultTest.java b/plugins/IntentionPowerPak/testSrc/com/siyeh/ipp/types/MakeMethodDefaultTest.java
new file mode 100644
index 000000000000..e81dda48a2ea
--- /dev/null
+++ b/plugins/IntentionPowerPak/testSrc/com/siyeh/ipp/types/MakeMethodDefaultTest.java
@@ -0,0 +1,44 @@
+/*
+ * Copyright 2000-2013 JetBrains s.r.o.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package com.siyeh.ipp.types;
+
+import com.siyeh.IntentionPowerPackBundle;
+import com.siyeh.ipp.IPPTestCase;
+
+public class MakeMethodDefaultTest extends IPPTestCase {
+
+ @Override
+ protected String getIntentionName() {
+ return "Make method default";
+ }
+
+ @Override
+ protected String getRelativePath() {
+ return "types/makeDefault";
+ }
+
+ public void testInInterface() throws Exception {
+ doTest();
+ }
+
+ public void testAlreadyDefault() throws Exception {
+ assertIntentionNotAvailable();
+ }
+
+ public void testAlreadyHasBody() throws Exception {
+ assertIntentionNotAvailable();
+ }
+}