flutter-idea/testSrc/unit/io/flutter/editor/FlutterColorProviderTest.java [24:32]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  public void locatesColorReference() throws Exception {
    run(() -> {
      final PsiElement testIdentifier = setUpDartElement("main() { Colors.blue; }", "Colors", LeafPsiElement.class);
      final Color color = new FlutterColorProvider().getColorFrom(testIdentifier);
      assertNotNull(color);
      final DartReferenceExpression element = DartSyntax.findEnclosingReferenceExpression(testIdentifier);
      assertNotNull(element);
    });
  }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



flutter-idea/testSrc/unit/io/flutter/editor/FlutterColorProviderTest.java [123:131]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  public void locatesColorShadeReference() throws Exception {
    run(() -> {
      final PsiElement testIdentifier = setUpDartElement("main() { Colors.blue.shade700; }", "Colors", LeafPsiElement.class);
      final Color color = new FlutterColorProvider().getColorFrom(testIdentifier);
      assertNotNull(color);
      final DartReferenceExpression element = DartSyntax.findEnclosingReferenceExpression(testIdentifier);
      assertNotNull(element);
    });
  }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



