| Index: editor/tools/plugins/com.google.dart.tools.ui_test/src/com/google/dart/tools/ui/correction/QuickFixProcessorTest.java
|
| diff --git a/editor/tools/plugins/com.google.dart.tools.ui_test/src/com/google/dart/tools/ui/correction/QuickFixProcessorTest.java b/editor/tools/plugins/com.google.dart.tools.ui_test/src/com/google/dart/tools/ui/correction/QuickFixProcessorTest.java
|
| index 5c20636a47fcd359013a8deeda5ff3d2c09f1ba5..03e2f3380ebc292403f7ce924f9a0edba6a4da92 100644
|
| --- a/editor/tools/plugins/com.google.dart.tools.ui_test/src/com/google/dart/tools/ui/correction/QuickFixProcessorTest.java
|
| +++ b/editor/tools/plugins/com.google.dart.tools.ui_test/src/com/google/dart/tools/ui/correction/QuickFixProcessorTest.java
|
| @@ -693,6 +693,22 @@ public final class QuickFixProcessorTest extends AbstractDartTest {
|
| "");
|
| }
|
|
|
| + public void test_useEffectiveIntegerDivision() throws Exception {
|
| + proposalNamePrefix = "Use effective integer division ~/";
|
| + setTestUnitContent(
|
| + "// filler filler filler filler filler filler filler filler filler filler",
|
| + "main() {",
|
| + " print( (7 / 2).toInt() );",
|
| + "}",
|
| + "");
|
| + assertQuickFix(
|
| + "// filler filler filler filler filler filler filler filler filler filler",
|
| + "main() {",
|
| + " print( 7 ~/ 2 );",
|
| + "}",
|
| + "");
|
| + }
|
| +
|
| public void test_useStaticAccess_method() throws Exception {
|
| proposalNamePrefix = "Change access to static using 'A'";
|
| setTestUnitContent(
|
|
|