changeset 4656:a1fe539edc60

RT-32239: Merged graphics tests.
author Pavel Safrata <pavel.safrata@oracle.com>
date Tue, 13 Aug 2013 08:26:34 +0100
parents 109e514e5f85
children eedc6eb68312
files .idea/graphics.iml build.gradle modules/graphics/src/stub/java/com/sun/javafx/UtilsTest.java modules/graphics/src/stub/java/com/sun/javafx/Utils_getScreenForPoint_Test.java modules/graphics/src/stub/java/com/sun/javafx/Utils_getScreenForRectangle_Test.java modules/graphics/src/stub/java/com/sun/javafx/WeakReferenceMapTest.java modules/graphics/src/stub/java/com/sun/javafx/WeakReferenceQueueTest.java modules/graphics/src/stub/java/com/sun/javafx/css/BooleanTypeTest.java modules/graphics/src/stub/java/com/sun/javafx/css/CssMetaDataTest.java modules/graphics/src/stub/java/com/sun/javafx/css/CursorTypeTest.java modules/graphics/src/stub/java/com/sun/javafx/css/DeclarationTest.java modules/graphics/src/stub/java/com/sun/javafx/css/EffectTypeTest.java modules/graphics/src/stub/java/com/sun/javafx/css/EnumTypeTest.java modules/graphics/src/stub/java/com/sun/javafx/css/FontSizeTypeTest.java modules/graphics/src/stub/java/com/sun/javafx/css/FontTypeTest.java modules/graphics/src/stub/java/com/sun/javafx/css/HonorDeveloperSettingsTest.java modules/graphics/src/stub/java/com/sun/javafx/css/InsetsTypeTest.java modules/graphics/src/stub/java/com/sun/javafx/css/Node_cssStyleMap_Test.java modules/graphics/src/stub/java/com/sun/javafx/css/PaintTypeTest.java modules/graphics/src/stub/java/com/sun/javafx/css/ParsedValueTest.java modules/graphics/src/stub/java/com/sun/javafx/css/PseudoClassTest.java modules/graphics/src/stub/java/com/sun/javafx/css/RuleTest.java modules/graphics/src/stub/java/com/sun/javafx/css/SelectorPartitioningTest.java modules/graphics/src/stub/java/com/sun/javafx/css/SizeTest.java modules/graphics/src/stub/java/com/sun/javafx/css/SizeTypeTest.java modules/graphics/src/stub/java/com/sun/javafx/css/StringTypeTest.java modules/graphics/src/stub/java/com/sun/javafx/css/StyleManagerTest.java modules/graphics/src/stub/java/com/sun/javafx/css/StyleTest.java modules/graphics/src/stub/java/com/sun/javafx/css/StylesheetTest.java modules/graphics/src/stub/java/com/sun/javafx/css/TestNode.java modules/graphics/src/stub/java/com/sun/javafx/css/TestNodeBase.java modules/graphics/src/stub/java/com/sun/javafx/css/TypeTest.java modules/graphics/src/stub/java/com/sun/javafx/css/URLTypeTest.java modules/graphics/src/stub/java/com/sun/javafx/css/converters/URLConverterTest.java modules/graphics/src/stub/java/com/sun/javafx/css/parser/CSSLexerTest.java modules/graphics/src/stub/java/com/sun/javafx/css/parser/CSSParserTest.java modules/graphics/src/stub/java/com/sun/javafx/image/ConverterTest.java modules/graphics/src/stub/java/com/sun/javafx/pgstub/CursorSizeConverter.java modules/graphics/src/stub/java/com/sun/javafx/pgstub/SVGPathImpl.java modules/graphics/src/stub/java/com/sun/javafx/pgstub/StubAsyncImageLoader.java modules/graphics/src/stub/java/com/sun/javafx/pgstub/StubFilterable.java modules/graphics/src/stub/java/com/sun/javafx/pgstub/StubFontLoader.java modules/graphics/src/stub/java/com/sun/javafx/pgstub/StubImageLoader.java modules/graphics/src/stub/java/com/sun/javafx/pgstub/StubImageLoaderFactory.java modules/graphics/src/stub/java/com/sun/javafx/pgstub/StubMasterTimer.java modules/graphics/src/stub/java/com/sun/javafx/pgstub/StubPerformanceTracker.java modules/graphics/src/stub/java/com/sun/javafx/pgstub/StubPlatformCursor.java modules/graphics/src/stub/java/com/sun/javafx/pgstub/StubPlatformImage.java modules/graphics/src/stub/java/com/sun/javafx/pgstub/StubPlatformImageCursor.java modules/graphics/src/stub/java/com/sun/javafx/pgstub/StubPlatformImageInfo.java modules/graphics/src/stub/java/com/sun/javafx/pgstub/StubPopupStage.java modules/graphics/src/stub/java/com/sun/javafx/pgstub/StubScene.java modules/graphics/src/stub/java/com/sun/javafx/pgstub/StubStage.java modules/graphics/src/stub/java/com/sun/javafx/pgstub/StubTextLayout.java modules/graphics/src/stub/java/com/sun/javafx/pgstub/StubTextLayoutFactory.java modules/graphics/src/stub/java/com/sun/javafx/pgstub/StubToolkit.java modules/graphics/src/stub/java/com/sun/javafx/scene/KeyboardShortcutsTest.java modules/graphics/src/stub/java/com/sun/javafx/scene/layout/RegionTest.java modules/graphics/src/stub/java/com/sun/javafx/scene/layout/region/BackgroundFillConverterTest.java modules/graphics/src/stub/java/com/sun/javafx/scene/layout/region/BackgroundFillTest.java modules/graphics/src/stub/java/com/sun/javafx/scene/layout/region/BackgroundImageTest.java modules/graphics/src/stub/java/com/sun/javafx/scene/layout/region/BackgroundRepeatConverterTest.java modules/graphics/src/stub/java/com/sun/javafx/scene/transform/TransformUtilsTest.java modules/graphics/src/stub/java/com/sun/javafx/scene/traversal/TraversalTest.java modules/graphics/src/stub/java/com/sun/javafx/scene/traversal/TraverseInvisibleTest.java modules/graphics/src/stub/java/com/sun/javafx/test/BBoxComparator.java modules/graphics/src/stub/java/com/sun/javafx/test/BindingHelper.java modules/graphics/src/stub/java/com/sun/javafx/test/CssMethodsTestBase.java modules/graphics/src/stub/java/com/sun/javafx/test/DoubleComparator.java modules/graphics/src/stub/java/com/sun/javafx/test/MouseEventGenerator.java modules/graphics/src/stub/java/com/sun/javafx/test/NodeOrientationTestBase.java modules/graphics/src/stub/java/com/sun/javafx/test/ObjectMethodsTestBase.java modules/graphics/src/stub/java/com/sun/javafx/test/OnInvalidateMethodsTestBase.java modules/graphics/src/stub/java/com/sun/javafx/test/PropertiesTestBase.java modules/graphics/src/stub/java/com/sun/javafx/test/PropertyInvalidationCounter.java modules/graphics/src/stub/java/com/sun/javafx/test/PropertyReference.java modules/graphics/src/stub/java/com/sun/javafx/test/TestHelper.java modules/graphics/src/stub/java/com/sun/javafx/test/TransformHelper.java modules/graphics/src/stub/java/com/sun/javafx/test/ValueComparator.java modules/graphics/src/stub/java/com/sun/javafx/test/binding/BindingProxy.java modules/graphics/src/stub/java/com/sun/javafx/test/binding/BindingProxyRefImpl.java modules/graphics/src/stub/java/com/sun/javafx/test/binding/ObservableValueProxy.java modules/graphics/src/stub/java/com/sun/javafx/test/binding/ObservableValueProxyRefImpl.java modules/graphics/src/stub/java/com/sun/javafx/test/binding/PropertyModelProxy.java modules/graphics/src/stub/java/com/sun/javafx/test/binding/PropertyModelProxyRefImpl.java modules/graphics/src/stub/java/com/sun/javafx/test/binding/ReflectionHelper.java modules/graphics/src/stub/java/com/sun/javafx/test/binding/VariableFactory.java modules/graphics/src/stub/java/com/sun/javafx/test/binding/VariableFactoryRefImpl.java modules/graphics/src/stub/java/com/sun/javafx/test/binding/WritableValueProxy.java modules/graphics/src/stub/java/com/sun/javafx/test/binding/WritableValueProxyRefImpl.java modules/graphics/src/stub/java/com/sun/javafx/test/objects/TestGroup.java modules/graphics/src/stub/java/com/sun/javafx/test/objects/TestNode.java modules/graphics/src/stub/java/com/sun/javafx/test/objects/TestScene.java modules/graphics/src/stub/java/com/sun/javafx/test/objects/TestStage.java modules/graphics/src/stub/java/javafx/animation/AbstractMasterTimerMock.java modules/graphics/src/stub/java/javafx/animation/AnimationDummy.java modules/graphics/src/stub/java/javafx/animation/FadeTransitionTest.java modules/graphics/src/stub/java/javafx/animation/FillTransitionTest.java modules/graphics/src/stub/java/javafx/animation/ParallelTransitionPlayTest.java modules/graphics/src/stub/java/javafx/animation/ParallelTransitionTest.java modules/graphics/src/stub/java/javafx/animation/PathTransitionTest.java modules/graphics/src/stub/java/javafx/animation/PauseTransitionTest.java modules/graphics/src/stub/java/javafx/animation/RotateTransitionTest.java modules/graphics/src/stub/java/javafx/animation/ScaleTransitionTest.java modules/graphics/src/stub/java/javafx/animation/SequentialTransitionPlayTest.java modules/graphics/src/stub/java/javafx/animation/SequentialTransitionTest.java modules/graphics/src/stub/java/javafx/animation/StrokeTransitionTest.java modules/graphics/src/stub/java/javafx/animation/TransitionTest.java modules/graphics/src/stub/java/javafx/animation/TranslateTransitionTest.java modules/graphics/src/stub/java/javafx/geometry/BoundingBoxTest.java modules/graphics/src/stub/java/javafx/geometry/Dimension2DTest.java modules/graphics/src/stub/java/javafx/geometry/InsetsTest.java modules/graphics/src/stub/java/javafx/geometry/Point2DTest.java modules/graphics/src/stub/java/javafx/geometry/Point3DTest.java modules/graphics/src/stub/java/javafx/geometry/PosTest.java modules/graphics/src/stub/java/javafx/geometry/Rectangle2DTest.java modules/graphics/src/stub/java/javafx/scene/CSSNode.java modules/graphics/src/stub/java/javafx/scene/CameraTest.java modules/graphics/src/stub/java/javafx/scene/CursorTest.java modules/graphics/src/stub/java/javafx/scene/DepthTestTest.java modules/graphics/src/stub/java/javafx/scene/EventAnyTest.java modules/graphics/src/stub/java/javafx/scene/FocusTest.java modules/graphics/src/stub/java/javafx/scene/GroupTest.java modules/graphics/src/stub/java/javafx/scene/HashCodeTest.java modules/graphics/src/stub/java/javafx/scene/ImageCursorTest.java modules/graphics/src/stub/java/javafx/scene/ImageCursor_findBestImage_Test.java modules/graphics/src/stub/java/javafx/scene/ImageCursor_getCurrentFrame_Test.java modules/graphics/src/stub/java/javafx/scene/Mouse3DTest.java modules/graphics/src/stub/java/javafx/scene/MouseTest.java modules/graphics/src/stub/java/javafx/scene/NodeTest.java modules/graphics/src/stub/java/javafx/scene/Node_LocalToParentTransform_Test.java modules/graphics/src/stub/java/javafx/scene/Node_LocalToSceneTransform_Test.java modules/graphics/src/stub/java/javafx/scene/Node_bind_Test.java modules/graphics/src/stub/java/javafx/scene/Node_cssMethods_Test.java modules/graphics/src/stub/java/javafx/scene/Node_effectiveOrientation_Css_Test.java modules/graphics/src/stub/java/javafx/scene/Node_effectiveOrientation_Test.java modules/graphics/src/stub/java/javafx/scene/Node_hasMirroring_Test.java modules/graphics/src/stub/java/javafx/scene/Node_lookup_Test.java modules/graphics/src/stub/java/javafx/scene/Node_onInvalidate_Test.java modules/graphics/src/stub/java/javafx/scene/Node_properties_Test.java modules/graphics/src/stub/java/javafx/scene/PaneTest.java modules/graphics/src/stub/java/javafx/scene/ParentTest.java modules/graphics/src/stub/java/javafx/scene/Parent_cssMethods_Test.java modules/graphics/src/stub/java/javafx/scene/Parent_recomputeBounds_Test.java modules/graphics/src/stub/java/javafx/scene/Parent_structure_sync_Test.java modules/graphics/src/stub/java/javafx/scene/PickAndContainsTest.java modules/graphics/src/stub/java/javafx/scene/RegistrationTest.java modules/graphics/src/stub/java/javafx/scene/SceneTest.java modules/graphics/src/stub/java/javafx/scene/Scene_properties_Test.java modules/graphics/src/stub/java/javafx/scene/Scenegraph_eventHandlers_Test.java modules/graphics/src/stub/java/javafx/scene/StructureTest.java modules/graphics/src/stub/java/javafx/scene/SubSceneTest.java modules/graphics/src/stub/java/javafx/scene/bounds/BoundsPerformanceTest.java modules/graphics/src/stub/java/javafx/scene/bounds/ClipBoundsTest.java modules/graphics/src/stub/java/javafx/scene/bounds/EffectBoundsTest.java modules/graphics/src/stub/java/javafx/scene/bounds/GroupBoundsTest.java modules/graphics/src/stub/java/javafx/scene/bounds/LayoutBoundsTest.java modules/graphics/src/stub/java/javafx/scene/bounds/NodeBoundsTest.java modules/graphics/src/stub/java/javafx/scene/bounds/PerfNode.java modules/graphics/src/stub/java/javafx/scene/bounds/ResizablePerfNode.java modules/graphics/src/stub/java/javafx/scene/bounds/Transformed3DBoundsTest.java modules/graphics/src/stub/java/javafx/scene/bounds/TransformedBoundsTest.java modules/graphics/src/stub/java/javafx/scene/canvas/CanvasTest.java modules/graphics/src/stub/java/javafx/scene/effect/BlendTest.java modules/graphics/src/stub/java/javafx/scene/effect/Blend_properties_Test.java modules/graphics/src/stub/java/javafx/scene/effect/BloomTest.java modules/graphics/src/stub/java/javafx/scene/effect/Bloom_properties_Test.java modules/graphics/src/stub/java/javafx/scene/effect/BoxBlurTest.java modules/graphics/src/stub/java/javafx/scene/effect/BoxBlur_properties_Test.java modules/graphics/src/stub/java/javafx/scene/effect/ColorAdjustTest.java modules/graphics/src/stub/java/javafx/scene/effect/ColorAdjust_properties_Test.java modules/graphics/src/stub/java/javafx/scene/effect/ColorInputTest.java modules/graphics/src/stub/java/javafx/scene/effect/ColorInput_properties_Test.java modules/graphics/src/stub/java/javafx/scene/effect/DisplacementMapTest.java modules/graphics/src/stub/java/javafx/scene/effect/DisplacementMap_properties_Test.java modules/graphics/src/stub/java/javafx/scene/effect/DistantLightTest.java modules/graphics/src/stub/java/javafx/scene/effect/DistantLight_properties_Test.java modules/graphics/src/stub/java/javafx/scene/effect/DropShadowTest.java modules/graphics/src/stub/java/javafx/scene/effect/DropShadow_properties_Test.java modules/graphics/src/stub/java/javafx/scene/effect/EffectInputTest.java modules/graphics/src/stub/java/javafx/scene/effect/EffectTest.java modules/graphics/src/stub/java/javafx/scene/effect/EffectsTestBase.java modules/graphics/src/stub/java/javafx/scene/effect/FloatMapTest.java modules/graphics/src/stub/java/javafx/scene/effect/FloatMap_properties_Test.java modules/graphics/src/stub/java/javafx/scene/effect/GaussianBlurTest.java modules/graphics/src/stub/java/javafx/scene/effect/GaussianBlur_properties_Test.java modules/graphics/src/stub/java/javafx/scene/effect/GlowTest.java modules/graphics/src/stub/java/javafx/scene/effect/Glow_properties_Test.java modules/graphics/src/stub/java/javafx/scene/effect/ImageInputTest.java modules/graphics/src/stub/java/javafx/scene/effect/ImageInput_properties_Test.java modules/graphics/src/stub/java/javafx/scene/effect/InnerShadowTest.java modules/graphics/src/stub/java/javafx/scene/effect/InnerShadow_properties_Test.java modules/graphics/src/stub/java/javafx/scene/effect/LightTestBase.java modules/graphics/src/stub/java/javafx/scene/effect/LightingTest.java modules/graphics/src/stub/java/javafx/scene/effect/Lighting_properties_Test.java modules/graphics/src/stub/java/javafx/scene/effect/MotionBlurTest.java modules/graphics/src/stub/java/javafx/scene/effect/MotionBlur_properties_Test.java modules/graphics/src/stub/java/javafx/scene/effect/PerspectiveTransformTest.java modules/graphics/src/stub/java/javafx/scene/effect/PerspectiveTransform_properties_Test.java modules/graphics/src/stub/java/javafx/scene/effect/PointLightTest.java modules/graphics/src/stub/java/javafx/scene/effect/PointLight_properties_Test.java modules/graphics/src/stub/java/javafx/scene/effect/ReflectionTest.java modules/graphics/src/stub/java/javafx/scene/effect/Reflection_properties_Test.java modules/graphics/src/stub/java/javafx/scene/effect/SepiaToneTest.java modules/graphics/src/stub/java/javafx/scene/effect/SepiaTone_properties_Test.java modules/graphics/src/stub/java/javafx/scene/effect/ShadowTest.java modules/graphics/src/stub/java/javafx/scene/effect/Shadow_properties_Test.java modules/graphics/src/stub/java/javafx/scene/effect/SpotLightTest.java modules/graphics/src/stub/java/javafx/scene/effect/SpotLight_properties_Test.java modules/graphics/src/stub/java/javafx/scene/image/ImageTest.java modules/graphics/src/stub/java/javafx/scene/image/ImageViewConfig.java modules/graphics/src/stub/java/javafx/scene/image/ImageViewTest.java modules/graphics/src/stub/java/javafx/scene/image/ImageView_cssMethods_Test.java modules/graphics/src/stub/java/javafx/scene/image/ImageView_verifyBounds_Test.java modules/graphics/src/stub/java/javafx/scene/image/ImageView_verifyContains_Test.java modules/graphics/src/stub/java/javafx/scene/image/PixelFormatTest.java modules/graphics/src/stub/java/javafx/scene/image/TestImages.java modules/graphics/src/stub/java/javafx/scene/input/ClipboardContentTest.java modules/graphics/src/stub/java/javafx/scene/input/ContextMenuEventTest.java modules/graphics/src/stub/java/javafx/scene/input/DataFormatTest.java modules/graphics/src/stub/java/javafx/scene/input/DragAndDropTest.java modules/graphics/src/stub/java/javafx/scene/input/GestureEventTest.java modules/graphics/src/stub/java/javafx/scene/input/InputEventTest.java modules/graphics/src/stub/java/javafx/scene/input/InputMethodEventTest.java modules/graphics/src/stub/java/javafx/scene/input/InputMethodTextRunTest.java modules/graphics/src/stub/java/javafx/scene/input/KeyCodeTest.java modules/graphics/src/stub/java/javafx/scene/input/KeyCombinationTest.java modules/graphics/src/stub/java/javafx/scene/input/KeyCombination_objectMethods_Test.java modules/graphics/src/stub/java/javafx/scene/input/KeyEventTest.java modules/graphics/src/stub/java/javafx/scene/input/MouseDragEventTest.java modules/graphics/src/stub/java/javafx/scene/input/MouseEventTest.java modules/graphics/src/stub/java/javafx/scene/input/PasteboardTest.java modules/graphics/src/stub/java/javafx/scene/input/RotateEventTest.java modules/graphics/src/stub/java/javafx/scene/input/ScrollEventTest.java modules/graphics/src/stub/java/javafx/scene/input/SwipeEventTest.java modules/graphics/src/stub/java/javafx/scene/input/TestNode.java modules/graphics/src/stub/java/javafx/scene/input/TouchEventTest.java modules/graphics/src/stub/java/javafx/scene/input/UTITest.java modules/graphics/src/stub/java/javafx/scene/input/ZoomEventTest.java modules/graphics/src/stub/java/javafx/scene/layout/AnchorPaneTest.java modules/graphics/src/stub/java/javafx/scene/layout/BackgroundFillTest.java modules/graphics/src/stub/java/javafx/scene/layout/BackgroundImageTest.java modules/graphics/src/stub/java/javafx/scene/layout/BackgroundPositionTest.java modules/graphics/src/stub/java/javafx/scene/layout/BackgroundSizeTest.java modules/graphics/src/stub/java/javafx/scene/layout/BackgroundTest.java modules/graphics/src/stub/java/javafx/scene/layout/BaselineTest.java modules/graphics/src/stub/java/javafx/scene/layout/BorderPaneTest.java modules/graphics/src/stub/java/javafx/scene/layout/BorderStrokeStyleTest.java modules/graphics/src/stub/java/javafx/scene/layout/BorderStrokeTest.java modules/graphics/src/stub/java/javafx/scene/layout/BorderTest.java modules/graphics/src/stub/java/javafx/scene/layout/BorderWidthsTest.java modules/graphics/src/stub/java/javafx/scene/layout/CornerRadiiTest.java modules/graphics/src/stub/java/javafx/scene/layout/FlowPaneTest.java modules/graphics/src/stub/java/javafx/scene/layout/GridPaneTest.java modules/graphics/src/stub/java/javafx/scene/layout/HBoxTest.java modules/graphics/src/stub/java/javafx/scene/layout/MockBiased.java modules/graphics/src/stub/java/javafx/scene/layout/MockNode.java modules/graphics/src/stub/java/javafx/scene/layout/MockParent.java modules/graphics/src/stub/java/javafx/scene/layout/MockRegion.java modules/graphics/src/stub/java/javafx/scene/layout/MockResizable.java modules/graphics/src/stub/java/javafx/scene/layout/RegionCSSTest.java modules/graphics/src/stub/java/javafx/scene/layout/RegionPickTest.java modules/graphics/src/stub/java/javafx/scene/layout/RegionTest.java modules/graphics/src/stub/java/javafx/scene/layout/ResizabilityTest.java modules/graphics/src/stub/java/javafx/scene/layout/StackPaneTest.java modules/graphics/src/stub/java/javafx/scene/layout/TilePaneTest.java modules/graphics/src/stub/java/javafx/scene/layout/VBoxTest.java modules/graphics/src/stub/java/javafx/scene/paint/ColorTest.java modules/graphics/src/stub/java/javafx/scene/paint/ImagePatternTest.java modules/graphics/src/stub/java/javafx/scene/paint/LinearGradientTest.java modules/graphics/src/stub/java/javafx/scene/paint/PhongMaterialTest.java modules/graphics/src/stub/java/javafx/scene/paint/RadialGradientTest.java modules/graphics/src/stub/java/javafx/scene/paint/StopListTest.java modules/graphics/src/stub/java/javafx/scene/paint/StopTest.java modules/graphics/src/stub/java/javafx/scene/shape/ArcTest.java modules/graphics/src/stub/java/javafx/scene/shape/ArcToTest.java modules/graphics/src/stub/java/javafx/scene/shape/ArcTo_onInvalidate_Test.java modules/graphics/src/stub/java/javafx/scene/shape/ArcTo_properties_Test.java modules/graphics/src/stub/java/javafx/scene/shape/Arc_onInvalidate_Test.java modules/graphics/src/stub/java/javafx/scene/shape/Arc_properties_Test.java modules/graphics/src/stub/java/javafx/scene/shape/BoundsTest.java modules/graphics/src/stub/java/javafx/scene/shape/BoxTest.java modules/graphics/src/stub/java/javafx/scene/shape/CircleTest.java modules/graphics/src/stub/java/javafx/scene/shape/Circle_onInvalidate_Test.java modules/graphics/src/stub/java/javafx/scene/shape/Circle_properties_Test.java modules/graphics/src/stub/java/javafx/scene/shape/ClosePathTest.java modules/graphics/src/stub/java/javafx/scene/shape/CubicCurveTest.java modules/graphics/src/stub/java/javafx/scene/shape/CubicCurveToTest.java modules/graphics/src/stub/java/javafx/scene/shape/CubicCurveTo_onInvalidate_Test.java modules/graphics/src/stub/java/javafx/scene/shape/CubicCurveTo_properties_Test.java modules/graphics/src/stub/java/javafx/scene/shape/CubicCurve_onInvalidate_Test.java modules/graphics/src/stub/java/javafx/scene/shape/CubicCurve_properties_Test.java modules/graphics/src/stub/java/javafx/scene/shape/CylinderTest.java modules/graphics/src/stub/java/javafx/scene/shape/EllipseTest.java modules/graphics/src/stub/java/javafx/scene/shape/Ellipse_onInvalidate_Test.java modules/graphics/src/stub/java/javafx/scene/shape/Ellipse_properties_Test.java modules/graphics/src/stub/java/javafx/scene/shape/HLineToTest.java modules/graphics/src/stub/java/javafx/scene/shape/HLineTo_onInvalidate_Test.java modules/graphics/src/stub/java/javafx/scene/shape/HLineTo_properties_Test.java modules/graphics/src/stub/java/javafx/scene/shape/LineTest.java modules/graphics/src/stub/java/javafx/scene/shape/LineToTest.java modules/graphics/src/stub/java/javafx/scene/shape/LineTo_onInvalidate_Test.java modules/graphics/src/stub/java/javafx/scene/shape/LineTo_properties_Test.java modules/graphics/src/stub/java/javafx/scene/shape/Line_onInvalidate_Test.java modules/graphics/src/stub/java/javafx/scene/shape/Line_properties_Test.java modules/graphics/src/stub/java/javafx/scene/shape/MoveToTest.java modules/graphics/src/stub/java/javafx/scene/shape/MoveTo_onInvalidate_Test.java modules/graphics/src/stub/java/javafx/scene/shape/MoveTo_properties_Test.java modules/graphics/src/stub/java/javafx/scene/shape/PathTest.java modules/graphics/src/stub/java/javafx/scene/shape/Path_onInvalidate_Test.java modules/graphics/src/stub/java/javafx/scene/shape/Path_properties_Test.java modules/graphics/src/stub/java/javafx/scene/shape/PolygonTest.java modules/graphics/src/stub/java/javafx/scene/shape/PolylineTest.java modules/graphics/src/stub/java/javafx/scene/shape/QuadCurveTest.java modules/graphics/src/stub/java/javafx/scene/shape/QuadCurveToTest.java modules/graphics/src/stub/java/javafx/scene/shape/QuadCurveTo_properties_Test.java modules/graphics/src/stub/java/javafx/scene/shape/QuadCurve_onInvalidate_Test.java modules/graphics/src/stub/java/javafx/scene/shape/QuadCurve_properties_Test.java modules/graphics/src/stub/java/javafx/scene/shape/RectangleTest.java modules/graphics/src/stub/java/javafx/scene/shape/Rectangle_cssMethods_Test.java modules/graphics/src/stub/java/javafx/scene/shape/Rectangle_onInvalidate_Test.java modules/graphics/src/stub/java/javafx/scene/shape/Rectangle_properties_Test.java modules/graphics/src/stub/java/javafx/scene/shape/SVGPathTest.java modules/graphics/src/stub/java/javafx/scene/shape/SVGPath_onInvalidate_Test.java modules/graphics/src/stub/java/javafx/scene/shape/SVGPath_properties_Test.java modules/graphics/src/stub/java/javafx/scene/shape/ShapeTest.java modules/graphics/src/stub/java/javafx/scene/shape/Shape_cssMethods_Test.java modules/graphics/src/stub/java/javafx/scene/shape/Shape_onInvalidate_Test.java modules/graphics/src/stub/java/javafx/scene/shape/Shape_properties_Test.java modules/graphics/src/stub/java/javafx/scene/shape/SphereTest.java modules/graphics/src/stub/java/javafx/scene/shape/TestUtils.java modules/graphics/src/stub/java/javafx/scene/shape/TriangleMeshTest.java modules/graphics/src/stub/java/javafx/scene/shape/VLineToTest.java modules/graphics/src/stub/java/javafx/scene/shape/VLineTo_onInvalidate_Test.java modules/graphics/src/stub/java/javafx/scene/shape/VLineTo_properties_Test.java modules/graphics/src/stub/java/javafx/scene/text/FontPostureTest.java modules/graphics/src/stub/java/javafx/scene/text/FontTest.java modules/graphics/src/stub/java/javafx/scene/text/FontWeightTest.java modules/graphics/src/stub/java/javafx/scene/text/TextTest.java modules/graphics/src/stub/java/javafx/scene/text/Text_cssMethods_Test.java modules/graphics/src/stub/java/javafx/scene/text/Text_onInvalidate_Test.java modules/graphics/src/stub/java/javafx/scene/transform/AffineOperationsTest.java modules/graphics/src/stub/java/javafx/scene/transform/AffineTest.java modules/graphics/src/stub/java/javafx/scene/transform/Affine_onInvalidate_Test.java modules/graphics/src/stub/java/javafx/scene/transform/MatrixTypeTest.java modules/graphics/src/stub/java/javafx/scene/transform/RotateTest.java modules/graphics/src/stub/java/javafx/scene/transform/Rotate_onInvalidate_Test.java modules/graphics/src/stub/java/javafx/scene/transform/ScaleTest.java modules/graphics/src/stub/java/javafx/scene/transform/Scale_onInvalidate_Test.java modules/graphics/src/stub/java/javafx/scene/transform/ShearTest.java modules/graphics/src/stub/java/javafx/scene/transform/Shear_onInvalidate_Test.java modules/graphics/src/stub/java/javafx/scene/transform/TransformChangedEventTest.java modules/graphics/src/stub/java/javafx/scene/transform/TransformOperationsTest.java modules/graphics/src/stub/java/javafx/scene/transform/TransformTest.java modules/graphics/src/stub/java/javafx/scene/transform/Transform_properties_Test.java modules/graphics/src/stub/java/javafx/scene/transform/TranslateTest.java modules/graphics/src/stub/java/javafx/scene/transform/Translate_onInvalidate_Test.java modules/graphics/src/stub/java/javafx/stage/CommonDialogsTest.java modules/graphics/src/stub/java/javafx/stage/PopupTest.java modules/graphics/src/stub/java/javafx/stage/Popup_parentWindow_Test.java modules/graphics/src/stub/java/javafx/stage/ScreenTest.java modules/graphics/src/stub/java/javafx/stage/StageMutabilityTest.java modules/graphics/src/stub/java/javafx/stage/StageTest.java modules/graphics/src/stub/java/javafx/stage/WindowEventTest.java modules/graphics/src/stub/java/javafx/stage/WindowTest.java modules/graphics/src/stub/java/test/javafx/print/JobSettingsTest.java modules/graphics/src/stub/java/test/javafx/print/PrinterJobTest.java modules/graphics/src/stub/resources/com/sun/javafx/css/HonorDeveloperSettingsTest_AUTHOR.css modules/graphics/src/stub/resources/com/sun/javafx/css/HonorDeveloperSettingsTest_UA.css modules/graphics/src/stub/resources/com/sun/javafx/css/RT-30953-2.2.21.bss modules/graphics/src/stub/resources/com/sun/javafx/css/RT-30953-2.2.4.bss modules/graphics/src/stub/resources/com/sun/javafx/css/RT-30953-2.2.45.bss modules/graphics/src/stub/resources/com/sun/javafx/css/RT-30953.css modules/graphics/src/stub/resources/com/sun/javafx/css/converters/some.txt modules/graphics/src/stub/resources/javafx/scene/image/test.png modules/graphics/src/stub/resources/javafx/scene/layout/RegionCSSTest.css modules/graphics/src/stub/resources/javafx/scene/layout/blue.png modules/graphics/src/stub/resources/javafx/scene/layout/center-btn.png modules/graphics/src/stub/resources/javafx/scene/layout/green.png modules/graphics/src/stub/resources/javafx/scene/layout/red.png modules/graphics/src/stub/resources/javafx/scene/layout/yellow.png modules/graphics/src/stub/resources/javafx/scene/paint/javafx.png modules/graphics/src/test/java/com/sun/javafx/UtilsTest.java modules/graphics/src/test/java/com/sun/javafx/Utils_getScreenForPoint_Test.java modules/graphics/src/test/java/com/sun/javafx/Utils_getScreenForRectangle_Test.java modules/graphics/src/test/java/com/sun/javafx/WeakReferenceMapTest.java modules/graphics/src/test/java/com/sun/javafx/WeakReferenceQueueTest.java modules/graphics/src/test/java/com/sun/javafx/css/BooleanTypeTest.java modules/graphics/src/test/java/com/sun/javafx/css/CssMetaDataTest.java modules/graphics/src/test/java/com/sun/javafx/css/CursorTypeTest.java modules/graphics/src/test/java/com/sun/javafx/css/DeclarationTest.java modules/graphics/src/test/java/com/sun/javafx/css/EffectTypeTest.java modules/graphics/src/test/java/com/sun/javafx/css/EnumTypeTest.java modules/graphics/src/test/java/com/sun/javafx/css/FontSizeTypeTest.java modules/graphics/src/test/java/com/sun/javafx/css/FontTypeTest.java modules/graphics/src/test/java/com/sun/javafx/css/HonorDeveloperSettingsTest.java modules/graphics/src/test/java/com/sun/javafx/css/InsetsTypeTest.java modules/graphics/src/test/java/com/sun/javafx/css/Node_cssStyleMap_Test.java modules/graphics/src/test/java/com/sun/javafx/css/PaintTypeTest.java modules/graphics/src/test/java/com/sun/javafx/css/ParsedValueTest.java modules/graphics/src/test/java/com/sun/javafx/css/PseudoClassTest.java modules/graphics/src/test/java/com/sun/javafx/css/RuleTest.java modules/graphics/src/test/java/com/sun/javafx/css/SelectorPartitioningTest.java modules/graphics/src/test/java/com/sun/javafx/css/SizeTest.java modules/graphics/src/test/java/com/sun/javafx/css/SizeTypeTest.java modules/graphics/src/test/java/com/sun/javafx/css/StringTypeTest.java modules/graphics/src/test/java/com/sun/javafx/css/StyleManagerTest.java modules/graphics/src/test/java/com/sun/javafx/css/StyleTest.java modules/graphics/src/test/java/com/sun/javafx/css/StylesheetTest.java modules/graphics/src/test/java/com/sun/javafx/css/TestNode.java modules/graphics/src/test/java/com/sun/javafx/css/TestNodeBase.java modules/graphics/src/test/java/com/sun/javafx/css/TypeTest.java modules/graphics/src/test/java/com/sun/javafx/css/URLTypeTest.java modules/graphics/src/test/java/com/sun/javafx/css/converters/URLConverterTest.java modules/graphics/src/test/java/com/sun/javafx/css/parser/CSSLexerTest.java modules/graphics/src/test/java/com/sun/javafx/css/parser/CSSParserTest.java modules/graphics/src/test/java/com/sun/javafx/image/ConverterTest.java modules/graphics/src/test/java/com/sun/javafx/pgstub/CursorSizeConverter.java modules/graphics/src/test/java/com/sun/javafx/pgstub/SVGPathImpl.java modules/graphics/src/test/java/com/sun/javafx/pgstub/StubAsyncImageLoader.java modules/graphics/src/test/java/com/sun/javafx/pgstub/StubFilterable.java modules/graphics/src/test/java/com/sun/javafx/pgstub/StubFontLoader.java modules/graphics/src/test/java/com/sun/javafx/pgstub/StubImageLoader.java modules/graphics/src/test/java/com/sun/javafx/pgstub/StubImageLoaderFactory.java modules/graphics/src/test/java/com/sun/javafx/pgstub/StubMasterTimer.java modules/graphics/src/test/java/com/sun/javafx/pgstub/StubPerformanceTracker.java modules/graphics/src/test/java/com/sun/javafx/pgstub/StubPlatformCursor.java modules/graphics/src/test/java/com/sun/javafx/pgstub/StubPlatformImage.java modules/graphics/src/test/java/com/sun/javafx/pgstub/StubPlatformImageCursor.java modules/graphics/src/test/java/com/sun/javafx/pgstub/StubPlatformImageInfo.java modules/graphics/src/test/java/com/sun/javafx/pgstub/StubPopupStage.java modules/graphics/src/test/java/com/sun/javafx/pgstub/StubScene.java modules/graphics/src/test/java/com/sun/javafx/pgstub/StubStage.java modules/graphics/src/test/java/com/sun/javafx/pgstub/StubTextLayout.java modules/graphics/src/test/java/com/sun/javafx/pgstub/StubTextLayoutFactory.java modules/graphics/src/test/java/com/sun/javafx/pgstub/StubToolkit.java modules/graphics/src/test/java/com/sun/javafx/scene/KeyboardShortcutsTest.java modules/graphics/src/test/java/com/sun/javafx/scene/layout/RegionTest.java modules/graphics/src/test/java/com/sun/javafx/scene/layout/region/BackgroundFillConverterTest.java modules/graphics/src/test/java/com/sun/javafx/scene/layout/region/BackgroundFillTest.java modules/graphics/src/test/java/com/sun/javafx/scene/layout/region/BackgroundImageTest.java modules/graphics/src/test/java/com/sun/javafx/scene/layout/region/BackgroundRepeatConverterTest.java modules/graphics/src/test/java/com/sun/javafx/scene/transform/TransformUtilsTest.java modules/graphics/src/test/java/com/sun/javafx/scene/traversal/TraversalTest.java modules/graphics/src/test/java/com/sun/javafx/scene/traversal/TraverseInvisibleTest.java modules/graphics/src/test/java/com/sun/javafx/test/BBoxComparator.java modules/graphics/src/test/java/com/sun/javafx/test/BindingHelper.java modules/graphics/src/test/java/com/sun/javafx/test/CssMethodsTestBase.java modules/graphics/src/test/java/com/sun/javafx/test/DoubleComparator.java modules/graphics/src/test/java/com/sun/javafx/test/MouseEventGenerator.java modules/graphics/src/test/java/com/sun/javafx/test/NodeOrientationTestBase.java modules/graphics/src/test/java/com/sun/javafx/test/ObjectMethodsTestBase.java modules/graphics/src/test/java/com/sun/javafx/test/OnInvalidateMethodsTestBase.java modules/graphics/src/test/java/com/sun/javafx/test/PropertiesTestBase.java modules/graphics/src/test/java/com/sun/javafx/test/PropertyInvalidationCounter.java modules/graphics/src/test/java/com/sun/javafx/test/PropertyReference.java modules/graphics/src/test/java/com/sun/javafx/test/TestHelper.java modules/graphics/src/test/java/com/sun/javafx/test/TransformHelper.java modules/graphics/src/test/java/com/sun/javafx/test/ValueComparator.java modules/graphics/src/test/java/com/sun/javafx/test/binding/BindingProxy.java modules/graphics/src/test/java/com/sun/javafx/test/binding/BindingProxyRefImpl.java modules/graphics/src/test/java/com/sun/javafx/test/binding/ObservableValueProxy.java modules/graphics/src/test/java/com/sun/javafx/test/binding/ObservableValueProxyRefImpl.java modules/graphics/src/test/java/com/sun/javafx/test/binding/PropertyModelProxy.java modules/graphics/src/test/java/com/sun/javafx/test/binding/PropertyModelProxyRefImpl.java modules/graphics/src/test/java/com/sun/javafx/test/binding/ReflectionHelper.java modules/graphics/src/test/java/com/sun/javafx/test/binding/VariableFactory.java modules/graphics/src/test/java/com/sun/javafx/test/binding/VariableFactoryRefImpl.java modules/graphics/src/test/java/com/sun/javafx/test/binding/WritableValueProxy.java modules/graphics/src/test/java/com/sun/javafx/test/binding/WritableValueProxyRefImpl.java modules/graphics/src/test/java/com/sun/javafx/test/objects/TestGroup.java modules/graphics/src/test/java/com/sun/javafx/test/objects/TestNode.java modules/graphics/src/test/java/com/sun/javafx/test/objects/TestScene.java modules/graphics/src/test/java/com/sun/javafx/test/objects/TestStage.java modules/graphics/src/test/java/javafx/animation/AbstractMasterTimerMock.java modules/graphics/src/test/java/javafx/animation/AnimationDummy.java modules/graphics/src/test/java/javafx/animation/FadeTransitionTest.java modules/graphics/src/test/java/javafx/animation/FillTransitionTest.java modules/graphics/src/test/java/javafx/animation/ParallelTransitionPlayTest.java modules/graphics/src/test/java/javafx/animation/ParallelTransitionTest.java modules/graphics/src/test/java/javafx/animation/PathTransitionTest.java modules/graphics/src/test/java/javafx/animation/PauseTransitionTest.java modules/graphics/src/test/java/javafx/animation/RotateTransitionTest.java modules/graphics/src/test/java/javafx/animation/ScaleTransitionTest.java modules/graphics/src/test/java/javafx/animation/SequentialTransitionPlayTest.java modules/graphics/src/test/java/javafx/animation/SequentialTransitionTest.java modules/graphics/src/test/java/javafx/animation/StrokeTransitionTest.java modules/graphics/src/test/java/javafx/animation/TransitionTest.java modules/graphics/src/test/java/javafx/animation/TranslateTransitionTest.java modules/graphics/src/test/java/javafx/geometry/BoundingBoxTest.java modules/graphics/src/test/java/javafx/geometry/Dimension2DTest.java modules/graphics/src/test/java/javafx/geometry/InsetsTest.java modules/graphics/src/test/java/javafx/geometry/Point2DTest.java modules/graphics/src/test/java/javafx/geometry/Point3DTest.java modules/graphics/src/test/java/javafx/geometry/PosTest.java modules/graphics/src/test/java/javafx/geometry/Rectangle2DTest.java modules/graphics/src/test/java/javafx/scene/CSSNode.java modules/graphics/src/test/java/javafx/scene/CameraTest.java modules/graphics/src/test/java/javafx/scene/CursorTest.java modules/graphics/src/test/java/javafx/scene/DepthTestTest.java modules/graphics/src/test/java/javafx/scene/EventAnyTest.java modules/graphics/src/test/java/javafx/scene/FocusTest.java modules/graphics/src/test/java/javafx/scene/GroupTest.java modules/graphics/src/test/java/javafx/scene/HashCodeTest.java modules/graphics/src/test/java/javafx/scene/ImageCursorTest.java modules/graphics/src/test/java/javafx/scene/ImageCursor_findBestImage_Test.java modules/graphics/src/test/java/javafx/scene/ImageCursor_getCurrentFrame_Test.java modules/graphics/src/test/java/javafx/scene/Mouse3DTest.java modules/graphics/src/test/java/javafx/scene/MouseTest.java modules/graphics/src/test/java/javafx/scene/NodeTest.java modules/graphics/src/test/java/javafx/scene/Node_LocalToParentTransform_Test.java modules/graphics/src/test/java/javafx/scene/Node_LocalToSceneTransform_Test.java modules/graphics/src/test/java/javafx/scene/Node_bind_Test.java modules/graphics/src/test/java/javafx/scene/Node_cssMethods_Test.java modules/graphics/src/test/java/javafx/scene/Node_effectiveOrientation_Css_Test.java modules/graphics/src/test/java/javafx/scene/Node_effectiveOrientation_Test.java modules/graphics/src/test/java/javafx/scene/Node_hasMirroring_Test.java modules/graphics/src/test/java/javafx/scene/Node_lookup_Test.java modules/graphics/src/test/java/javafx/scene/Node_onInvalidate_Test.java modules/graphics/src/test/java/javafx/scene/Node_properties_Test.java modules/graphics/src/test/java/javafx/scene/PaneTest.java modules/graphics/src/test/java/javafx/scene/ParentTest.java modules/graphics/src/test/java/javafx/scene/Parent_cssMethods_Test.java modules/graphics/src/test/java/javafx/scene/Parent_recomputeBounds_Test.java modules/graphics/src/test/java/javafx/scene/Parent_structure_sync_Test.java modules/graphics/src/test/java/javafx/scene/PickAndContainsTest.java modules/graphics/src/test/java/javafx/scene/RegistrationTest.java modules/graphics/src/test/java/javafx/scene/SceneTest.java modules/graphics/src/test/java/javafx/scene/Scene_properties_Test.java modules/graphics/src/test/java/javafx/scene/Scenegraph_eventHandlers_Test.java modules/graphics/src/test/java/javafx/scene/StructureTest.java modules/graphics/src/test/java/javafx/scene/SubSceneTest.java modules/graphics/src/test/java/javafx/scene/bounds/BoundsPerformanceTest.java modules/graphics/src/test/java/javafx/scene/bounds/ClipBoundsTest.java modules/graphics/src/test/java/javafx/scene/bounds/EffectBoundsTest.java modules/graphics/src/test/java/javafx/scene/bounds/GroupBoundsTest.java modules/graphics/src/test/java/javafx/scene/bounds/LayoutBoundsTest.java modules/graphics/src/test/java/javafx/scene/bounds/NodeBoundsTest.java modules/graphics/src/test/java/javafx/scene/bounds/PerfNode.java modules/graphics/src/test/java/javafx/scene/bounds/ResizablePerfNode.java modules/graphics/src/test/java/javafx/scene/bounds/Transformed3DBoundsTest.java modules/graphics/src/test/java/javafx/scene/bounds/TransformedBoundsTest.java modules/graphics/src/test/java/javafx/scene/canvas/CanvasTest.java modules/graphics/src/test/java/javafx/scene/effect/BlendTest.java modules/graphics/src/test/java/javafx/scene/effect/Blend_properties_Test.java modules/graphics/src/test/java/javafx/scene/effect/BloomTest.java modules/graphics/src/test/java/javafx/scene/effect/Bloom_properties_Test.java modules/graphics/src/test/java/javafx/scene/effect/BoxBlurTest.java modules/graphics/src/test/java/javafx/scene/effect/BoxBlur_properties_Test.java modules/graphics/src/test/java/javafx/scene/effect/ColorAdjustTest.java modules/graphics/src/test/java/javafx/scene/effect/ColorAdjust_properties_Test.java modules/graphics/src/test/java/javafx/scene/effect/ColorInputTest.java modules/graphics/src/test/java/javafx/scene/effect/ColorInput_properties_Test.java modules/graphics/src/test/java/javafx/scene/effect/DisplacementMapTest.java modules/graphics/src/test/java/javafx/scene/effect/DisplacementMap_properties_Test.java modules/graphics/src/test/java/javafx/scene/effect/DistantLightTest.java modules/graphics/src/test/java/javafx/scene/effect/DistantLight_properties_Test.java modules/graphics/src/test/java/javafx/scene/effect/DropShadowTest.java modules/graphics/src/test/java/javafx/scene/effect/DropShadow_properties_Test.java modules/graphics/src/test/java/javafx/scene/effect/EffectInputTest.java modules/graphics/src/test/java/javafx/scene/effect/EffectTest.java modules/graphics/src/test/java/javafx/scene/effect/EffectsTestBase.java modules/graphics/src/test/java/javafx/scene/effect/FloatMapTest.java modules/graphics/src/test/java/javafx/scene/effect/FloatMap_properties_Test.java modules/graphics/src/test/java/javafx/scene/effect/GaussianBlurTest.java modules/graphics/src/test/java/javafx/scene/effect/GaussianBlur_properties_Test.java modules/graphics/src/test/java/javafx/scene/effect/GlowTest.java modules/graphics/src/test/java/javafx/scene/effect/Glow_properties_Test.java modules/graphics/src/test/java/javafx/scene/effect/ImageInputTest.java modules/graphics/src/test/java/javafx/scene/effect/ImageInput_properties_Test.java modules/graphics/src/test/java/javafx/scene/effect/InnerShadowTest.java modules/graphics/src/test/java/javafx/scene/effect/InnerShadow_properties_Test.java modules/graphics/src/test/java/javafx/scene/effect/LightTestBase.java modules/graphics/src/test/java/javafx/scene/effect/LightingTest.java modules/graphics/src/test/java/javafx/scene/effect/Lighting_properties_Test.java modules/graphics/src/test/java/javafx/scene/effect/MotionBlurTest.java modules/graphics/src/test/java/javafx/scene/effect/MotionBlur_properties_Test.java modules/graphics/src/test/java/javafx/scene/effect/PerspectiveTransformTest.java modules/graphics/src/test/java/javafx/scene/effect/PerspectiveTransform_properties_Test.java modules/graphics/src/test/java/javafx/scene/effect/PointLightTest.java modules/graphics/src/test/java/javafx/scene/effect/PointLight_properties_Test.java modules/graphics/src/test/java/javafx/scene/effect/ReflectionTest.java modules/graphics/src/test/java/javafx/scene/effect/Reflection_properties_Test.java modules/graphics/src/test/java/javafx/scene/effect/SepiaToneTest.java modules/graphics/src/test/java/javafx/scene/effect/SepiaTone_properties_Test.java modules/graphics/src/test/java/javafx/scene/effect/ShadowTest.java modules/graphics/src/test/java/javafx/scene/effect/Shadow_properties_Test.java modules/graphics/src/test/java/javafx/scene/effect/SpotLightTest.java modules/graphics/src/test/java/javafx/scene/effect/SpotLight_properties_Test.java modules/graphics/src/test/java/javafx/scene/image/ImageTest.java modules/graphics/src/test/java/javafx/scene/image/ImageViewConfig.java modules/graphics/src/test/java/javafx/scene/image/ImageViewTest.java modules/graphics/src/test/java/javafx/scene/image/ImageView_cssMethods_Test.java modules/graphics/src/test/java/javafx/scene/image/ImageView_verifyBounds_Test.java modules/graphics/src/test/java/javafx/scene/image/ImageView_verifyContains_Test.java modules/graphics/src/test/java/javafx/scene/image/PixelFormatTest.java modules/graphics/src/test/java/javafx/scene/image/TestImages.java modules/graphics/src/test/java/javafx/scene/input/ClipboardContentTest.java modules/graphics/src/test/java/javafx/scene/input/ContextMenuEventTest.java modules/graphics/src/test/java/javafx/scene/input/DataFormatTest.java modules/graphics/src/test/java/javafx/scene/input/DragAndDropTest.java modules/graphics/src/test/java/javafx/scene/input/GestureEventTest.java modules/graphics/src/test/java/javafx/scene/input/InputEventTest.java modules/graphics/src/test/java/javafx/scene/input/InputMethodEventTest.java modules/graphics/src/test/java/javafx/scene/input/InputMethodTextRunTest.java modules/graphics/src/test/java/javafx/scene/input/KeyCodeTest.java modules/graphics/src/test/java/javafx/scene/input/KeyCombinationTest.java modules/graphics/src/test/java/javafx/scene/input/KeyCombination_objectMethods_Test.java modules/graphics/src/test/java/javafx/scene/input/KeyEventTest.java modules/graphics/src/test/java/javafx/scene/input/MouseDragEventTest.java modules/graphics/src/test/java/javafx/scene/input/MouseEventTest.java modules/graphics/src/test/java/javafx/scene/input/PasteboardTest.java modules/graphics/src/test/java/javafx/scene/input/RotateEventTest.java modules/graphics/src/test/java/javafx/scene/input/ScrollEventTest.java modules/graphics/src/test/java/javafx/scene/input/SwipeEventTest.java modules/graphics/src/test/java/javafx/scene/input/TestNode.java modules/graphics/src/test/java/javafx/scene/input/TouchEventTest.java modules/graphics/src/test/java/javafx/scene/input/UTITest.java modules/graphics/src/test/java/javafx/scene/input/ZoomEventTest.java modules/graphics/src/test/java/javafx/scene/layout/AnchorPaneTest.java modules/graphics/src/test/java/javafx/scene/layout/BackgroundFillTest.java modules/graphics/src/test/java/javafx/scene/layout/BackgroundImageTest.java modules/graphics/src/test/java/javafx/scene/layout/BackgroundPositionTest.java modules/graphics/src/test/java/javafx/scene/layout/BackgroundSizeTest.java modules/graphics/src/test/java/javafx/scene/layout/BackgroundTest.java modules/graphics/src/test/java/javafx/scene/layout/BaselineTest.java modules/graphics/src/test/java/javafx/scene/layout/BorderPaneTest.java modules/graphics/src/test/java/javafx/scene/layout/BorderStrokeStyleTest.java modules/graphics/src/test/java/javafx/scene/layout/BorderStrokeTest.java modules/graphics/src/test/java/javafx/scene/layout/BorderTest.java modules/graphics/src/test/java/javafx/scene/layout/BorderWidthsTest.java modules/graphics/src/test/java/javafx/scene/layout/CornerRadiiTest.java modules/graphics/src/test/java/javafx/scene/layout/FlowPaneTest.java modules/graphics/src/test/java/javafx/scene/layout/GridPaneTest.java modules/graphics/src/test/java/javafx/scene/layout/HBoxTest.java modules/graphics/src/test/java/javafx/scene/layout/MockBiased.java modules/graphics/src/test/java/javafx/scene/layout/MockNode.java modules/graphics/src/test/java/javafx/scene/layout/MockParent.java modules/graphics/src/test/java/javafx/scene/layout/MockRegion.java modules/graphics/src/test/java/javafx/scene/layout/MockResizable.java modules/graphics/src/test/java/javafx/scene/layout/RegionCSSTest.java modules/graphics/src/test/java/javafx/scene/layout/RegionPickTest.java modules/graphics/src/test/java/javafx/scene/layout/RegionTest.java modules/graphics/src/test/java/javafx/scene/layout/ResizabilityTest.java modules/graphics/src/test/java/javafx/scene/layout/StackPaneTest.java modules/graphics/src/test/java/javafx/scene/layout/TilePaneTest.java modules/graphics/src/test/java/javafx/scene/layout/VBoxTest.java modules/graphics/src/test/java/javafx/scene/paint/ColorTest.java modules/graphics/src/test/java/javafx/scene/paint/ImagePatternTest.java modules/graphics/src/test/java/javafx/scene/paint/LinearGradientTest.java modules/graphics/src/test/java/javafx/scene/paint/PhongMaterialTest.java modules/graphics/src/test/java/javafx/scene/paint/RadialGradientTest.java modules/graphics/src/test/java/javafx/scene/paint/StopListTest.java modules/graphics/src/test/java/javafx/scene/paint/StopTest.java modules/graphics/src/test/java/javafx/scene/shape/ArcTest.java modules/graphics/src/test/java/javafx/scene/shape/ArcToTest.java modules/graphics/src/test/java/javafx/scene/shape/ArcTo_onInvalidate_Test.java modules/graphics/src/test/java/javafx/scene/shape/ArcTo_properties_Test.java modules/graphics/src/test/java/javafx/scene/shape/Arc_onInvalidate_Test.java modules/graphics/src/test/java/javafx/scene/shape/Arc_properties_Test.java modules/graphics/src/test/java/javafx/scene/shape/BoundsTest.java modules/graphics/src/test/java/javafx/scene/shape/BoxTest.java modules/graphics/src/test/java/javafx/scene/shape/CircleTest.java modules/graphics/src/test/java/javafx/scene/shape/Circle_onInvalidate_Test.java modules/graphics/src/test/java/javafx/scene/shape/Circle_properties_Test.java modules/graphics/src/test/java/javafx/scene/shape/ClosePathTest.java modules/graphics/src/test/java/javafx/scene/shape/CubicCurveTest.java modules/graphics/src/test/java/javafx/scene/shape/CubicCurveToTest.java modules/graphics/src/test/java/javafx/scene/shape/CubicCurveTo_onInvalidate_Test.java modules/graphics/src/test/java/javafx/scene/shape/CubicCurveTo_properties_Test.java modules/graphics/src/test/java/javafx/scene/shape/CubicCurve_onInvalidate_Test.java modules/graphics/src/test/java/javafx/scene/shape/CubicCurve_properties_Test.java modules/graphics/src/test/java/javafx/scene/shape/CylinderTest.java modules/graphics/src/test/java/javafx/scene/shape/EllipseTest.java modules/graphics/src/test/java/javafx/scene/shape/Ellipse_onInvalidate_Test.java modules/graphics/src/test/java/javafx/scene/shape/Ellipse_properties_Test.java modules/graphics/src/test/java/javafx/scene/shape/HLineToTest.java modules/graphics/src/test/java/javafx/scene/shape/HLineTo_onInvalidate_Test.java modules/graphics/src/test/java/javafx/scene/shape/HLineTo_properties_Test.java modules/graphics/src/test/java/javafx/scene/shape/LineTest.java modules/graphics/src/test/java/javafx/scene/shape/LineToTest.java modules/graphics/src/test/java/javafx/scene/shape/LineTo_onInvalidate_Test.java modules/graphics/src/test/java/javafx/scene/shape/LineTo_properties_Test.java modules/graphics/src/test/java/javafx/scene/shape/Line_onInvalidate_Test.java modules/graphics/src/test/java/javafx/scene/shape/Line_properties_Test.java modules/graphics/src/test/java/javafx/scene/shape/MoveToTest.java modules/graphics/src/test/java/javafx/scene/shape/MoveTo_onInvalidate_Test.java modules/graphics/src/test/java/javafx/scene/shape/MoveTo_properties_Test.java modules/graphics/src/test/java/javafx/scene/shape/PathTest.java modules/graphics/src/test/java/javafx/scene/shape/Path_onInvalidate_Test.java modules/graphics/src/test/java/javafx/scene/shape/Path_properties_Test.java modules/graphics/src/test/java/javafx/scene/shape/PolygonTest.java modules/graphics/src/test/java/javafx/scene/shape/PolylineTest.java modules/graphics/src/test/java/javafx/scene/shape/QuadCurveTest.java modules/graphics/src/test/java/javafx/scene/shape/QuadCurveToTest.java modules/graphics/src/test/java/javafx/scene/shape/QuadCurveTo_properties_Test.java modules/graphics/src/test/java/javafx/scene/shape/QuadCurve_onInvalidate_Test.java modules/graphics/src/test/java/javafx/scene/shape/QuadCurve_properties_Test.java modules/graphics/src/test/java/javafx/scene/shape/RectangleTest.java modules/graphics/src/test/java/javafx/scene/shape/Rectangle_cssMethods_Test.java modules/graphics/src/test/java/javafx/scene/shape/Rectangle_onInvalidate_Test.java modules/graphics/src/test/java/javafx/scene/shape/Rectangle_properties_Test.java modules/graphics/src/test/java/javafx/scene/shape/SVGPathTest.java modules/graphics/src/test/java/javafx/scene/shape/SVGPath_onInvalidate_Test.java modules/graphics/src/test/java/javafx/scene/shape/SVGPath_properties_Test.java modules/graphics/src/test/java/javafx/scene/shape/ShapeTest.java modules/graphics/src/test/java/javafx/scene/shape/Shape_cssMethods_Test.java modules/graphics/src/test/java/javafx/scene/shape/Shape_onInvalidate_Test.java modules/graphics/src/test/java/javafx/scene/shape/Shape_properties_Test.java modules/graphics/src/test/java/javafx/scene/shape/SphereTest.java modules/graphics/src/test/java/javafx/scene/shape/TestUtils.java modules/graphics/src/test/java/javafx/scene/shape/TriangleMeshTest.java modules/graphics/src/test/java/javafx/scene/shape/VLineToTest.java modules/graphics/src/test/java/javafx/scene/shape/VLineTo_onInvalidate_Test.java modules/graphics/src/test/java/javafx/scene/shape/VLineTo_properties_Test.java modules/graphics/src/test/java/javafx/scene/text/FontPostureTest.java modules/graphics/src/test/java/javafx/scene/text/FontTest.java modules/graphics/src/test/java/javafx/scene/text/FontWeightTest.java modules/graphics/src/test/java/javafx/scene/text/TextTest.java modules/graphics/src/test/java/javafx/scene/text/Text_cssMethods_Test.java modules/graphics/src/test/java/javafx/scene/text/Text_onInvalidate_Test.java modules/graphics/src/test/java/javafx/scene/transform/AffineOperationsTest.java modules/graphics/src/test/java/javafx/scene/transform/AffineTest.java modules/graphics/src/test/java/javafx/scene/transform/Affine_onInvalidate_Test.java modules/graphics/src/test/java/javafx/scene/transform/MatrixTypeTest.java modules/graphics/src/test/java/javafx/scene/transform/RotateTest.java modules/graphics/src/test/java/javafx/scene/transform/Rotate_onInvalidate_Test.java modules/graphics/src/test/java/javafx/scene/transform/ScaleTest.java modules/graphics/src/test/java/javafx/scene/transform/Scale_onInvalidate_Test.java modules/graphics/src/test/java/javafx/scene/transform/ShearTest.java modules/graphics/src/test/java/javafx/scene/transform/Shear_onInvalidate_Test.java modules/graphics/src/test/java/javafx/scene/transform/TransformChangedEventTest.java modules/graphics/src/test/java/javafx/scene/transform/TransformOperationsTest.java modules/graphics/src/test/java/javafx/scene/transform/TransformTest.java modules/graphics/src/test/java/javafx/scene/transform/Transform_properties_Test.java modules/graphics/src/test/java/javafx/scene/transform/TranslateTest.java modules/graphics/src/test/java/javafx/scene/transform/Translate_onInvalidate_Test.java modules/graphics/src/test/java/javafx/stage/CommonDialogsTest.java modules/graphics/src/test/java/javafx/stage/PopupTest.java modules/graphics/src/test/java/javafx/stage/Popup_parentWindow_Test.java modules/graphics/src/test/java/javafx/stage/ScreenTest.java modules/graphics/src/test/java/javafx/stage/StageMutabilityTest.java modules/graphics/src/test/java/javafx/stage/StageTest.java modules/graphics/src/test/java/javafx/stage/WindowEventTest.java modules/graphics/src/test/java/javafx/stage/WindowTest.java modules/graphics/src/test/java/test/javafx/print/JobSettingsTest.java modules/graphics/src/test/java/test/javafx/print/PrinterJobTest.java modules/graphics/src/test/resources/com/sun/javafx/css/HonorDeveloperSettingsTest_AUTHOR.css modules/graphics/src/test/resources/com/sun/javafx/css/HonorDeveloperSettingsTest_UA.css modules/graphics/src/test/resources/com/sun/javafx/css/RT-30953-2.2.21.bss modules/graphics/src/test/resources/com/sun/javafx/css/RT-30953-2.2.4.bss modules/graphics/src/test/resources/com/sun/javafx/css/RT-30953-2.2.45.bss modules/graphics/src/test/resources/com/sun/javafx/css/RT-30953.css modules/graphics/src/test/resources/com/sun/javafx/css/converters/some.txt modules/graphics/src/test/resources/javafx/scene/image/test.png modules/graphics/src/test/resources/javafx/scene/layout/RegionCSSTest.css modules/graphics/src/test/resources/javafx/scene/layout/blue.png modules/graphics/src/test/resources/javafx/scene/layout/center-btn.png modules/graphics/src/test/resources/javafx/scene/layout/green.png modules/graphics/src/test/resources/javafx/scene/layout/red.png modules/graphics/src/test/resources/javafx/scene/layout/yellow.png modules/graphics/src/test/resources/javafx/scene/paint/javafx.png
diffstat 760 files changed, 98910 insertions(+), 98933 deletions(-) [+]
line wrap: on
line diff
--- a/.idea/graphics.iml	Mon Aug 12 14:27:11 2013 -0700
+++ b/.idea/graphics.iml	Tue Aug 13 08:26:34 2013 +0100
@@ -11,8 +11,6 @@
       <sourceFolder url="file://$MODULE_DIR$/modules/graphics/build/resources/jsl-prism" isTestSource="false" />
       <sourceFolder url="file://$MODULE_DIR$/modules/graphics/src/test/java" isTestSource="true" />
       <sourceFolder url="file://$MODULE_DIR$/modules/graphics/src/test/resources" isTestSource="true" />
-      <sourceFolder url="file://$MODULE_DIR$/modules/graphics/src/stub/java" isTestSource="true" />
-      <sourceFolder url="file://$MODULE_DIR$/modules/graphics/src/stub/resources" isTestSource="true" />
       <excludeFolder url="file://$MODULE_DIR$/modules/graphics/build/classes" />
       <excludeFolder url="file://$MODULE_DIR$/modules/graphics/build/dependency-cache" />
       <excludeFolder url="file://$MODULE_DIR$/modules/graphics/build/libs" />
--- a/build.gradle	Mon Aug 12 14:27:11 2013 -0700
+++ b/build.gradle	Tue Aug 13 08:26:34 2013 +0100
@@ -1248,38 +1248,17 @@
     assemble.dependsOn nativeDecora
     processResources.dependsOn processDecoraShaders, processPrismShaders
 
-    // The graphics project needs to completely replace the "test" task because the
-    // tests have been split among the normal tests and the stub tests. I want to make sure
-    // that invoking "graphics:test" runs both of these tasks, rather than only one of them.
-    tasks.replace("test")
     test {
-        group = "Verification"
-        description = "Runs all the unit tests for Graphics"
-    }
-    task testWithoutStub(type: Test, dependsOn: ":graphics:compileJava", group: "Verification") {
-        jvmArgs "-Djava.ext.dirs="
-        classpath = sourceSets.test.runtimeClasspath
-        if (rootProject.BINARY_STUB != null) classpath += rootProject.BINARY_STUB
-    }
-    task testWithStub(type: Test, dependsOn: [":graphics:compileJava"], group: "Verification") {
         jvmArgs "-Djava.ext.dirs=", "-Djavafx.toolkit=com.sun.javafx.pgstub.StubToolkit", "-DCSS_META_DATA_TEST_DIR=${file('$buildDir/classes/main/javafx')}"
-        classpath = sourceSets.stub.runtimeClasspath + sourceSets.main.runtimeClasspath
-        if (rootProject.BINARY_STUB != null) classpath += rootProject.BINARY_STUB
-        testClassesDir = file("$buildDir/classes/stub")
-        testResultsDir = file("$buildDir/stub-results")
-        testReportDir = file("$buildDir/reports/stub")
-    }
-    [testWithoutStub, testWithStub].each { test ->
-        test.enableAssertions = true
-        test.testLogging.exceptionFormat = "full"
-        test.scanForTestClasses = false
-        test.include "**/*Test.*"
-        test.exclude "**/*Abstract*.*"
+        enableAssertions = true
+        testLogging.exceptionFormat = "full"
+        scanForTestClasses = false
+        include "**/*Test.*"
+        exclude "**/*Abstract*.*"
         if (BUILD_CLOSED && DO_JCOV) {
             addJCov(project, test)
         }
     }
-    test.dependsOn testWithoutStub, testWithStub
 
     // To enable the IDEs to all be happy (no red squiggles) we need to have the libraries
     // available in some known location. Maybe in the future the Gradle plugins to each
--- a/modules/graphics/src/stub/java/com/sun/javafx/UtilsTest.java	Mon Aug 12 14:27:11 2013 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,136 +0,0 @@
-/*
- * Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * This code is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License version 2 only, as
- * published by the Free Software Foundation.  Oracle designates this
- * particular file as subject to the "Classpath" exception as provided
- * by Oracle in the LICENSE file that accompanied this code.
- *
- * This code is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
- * version 2 for more details (a copy is included in the LICENSE file that
- * accompanied this code).
- *
- * You should have received a copy of the GNU General Public License version
- * 2 along with this work; if not, write to the Free Software Foundation,
- * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
- *
- * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
- * or visit www.oracle.com if you need additional information or have any
- * questions.
- */
-
-package com.sun.javafx;
-
-import static org.junit.Assert.assertEquals;
-
-import java.util.Arrays;
-
-import org.junit.Test;
-
-public class UtilsTest {
-    @Test
-    public void testSplit() {
-        // normal use case
-        String s = "VK_ENTER";
-        String[] split = Utils.split(s, "_");
-        assertEquals("Array content: " + Arrays.toString(split),2, split.length);
-        assertEquals("VK", split[0]);
-        assertEquals("ENTER", split[1]);
-
-        // normal use case
-        s = "VK_LEFT_ARROW";
-        split = Utils.split(s, "_");
-        assertEquals("Array content: " + Arrays.toString(split),3, split.length);
-        assertEquals("VK", split[0]);
-        assertEquals("LEFT", split[1]);
-        assertEquals("ARROW", split[2]);
-
-        // split with same string as separator - expect empty array
-        s = "VK_LEFT_ARROW";
-        split = Utils.split(s, "VK_LEFT_ARROW");
-        assertEquals("Array content: " + Arrays.toString(split),0, split.length);
-
-        // split with longer string as separator - expect empty array
-        s = "VK_LEFT_ARROW";
-        split = Utils.split(s, "VK_LEFT_ARROW_EXT");
-        assertEquals("Array content: " + Arrays.toString(split),0, split.length);
-    }
-    
-    @Test
-    public void testConvertUnicode() {
-        String s = "";
-        String r = Utils.convertUnicode(s);
-        assertEquals("", r);
-        
-        /*String*/ s = "test";
-        /*String*/ r = Utils.convertUnicode(s);
-        assertEquals("test", r);
-
-        /*String*/ s = "hi\\u1234";
-        /*String*/ r = Utils.convertUnicode(s);
-        assertEquals("hi\u1234", r);
-
-        /*String*/ s = "\\u5678";
-        /*String*/ r = Utils.convertUnicode(s);
-        assertEquals("\u5678", r);
-        
-        /*String*/ s = "hi\\u1234there\\u432112";
-        /*String*/ r = Utils.convertUnicode(s);
-        assertEquals("hi\u1234there\u432112", r);
-        
-        /*String*/ s = "Hello\u5678There";
-        /*String*/ r = Utils.convertUnicode(s);
-        assertEquals("Hello\u5678There", r);
-        
-        /*String*/ s = "\\this\\is\\a\\windows\\path";
-        /*String*/ r = Utils.convertUnicode(s);
-        assertEquals("\\this\\is\\a\\windows\\path", r);
-        
-        /*String*/ s = "\\this\\is\\a\\12\\windows\\path";
-        /*String*/ r = Utils.convertUnicode(s);
-        assertEquals("\\this\\is\\a\\12\\windows\\path", r);
-
-        /*String*/ s = "u12u12";
-        /*String*/ r = Utils.convertUnicode(s);
-        assertEquals("u12u12", r);
-        
-        /*String*/ s = "hello\nu1234\n";
-        /*String*/ r = Utils.convertUnicode(s);
-        assertEquals("hello\nu1234\n", r);
-    }
-
-    @Test
-    public void testConvertUnicodeFail2_2() {
-
-        //Error case - null
-        //String s = null;
-        //String r = Utils.convertUnicode(s);
-        //assertEquals("", r);
-        
-        //String s = "\\";
-        //String r = Utils.convertUnicode(s);
-        //assertEquals("\\", r);
-        
-        //Error case - no length
-        ///*String*/ s = "hi\\u";
-        ///*String*/ r = Utils.convertUnicode(s);
-        //assertEquals("hi\\u", r);
-    }
-
-    @Test
-    public void testConvertUnicodeWrong2_2() {
-        
-        //Error case - short length
-        String s = "hi\\u12";
-        String r = Utils.convertUnicode(s);
-        //assertEquals("hi\\u12", r);
-        
-        /*String*/ s = "\\this\\is\\a\\umm\\windows\\path";
-        /*String*/ r = Utils.convertUnicode(s);
-        //assertEquals("\\this\\is\\a\\umm\\windows\\path", r);
-    }
-}
--- a/modules/graphics/src/stub/java/com/sun/javafx/Utils_getScreenForPoint_Test.java	Mon Aug 12 14:27:11 2013 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,99 +0,0 @@
-/*
- * Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * This code is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License version 2 only, as
- * published by the Free Software Foundation.  Oracle designates this
- * particular file as subject to the "Classpath" exception as provided
- * by Oracle in the LICENSE file that accompanied this code.
- *
- * This code is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
- * version 2 for more details (a copy is included in the LICENSE file that
- * accompanied this code).
- *
- * You should have received a copy of the GNU General Public License version
- * 2 along with this work; if not, write to the Free Software Foundation,
- * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
- *
- * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
- * or visit www.oracle.com if you need additional information or have any
- * questions.
- */
-
-package com.sun.javafx;
-
-import com.sun.javafx.pgstub.StubToolkit;
-import com.sun.javafx.pgstub.StubToolkit.ScreenConfiguration;
-import com.sun.javafx.tk.Toolkit;
-import java.util.Arrays;
-import java.util.Collection;
-import javafx.stage.Screen;
-import org.junit.After;
-import org.junit.Assert;
-import org.junit.Before;
-import org.junit.Test;
-import org.junit.runner.RunWith;
-import org.junit.runners.Parameterized;
-import org.junit.runners.Parameterized.Parameters;
-
-@RunWith(Parameterized.class)
-public final class Utils_getScreenForPoint_Test {
-    private final double x;
-    private final double y;
-    private final int expectedScreenIndex;
-
-    @Parameters
-    public static Collection data() {
-        return Arrays.asList(
-                new Object[] {
-                    config(100, 100, 0),
-                    config(2000, 200, 1),
-                    config(1920, 0, 0),
-                    config(1920, 200, 1),
-                    config(1920, 1100, 0),
-                    config(2020, 50, 0),
-                    config(2020, 70, 1),
-                    config(1970, -50, 0),
-                    config(2170, -50, 1),
-                    config(2020, 1150, 1),
-                    config(2020, 1170, 0),
-                    config(1970, 1250, 0),
-                    config(2170, 1250, 1)
-                });
-    }
-
-    public Utils_getScreenForPoint_Test(
-            final double x, final double y, final int expectedScreenIndex) {
-        this.x = x;
-        this.y = y;
-        this.expectedScreenIndex = expectedScreenIndex;
-    }
-
-    @Before
-    public void setUp() {
-        ((StubToolkit) Toolkit.getToolkit()).setScreens(
-                new ScreenConfiguration(0, 0, 1920, 1200, 0, 0, 1920, 1172, 96),
-                new ScreenConfiguration(1920, 160, 1440, 900,
-                                        1920, 160, 1440, 900, 96));
-    }
-
-    @After
-    public void tearDown() {
-        ((StubToolkit) Toolkit.getToolkit()).resetScreens();
-    }
-
-    @Test
-    public void test() {
-        final Screen selectedScreen = Utils.getScreenForPoint(x, y);
-        Assert.assertEquals(expectedScreenIndex,
-                            Screen.getScreens().indexOf(selectedScreen));
-    }
-
-    private static Object[] config(final double x, final double y,
-                                   final int expectedScreenIndex) {
-        return new Object[] { x, y, expectedScreenIndex };
-    }
-}
--- a/modules/graphics/src/stub/java/com/sun/javafx/Utils_getScreenForRectangle_Test.java	Mon Aug 12 14:27:11 2013 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,102 +0,0 @@
-/*
- * Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * This code is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License version 2 only, as
- * published by the Free Software Foundation.  Oracle designates this
- * particular file as subject to the "Classpath" exception as provided
- * by Oracle in the LICENSE file that accompanied this code.
- *
- * This code is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
- * version 2 for more details (a copy is included in the LICENSE file that
- * accompanied this code).
- *
- * You should have received a copy of the GNU General Public License version
- * 2 along with this work; if not, write to the Free Software Foundation,
- * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
- *
- * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
- * or visit www.oracle.com if you need additional information or have any
- * questions.
- */
-
-package com.sun.javafx;
-
-import com.sun.javafx.pgstub.StubToolkit;
-import com.sun.javafx.pgstub.StubToolkit.ScreenConfiguration;
-import com.sun.javafx.tk.Toolkit;
-import java.util.Arrays;
-import java.util.Collection;
-import javafx.geometry.Rectangle2D;
-import javafx.stage.Screen;
-import org.junit.After;
-import org.junit.Assert;
-import org.junit.Before;
-import org.junit.Test;
-import org.junit.runner.RunWith;
-import org.junit.runners.Parameterized;
-import org.junit.runners.Parameterized.Parameters;
-
-@RunWith(Parameterized.class)
-public final class Utils_getScreenForRectangle_Test {
-    private final Rectangle2D rectangle;
-    private final int expectedScreenIndex;
-
-    @Parameters
-    public static Collection data() {
-        return Arrays.asList(
-                new Object[] {
-                    config(100, 100, 100, 100, 0),
-                    config(2020, 200, 100, 100, 1),
-                    config(1920 - 75, 200, 100, 100, 0),
-                    config(1920 - 25, 200, 100, 100, 1),
-                    config(0, 0, 3360, 1200, 0),
-                    config(2020, 50, 100, 100, 1),
-                    config(2020, 70, 100, 100, 1),
-                    config(1970, -50, 100, 100, 0),
-                    config(2170, -50, 100, 100, 1),
-                    config(2020, 1150, 100, 100, 1),
-                    config(2020, 1170, 100, 100, 0),
-                    config(1970, 1250, 100, 100, 0),
-                    config(2170, 1250, 100, 100, 1)
-                });
-    }
-
-    public Utils_getScreenForRectangle_Test(
-            final Rectangle2D rectangle, final int expectedScreenIndex) {
-        this.rectangle = rectangle;
-        this.expectedScreenIndex = expectedScreenIndex;
-    }
-
-    @Before
-    public void setUp() {
-        ((StubToolkit) Toolkit.getToolkit()).setScreens(
-                new ScreenConfiguration(0, 0, 1920, 1200, 0, 0, 1920, 1172, 96),
-                new ScreenConfiguration(1920, 160, 1440, 900,
-                                        1920, 160, 1440, 900, 96));
-    }
-
-    @After
-    public void tearDown() {
-        ((StubToolkit) Toolkit.getToolkit()).resetScreens();
-    }
-
-    @Test
-    public void test() {
-        final Screen selectedScreen = Utils.getScreenForRectangle(rectangle);
-        Assert.assertEquals(expectedScreenIndex,
-                            Screen.getScreens().indexOf(selectedScreen));
-    }
-
-    private static Object[] config(final double x, final double y,
-                                   final double width, final double height,
-                                   final int expectedScreenIndex) {
-        return new Object[] {
-            new Rectangle2D(x, y, width, height),
-            expectedScreenIndex
-        };
-    }
-}
--- a/modules/graphics/src/stub/java/com/sun/javafx/WeakReferenceMapTest.java	Mon Aug 12 14:27:11 2013 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,92 +0,0 @@
-/*
- * Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * This code is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License version 2 only, as
- * published by the Free Software Foundation.  Oracle designates this
- * particular file as subject to the "Classpath" exception as provided
- * by Oracle in the LICENSE file that accompanied this code.
- *
- * This code is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
- * version 2 for more details (a copy is included in the LICENSE file that
- * accompanied this code).
- *
- * You should have received a copy of the GNU General Public License version
- * 2 along with this work; if not, write to the Free Software Foundation,
- * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
- *
- * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
- * or visit www.oracle.com if you need additional information or have any
- * questions.
- */
-
-package com.sun.javafx;
-
-import static org.junit.Assert.assertEquals;
-import static org.junit.Assert.assertNull;
-
-import org.junit.Test;
-
-public class WeakReferenceMapTest {
-    @Test
-    public void testAdd() {
-        WeakReferenceMap m = new WeakReferenceMap();
-        String s = new String("Wow!");
-        m.put(s, "value");
-        assertEquals(1, m.size());
-    }
-
-    @Test
-    public void testRemove() {
-        WeakReferenceMap m = new WeakReferenceMap();
-        String a = new String("a");
-        m.put(a, "a-value");
-        String b = new String("b");
-        m.put(b, "b-value");
-        String c = new String("c");
-        m.put(c, "c-value");
-
-        assertEquals(3, m.size());
-        m.remove(a);
-        m.remove(c);
-        assertEquals(1, m.size());
-    }
-
-    @Test
-    public void testCleanup() {
-        WeakReferenceMap m = new WeakReferenceMap();
-        String a = new String("a");
-        m.put(a, "a-value");
-        String b = new String("b");
-        m.put(b, "b-value");
-        String c = new String("c");
-        m.put(c, "c-value");
-
-        assertEquals(3, m.size());
-        a = null;
-        c = null;
-        System.gc();
-        System.gc();
-        System.gc(); // hope that worked!
-        assertEquals(1, m.size());
-    }
-
-    @Test
-    public void testGet() {
-        WeakReferenceMap m = new WeakReferenceMap();
-        String a = new String("a");
-        m.put(a, "a-value");
-        String b = new String("b");
-        m.put(b, "b-value");
-        String c = new String("c");
-        m.put(c, "c-value");
-
-        assertEquals("a-value", m.get(a));
-        assertEquals("b-value", m.get(b));
-        assertEquals("c-value", m.get(c));
-        assertNull(m.get("z"));
-    }
-}
--- a/modules/graphics/src/stub/java/com/sun/javafx/WeakReferenceQueueTest.java	Mon Aug 12 14:27:11 2013 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,208 +0,0 @@
-/*
- * Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * This code is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License version 2 only, as
- * published by the Free Software Foundation.  Oracle designates this
- * particular file as subject to the "Classpath" exception as provided
- * by Oracle in the LICENSE file that accompanied this code.
- *
- * This code is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
- * version 2 for more details (a copy is included in the LICENSE file that
- * accompanied this code).
- *
- * You should have received a copy of the GNU General Public License version
- * 2 along with this work; if not, write to the Free Software Foundation,
- * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
- *
- * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
- * or visit www.oracle.com if you need additional information or have any
- * questions.
- */
-
-package com.sun.javafx;
-
-import static org.junit.Assert.assertEquals;
-import static org.junit.Assert.assertFalse;
-import static org.junit.Assert.assertTrue;
-
-import java.util.Iterator;
-
-import org.junit.Test;
-
-public class WeakReferenceQueueTest {
-    @Test
-    public void testAdd() {
-        WeakReferenceQueue q = new WeakReferenceQueue();
-        String s = new String("Wow!");
-        q.add(s);
-        assertEquals(1, q.size);
-    }
-    
-    @Test
-    public void testRemove() {
-        WeakReferenceQueue q = new WeakReferenceQueue();
-        String a = new String("a");
-        q.add(a);
-        String b = new String("b");
-        q.add(b);
-        String c = new String("c");
-        q.add(c);
-        
-        assertEquals(3, q.size);
-        q.remove(a);
-        q.remove(c);
-        assertEquals(1, q.size);
-    }
-    
-    @Test
-    public void testCleanup() {
-        WeakReferenceQueue q = new WeakReferenceQueue();
-        String a = new String("a");
-        q.add(a);
-        String b = new String("b");
-        q.add(b);
-        String c = new String("c");
-        q.add(c);
-        
-        assertEquals(3, q.size);
-        a = null;
-        c = null;
-        tryGCReallyHard();
-        q.cleanup();
-        assertEquals(1, q.size);
-    }
-    
-    @Test
-    public void testIterator() {
-        WeakReferenceQueue q = new WeakReferenceQueue();
-        String a = new String("a");
-        q.add(a);
-        String b = new String("b");
-        q.add(b);
-        String c = new String("c");
-        q.add(c);
-        
-        // This part of the test requires knowledge that iteration
-        // is from last to first
-        Iterator itr = q.iterator();
-        assertTrue(itr.hasNext());
-        assertEquals(c, itr.next());
-        assertTrue(itr.hasNext());
-        assertEquals(b, itr.next());
-        assertTrue(itr.hasNext());
-        assertEquals(a, itr.next());
-        assertFalse(itr.hasNext());
-        
-        // and for good measure do it again without calling hasNext just
-        // to make sure calling hasNext isn't a requirement
-        itr = q.iterator();
-        assertEquals(c, itr.next());
-        assertEquals(b, itr.next());
-        assertEquals(a, itr.next());
-    }
-    
-    @Test
-    public void testEmptyIterator() {
-        WeakReferenceQueue q = new WeakReferenceQueue();
-        Iterator itr = q.iterator();
-        assertFalse(itr.hasNext());
-    }
-    
-    @Test
-    public void testIteratorRemove() {
-        WeakReferenceQueue q = new WeakReferenceQueue();
-        String a = new String("a");
-        q.add(a);
-        String b = new String("b");
-        q.add(b);
-        String c = new String("c");
-        q.add(c);
-        
-        Iterator itr = q.iterator();
-        itr.next(); // gives me "c"
-        itr.remove();
-        assertEquals(2, q.size);
-        itr.next(); // gives me "b"
-        itr.remove();
-        assertEquals(1, q.size);
-        itr.next(); // gives me "a"
-        itr.remove();
-        assertEquals(0, q.size);
-        
-        q.add(a);
-        q.add(b);
-        q.add(c);
-        itr = q.iterator();
-        itr.next();
-        itr.next(); // gives me "b"
-        itr.remove();
-        
-        itr = q.iterator();
-        assertEquals(c, itr.next());
-        assertEquals(a, itr.next());
-    }
-    
-    @Test
-    public void testIteratingOverSparseQueue() {
-        WeakReferenceQueue q = new WeakReferenceQueue();
-        String a = new String("a");
-        q.add(a);
-        String b = new String("b");
-        q.add(b);
-        String c = new String("c");
-        q.add(c);
-        
-        assertEquals(3, q.size);
-        a = null;
-        c = null;
-        tryGCReallyHard();
-        q.cleanup();
-
-        Iterator itr = q.iterator();
-        assertEquals(b, itr.next());
-        assertFalse(itr.hasNext());
-    }
-
-    @Test
-    public void testIteratingOverSparseQueueWithoutCleanup() {
-        WeakReferenceQueue q = new WeakReferenceQueue();
-        String a = new String("a");
-        q.add(a);
-        String b = new String("b");
-        q.add(b);
-        String c = new String("c");
-        q.add(c);
-
-        assertEquals(3, q.size);
-        a = null;
-        c = null;
-        tryGCReallyHard();
-
-        Iterator itr = q.iterator();
-        assertEquals(b, itr.next());
-        assertFalse(itr.hasNext());
-    }
-
-    private void tryGCReallyHard() {
-        // produce some garbage to increase the need of performing gc
-        for (int i = 0; i < 100000; i++) {
-            String s = new String("GARBAGE");
-        }
-
-        // now, yell at the VM to run gc
-        for (int i = 0; i < 10; i++) {
-            System.gc();
-            System.gc();
-            System.gc();
-        }
-
-        // finally, give the VM some idle time to perform gc
-        try { Thread.sleep(100); } catch (InterruptedException e) {}
-
-        // hope that worked!
-    }
-}
--- a/modules/graphics/src/stub/java/com/sun/javafx/css/BooleanTypeTest.java	Mon Aug 12 14:27:11 2013 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,67 +0,0 @@
-/*
- * Copyright (c) 2010, 2013, Oracle and/or its affiliates. All rights reserved.
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * This code is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License version 2 only, as
- * published by the Free Software Foundation.  Oracle designates this
- * particular file as subject to the "Classpath" exception as provided
- * by Oracle in the LICENSE file that accompanied this code.
- *
- * This code is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
- * version 2 for more details (a copy is included in the LICENSE file that
- * accompanied this code).
- *
- * You should have received a copy of the GNU General Public License version
- * 2 along with this work; if not, write to the Free Software Foundation,
- * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
- *
- * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
- * or visit www.oracle.com if you need additional information or have any
- * questions.
- */
-
-package com.sun.javafx.css;
-
-import static org.junit.Assert.assertEquals;
-import javafx.css.ParsedValue;
-import javafx.scene.text.Font;
-
-import org.junit.Test;
-
-import com.sun.javafx.css.converters.BooleanConverter;
-
-
-public class BooleanTypeTest {
-
-    public BooleanTypeTest() {
-    }
-
-    /**
-     * Test of convert method, of class BooleanType.
-     */
-    @Test
-    public void testConvert() {
-        //System.out.println("convert");
-        Font font = null;
-
-        ParsedValue< String,Boolean> value = new ParsedValueImpl<String,Boolean>("true", BooleanConverter.getInstance());
-        Boolean expResult = Boolean.TRUE;
-        Boolean result = value.convert(font);
-        assertEquals(expResult, result);
-
-        value = value = new ParsedValueImpl<String,Boolean>("false", BooleanConverter.getInstance());
-        expResult = Boolean.FALSE;
-        result = value.convert(font);
-        assertEquals(expResult, result);
-
-        value = new ParsedValueImpl<String,Boolean>(null, BooleanConverter.getInstance());
-        expResult = Boolean.FALSE;
-        result = value.convert(font);
-        assertEquals(expResult, result);
-
-    }
-
-}
--- a/modules/graphics/src/stub/java/com/sun/javafx/css/CssMetaDataTest.java	Mon Aug 12 14:27:11 2013 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1302 +0,0 @@
-/*
- * Copyright (c) 2010, 2013, Oracle and/or its affiliates. All rights reserved.
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * This code is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License version 2 only, as
- * published by the Free Software Foundation.  Oracle designates this
- * particular file as subject to the "Classpath" exception as provided
- * by Oracle in the LICENSE file that accompanied this code.
- *
- * This code is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
- * version 2 for more details (a copy is included in the LICENSE file that
- * accompanied this code).
- *
- * You should have received a copy of the GNU General Public License version
- * 2 along with this work; if not, write to the Free Software Foundation,
- * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
- *
- * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
- * or visit www.oracle.com if you need additional information or have any
- * questions.
- */
-
-package com.sun.javafx.css;
-
-import java.io.File;
-import java.lang.reflect.InvocationTargetException;
-import java.lang.reflect.Method;
-import java.lang.reflect.Modifier;
-import java.net.URL;
-import java.util.ArrayList;
-import java.util.Arrays;
-import java.util.Collections;
-import java.util.List;
-import java.util.Set;
-
-import com.sun.javafx.sg.prism.NGNode;
-import javafx.beans.value.WritableValue;
-import javafx.css.CssMetaData;
-import javafx.css.FontCssMetaData;
-import javafx.css.PseudoClass;
-import javafx.css.StyleConverter;
-import javafx.css.StyleOrigin;
-import javafx.css.Styleable;
-import javafx.css.StyleableProperty;
-import javafx.scene.Group;
-import javafx.scene.Node;
-import javafx.scene.Scene;
-import javafx.scene.paint.Color;
-import javafx.scene.shape.Rectangle;
-import javafx.scene.text.Font;
-import javafx.scene.text.Text;
-import javafx.stage.Stage;
-import com.sun.javafx.css.converters.BooleanConverter;
-import com.sun.javafx.css.parser.CSSParser;
-import com.sun.javafx.geom.BaseBounds;
-import com.sun.javafx.geom.transform.BaseTransform;
-import com.sun.javafx.jmx.MXNodeAlgorithm;
-import com.sun.javafx.jmx.MXNodeAlgorithmContext;
-import org.junit.Test;
-
-import static org.junit.Assert.*;
-
-
-public class CssMetaDataTest {
-
-    public CssMetaDataTest() {
-    }
-
-    private static CssMetaData get(List<CssMetaData<? extends Styleable, ?>> list, String prop) {
-        for (CssMetaData styleable : list) {
-            if (prop.equals(styleable.getProperty())) return styleable;
-        }
-        return null;
-    }
-    /**
-     * Test of getStyleables method, of class CssMetaData.
-     */
-    @Test
-    public void testGetStyleables_Node() {
-        Node node = new TestNode();
-        List<CssMetaData<? extends Styleable, ?>> expResult = TestNode.getClassCssMetaData();
-        List<CssMetaData<? extends Styleable, ?>> result = node.getCssMetaData();
-        assertEquals(expResult, result);
-    }
-
-    /**
-     * Test of getStyleables method, of class CssMetaData.
-     */
-    @Test
-    public void testGetStyleables_Styleable() {
-        Node node = new TestNode();
-        Styleable styleable = node;
-        assertNotNull(styleable);
-        List<CssMetaData<? extends Styleable, ?>> expResult = TestNode.getClassCssMetaData();
-        List result = styleable.getCssMetaData();
-        assertEquals(expResult, result);
-    }
-
-    @Test
-    public void testGetJavafxBeansProperty() {
-        TestNode testNode = new TestNode();
-        WritableValue prop = TestNodeBase.StyleableProperties.TEST.getStyleableProperty(testNode);
-        assert(prop != null);
-        CssMetaData result = ((StyleableProperty)prop).getCssMetaData();
-        assert(result == TestNodeBase.StyleableProperties.TEST);
-    }
-
-    /**
-     * Test of getProperty method, of class CssMetaData.
-     */
-    @Test
-    public void testGetProperty() {
-
-        String expResult = "-fx-test";
-        String result = TestNodeBase.StyleableProperties.TEST.getProperty();
-        assertEquals(expResult, result);
-    }
-
-    /**
-     * Test of getConverter method, of class CssMetaData.
-     */
-    @Test
-    public void testGetConverter() {
-
-        StyleConverter expResult = BooleanConverter.getInstance();
-        StyleConverter result = TestNodeBase.StyleableProperties.TEST.getConverter();
-        assertEquals(expResult, result);
-    }
-
-    /**
-     * Test of getInitialValue method, of class CssMetaData.
-     */
-    @Test
-    public void testGetInitialValue() {
-
-        TestNode testNode = new TestNode();
-        Double expResult = testNode.getXyzzy();
-        Double result = (Double)TestNode.StyleableProperties.XYZZY.getInitialValue(testNode);
-        assertEquals(expResult, result);
-
-    }
-
-    /**
-     * Test of getSubProperties method, of class CssMetaData.
-     */
-    @Test
-    public void testGetSubProperties() {
-
-        CssMetaData<TestNode,Font> fontProp =
-                new FontCssMetaData<TestNode>("-fx-font", Font.getDefault()) {
-
-                    @Override
-                    public boolean isSettable(TestNode n) {
-                        return true;
-                    }
-
-                    @Override
-                    public StyleableProperty<Font> getStyleableProperty(TestNode n) {
-                        return null;
-                    }
-                };
-
-        List<CssMetaData<? extends Styleable, ?>> list = fontProp.getSubProperties();
-        assertNotNull(list);
-
-    }
-
-    /**
-     * Test of isInherits method, of class CssMetaData.
-     */
-    @Test
-    public void testIsInherits() {
-
-        boolean expResult = false;
-        boolean result = TestNode.StyleableProperties.XYZZY.isInherits();
-        assertEquals(expResult, result);
-
-    }
-
-    /**
-     * Test of toString method, of class CssMetaData.
-     */
-    @Test
-    public void testToString() {
-
-        CssMetaData<TestNode,Font> fontProp =
-                new FontCssMetaData<TestNode>("-fx-font", Font.getDefault()) {
-
-                    @Override
-                    public boolean isSettable(TestNode n) {
-                        return true;
-                    }
-
-                    @Override
-                    public StyleableProperty<Font> getStyleableProperty(TestNode n) {
-                        return null;
-                    }
-                };
-
-        String string = fontProp.toString();
-        assertNotNull(string);
-
-    }
-
-    /**
-     * Test of equals method, of class CssMetaData.
-     */
-    @Test
-    public void testEquals() {
-        TestNode testNode = new TestNode();
-        Node node = new Node() {
-
-            @Override
-            protected NGNode impl_createPeer() {
-                throw new UnsupportedOperationException("Not supported yet.");
-            }
-
-            @Override
-            public BaseBounds impl_computeGeomBounds(BaseBounds bb, BaseTransform bt) {
-                throw new UnsupportedOperationException("Not supported yet.");
-            }
-
-            @Override
-            protected boolean impl_computeContains(double d, double d1) {
-                throw new UnsupportedOperationException("Not supported yet.");
-            }
-
-            @Override
-            public Object impl_processMXNode(MXNodeAlgorithm mxna, MXNodeAlgorithmContext mxnac) {
-                throw new UnsupportedOperationException("Not supported yet.");
-            }
-        };
-
-        CssMetaData testNodeOpacity = get(TestNode.getClassCssMetaData(), "-fx-opacity");
-        CssMetaData nodeOpacity = get(Node.getClassCssMetaData(), "-fx-opacity");
-
-        assertTrue(testNodeOpacity.equals(nodeOpacity));
-    }
-
-    static int ord = 0;
-    static CascadingStyle createCascadingStyle(Selector selector, Declaration declaration) {
-
-        Set<PseudoClass> pseudoClasses = null;
-        if (selector instanceof SimpleSelector) {
-
-            pseudoClasses = ((SimpleSelector)selector).getPseudoClassStates();
-        } else {
-
-            pseudoClasses = new PseudoClassState();
-            for (SimpleSelector sel : ((CompoundSelector)selector).getSelectors()) {
-
-                Set<PseudoClass> selectorPseudoClasses = sel.getPseudoClassStates();
-                pseudoClasses.addAll(selectorPseudoClasses);
-            }
-        }
-
-        return new CascadingStyle(
-                new Style(selector, declaration),
-                pseudoClasses,
-                0,
-                ord++
-        );
-    }
-
-    @Test @org.junit.Ignore
-    public void testGetMatchingStyles() {
-
-
-        final Stylesheet stylesheet = new Stylesheet();
-        stylesheet.setOrigin(StyleOrigin.USER_AGENT);
-        StyleManager.getInstance().getInstance().setDefaultUserAgentStylesheet(stylesheet);
-
-        final List<Rule> rules = stylesheet.getRules();
-
-        //
-        // .root { -fx-base: red; -fx-color: -fx-base; }
-        //
-        List<String> rootStyleClass = new ArrayList<String>();
-        rootStyleClass.add("root");
-
-        Selector root = new SimpleSelector("*", rootStyleClass, null, null);
-
-        ParsedValueImpl fxBaseValue = CSSParser.getInstance().parseExpr("-fx-base", "red");
-        Declaration fxBase = new Declaration("-fx-base", fxBaseValue, false);
-
-        ParsedValueImpl<String,String> fxColorValue = new ParsedValueImpl<String,String>(fxBase.getProperty(), null, true);
-        Declaration fxColor = new Declaration("-fx-color", fxColorValue, false);
-
-        List<Selector> selectors = new ArrayList<Selector>();
-        Collections.addAll(selectors, root);
-
-        List<Declaration> declarations = new ArrayList<Declaration>();
-        Collections.addAll(declarations, fxBase, fxColor);
-
-        Rule baseRule = new Rule(selectors, declarations);
-        rules.add(baseRule);
-
-        //
-        // .rect { -fx-fill: -fx-color; }
-        //
-        List<String> rectStyleClass = new ArrayList<String>();
-        rectStyleClass.add("rect");
-
-        Selector rect = new SimpleSelector("*", rectStyleClass, null, null);
-
-        ParsedValueImpl fxFillValue = CSSParser.getInstance().parseExpr("-fx-fill", "-fx-color");
-        Declaration fxFill = new Declaration("-fx-fill", fxFillValue, false);
-
-        selectors = new ArrayList<Selector>();
-        Collections.addAll(selectors, rect);
-
-        declarations = new ArrayList<Declaration>();
-        Collections.addAll(declarations, fxFill);
-
-        Rule rectRule = new Rule(selectors, declarations);
-        rules.add(rectRule);
-
-        // .rect:hover { -fx-fill: yellow; }
-        List<String> pseudoclasses = new ArrayList<String>();
-        pseudoclasses.add("hover");
-
-        Selector rectHover = new SimpleSelector("*", rectStyleClass, pseudoclasses, null);
-
-        ParsedValueImpl<Color,Color> fxFillHoverValue = new ParsedValueImpl<Color,Color>(Color.YELLOW, null);
-        Declaration fxFillHover = new Declaration("-fx-fill", fxFillHoverValue, false);
-
-        selectors = new ArrayList<Selector>();
-        Collections.addAll(selectors, rectHover);
-
-        declarations = new ArrayList<Declaration>();
-        Collections.addAll(declarations, fxFillHover);
-
-        Rule rectHoverRule = new Rule(selectors, declarations);
-        rules.add(rectHoverRule);
-
-        List<Style> expecteds = new ArrayList<Style>();
-        Collections.addAll(expecteds,
-                           new Style(root, fxBase),
-                           new Style(root, fxColor),
-                           new Style(rect, fxFill),
-                           new Style(rectHover, fxFillHover)
-        );
-
-        final Rectangle rectangle = new Rectangle();
-        rectangle.getStyleClass().add("rect");
-
-        final Group group = new Group();
-        group.getChildren().add(rectangle);
-
-        Scene scene = new Scene(group);
-        Stage stage = new Stage();
-        stage.setScene(scene);
-        stage.show();
-
-        final CssMetaData FILL = get(rectangle.getCssMetaData(), "-fx-fill");
-        final List<Style> actuals = Node.impl_getMatchingStyles(FILL, rectangle);
-
-        //        System.err.println("matchingStyles: " + matchingStyles);
-        //        System.err.println("expecteds: " + expecteds);
-        //        System.err.println("actuals: " + actuals);
-
-        assertEquals(expecteds.size(), actuals.size(), 0);
-
-        for (Style style : expecteds) {
-            if (!actuals.remove(style)) fail();
-        }
-        assertTrue(actuals.isEmpty());
-    }
-
-    @Test @org.junit.Ignore
-    public void testGetMatchingStylesWithInlineStyleOnParent() {
-
-
-        final Stylesheet stylesheet = new Stylesheet();
-        stylesheet.setOrigin(StyleOrigin.USER_AGENT);
-        StyleManager.getInstance().getInstance().setDefaultUserAgentStylesheet(stylesheet);
-
-        final List<Rule> rules = stylesheet.getRules();
-
-        //
-        // .root { -fx-base: red; -fx-color: -fx-base; }
-        //
-        List<String> rootStyleClass = new ArrayList<String>();
-        rootStyleClass.add("root");
-
-        Selector root = new SimpleSelector("*", rootStyleClass, null, null);
-
-        ParsedValueImpl fxBaseValue = CSSParser.getInstance().parseExpr("-fx-base", "red");
-        Declaration fxBase = new Declaration("-fx-base", fxBaseValue, false);
-
-        ParsedValueImpl<String,String> fxColorValue = new ParsedValueImpl<String,String>(fxBase.getProperty(), null, true);
-        Declaration fxColor = new Declaration("-fx-color", fxColorValue, false);
-
-        List<Selector> selectors = new ArrayList<Selector>();
-        Collections.addAll(selectors, root);
-
-        List<Declaration> declarations = new ArrayList<Declaration>();
-        Collections.addAll(declarations, fxBase, fxColor);
-
-        Rule baseRule = new Rule(selectors, declarations);
-        rules.add(baseRule);
-
-        //
-        // .rect { -fx-fill: -fx-color; }
-        //
-        List<String> rectStyleClass = new ArrayList<String>();
-        rectStyleClass.add("rect");
-
-        Selector rect = new SimpleSelector("*", rectStyleClass, null, null);
-
-        ParsedValueImpl fxFillValue = CSSParser.getInstance().parseExpr("-fx-fill", "-fx-color");
-        Declaration fxFill = new Declaration("-fx-fill", fxFillValue, false);
-
-        selectors = new ArrayList<Selector>();
-        Collections.addAll(selectors, rect);
-
-        declarations = new ArrayList<Declaration>();
-        Collections.addAll(declarations, fxFill);
-
-        Rule rectRule = new Rule(selectors, declarations);
-        rules.add(rectRule);
-
-        // .rect:hover { -fx-fill: yellow; }
-        List<String> pseudoclasses = new ArrayList<String>();
-        pseudoclasses.add("hover");
-
-        Selector rectHover = new SimpleSelector("*", rectStyleClass, pseudoclasses, null);
-
-        ParsedValueImpl<Color,Color> fxFillHoverValue = new ParsedValueImpl<Color,Color>(Color.YELLOW, null);
-        Declaration fxFillHover = new Declaration("-fx-fill", fxFillHoverValue, false);
-
-        selectors = new ArrayList<Selector>();
-        Collections.addAll(selectors, rectHover);
-
-        declarations = new ArrayList<Declaration>();
-        Collections.addAll(declarations, fxFillHover);
-
-        Rule rectHoverRule = new Rule(selectors, declarations);
-        rules.add(rectHoverRule);
-
-        // Declaration now checks origin, so we need to make this expected
-        // value look like it came from an inline
-        final Declaration decl = new Declaration("-fx-base", new ParsedValueImpl<Color,Color>(Color.GREEN, null), false);
-
-        Stylesheet ss = new Stylesheet() {
-            {
-                setOrigin(StyleOrigin.INLINE);
-                getRules().add(
-                        new Rule(Arrays.asList(SimpleSelector.getUniversalSelector()), Arrays.asList(decl))
-                );
-            }
-        };
-
-        List<Style> expecteds = new ArrayList<Style>();
-        Collections.addAll(expecteds,
-                           new Style(SimpleSelector.getUniversalSelector(), decl),
-                           new Style(root, fxBase),
-                           new Style(root, fxColor),
-                           new Style(rect, fxFill),
-                           new Style(rectHover, fxFillHover)
-        );
-
-        final Rectangle rectangle = new Rectangle();
-        rectangle.getStyleClass().add("rect");
-
-        final Group group = new Group();
-        group.setStyle("-fx-base: green;");
-        group.getChildren().add(rectangle);
-
-        Scene scene = new Scene(group);
-        Stage stage = new Stage();
-        stage.setScene(scene);
-        stage.show();
-
-        final CssMetaData FILL = get(rectangle.getCssMetaData(), "-fx-fill");
-        final List<Style> actuals = Node.impl_getMatchingStyles(FILL, rectangle);
-
-        //        System.err.println("matchingStyles: " + matchingStyles);
-        //        System.err.println("expecteds: " + expecteds);
-        //        System.err.println("actuals: " + actuals);
-
-        assertEquals(expecteds.size(), actuals.size(), 0);
-
-        // inline style should be first
-        assertEquals(expecteds.get(0), actuals.get(0));
-
-        for (Style style : expecteds) {
-            if (!actuals.remove(style)) fail();
-        }
-        assertTrue(actuals.isEmpty());
-    }
-
-    @Test @org.junit.Ignore
-    public void testGetMatchingStylesWithInlineStyleOnLeaf() {
-
-
-        final Stylesheet stylesheet = new Stylesheet();
-        stylesheet.setOrigin(StyleOrigin.USER_AGENT);
-        StyleManager.getInstance().getInstance().setDefaultUserAgentStylesheet(stylesheet);
-
-        final List<Rule> rules = stylesheet.getRules();
-
-        //
-        // .root { -fx-base: red; -fx-color: -fx-base; }
-        //
-        List<String> rootStyleClass = new ArrayList<String>();
-        rootStyleClass.add("root");
-
-        Selector root = new SimpleSelector("*", rootStyleClass, null, null);
-
-        ParsedValueImpl fxBaseValue = CSSParser.getInstance().parseExpr("-fx-base", "red");
-        Declaration fxBase = new Declaration("-fx-base", fxBaseValue, false);
-
-        ParsedValueImpl<String,String> fxColorValue = new ParsedValueImpl<String,String>(fxBase.getProperty(), null, true);
-        Declaration fxColor = new Declaration("-fx-color", fxColorValue, false);
-
-        List<Selector> selectors = new ArrayList<Selector>();
-        Collections.addAll(selectors, root);
-
-        List<Declaration> declarations = new ArrayList<Declaration>();
-        Collections.addAll(declarations, fxBase, fxColor);
-
-        Rule baseRule = new Rule(selectors, declarations);
-        rules.add(baseRule);
-
-        //
-        // .rect { -fx-fill: -fx-color; }
-        //
-        List<String> rectStyleClass = new ArrayList<String>();
-        rectStyleClass.add("rect");
-
-        Selector rect = new SimpleSelector("*", rectStyleClass, null, null);
-
-        ParsedValueImpl fxFillValue = CSSParser.getInstance().parseExpr("-fx-fill", "-fx-color");
-        Declaration fxFill = new Declaration("-fx-fill", fxFillValue, false);
-
-        selectors = new ArrayList<Selector>();
-        Collections.addAll(selectors, rect);
-
-        declarations = new ArrayList<Declaration>();
-        Collections.addAll(declarations, fxFill);
-
-        Rule rectRule = new Rule(selectors, declarations);
-        rules.add(rectRule);
-
-        // .rect:hover { -fx-fill: yellow; }
-        List<String> pseudoclasses = new ArrayList<String>();
-        pseudoclasses.add("hover");
-
-        Selector rectHover = new SimpleSelector("*", rectStyleClass, pseudoclasses, null);
-
-        ParsedValueImpl<Color,Color> fxFillHoverValue = new ParsedValueImpl<Color,Color>(Color.YELLOW, null);
-        Declaration fxFillHover = new Declaration("-fx-fill", fxFillHoverValue, false);
-
-        selectors = new ArrayList<Selector>();
-        Collections.addAll(selectors, rectHover);
-
-        declarations = new ArrayList<Declaration>();
-        Collections.addAll(declarations, fxFillHover);
-
-        Rule rectHoverRule = new Rule(selectors, declarations);
-        rules.add(rectHoverRule);
-
-        // Declaration now checks origin, so we need to make this expected
-        // value look like it came from an inline
-        final Declaration decl = new Declaration("-fx-base", new ParsedValueImpl<Color,Color>(Color.GREEN, null), false);
-
-        Stylesheet ss = new Stylesheet() {
-            {
-                setOrigin(StyleOrigin.INLINE);
-                getRules().add(
-                        new Rule(Arrays.asList(SimpleSelector.getUniversalSelector()), Arrays.asList(decl))
-                );
-            }
-        };
-
-        List<Style> expecteds = new ArrayList<Style>();
-        Collections.addAll(expecteds,
-                           new Style(SimpleSelector.getUniversalSelector(), decl),
-                           new Style(root, fxBase),
-                           new Style(root, fxColor),
-                           new Style(rect, fxFill),
-                           new Style(rectHover, fxFillHover)
-        );
-
-        final Rectangle rectangle = new Rectangle();
-        rectangle.getStyleClass().add("rect");
-        rectangle.setStyle("-fx-base: green;");
-
-        final Group group = new Group();
-        group.getChildren().add(rectangle);
-
-        Scene scene = new Scene(group);
-        Stage stage = new Stage();
-        stage.setScene(scene);
-        stage.show();
-
-        final CssMetaData FILL = get(rectangle.getCssMetaData(), "-fx-fill");
-        final List<Style> actuals = Node.impl_getMatchingStyles(FILL, rectangle);
-
-        //        System.err.println("matchingStyles: " + matchingStyles);
-        //        System.err.println("expecteds: " + expecteds);
-        //        System.err.println("actuals: " + actuals);
-
-        assertEquals(expecteds.size(), actuals.size(), 0);
-
-        // inline style should be first
-        assertEquals(expecteds.get(0), actuals.get(0));
-
-        for (Style style : expecteds) {
-            if (!actuals.remove(style)) fail();
-        }
-        assertTrue(actuals.isEmpty());
-    }
-
-    @Test @org.junit.Ignore
-    public void testGetMatchingStylesWithInlineStyleOnRootAndLeaf() {
-
-
-        final Stylesheet stylesheet = new Stylesheet();
-        stylesheet.setOrigin(StyleOrigin.USER_AGENT);
-        StyleManager.getInstance().getInstance().setDefaultUserAgentStylesheet(stylesheet);
-
-        final List<Rule> rules = stylesheet.getRules();
-
-        //
-        // .root { -fx-base: red; -fx-color: -fx-base; }
-        //
-        List<String> rootStyleClass = new ArrayList<String>();
-        rootStyleClass.add("root");
-
-        Selector root = new SimpleSelector("*", rootStyleClass, null, null);
-
-        ParsedValueImpl fxBaseValue = CSSParser.getInstance().parseExpr("-fx-base", "red");
-        Declaration fxBase = new Declaration("-fx-base", fxBaseValue, false);
-
-        ParsedValueImpl<String,String> fxColorValue = new ParsedValueImpl<String,String>(fxBase.getProperty(), null, true);
-        Declaration fxColor = new Declaration("-fx-color", fxColorValue, false);
-
-        List<Selector> selectors = new ArrayList<Selector>();
-        Collections.addAll(selectors, root);
-
-        List<Declaration> declarations = new ArrayList<Declaration>();
-        Collections.addAll(declarations, fxBase, fxColor);
-
-        Rule baseRule = new Rule(selectors, declarations);
-        rules.add(baseRule);
-
-        //
-        // .rect { -fx-fill: -fx-color; }
-        //
-        List<String> rectStyleClass = new ArrayList<String>();
-        rectStyleClass.add("rect");
-
-        Selector rect = new SimpleSelector("*", rectStyleClass, null, null);
-
-        ParsedValueImpl fxFillValue = CSSParser.getInstance().parseExpr("-fx-fill", "-fx-color");
-        Declaration fxFill = new Declaration("-fx-fill", fxFillValue, false);
-
-        selectors = new ArrayList<Selector>();
-        Collections.addAll(selectors, rect);
-
-        declarations = new ArrayList<Declaration>();
-        Collections.addAll(declarations, fxFill);
-
-        Rule rectRule = new Rule(selectors, declarations);
-        rules.add(rectRule);
-
-        // .rect:hover { -fx-fill: yellow; }
-        List<String> pseudoclasses = new ArrayList<String>();
-        pseudoclasses.add("hover");
-
-        Selector rectHover = new SimpleSelector("*", rectStyleClass, pseudoclasses, null);
-
-        ParsedValueImpl<Color,Color> fxFillHoverValue = new ParsedValueImpl<Color,Color>(Color.YELLOW, null);
-        Declaration fxFillHover = new Declaration("-fx-fill", fxFillHoverValue, false);
-
-        selectors = new ArrayList<Selector>();
-        Collections.addAll(selectors, rectHover);
-
-        declarations = new ArrayList<Declaration>();
-        Collections.addAll(declarations, fxFillHover);
-
-        Rule rectHoverRule = new Rule(selectors, declarations);
-        rules.add(rectHoverRule);
-
-        // Declaration now checks origin, so we need to make this expected
-        // value look like it came from an inline
-        final Declaration gdecl = new Declaration("-fx-base", new ParsedValueImpl<Color,Color>(Color.GREEN, null), false);
-        final Declaration ydecl = new Declaration("-fx-color", new ParsedValueImpl<Color,Color>(Color.YELLOW, null), false);
-
-        Stylesheet ss = new Stylesheet() {
-            {
-                setOrigin(StyleOrigin.INLINE);
-                Collections.addAll(getRules(),
-                                   new Rule(Arrays.asList(SimpleSelector.getUniversalSelector()), Arrays.asList(gdecl)),
-                                   new Rule(Arrays.asList(SimpleSelector.getUniversalSelector()), Arrays.asList(ydecl))
-                );
-            }
-        };
-
-        List<Style> expecteds = new ArrayList<Style>();
-        Collections.addAll(expecteds,
-                           new Style(SimpleSelector.getUniversalSelector(), ydecl),
-                           new Style(SimpleSelector.getUniversalSelector(), gdecl),
-                           new Style(root, fxBase),
-                           new Style(root, fxColor),
-                           new Style(rect, fxFill),
-                           new Style(rectHover, fxFillHover)
-        );
-
-        final Rectangle rectangle = new Rectangle();
-        rectangle.getStyleClass().add("rect");
-        rectangle.setStyle("-fx-base: green;");
-
-        final Group group = new Group();
-        group.setStyle("-fx-color: yellow;");
-        group.getChildren().add(rectangle);
-
-        Scene scene = new Scene(group);
-        Stage stage = new Stage();
-        stage.setScene(scene);
-        stage.show();
-
-        final CssMetaData FILL = get(rectangle.getCssMetaData(), "-fx-fill");
-        final List<Style> actuals = Node.impl_getMatchingStyles(FILL, rectangle);
-
-        //        System.err.println("matchingStyles: " + matchingStyles);
-        //        System.err.println("expecteds: " + expecteds);
-        //        System.err.println("actuals: " + actuals);
-
-        assertEquals(expecteds.size(), actuals.size(), 0);
-
-        // inline style should be first
-        assertEquals(expecteds.get(0), actuals.get(0));
-
-        for (Style style : expecteds) {
-            if (!actuals.remove(style)) fail(style.toString());
-        }
-        assertTrue(actuals.isEmpty());
-    }
-
-    @Test @org.junit.Ignore
-    public void testGetMatchingStylesShouldNotReturnAncestorPropertyIfNotInherited() {
-
-
-        final Stylesheet stylesheet = new Stylesheet();
-        stylesheet.setOrigin(StyleOrigin.USER_AGENT);
-        StyleManager.getInstance().getInstance().setDefaultUserAgentStylesheet(stylesheet);
-
-        final List<Rule> rules = stylesheet.getRules();
-
-        //
-        // .root { -fx-base: red; -fx-color: -fx-base; }
-        //
-        List<String> rootStyleClass = new ArrayList<String>();
-        rootStyleClass.add("root");
-
-        Selector root = new SimpleSelector("*", rootStyleClass, null, null);
-
-        ParsedValueImpl fxBaseValue = CSSParser.getInstance().parseExpr("-fx-base", "red");
-        Declaration fxBase = new Declaration("-fx-base", fxBaseValue, false);
-
-        ParsedValueImpl<String,String> fxColorValue = new ParsedValueImpl<String,String>(fxBase.getProperty(), null, true);
-        Declaration fxColor = new Declaration("-fx-color", fxColorValue, false);
-
-        ParsedValueImpl<Color,Color> fxFillShouldNotMatchValue = new ParsedValueImpl<Color,Color>(Color.RED, null);
-        Declaration fxFillShouldNotMatch = new Declaration("-fx-fill", fxFillShouldNotMatchValue, false);
-
-        List<Selector> selectors = new ArrayList<Selector>();
-        Collections.addAll(selectors, root);
-
-        List<Declaration> declarations = new ArrayList<Declaration>();
-        Collections.addAll(declarations, fxBase, fxColor, fxFillShouldNotMatch);
-
-        Rule baseRule = new Rule(selectors, declarations);
-        rules.add(baseRule);
-
-        //
-        // .rect { -fx-fill: -fx-color; }
-        //
-        List<String> rectStyleClass = new ArrayList<String>();
-        rectStyleClass.add("rect");
-
-        Selector rect = new SimpleSelector("*", rectStyleClass, null, null);
-
-        ParsedValueImpl fxFillValue = CSSParser.getInstance().parseExpr("-fx-fill", "-fx-color");
-        Declaration fxFill = new Declaration("-fx-fill", fxFillValue, false);
-
-        selectors = new ArrayList<Selector>();
-        Collections.addAll(selectors, rect);
-
-        declarations = new ArrayList<Declaration>();
-        Collections.addAll(declarations, fxFill);
-
-        Rule rectRule = new Rule(selectors, declarations);
-        rules.add(rectRule);
-
-        // .rect:hover { -fx-fill: yellow; }
-        List<String> pseudoclasses = new ArrayList<String>();
-        pseudoclasses.add("hover");
-
-        Selector rectHover = new SimpleSelector("*", rectStyleClass, pseudoclasses, null);
-
-        ParsedValueImpl<Color,Color> fxFillHoverValue = new ParsedValueImpl<Color,Color>(Color.YELLOW, null);
-        Declaration fxFillHover = new Declaration("-fx-fill", fxFillHoverValue, false);
-
-        selectors = new ArrayList<Selector>();
-        Collections.addAll(selectors, rectHover);
-
-        declarations = new ArrayList<Declaration>();
-        Collections.addAll(declarations, fxFillHover);
-
-        Rule rectHoverRule = new Rule(selectors, declarations);
-        rules.add(rectHoverRule);
-
-        List<Style> expecteds = new ArrayList<Style>();
-        Collections.addAll(expecteds,
-                           new Style(root, fxBase),
-                           new Style(root, fxColor),
-                           new Style(rect, fxFill),
-                           new Style(rectHover, fxFillHover)
-        );
-
-        final Rectangle rectangle = new Rectangle();
-        rectangle.getStyleClass().add("rect");
-
-        final Group group = new Group();
-        group.getChildren().add(rectangle);
-
-        Scene scene = new Scene(group);
-        Stage stage = new Stage();
-        stage.setScene(scene);
-        stage.show();
-
-        final CssMetaData FILL = get(rectangle.getCssMetaData(), "-fx-fill");
-        final List<Style> actuals = Node.impl_getMatchingStyles(FILL, rectangle);
-
-        //        System.err.println("matchingStyles: " + matchingStyles);
-        //        System.err.println("expecteds: " + expecteds);
-        //        System.err.println("actuals: " + actuals);
-
-        assertEquals(expecteds.size(), actuals.size(), 0);
-
-        for (Style style : expecteds) {
-            if (!actuals.remove(style)) fail();
-        }
-        assertTrue(actuals.isEmpty());
-    }
-
-
-    @Test @org.junit.Ignore
-    public void testGetMatchingStylesShouldNotReturnInlineAncestorPropertyIfNotInherited() {
-
-        final Stylesheet stylesheet = new Stylesheet();
-        stylesheet.setOrigin(StyleOrigin.USER_AGENT);
-        StyleManager.getInstance().setDefaultUserAgentStylesheet(stylesheet);
-
-        final List<Rule> rules = stylesheet.getRules();
-
-        List<String> rootStyleClass = new ArrayList<String>();
-        rootStyleClass.add("root");
-
-        List<String> rectStyleClass = new ArrayList<String>();
-        rectStyleClass.add("rect");
-
-        //
-        // .root { -fx-base: red; -fx-color: -fx-base; }
-        //
-        Selector root = new SimpleSelector("*", rootStyleClass, null, null);
-
-        ParsedValueImpl fxBaseValue = CSSParser.getInstance().parseExpr("-fx-base", "red");
-        Declaration fxBase = new Declaration("-fx-base", fxBaseValue, false);
-
-        ParsedValueImpl<String,String> fxColorValue = new ParsedValueImpl<String,String>(fxBase.getProperty(), null, true);
-        Declaration fxColor = new Declaration("-fx-color", fxColorValue, false);
-
-        ParsedValueImpl<Color,Color> fxFillShouldNotMatchValue = new ParsedValueImpl<Color,Color>(Color.RED, null);
-        Declaration fxFillShouldNotMatch = new Declaration("-fx-fill", fxFillShouldNotMatchValue, false);
-
-        List<Selector> selectors = new ArrayList<Selector>();
-        Collections.addAll(selectors, root);
-
-        List<Declaration> declarations = new ArrayList<Declaration>();
-        Collections.addAll(declarations, fxBase, fxColor, fxFillShouldNotMatch);
-
-        Rule baseRule = new Rule(selectors, declarations);
-        rules.add(baseRule);
-
-        //
-        // .rect { -fx-fill: -fx-color; }
-        //
-        Selector rect = new SimpleSelector("*", rectStyleClass, null, null);
-
-        ParsedValueImpl fxFillValue = CSSParser.getInstance().parseExpr("-fx-fill", "-fx-color");
-        Declaration fxFill = new Declaration("-fx-fill", fxFillValue, false);
-
-        selectors = new ArrayList<Selector>();
-        Collections.addAll(selectors, rect);
-
-        declarations = new ArrayList<Declaration>();
-        Collections.addAll(declarations, fxFill);
-
-        Rule rectRule = new Rule(selectors, declarations);
-        rules.add(rectRule);
-
-        // .rect:hover { -fx-fill: yellow; }
-        List<String> pseudoclasses = new ArrayList<String>();
-        pseudoclasses.add("hover");
-
-        Selector rectHover = new SimpleSelector("*", rectStyleClass, pseudoclasses, null);
-
-        ParsedValueImpl<Color,Color> fxFillHoverValue = new ParsedValueImpl<Color,Color>(Color.YELLOW, null);
-        Declaration fxFillHover = new Declaration("-fx-fill", fxFillHoverValue, false);
-
-        selectors = new ArrayList<Selector>();
-        Collections.addAll(selectors, rectHover);
-
-        declarations = new ArrayList<Declaration>();
-        Collections.addAll(declarations, fxFillHover);
-
-        Rule rectHoverRule = new Rule(selectors, declarations);
-        rules.add(rectHoverRule);
-
-        List<Style> expecteds = new ArrayList<Style>();
-        Collections.addAll(expecteds,
-                           new Style(root, fxBase),
-                           new Style(root, fxColor),
-                           new Style(rect, fxFill),
-                           new Style(rectHover, fxFillHover)
-        );
-
-        final Rectangle rectangle = new Rectangle();
-        rectangle.getStyleClass().add("rect");
-
-        final Group group = new Group();
-        group.getChildren().add(rectangle);
-
-        Scene scene = new Scene(group);
-        Stage stage = new Stage();
-        stage.setScene(scene);
-        stage.show();
-
-        final CssMetaData FILL = get(rectangle.getCssMetaData(), "-fx-fill");
-        final List<Style> actuals = Node.impl_getMatchingStyles(FILL, rectangle);
-
-        //        System.err.println("matchingStyles: " + matchingStyles);
-        //        System.err.println("expecteds: " + expecteds);
-        //        System.err.println("actuals: " + actuals);
-
-        for (Style style : expecteds) {
-            actuals.remove(style);
-        }
-        assertTrue(actuals.toString(), actuals.isEmpty());
-    }
-
-    @Test @org.junit.Ignore
-    public void testGetMatchingStylesReturnsInheritedProperty() {
-
-
-        final Stylesheet stylesheet = new Stylesheet();
-        stylesheet.setOrigin(StyleOrigin.USER_AGENT);
-        StyleManager.getInstance().setDefaultUserAgentStylesheet(stylesheet);
-
-        final List<Rule> rules = stylesheet.getRules();
-
-        //
-        // .root { -fx-base: red; -fx-color: -fx-base; }
-        //
-        List<String> rootStyleClass = new ArrayList<String>();
-        rootStyleClass.add("root");
-
-        Selector root = new SimpleSelector("*", rootStyleClass, null, null);
-
-        ParsedValueImpl<Color,Color> fxFontShouldInheritValue = CSSParser.getInstance().parseExpr("-fx-font", "12px system");
-        Declaration fxFontShouldInherit = new Declaration("-fx-font", fxFontShouldInheritValue, false);
-
-        List<Selector> selectors = new ArrayList<Selector>();
-        Collections.addAll(selectors, root);
-
-        List<Declaration> declarations = new ArrayList<Declaration>();
-        Collections.addAll(declarations, fxFontShouldInherit);
-
-        Rule baseRule = new Rule(selectors, declarations);
-        rules.add(baseRule);
-
-        //
-        // .text { -fx-fill: -fx-color; }
-        //
-        List<String> textStyleClass = new ArrayList<String>();
-        textStyleClass.add("text");
-
-        Selector textSelector = new SimpleSelector("*", textStyleClass, null, null);
-
-        ParsedValueImpl fxFillValue = CSSParser.getInstance().parseExpr("-fx-fill", "red");
-        Declaration fxFill = new Declaration("-fx-fill", fxFillValue, false);
-
-        selectors = new ArrayList<Selector>();
-        Collections.addAll(selectors, textSelector);
-
-        declarations = new ArrayList<Declaration>();
-        Collections.addAll(declarations, fxFill);
-
-        Rule rectRule = new Rule(selectors, declarations);
-        rules.add(rectRule);
-
-        List<Style> expecteds = new ArrayList<Style>();
-        Collections.addAll(expecteds,
-                           new Style(root, fxFontShouldInherit)
-        );
-
-        final Text text = new Text("text");
-        text.getStyleClass().add("text");
-
-        final Group group = new Group();
-        group.getChildren().add(text);
-
-        Scene scene = new Scene(group);
-        Stage stage = new Stage();
-        stage.setScene(scene);
-        stage.show();
-
-        final CssMetaData FONT = get(text.getCssMetaData(), "-fx-font");
-        final List<Style> actuals = Node.impl_getMatchingStyles(FONT, text);
-
-        //        System.err.println("matchingStyles: " + matchingStyles);
-        //        System.err.println("expecteds: " + expecteds);
-        //        System.err.println("actuals: " + actuals);
-
-        assertEquals(expecteds.size(), actuals.size(), 0);
-
-        for (Style style : expecteds) {
-            if (!actuals.remove(style)) fail();
-        }
-        assertTrue(actuals.isEmpty());
-    }
-
-    @Test @org.junit.Ignore
-    public void testGetMatchingStylesReturnsSubProperty() {
-
-        final Stylesheet stylesheet = new Stylesheet();
-        stylesheet.setOrigin(StyleOrigin.USER_AGENT);
-        StyleManager.getInstance().setDefaultUserAgentStylesheet(stylesheet);
-
-        final List<Rule> rules = stylesheet.getRules();
-
-        //
-        // .root { -fx-base: red; -fx-color: -fx-base; }
-        //
-        List<String> rootStyleClass = new ArrayList<String>();
-        rootStyleClass.add("root");
-
-        Selector root = new SimpleSelector("*", rootStyleClass, null, null);
-
-        ParsedValueImpl<Color,Color> fxFontShouldInheritValue = CSSParser.getInstance().parseExpr("-fx-font", "12px system");
-        Declaration fxFontShouldInherit = new Declaration("-fx-font", fxFontShouldInheritValue, false);
-
-        List<Selector> selectors = new ArrayList<Selector>();
-        Collections.addAll(selectors, root);
-
-        List<Declaration> declarations = new ArrayList<Declaration>();
-        Collections.addAll(declarations, fxFontShouldInherit);
-
-        Rule baseRule = new Rule(selectors, declarations);
-        rules.add(baseRule);
-
-        //
-        // .text { -fx-fill: -fx-color; }
-        //
-        List<String> rectStyleClass = new ArrayList<String>();
-        rectStyleClass.add("text");
-
-        Selector textSelector = new SimpleSelector("*", rectStyleClass, null, null);
-
-        ParsedValueImpl fxFillValue = CSSParser.getInstance().parseExpr("-fx-fill", "red");
-        Declaration fxFill = new Declaration("-fx-fill", fxFillValue, false);
-
-        ParsedValueImpl fxFontFamilyValue = CSSParser.getInstance().parseExpr("-fx-font-family", "arial");
-        Declaration fxFontFamily = new Declaration("-fx-font-family", fxFontFamilyValue, false);
-
-        selectors = new ArrayList<Selector>();
-        Collections.addAll(selectors, textSelector);
-
-        declarations = new ArrayList<Declaration>();
-        Collections.addAll(declarations, fxFill, fxFontFamily);
-
-        Rule rectRule = new Rule(selectors, declarations);
-        rules.add(rectRule);
-
-        List<Style> expecteds = new ArrayList<Style>();
-        Collections.addAll(expecteds,
-                           new Style(textSelector, fxFontFamily),
-                           new Style(root, fxFontShouldInherit)
-        );
-
-        final Text text  = new Text();
-        text.getStyleClass().add("text");
-
-        final Group group = new Group();
-        group.getChildren().add(text);
-
-        Scene scene = new Scene(group);
-        Stage stage = new Stage();
-        stage.setScene(scene);
-        stage.show();
-
-        final CssMetaData FONT = get(text.getCssMetaData(), "-fx-font");
-        final List<Style> actuals = Node.impl_getMatchingStyles(FONT, text);
-
-        //        System.err.println("matchingStyles: " + matchingStyles);
-        //        System.err.println("expecteds: " + expecteds);
-        //        System.err.println("actuals: " + actuals);
-
-        assertEquals(expecteds.size(), actuals.size(), 0);
-
-        for (Style style : expecteds) {
-            if (!actuals.remove(style)) fail();
-        }
-        assertTrue(actuals.isEmpty());
-    }
-
-    @Test
-    public void testRT18097() {
-        try {
-            File f = System.getProperties().containsKey("CSS_META_DATA_TEST_DIR") ?
-                    new File(System.getProperties().get("CSS_META_DATA_TEST_DIR").toString()) :
-                    null;
-            if (f == null) {
-                ClassLoader cl = Thread.currentThread().getContextClassLoader();
-                URL base = cl.getResource("javafx/../javafx");
-                f = new File(base.toURI());
-            }
-            //System.err.println(f.getPath());
-            recursiveCheck(f, f.getPath().length() - 7);
-        } catch (Exception ex) {
-            ex.printStackTrace(System.err);
-            fail(ex.getMessage());
-        }
-    }
-
-    private static void checkClass(Class someClass) {
-
-        if (javafx.scene.Node.class.isAssignableFrom(someClass) &&
-                Modifier.isAbstract(someClass.getModifiers()) == false) {
-
-            String what = someClass.getName();
-            try {
-                // should get NoSuchMethodException if ctor is not public
-                //                Constructor ctor = someClass.getConstructor((Class[])null);
-                Method m = someClass.getMethod("getClassCssMetaData", (Class[]) null);
-                //                Node node = (Node)ctor.newInstance((Object[])null);
-                Node node = (Node)someClass.newInstance();
-                List<CssMetaData<? extends Styleable, ?>> list = (List<CssMetaData<? extends Styleable, ?>>)m.invoke(null);
-                if(list == null || list.isEmpty()) return;
-
-                for (CssMetaData styleable : list) {
-
-                    what = someClass.getName() + " " + styleable.getProperty();
-                    WritableValue writable = styleable.getStyleableProperty(node);
-                    assertNotNull(what, writable);
-
-                    Object defaultValue = writable.getValue();
-                    Object initialValue = styleable.getInitialValue((Node) someClass.newInstance());
-
-                    if (defaultValue instanceof Number) {
-                        // 5 and 5.0 are not the same according to equals,
-                        // but they should be...
-                        assert(initialValue instanceof Number);
-                        double d1 = ((Number)defaultValue).doubleValue();
-                        double d2 = ((Number)initialValue).doubleValue();
-                        assertEquals(what, d1, d2, .001);
-
-                    } else if (defaultValue != null && defaultValue.getClass().isArray()) {
-                        assertTrue(what, Arrays.equals((Object[])defaultValue, (Object[])initialValue));
-                    } else {
-                        assertEquals(what, defaultValue, initialValue);
-                    }
-
-                }
-
-            } catch (NoSuchMethodException ex) {
-                System.err.println("NoSuchMethodException: " + what);
-            } catch (IllegalAccessException ex) {
-                System.err.println("IllegalAccessException: " + what);
-            } catch (IllegalArgumentException ex) {
-                System.err.println("IllegalArgumentException: " + what);
-            } catch (InvocationTargetException ex) {
-                System.err.println("InvocationTargetException: " + what);
-            } catch (InstantiationException ex) {
-                System.err.println("InstantiationException: " + what);
-            }
-        }
-    }
-
-    private static void checkDirectory(File directory, final int pathLength) {
-        if (directory.isDirectory()) {
-
-            for (File file : directory.listFiles()) {
-                if (file.isFile() && file.getName().endsWith(".class")) {
-                    final int len = file.getPath().length() - ".class".length();
-                    final String clName =
-                            file.getPath().substring(pathLength+1, len).replace(File.separatorChar,'.');
-                    try {
-                        final Class cl = Class.forName(clName);
-                        if (cl != null) checkClass(cl);
-                    } catch(ClassNotFoundException ex) {
-                        System.err.println(ex.toString() + " " + clName);
-                    }
-                }
-            }
-        }
-    }
-
-    private static void recursiveCheck(File directory, int pathLength) {
-        if (directory.isDirectory()) {
-            //            System.err.println(directory.getPath());
-            checkDirectory(directory, pathLength);
-
-            for (File subFile : directory.listFiles()) {
-                recursiveCheck(subFile, pathLength);
-            }
-        }
-    }
-
-    @Test @org.junit.Ignore("tested CssMetaData#set method, which is deprecated")
-    public void testRT_21185() {
-
-        Color c1 = new Color(.1,.2,.3,1.0);
-        Color c2 = new Color(.1,.2,.3,1.0);
-
-        Rectangle rect = new Rectangle();
-        rect.setFill(c1);
-
-        StyleableProperty fill = (StyleableProperty)rect.fillProperty();
-        StyleOrigin origin = ((StyleableProperty)rect.fillProperty()).getStyleOrigin();
-
-        // set should not change the value if the values are equal and origin is same
-        assertEquals(c1, c2);        
-        fill.applyStyle(origin, c2);
-
-        assertSame(c1,rect.getFill()); // instance should not change.
-
-        // set should change the value if the values are not equal.
-        c2 = new Color(.3,.2,.1,1.0);
-        fill.applyStyle(origin, c2);
-        assertSame(c2,rect.getFill());
-
-        // set should change the value if the origin is not the same
-        fill.applyStyle(StyleOrigin.INLINE, c2);
-        origin = ((StyleableProperty)rect.fillProperty()).getStyleOrigin();
-        assertSame(StyleOrigin.INLINE, origin);
-
-        // set should change the value if one is null and the other is not.
-        rect.setFill(null);
-        fill.applyStyle(origin, c2);
-        assertSame(c2, rect.getFill());
-
-        // set should change the value if one is null and the other is not
-        fill.applyStyle(origin, null);
-        assertNull(rect.getFill());
-
-    }
-
-
-    @Test  @org.junit.Ignore
-    public void testRT_24606() {
-
-        final Stylesheet stylesheet = CSSParser.getInstance().parse(
-                ".root { -fx-base: red; }" +
-                        ".group { -fx-color: -fx-base; }" +
-                        ".text { -fx-fill: -fx-color; }"
-        );
-        stylesheet.setOrigin(StyleOrigin.USER_AGENT);
-        StyleManager.getInstance().setDefaultUserAgentStylesheet(stylesheet);
-
-        final Text text = new Text("HelloWorld");
-        text.getStyleClass().add("text");
-        text.setFill(Color.BLUE);
-
-        final Group group = new Group();
-        group.getStyleClass().add("group");
-        group.getChildren().add(text);
-
-        final Group root = new Group();
-        root.getChildren().add(group);
-
-        Scene scene = new Scene(root);
-        Stage stage = new Stage();
-        stage.setScene(scene);
-        stage.show();
-
-        CssMetaData prop = ((StyleableProperty)text.fillProperty()).getCssMetaData();
-        List list = Node.impl_getMatchingStyles(prop, text);
-
-        assertEquals(3, list.size(), 0);
-
-    }
-
-}
--- a/modules/graphics/src/stub/java/com/sun/javafx/css/CursorTypeTest.java	Mon Aug 12 14:27:11 2013 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,55 +0,0 @@
-/*
- * Copyright (c) 2010, 2013, Oracle and/or its affiliates. All rights reserved.
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * This code is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License version 2 only, as
- * published by the Free Software Foundation.  Oracle designates this
- * particular file as subject to the "Classpath" exception as provided
- * by Oracle in the LICENSE file that accompanied this code.
- *
- * This code is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
- * version 2 for more details (a copy is included in the LICENSE file that
- * accompanied this code).
- *
- * You should have received a copy of the GNU General Public License version
- * 2 along with this work; if not, write to the Free Software Foundation,
- * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
- *
- * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
- * or visit www.oracle.com if you need additional information or have any
- * questions.
- */
-
-package com.sun.javafx.css;
-
-import static org.junit.Assert.assertEquals;
-import javafx.css.ParsedValue;
-import javafx.scene.Cursor;
-import javafx.scene.text.Font;
-
-import org.junit.Test;
-
-import com.sun.javafx.css.converters.CursorConverter;
-
-
-public class CursorTypeTest {
-
-    public CursorTypeTest() {
-    }
-
-    /**
-     * Test of convert method, of class CursorType.
-     */
-    @Test
-    public void testConvert() {
-        ParsedValue<String,Cursor> value = new ParsedValueImpl<String,Cursor>("hand", CursorConverter.getInstance());
-        Font font = null;
-        Cursor expResult = Cursor.HAND;
-        Cursor result = value.convert(font);
-        assertEquals(expResult, result);
-    }
-
-}
--- a/modules/graphics/src/stub/java/com/sun/javafx/css/DeclarationTest.java	Mon Aug 12 14:27:11 2013 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,139 +0,0 @@
-/*
- * Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved.
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * This code is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License version 2 only, as
- * published by the Free Software Foundation.  Oracle designates this
- * particular file as subject to the "Classpath" exception as provided
- * by Oracle in the LICENSE file that accompanied this code.
- *
- * This code is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
- * version 2 for more details (a copy is included in the LICENSE file that
- * accompanied this code).
- *
- * You should have received a copy of the GNU General Public License version
- * 2 along with this work; if not, write to the Free Software Foundation,
- * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
- *
- * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
- * or visit www.oracle.com if you need additional information or have any
- * questions.
- */
-
-package com.sun.javafx.css;
-
-import com.sun.javafx.css.parser.CSSParser;
-import java.util.ArrayList;
-import java.util.Arrays;
-import java.util.Collection;
-import java.util.Collections;
-import java.util.List;
-import javafx.css.StyleOrigin;
-import javafx.scene.paint.Color;
-import org.junit.Test;
-import static org.junit.Assert.*;
-
-import org.junit.runner.RunWith;
-import org.junit.runners.Parameterized;
-import org.junit.runners.Parameterized.Parameters;
-
-@RunWith(Parameterized.class)
-public class DeclarationTest {
-    
-    private static class Data {
-        private final Declaration d1, d2;
-        private final boolean expected;
-        Data(Declaration d1, Declaration d2, boolean expected){
-            this.d1 = d1;
-            this.d2 = d2;
-            this.expected = expected;
-        }
-        
-        @Override public String toString() {
-            return "\"" + d1 + "\" " + (expected ? "==" : "!=") + " \"" + d2 + "\"";
-        }
-    }
-    
-    public DeclarationTest(Data data) {
-        this.data = data;
-    }
-    private final Data data;
-    
-
-    @Parameters
-    public static Collection data() {
-
-        int n = 0;
-        final int GI = n++; // green inline
-        final int YI = n++; // yellow inline
-        final int GA1 = n++; // green author 1 
-        final int YA1 = n++; // yellow author 1 
-        final int GA2 = n++; // green author 2 
-        final int YA2 = n++; // yellow author 2 
-        
-        final Declaration[] DECLS = new Declaration[n];
-        
-        Stylesheet inlineSS = new Stylesheet() {
-            {
-                setOrigin(StyleOrigin.INLINE);
-                
-                DECLS[GI] = new Declaration("-fx-base", new ParsedValueImpl<Color,Color>(Color.GREEN, null), false);
-                DECLS[YI] = new Declaration("-fx-color", new ParsedValueImpl<Color,Color>(Color.YELLOW, null), false);
-    
-                Collections.addAll(getRules(),
-                    new Rule(Arrays.asList(SimpleSelector.getUniversalSelector()), Arrays.asList(DECLS[GI])),
-                    new Rule(Arrays.asList(SimpleSelector.getUniversalSelector()), Arrays.asList(DECLS[YI]))
-                );
-            }
-        };
-        
-        Stylesheet authorSS_1 = new Stylesheet() {
-            {
-                setOrigin(StyleOrigin.AUTHOR);
-                
-                DECLS[GA1] = new Declaration("-fx-base", new ParsedValueImpl<Color,Color>(Color.GREEN, null), false);
-                DECLS[YA1] = new Declaration("-fx-color", new ParsedValueImpl<Color,Color>(Color.YELLOW, null), false);
-    
-                Collections.addAll(getRules(),
-                    new Rule(Arrays.asList(SimpleSelector.getUniversalSelector()), Arrays.asList(DECLS[GA1])),
-                    new Rule(Arrays.asList(SimpleSelector.getUniversalSelector()), Arrays.asList(DECLS[YA1]))
-                );
-            }
-        };
-        
-        Stylesheet authorSS_2 = new Stylesheet() {
-            {
-                setOrigin(StyleOrigin.AUTHOR);
-                
-                DECLS[GA2] = new Declaration("-fx-base", new ParsedValueImpl<Color,Color>(Color.GREEN, null), false);
-                DECLS[YA2] = new Declaration("-fx-color", new ParsedValueImpl<Color,Color>(Color.YELLOW, null), false);
-    
-                Collections.addAll(getRules(),
-                    new Rule(Arrays.asList(SimpleSelector.getUniversalSelector()), Arrays.asList(DECLS[GA2])),
-                    new Rule(Arrays.asList(SimpleSelector.getUniversalSelector()), Arrays.asList(DECLS[YA2]))
-                );
-            }
-        };
-        
-        return Arrays.asList(new Object[] {
-            new Object[] { new Data(DECLS[GA1], DECLS[GA2], true) },
-            new Object[] { new Data(DECLS[GA1], DECLS[YA1], false) },
-            new Object[] { new Data(DECLS[GA1], DECLS[GI],  false) }
-        });
-    }
-    
-    @Test
-    public void testEquals() {
-
-        Declaration instance = data.d1;
-        Declaration obj = data.d2;
-        boolean expected = data.expected;
-        boolean actual = instance.equals(obj);
-        assertTrue(data.toString(), expected == actual);
-        
-    }
-
-}
--- a/modules/graphics/src/stub/java/com/sun/javafx/css/EffectTypeTest.java	Mon Aug 12 14:27:11 2013 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,182 +0,0 @@
-/*
- * Copyright (c) 2010, 2013, Oracle and/or its affiliates. All rights reserved.
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * This code is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License version 2 only, as
- * published by the Free Software Foundation.  Oracle designates this
- * particular file as subject to the "Classpath" exception as provided
- * by Oracle in the LICENSE file that accompanied this code.
- *
- * This code is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
- * version 2 for more details (a copy is included in the LICENSE file that
- * accompanied this code).
- *
- * You should have received a copy of the GNU General Public License version
- * 2 along with this work; if not, write to the Free Software Foundation,
- * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
- *
- * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
- * or visit www.oracle.com if you need additional information or have any
- * questions.
- */
-
-package com.sun.javafx.css;
-
-import static org.junit.Assert.assertEquals;
-import javafx.css.ParsedValue;
-import javafx.scene.effect.BlurType;
-import javafx.scene.effect.DropShadow;
-import javafx.scene.effect.Effect;
-import javafx.scene.effect.InnerShadow;
-import javafx.scene.paint.Color;
-import javafx.scene.text.Font;
-
-import org.junit.Test;
-
-import com.sun.javafx.css.converters.EffectConverter;
-import com.sun.javafx.css.parser.DeriveColorConverter;
-
-
-public class EffectTypeTest {
-
-    public EffectTypeTest() {
-    }
-
-    Size makeSize(float f) {
-        return new Size(f, SizeUnits.PX);
-    }
-
-    InnerShadow getInnerShadow() {
-        return new InnerShadow();
-    }
-
-    ParsedValue<ParsedValue[], Effect> getInnerShadowValue(InnerShadow is, boolean colorIsDerived) {
-        Size offsetX = makeSize((float) is.getOffsetX());
-        Size offsetY = makeSize((float) is.getOffsetX());
-        Size choke = makeSize((float) is.getChoke());
-        Size radius = makeSize((float) is.getRadius());
-
-        ParsedValue<?,Color> colorVal;
-
-        if (colorIsDerived) {
-            ParsedValue[] values = new ParsedValue[] {
-                new ParsedValueImpl<Color,Color>(is.getColor(),null),
-                new ParsedValueImpl<Size,Size>(makeSize(0.5f),null)
-            };
-            colorVal = new ParsedValueImpl<ParsedValue[],Color>(values, DeriveColorConverter.getInstance());
-        } else {
-            colorVal = new ParsedValueImpl<Color,Color>(is.getColor(),null);
-        }
-
-        BlurType blurType = is.getBlurType();
-
-        ParsedValue[] vals = new ParsedValue[] {
-            new ParsedValueImpl<BlurType,BlurType>(blurType, null),
-            colorVal,
-            new ParsedValueImpl<Size,Size>(radius, null),
-            new ParsedValueImpl<Size,Size>(choke, null),
-            new ParsedValueImpl<Size,Size>(offsetX, null),
-            new ParsedValueImpl<Size,Size>(offsetY, null)
-        };
-
-        return new ParsedValueImpl<ParsedValue[],Effect>(vals, EffectConverter.InnerShadowConverter.getInstance());
-    }
-
-    DropShadow getDropShadow() {
-        return new DropShadow();
-    }
-
-    ParsedValue<ParsedValue[], Effect> getDropShadowValue(DropShadow ds, boolean colorIsDerived) {
-        Size offsetX = makeSize((float) ds.getOffsetX());
-        Size offsetY = makeSize((float) ds.getOffsetX());
-        Size spread = makeSize((float) ds.getSpread());
-        Size radius = makeSize((float) ds.getRadius());
-
-        ParsedValue<?,Color> colorVal;
-
-        if (colorIsDerived) {
-            ParsedValue[] values = new ParsedValue[] {
-                new ParsedValueImpl<Color,Color>(ds.getColor(),null),
-                new ParsedValueImpl<Size,Size>(makeSize(0.5f),null)
-            };
-            colorVal = new ParsedValueImpl<ParsedValue[],Color>(values, DeriveColorConverter.getInstance());
-        } else {
-            colorVal = new ParsedValueImpl<Color,Color>(ds.getColor(),null);
-        }
-
-        BlurType blurType = ds.getBlurType();
-
-        ParsedValue[] vals = new ParsedValue[] {
-            new ParsedValueImpl<BlurType,BlurType>(blurType, null),
-            colorVal,
-            new ParsedValueImpl<Size,Size>(radius, null),
-            new ParsedValueImpl<Size,Size>(spread, null),
-            new ParsedValueImpl<Size,Size>(offsetX, null),
-            new ParsedValueImpl<Size,Size>(offsetY, null)
-        };
-
-        return new ParsedValueImpl<ParsedValue[],Effect>(vals, EffectConverter.DropShadowConverter.getInstance());
-    }
-
-    void checkColor(String msg, Color c1, Color c2) {
-        assertEquals(msg + ".red", c1.getRed(), c2.getRed(), 0.001);
-        assertEquals(msg + ".blue", c1.getBlue(), c2.getBlue(), 0.001);
-        assertEquals(msg + ".green", c1.getGreen(), c2.getGreen(), 0.001);
-        assertEquals(msg + ".opacity", c1.getOpacity(), c2.getOpacity(), 0.001);
-    }
-
-    void checkInnerShadow(String msg, InnerShadow o1, InnerShadow o2) {
-        assertEquals(msg + "innershadow.offsetX", o1.getOffsetX(), o2.getOffsetX(), 0.001);
-        assertEquals(msg + "innershadow.offsety", o1.getOffsetY(), o2.getOffsetY(), 0.001);
-        assertEquals(msg + "innershadow.choke", o1.getChoke(), o2.getChoke(), 0.001);
-        assertEquals(msg + "innershadow.radius", o1.getRadius(), o2.getRadius(), 0.001);
-        checkColor(msg + "innershadow", o1.getColor(), o2.getColor());
-        assertEquals(msg + "innershadow.blurType", o1.getBlurType(), o2.getBlurType());
-    }
-
-    void checkDropShadow(String msg, DropShadow o1, DropShadow o2) {
-        assertEquals(msg + "DropShadow.offsetX", o1.getOffsetX(), o2.getOffsetX(), 0.001);
-        assertEquals(msg + "DropShadow.offsety", o1.getOffsetY(), o2.getOffsetY(), 0.001);
-        assertEquals(msg + "DropShadow.spread", o1.getSpread(), o2.getSpread(), 0.001);
-        assertEquals(msg + "DropShadow.radius", o1.getRadius(), o2.getRadius(), 0.001);
-        checkColor(msg + "DropShadow", o1.getColor(), o2.getColor());
-        assertEquals(msg + "DropShadow.blurType", o1.getBlurType(), o2.getBlurType());
-    }
-
-    /**
-     * Test of convert method, of class EffectType.
-     */
-    @Test
-    public void testConvert() {
-        //System.out.println("convert");
-        InnerShadow is = getInnerShadow();
-        Font font = null;
-        ParsedValue<ParsedValue[], Effect> value = getInnerShadowValue(is, false);
-        Effect result = value.convert(font);
-        checkInnerShadow("convert[1] ",  is, (InnerShadow)result);
-
-        // Test with derived colors
-        value = getInnerShadowValue(is, true);
-        result = value.convert(font);
-        // derived color is 50% of is.getColor()
-        is.setColor(com.sun.javafx.Utils.deriveColor(is.getColor(), 0.5f));
-        checkInnerShadow("convert[2] ", is, (InnerShadow)result);
-
-        DropShadow ds = getDropShadow();
-        value = getDropShadowValue(ds, false);
-        result = value.convert(font);
-        checkDropShadow("convert[3] ", ds, (DropShadow)result);
-
-        // Test with derived colors
-        value = getDropShadowValue(ds, true);
-        result = value.convert(font);
-        // derived color is 50% of is.getColor()
-        ds.setColor(com.sun.javafx.Utils.deriveColor(ds.getColor(), 0.5f));
-        checkDropShadow("convert[4] ", ds, (DropShadow)result);
-
-    }
-
-}
--- a/modules/graphics/src/stub/java/com/sun/javafx/css/EnumTypeTest.java	Mon Aug 12 14:27:11 2013 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,70 +0,0 @@
-/*
- * Copyright (c) 2010, 2013, Oracle and/or its affiliates. All rights reserved.
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * This code is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License version 2 only, as
- * published by the Free Software Foundation.  Oracle designates this
- * particular file as subject to the "Classpath" exception as provided
- * by Oracle in the LICENSE file that accompanied this code.
- *
- * This code is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
- * version 2 for more details (a copy is included in the LICENSE file that
- * accompanied this code).
- *
- * You should have received a copy of the GNU General Public License version
- * 2 along with this work; if not, write to the Free Software Foundation,
- * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
- *
- * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
- * or visit www.oracle.com if you need additional information or have any
- * questions.
- */
-
-package com.sun.javafx.css;
-
-import static org.junit.Assert.assertEquals;
-import static org.junit.Assert.fail;
-import javafx.css.ParsedValue;
-import javafx.css.StyleConverter;
-import javafx.scene.text.Font;
-
-import org.junit.Test;
-
-import com.sun.javafx.css.converters.EnumConverter;
-
-
-public class EnumTypeTest {
-
-    public EnumTypeTest() {
-    }
-
-    /**
-     * Test of convert method, of class EnumType.
-     */
-    @Test
-    public void testConvert() {
-        StyleConverter sizeUnitsType = new EnumConverter(SizeUnits.class);
-        ParsedValue<String,Enum> value = 
-                new ParsedValueImpl<String,Enum>("percent", sizeUnitsType);
-        Font font = null;
-        Enum expResult = SizeUnits.PERCENT;
-        Enum result = value.convert(font);
-        assertEquals(expResult, result);
-
-        value = new ParsedValueImpl<String,Enum>("SizeUnits.PERCENT", sizeUnitsType);
-        result = value.convert(font);
-        assertEquals(expResult, result);
-
-        try {
-            value = new ParsedValueImpl<String,Enum>("fubar", sizeUnitsType);
-            result = value.convert(font);
-            fail("expected IllegalArgumentException");
-        } catch (IllegalArgumentException iae) {
-        }
-
-    }
-
-}
--- a/modules/graphics/src/stub/java/com/sun/javafx/css/FontSizeTypeTest.java	Mon Aug 12 14:27:11 2013 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,104 +0,0 @@
-/*
- * Copyright (c) 2010, 2013, Oracle and/or its affiliates. All rights reserved.
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * This code is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License version 2 only, as
- * published by the Free Software Foundation.  Oracle designates this
- * particular file as subject to the "Classpath" exception as provided
- * by Oracle in the LICENSE file that accompanied this code.
- *
- * This code is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
- * version 2 for more details (a copy is included in the LICENSE file that
- * accompanied this code).
- *
- * You should have received a copy of the GNU General Public License version
- * 2 along with this work; if not, write to the Free Software Foundation,
- * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
- *
- * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
- * or visit www.oracle.com if you need additional information or have any
- * questions.
- */
-
-package com.sun.javafx.css;
-
-import com.sun.javafx.css.converters.SizeConverter;
-import javafx.css.ParsedValue;
-import javafx.scene.text.Font;
-import static org.junit.Assert.assertEquals;
-import org.junit.Test;
-
-
-public class FontSizeTypeTest {
-
-    public FontSizeTypeTest() {
-    }
-
-    /**
-     * Test of convert method, of class FontSizeType.
-     */
-    @Test
-    public void testConvertToPixels() {
-        ParsedValue<Size,Size> size = new ParsedValueImpl<Size,Size>(new Size(2.0f, SizeUnits.EM), null);
-        ParsedValue<ParsedValue<?,Size>,Number> value = new ParsedValueImpl<ParsedValue<?,Size>,Number>(size, SizeConverter.getInstance());
-        Font font = Font.getDefault();
-        double expResult = SizeUnits.EM.pixels(2, 1, font);
-        double result = SizeConverter.getInstance().convert(value, font).doubleValue();
-        assertEquals(expResult, result, 0.01);
-
-        size = new ParsedValueImpl<Size,Size>(new Size(120.0f, SizeUnits.PERCENT), null);
-        value = new ParsedValueImpl<ParsedValue<?,Size>,Number>(size, SizeConverter.getInstance());
-        expResult = SizeUnits.PERCENT.pixels(120, 1, font);
-        result = SizeConverter.getInstance().convert(value, font).doubleValue();
-        assertEquals(expResult, result, 0.01);
-
-        size = new ParsedValueImpl<Size,Size>(new Size(12.0f, SizeUnits.PT), null);
-        value = new ParsedValueImpl<ParsedValue<?,Size>,Number>(size, SizeConverter.getInstance());
-        expResult = SizeUnits.PT.pixels(12, 1, font);
-        result = SizeConverter.getInstance().convert(value, font).doubleValue();
-        assertEquals(expResult, result, 0.01);
-
-        size = new ParsedValueImpl<Size,Size>(new Size(12.0f, SizeUnits.PX), null);
-        value = new ParsedValueImpl<ParsedValue<?,Size>,Number>(size, SizeConverter.getInstance());
-        expResult = SizeUnits.PX.pixels(12, 1, font);
-        result = SizeConverter.getInstance().convert(value, font).doubleValue();
-        assertEquals(expResult, result, 0.01);
-    }
-
-//    @Test
-//    public void testConvertToPoints() {
-//
-//        Font font = Font.getDefault();
-//        // font size is in pixels. convert to points
-//        double pointSize = font.getSize() / javafx.stage.Screen.getPrimary().getDpi() * 72;
-//
-//        ParsedValue<Size,Size> size = new ParsedValueImpl<Size,Size>(new Size(2.0f, SizeUnits.EM), null);
-//        ParsedValue<Value<?,Size>,Double> value = new ParsedValueImpl<Value<?,Size>,Double>(size, StyleConverter.POINTS);
-//        double expResult = SizeUnits.EM.points(2, 1, font);
-//        double result = StyleConverter.POINTS.convert(value, font);
-//        assertEquals(expResult, result, 0.01);
-//
-//        size = new ParsedValueImpl<Size,Size>(new Size(120.0f, SizeUnits.PERCENT), null);
-//        value = new ParsedValueImpl<Value<?,Size>,Double>(size, StyleConverter.POINTS);
-//        expResult = SizeUnits.PERCENT.points(120, 1, font);
-//        result = StyleConverter.POINTS.convert(value, font);
-//        assertEquals(expResult, result, 0.01);
-//
-//        size = new ParsedValueImpl<Size,Size>(new Size(12.0f, SizeUnits.PT), null);
-//        value = new ParsedValueImpl<Value<?,Size>,Double>(size, StyleConverter.POINTS);
-//        expResult = SizeUnits.PT.points(12, 1, font);
-//        result = StyleConverter.POINTS.convert(value, font);
-//        assertEquals(expResult, result, 0.01);
-//
-//        size = new ParsedValueImpl<Size,Size>(new Size(12.0f, SizeUnits.PX), null);
-//        value = new ParsedValueImpl<Value<?,Size>,Double>(size, StyleConverter.POINTS);
-//        expResult = SizeUnits.PX.points(12, 1, font);
-//        result = StyleConverter.POINTS.convert(value, font);
-//        assertEquals(expResult, result, 0.01);
-//
-//    }
-
-}
--- a/modules/graphics/src/stub/java/com/sun/javafx/css/FontTypeTest.java	Mon Aug 12 14:27:11 2013 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,243 +0,0 @@
-/*
- * Copyright (c) 2010, 2013, Oracle and/or its affiliates. All rights reserved.
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * This code is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License version 2 only, as
- * published by the Free Software Foundation.  Oracle designates this
- * particular file as subject to the "Classpath" exception as provided
- * by Oracle in the LICENSE file that accompanied this code.
- *
- * This code is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
- * version 2 for more details (a copy is included in the LICENSE file that
- * accompanied this code).
- *
- * You should have received a copy of the GNU General Public License version
- * 2 along with this work; if not, write to the Free Software Foundation,
- * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
- *
- * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
- * or visit www.oracle.com if you need additional information or have any
- * questions.
- */
-
-package com.sun.javafx.css;
-
-import com.sun.javafx.css.converters.FontConverter;
-import com.sun.javafx.css.converters.SizeConverter;
-import com.sun.javafx.css.parser.CSSParser;
-import javafx.css.ParsedValue;
-import javafx.scene.Group;
-import javafx.scene.Scene;
-import javafx.scene.text.Font;
-import javafx.scene.text.FontPosture;
-import javafx.scene.text.FontWeight;
-import javafx.scene.text.Text;
-
-import static org.junit.Assert.assertEquals;
-import org.junit.Test;
-
-
-public class FontTypeTest {
-
-    public FontTypeTest() {
-    }
-
-    void checkFont(Font expResult, Font result) {
-        assertEquals("family", expResult.getFamily(), result.getFamily());
-        assertEquals("size", expResult.getSize(), result.getSize(), 0.001);
-        // TODO: how to check for weight and posture?
-    }
-    /**
-     * Test of convert method, of class FontType.
-     */
-    @Test
-    public void testConvert_Value_Font() {
-        //System.out.println("convert");
-        Font font = Font.getDefault();
-
-        ParsedValue<String,String> family = new ParsedValueImpl<String,String>(font.getFamily(), null);
-
-        ParsedValue<ParsedValue<?,Size>,Number> size =
-                new ParsedValueImpl<ParsedValue<?,Size>,Number>(
-                    new ParsedValueImpl<Size,Size>(new Size(2.0f, SizeUnits.EM), null),
-                    SizeConverter.getInstance()
-                );
-
-        ParsedValue<String,FontPosture> style =
-                new ParsedValueImpl<String,FontPosture>(FontPosture.REGULAR.name(), FontConverter.FontStyleConverter.getInstance());
-
-        ParsedValue<String,FontWeight> weight =
-                new ParsedValueImpl<String,FontWeight>(FontWeight.NORMAL.name(), FontConverter.FontWeightConverter.getInstance());
-        ParsedValue<ParsedValue[],Font> value = new ParsedValueImpl<ParsedValue[],Font>(
-                new ParsedValue[] {family, size, weight, style},
-                FontConverter.getInstance()
-            );
-
-        Font expResult = Font.font(font.getFamily(), font.getSize() * 2);
-        Font result = value.convert(font);
-        checkFont(expResult, result);
-
-        size =
-                new ParsedValueImpl<ParsedValue<?,Size>,Number>(
-                    new ParsedValueImpl<Size,Size>(new Size(120, SizeUnits.PERCENT), null),
-                    SizeConverter.getInstance()
-                );
-
-        value = new ParsedValueImpl<ParsedValue[],Font>(
-                new ParsedValue[] {family, size, weight, style},
-                FontConverter.getInstance()
-            );
-
-        expResult = Font.font(font.getFamily(), font.getSize() * 1.2);
-        result = value.convert(font);
-        checkFont(expResult, result);
-
-        size =
-                new ParsedValueImpl<ParsedValue<?,Size>,Number>(
-                    new ParsedValueImpl<Size,Size>(new Size(font.getSize(), SizeUnits.PT), null),
-                    SizeConverter.getInstance()
-                );
-
-        value = new ParsedValueImpl<ParsedValue[],Font>(
-                new ParsedValue[] {family, size, weight, style},
-                FontConverter.getInstance()
-            );
-
-        expResult = Font.font(font.getFamily(), font.getSize() * (96.0/72.0));
-        result = value.convert(font);
-        checkFont(expResult, result);
-        
-    }
-
-    @Test public void test_RT_21960_Bold_Italic() {
-        
-        ParsedValue pv = CSSParser.getInstance().parseExpr("-fx-font", "italic bold 24 Amble");
-        Font f = (Font)pv.convert(null);
-        assertEquals("Bold Italic", f.getStyle());
-        assertEquals("Amble", f.getFamily());
-        assertEquals(24, f.getSize(),0);
-    }
-    
-    @Test public void test_RT_21960_Bold() {
-        
-        ParsedValue pv = CSSParser.getInstance().parseExpr("-fx-font", "bold 24 Amble");
-        Font f = (Font)pv.convert(null);
-        assertEquals("Bold", f.getStyle());
-        assertEquals("Amble", f.getFamily());
-        assertEquals(24, f.getSize(),0);
-    }
-
-    @Test public void test_RT_21960_Italic() {
-        
-        ParsedValue pv = CSSParser.getInstance().parseExpr("-fx-font", "italic 24 Amble");
-        Font f = (Font)pv.convert(null);
-        assertEquals("Italic", f.getStyle());
-        assertEquals("Amble", f.getFamily());
-        assertEquals(24, f.getSize(),0);
-    }
-
-    @Test public void test_RT_21960_Neither_Bold_Nor_Italic() {
-        
-        ParsedValue pv = CSSParser.getInstance().parseExpr("-fx-font", "24 Amble");
-        Font f = (Font)pv.convert(null);
-        assertEquals("Regular", f.getStyle());
-        assertEquals("Amble", f.getFamily());
-        assertEquals(24, f.getSize(),0);
-    }
-
-    @Test public void test_RT_25355_shorthandLast() {
-
-        Text txt = new Text("test_RT_25355");
-        txt.setStyle("-fx-font-weight: bold; -fx-font: 16 Amble;");
-
-        Scene scene  = new Scene(new Group());
-        ((Group)scene.getRoot()).getChildren().add(txt);
-
-        txt.impl_processCSS(true);
-
-        Font f = txt.getFont();
-        assertEquals("Regular", f.getStyle());
-        assertEquals("Amble", f.getFamily());
-        assertEquals(16, f.getSize(),0);
-    }
-
-    @Test public void test_RT_25355_shorthandFirst() {
-
-        Text txt = new Text("test_RT_25355");
-        txt.setStyle("-fx-font: 16 Amble; -fx-font-weight: bold;");
-
-        Scene scene  = new Scene(new Group());
-        ((Group)scene.getRoot()).getChildren().add(txt);
-
-        txt.impl_processCSS(true);
-
-        Font f = txt.getFont();
-        assertEquals("Bold", f.getStyle());
-        assertEquals("Amble", f.getFamily());
-        assertEquals(16, f.getSize(),0);
-
-    }
-
-    @Test public void test_RT_25355_shorthandFirstInheritedWeight() {
-
-        Text txt = new Text("test_RT_25355");
-        txt.setStyle("-fx-font: 16 Amble;");
-
-        Group g = new Group();
-        g.setStyle("-fx-font-weight: bold");
-
-        Scene scene  = new Scene(g);
-        g.getChildren().add(txt);
-
-        g.impl_processCSS(true);
-
-        Font f = txt.getFont();
-        assertEquals("Regular", f.getStyle());
-        assertEquals("Amble", f.getFamily());
-        assertEquals(16, f.getSize(),0);
-
-    }
-
-    @Test public void test_RT_25355_weightFirstInheritedShorthand() {
-
-        Text txt = new Text("test_RT_25355");
-        txt.setStyle("-fx-font-weight: bold;");
-
-        Group g = new Group();
-        g.setStyle("-fx-font: 16 Amble;");
-
-        Scene scene  = new Scene(g);
-        g.getChildren().add(txt);
-
-        g.impl_processCSS(true);
-
-        Font f = txt.getFont();
-        assertEquals("Bold", f.getStyle());
-        assertEquals("Amble", f.getFamily());
-        assertEquals(16, f.getSize(),0);
-
-    }
-
-    @Test public void testInheritedFontDoesNotOverrideUserSetFont() {
-
-        Text txt = new Text("testInheritedFontDoesNotOverrideUserSetFont");
-        txt.setFont(Font.font("Amble", 32));
-
-        Group g = new Group();
-        g.setStyle("-fx-font: 16 Amble;");
-
-        Scene scene  = new Scene(g);
-        g.getChildren().add(txt);
-
-        g.impl_processCSS(true);
-
-        Font f = txt.getFont();
-        assertEquals("Amble", f.getFamily());
-        assertEquals(32, f.getSize(),0);
-
-    }
-
-}
--- a/modules/graphics/src/stub/java/com/sun/javafx/css/HonorDeveloperSettingsTest.java	Mon Aug 12 14:27:11 2013 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,391 +0,0 @@
-/*
- * Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * This code is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License version 2 only, as
- * published by the Free Software Foundation.  Oracle designates this
- * particular file as subject to the "Classpath" exception as provided
- * by Oracle in the LICENSE file that accompanied this code.
- *
- * This code is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
- * version 2 for more details (a copy is included in the LICENSE file that
- * accompanied this code).
- *
- * You should have received a copy of the GNU General Public License version
- * 2 along with this work; if not, write to the Free Software Foundation,
- * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
- *
- * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
- * or visit www.oracle.com if you need additional information or have any
- * questions.
- */
-
-package com.sun.javafx.css;
-
-import static org.junit.Assert.*;
-
-import javafx.beans.value.ChangeListener;
-import javafx.beans.value.ObservableValue;
-import javafx.scene.Cursor;
-import javafx.scene.Group;
-import javafx.scene.Scene;
-import javafx.scene.shape.Rectangle;
-import javafx.scene.text.Font;
-import javafx.scene.text.FontSmoothingType;
-import javafx.scene.text.Text;
-import javafx.stage.Stage;
-import javafx.stage.Window;
-
-import com.sun.javafx.Logging;
-import org.junit.Before;
-import org.junit.Test;
-import sun.util.logging.PlatformLogger;
-
-/**
- * AKA: RT-7401. Tests that the pattern used works by testing opacity
- * specifically. Tests for font and text-fill should be done in the tests
- * for Label and Labeled.
- */
-public class HonorDeveloperSettingsTest {
-
-    private Scene scene;
-    private Rectangle rect;
-    private Text text;
-
-    // Scene must have a Window for CSS to load the stylesheet.
-    // And Window must have a Scene for StyleManager to find the right scene
-    static class TestWindow extends Window {
-        @Override public void setScene(Scene value) {
-            super.setScene(value);
-        }
-    }
-
-    @Before
-    public void setUp() {
-        rect = new Rectangle();
-        rect.setId("rectangle");
-
-        text = new Text();
-        text.setId("text");
-
-        Group group = new Group();
-        group.getChildren().addAll(rect, text);
-
-        scene = new Scene(group);/* {
-            TestWindow window;
-            {
-                window = new TestWindow();
-                window.setScene(HonorDeveloperSettingsTest.this.scene);
-                impl_setWindow(window);
-            }
-        };*/
-        
-        System.setProperty("binary.css", "false");
-        String url = getClass().getResource("HonorDeveloperSettingsTest_UA.css").toExternalForm();
-        StyleManager.getInstance().getInstance().setDefaultUserAgentStylesheet(url);
-        
-        Stage stage = new Stage();
-        stage.setScene(scene);
-        stage.show();
-    }
-
-    @Test
-    public void testOpacityIsSetByCSSByDefault() {
-        rect.impl_processCSS(true);
-        assertEquals(.76, rect.getOpacity(), 0.01);
-    }
-
-    @Test
-    public void testOpacityWithInitializedValueSameAsDefaultValueIsIgnoredByCSS() {
-        rect.setOpacity(1.0);
-        rect.impl_processCSS(true);
-        assertEquals(1.0, rect.getOpacity(), 0.01);
-    }
-
-    @Test
-    public void testOpacityWithInitializedValueIsIgnoredByCSS() {
-        rect.setOpacity(0.535);
-        rect.impl_processCSS(true);
-        assertEquals(0.535, rect.getOpacity(), 0.01);
-    }
-
-    @Test
-    public void testOpacityWithManuallyChangedValueIsIgnoredByCSS() {
-        rect.impl_processCSS(true);
-        assertEquals(.76, rect.getOpacity(), 0.01);
-        rect.setOpacity(.873);
-        rect.impl_processCSS(true);
-        assertEquals(.873, rect.getOpacity(), 0.01);
-    }
-
-    @Test
-    public void testOpacityWithManuallyChangedValueAndInlineStyleIsSetToInlineStyle() {
-        rect.impl_processCSS(true);
-        assertEquals(.76, rect.getOpacity(), 0.01);
-        rect.setStyle("-fx-opacity: 42%;");
-        rect.setOpacity(.873);
-        rect.impl_processCSS(true);
-        assertEquals(.42, rect.getOpacity(), 0.01);
-    }
-
-    @Test
-    public void testCursorIsSetByCSSByDefault() {
-        rect.impl_processCSS(true);
-        assertEquals(Cursor.HAND, rect.getCursor());
-    }
-
-    @Test
-    public void testCursorWithInitializedValueSameAsDefaultValueIsIgnoredByCSS() {
-        rect.setCursor(null);
-        rect.impl_processCSS(true);
-        assertEquals(null, rect.getCursor());
-    }
-
-    @Test
-    public void testCursorWithInitializedValueIsIgnoredByCSS() {
-        rect.setCursor(Cursor.WAIT);
-        rect.impl_processCSS(true);
-        assertEquals(Cursor.WAIT, rect.getCursor());
-    }
-
-    @Test
-    public void testCursorWithManuallyChangedValueIsIgnoredByCSS() {
-        rect.impl_processCSS(true);
-        assertEquals(Cursor.HAND, rect.getCursor());
-        rect.setCursor(Cursor.WAIT);
-        rect.impl_processCSS(true);
-        assertEquals(Cursor.WAIT, rect.getCursor());
-    }
-
-//    public void testEffectIsSetByCSSByDefault() {
-//        final Rectangle rect = Rectangle { id: "rectangle" }
-//        scene.stylesheets = "{__DIR__}HonorDeveloperSettingsTest.css";
-//        scene.content = rect;
-//        rect.impl_processCSS(true);
-//        assertNotNull(rect.effect);
-//    }
-//
-//    public void testEffectWithInitializedValueSameAsDefaultValueIsIgnoredByCSS() {
-//        final Rectangle rect = Rectangle {
-//            id: "rectangle"
-//            effect: null
-//        }
-//        scene.stylesheets = "{__DIR__}HonorDeveloperSettingsTest.css";
-//        scene.content = rect;
-//        rect.impl_processCSS(true);
-//        assertNull(rect.effect);
-//    }
-//
-//    public void testEffectWithInitializedValueIsIgnoredByCSS() {
-//        DropShadow shadow = DropShadow { }
-//        final Rectangle rect = Rectangle {
-//            id: "rectangle"
-//            effect: shadow
-//        }
-//        scene.stylesheets = "{__DIR__}HonorDeveloperSettingsTest.css";
-//        scene.content = rect;
-//        rect.impl_processCSS(true);
-//        assertSame(shadow, rect.effect);
-//    }
-//
-//    public void testEffectWithManuallyChangedValueIsIgnoredByCSS() {
-//        DropShadow shadow = DropShadow { }
-//        final Rectangle rect = Rectangle { id: "rectangle" }
-//        scene.stylesheets = "{__DIR__}HonorDeveloperSettingsTest.css";
-//        scene.content = rect;
-//        rect.impl_processCSS(true);
-//        assertNotSame(shadow, rect.effect);
-//        rect.effect = shadow;
-//        rect.impl_processCSS(true);
-//        assertSame(shadow, rect.effect);
-//    }
-
-    @Test
-    public void testFontIsSetByCSSByDefault() {
-        text.impl_processCSS(true);
-        assertNotSame(Font.getDefault(), text.getFont());
-    }
-
-    @Test
-    public void testFontWithInitializedValueSameAsDefaultValueIsIgnoredByCSS() {
-        text.setFont(Font.getDefault());
-        text.impl_processCSS(true);
-        assertSame(Font.getDefault(), text.getFont());
-    }
-
-    @Test
-    public void testFontWithInitializedValueIsIgnoredByCSS() {
-        Font f = Font.font(Font.getDefault().getFamily(), 54.0);
-        text.setFont(f);
-        text.impl_processCSS(true);
-        assertSame(f, text.getFont());
-    }
-
-    @Test
-    public void testFontWithManuallyChangedValueIsIgnoredByCSS() {
-        Font f = Font.font(Font.getDefault().getFamily(), 54.0);
-        text.impl_processCSS(true);
-        assertNotSame(f, text.getFont());
-        text.setFont(f);
-        text.impl_processCSS(true);
-        assertSame(f, text.getFont());
-    }
-    
-    @Test
-    public void testUseInheritedFontSizeFromStylesheetForEmSize() {
-        
-        String url = getClass().getResource("HonorDeveloperSettingsTest_AUTHOR.css").toExternalForm();
-        scene.getStylesheets().add(url);
-        scene.getRoot().impl_processCSS(true);
-        assertEquals(20, rect.getStrokeWidth(), 0.00001);
-        
-    }
-    
-    @Test
-    public void testInhertWithNoStyleDoesNotOverrideUserSetValue() {
-        Font font = Font.font("Amble", 14);
-        text.setFont(font);
-        
-        String url = getClass().getResource("HonorDeveloperSettingsTest_AUTHOR.css").toExternalForm();
-        scene.getStylesheets().add(url);
-           
-        scene.getRoot().impl_processCSS(true);
-        //
-        // Stroke width is set to 1em in the author stylesheet. If 
-        // RT-20145 is not working, then the code will pick up the 20px
-        // font size.
-        //
-        assertEquals(14, text.getStrokeWidth(), 0.00001);
-        
-    }
-    
-    @Test
-    public void testInlineStyleInheritedFromParentApplies() {
-
-        // Must remove the id so we don't match on the ua style.
-        text.setId(null);
-        text.setStyle("-fx-stroke-width: 1em; -fx-stroke: red;");
-        
-        scene.getRoot().setStyle("-fx-font: 18 Amble;");
-       
-        scene.getRoot().impl_processCSS(true);
-        
-        //
-        // If RT-20513 is not working, then the code will _not_ 
-        // pick up the inline style
-        //        
-        assertEquals(18, text.getStrokeWidth(), 0.00001);
-        
-    }
-    
-    @Test
-    public void testInlineStyleNotInheritedFromParentWhenUserSetsFont() {
-        
-        text.setStyle("-fx-stroke-width: 1em;");
-        
-        Font font = Font.font("Amble", 14);
-        text.setFont(font);
-        
-        scene.getRoot().setStyle("-fx-font: 18 Amble;");
-        
-        scene.getRoot().impl_processCSS(true);
-                
-        assertEquals(14, text.getStrokeWidth(), 0.00001);
-        
-    }
-
-    
-    @Test public void test_RT_20686_UAStyleDoesNotOverrideSetFontSmoothingType() {
-        
-        text.setId("rt-20686-ua");
-        text.setFontSmoothingType(FontSmoothingType.LCD);
-        
-        scene.getRoot().impl_processCSS(true);
-         
-        assertEquals(FontSmoothingType.LCD, text.getFontSmoothingType());
-        
-    }
-    
-    @Test public void test_RT_20686_AuthorStyleOverridesSetFontSmoothingType() {
-        
-        String url = getClass().getResource("HonorDeveloperSettingsTest_AUTHOR.css").toExternalForm();
-        scene.getStylesheets().add(url);
-
-        text.setId("rt-20686-author");
-        text.setFontSmoothingType(FontSmoothingType.GRAY);
-        
-        scene.getRoot().impl_processCSS(true);
-                
-        assertEquals(FontSmoothingType.LCD, text.getFontSmoothingType());
-        
-    }
-
-    // this test is the prerequisite for the inline font style tests
-    @Test public void test_InlineFontStyleApplies() {
-        
-        // text  has id "text". still, inline style should win out. 
-        text.setStyle("-fx-font-size: 24;");
-
-        scene.getRoot().impl_processCSS(true);
-
-        double size = text.getFont().getSize();
-        assertEquals(24, size, .0001);
-        
-    }
-    
-    // this test is the prerequisite for the inline font style tests
-    @Test public void test_FontInheritsFromDotRootStyle() {
-        
-        String url = getClass().getResource("HonorDeveloperSettingsTest_AUTHOR.css").toExternalForm();
-        scene.getStylesheets().add(url);
-
-        // want text to get font style from .root
-        text.setId(null);
-        
-        scene.getRoot().impl_processCSS(true);
-                
-        double size = text.getFont().getSize();
-        assertEquals(20, size, .0001);
-        
-    }
-    
-    @Test public void test_InlineFontStyleOverridesStylesheetStyles() {
-        
-        String url = getClass().getResource("HonorDeveloperSettingsTest_AUTHOR.css").toExternalForm();
-        scene.getStylesheets().add(url);
-
-        // want text to get font style from .root
-        // assuming here that test_FontInheritsFromDotRootStyle passed
-        text.setId(null);
-        text.setStyle("-fx-font-size: 24;");
-
-        scene.getRoot().impl_processCSS(true);
-               
-        double size = text.getFont().getSize();
-        assertEquals(24, size, .0001);
-        
-    }
-    
-    @Test public void test_InlineFontStyleFromParentOverridesStylesheetStyles() {
-        
-        String url = getClass().getResource("HonorDeveloperSettingsTest_AUTHOR.css").toExternalForm();
-        scene.getStylesheets().add(url);
-        
-        // want text to get font style from .root
-        // assuming here that test_FontInheritsFromDotRootStyle passed
-        text.setId(null);
-
-        Group g = (Group)scene.getRoot();
-        g.setStyle("-fx-font-size: 32;");
-        
-        g.impl_processCSS(true);
-                
-        double size = text.getFont().getSize();
-        assertEquals(32, size, .0001);
-        
-    }
-    
-}
--- a/modules/graphics/src/stub/java/com/sun/javafx/css/InsetsTypeTest.java	Mon Aug 12 14:27:11 2013 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,125 +0,0 @@
-/*
- * Copyright (c) 2010, 2013, Oracle and/or its affiliates. All rights reserved.
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * This code is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License version 2 only, as
- * published by the Free Software Foundation.  Oracle designates this
- * particular file as subject to the "Classpath" exception as provided
- * by Oracle in the LICENSE file that accompanied this code.
- *
- * This code is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
- * version 2 for more details (a copy is included in the LICENSE file that
- * accompanied this code).
- *
- * You should have received a copy of the GNU General Public License version
- * 2 along with this work; if not, write to the Free Software Foundation,
- * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
- *
- * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
- * or visit www.oracle.com if you need additional information or have any
- * questions.
- */
-
-package com.sun.javafx.css;
-
-import static org.junit.Assert.assertEquals;
-import static org.junit.Assert.fail;
-
-import java.io.IOException;
-import javafx.css.ParsedValue;
-import javafx.geometry.Insets;
-import javafx.scene.text.Font;
-
-import org.junit.Before;
-import org.junit.Test;
-
-import com.sun.javafx.css.parser.CSSParser;
-
-
-public class InsetsTypeTest {
-
-    String[] css;
-
-    Insets[][] expResults;
-
-    // values for top, right, bottom, left
-    final float[][][] fvals = new float[][][] {
-        { {1.0f} },
-        { {-1.0f, 0.0f, 1.0f, 2.0f} },
-        { {1.0f}, {2.0f}, {3.0f}, {4.0f} },
-        { {1.0f, 0.0f, 1.0f, 2.0f},
-          {2.0f, 0.0f, 1.0f, 2.0f},
-          {3.0f, 0.0f, 1.0f, 2.0f},
-          {4.0f, 0.0f, 1.0f, 2.0f} },
-        { {1.0f},
-          {2.0f, -1.0f},
-          {3.0f, 0.0f, 1.0f, 2.0f},
-          {4.0f, 0.0f, 1.0f} }
-    };
-
-    @Before
-    public void setup() {
-        css = new String[fvals.length];
-        expResults = new Insets[fvals.length][];
-        for (int i=0; i<fvals.length; i++) {
-            StringBuilder sbuf = new StringBuilder();
-            expResults[i] = new Insets[fvals[i].length];
-            for (int j=0; j<fvals[i].length; j++) {
-                expResults[i][j] = makeInsets(fvals[i][j]);
-
-                for (int k=0; k<fvals[i][j].length; k++) {
-                    sbuf.append(Float.toString(fvals[i][j][k]));
-                    sbuf.append("px");
-                    if (k+1 < fvals[i][j].length) sbuf.append(' ');
-                }
-
-                if (j+1 < fvals[i].length) sbuf.append(", ");
-            }
-            css[i] = sbuf.toString();
-        }
-    }
-
-    public InsetsTypeTest() {
-    }
-
-    final Insets makeInsets(float[] vals) {
-        
-        float top =  (vals.length > 0) ? vals[0] : 0.0f;
-        float right = (vals.length > 1) ? vals[1] : top;
-        float bottom = (vals.length > 2) ? vals[2] : top;
-        float left = (vals.length > 3) ? vals[3] : right;
-        return new Insets(top, right, bottom, left);
-    }
-
-    void checkInsets(String msg, Insets expResult, Insets result) {
-        assertEquals(msg + "top", expResult.getTop(), result.getTop(), 0.01);
-        assertEquals(msg + "right", expResult.getRight(), result.getRight(), 0.01);
-        assertEquals(msg + "bottom", expResult.getBottom(), result.getBottom(), 0.01);
-        assertEquals(msg + "left", expResult.getLeft(), result.getLeft(), 0.01);
-    }
-
-    @Test
-    public void testConvert() {
-
-        for (int i=0; i<css.length; i++) {
-
-            Stylesheet stylesheet =
-                CSSParser.getInstance().parse("* { -fx-border-insets: " + css[i] + "; }");
-
-            ParsedValue value =
-                    TypeTest.getValueFor(stylesheet, "-fx-border-insets");
-
-            Insets[] insets = (Insets[]) value.convert(Font.getDefault());
-
-            //assertEquals(expResults[i].length,insets.length);
-
-            for(int j=0; j<insets.length; j++) {
-                String msg = Integer.toString(i) + "." + Integer.toString(j);
-                checkInsets(msg, expResults[i][j], insets[j]);
-            }
-        }
-    }
-}
--- a/modules/graphics/src/stub/java/com/sun/javafx/css/Node_cssStyleMap_Test.java	Mon Aug 12 14:27:11 2013 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,309 +0,0 @@
-/*
- * Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved.
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * This code is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License version 2 only, as
- * published by the Free Software Foundation.  Oracle designates this
- * particular file as subject to the "Classpath" exception as provided
- * by Oracle in the LICENSE file that accompanied this code.
- *
- * This code is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
- * version 2 for more details (a copy is included in the LICENSE file that
- * accompanied this code).
- *
- * You should have received a copy of the GNU General Public License version
- * 2 along with this work; if not, write to the Free Software Foundation,
- * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
- *
- * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
- * or visit www.oracle.com if you need additional information or have any
- * questions.
- */
-
-package com.sun.javafx.css;
-
-import com.sun.javafx.css.converters.FontConverter;
-import com.sun.javafx.css.converters.SizeConverter;
-import com.sun.javafx.tk.Toolkit;
-import java.util.ArrayList;
-import java.util.Collections;
-import java.util.HashMap;
-import java.util.List;
-import java.util.Map;
-import javafx.collections.FXCollections;
-import javafx.collections.MapChangeListener;
-import javafx.css.ParsedValue;
-import javafx.css.StyleOrigin;
-import javafx.css.StyleableProperty;
-import javafx.scene.Group;
-import javafx.scene.Scene;
-import javafx.scene.paint.Color;
-import javafx.scene.shape.Rectangle;
-import javafx.scene.text.Font;
-import javafx.scene.text.Text;
-import javafx.stage.Stage;
-import static org.junit.Assert.*;
-import org.junit.Test;
-
-
-public class Node_cssStyleMap_Test {
-    
-    public Node_cssStyleMap_Test() {
-    }
-
-    int nchanges = 0;
-    int nadds = 0;
-    int nremoves = 0;
-    boolean disabled = false;
-    Group group;
-    Rectangle rect;
-    Text text;    
-
-    static List<CascadingStyle> createStyleList(List<Declaration> decls) {
-        
-        final List<CascadingStyle> styles = new ArrayList<CascadingStyle>();
-        
-        for (Declaration decl : decls) {
-            styles.add(
-                new CascadingStyle(
-                    new Style(decl.rule.getUnobservedSelectorList().get(0), decl),
-                    new PseudoClassState(),
-                    0, 
-                    0
-                )
-            );
-        }
-        
-        return styles;
-    }
-    
-    static Map<String, List<CascadingStyle>> createStyleMap(List<CascadingStyle> styles) {
-        
-        final Map<String, List<CascadingStyle>> smap = 
-            new HashMap<String, List<CascadingStyle>>();
-        
-        final int max = styles != null ? styles.size() : 0;
-        for (int i=0; i<max; i++) {
-            final CascadingStyle style = styles.get(i);
-            final String property = style.getProperty();
-            // This is carefully written to use the minimal amount of hashing.
-            List<CascadingStyle> list = smap.get(property);
-            if (list == null) {
-                list = new ArrayList<CascadingStyle>(5);
-                smap.put(property, list);
-            }
-            list.add(style);
-        }
-        return smap;
-    }
-    
-    @Test @org.junit.Ignore
-    public void testStyleMapTracksChanges() {
-                
-        final List<Declaration> declsNoState = new ArrayList<Declaration>();
-        Collections.addAll(declsNoState, 
-            new Declaration("-fx-fill", new ParsedValueImpl<Color,Color>(Color.RED, null), false),
-            new Declaration("-fx-stroke", new ParsedValueImpl<Color,Color>(Color.YELLOW, null), false),
-            new Declaration("-fx-stroke-width", new ParsedValueImpl<ParsedValue<?,Size>,Number>(
-                new ParsedValueImpl<Size,Size>(new Size(3d, SizeUnits.PX), null), 
-                SizeConverter.getInstance()), false)
-        );
-        
-        
-        final List<Selector> selsNoState = new ArrayList<Selector>();
-        Collections.addAll(selsNoState, 
-            Selector.createSelector(".rect")
-        );
-        
-        Rule rule = new Rule(selsNoState, declsNoState);        
-        
-        Stylesheet stylesheet = new Stylesheet();
-        stylesheet.setOrigin(StyleOrigin.USER_AGENT);
-        stylesheet.getRules().add(rule);
-        
-        final List<Declaration> declsDisabledState = new ArrayList<Declaration>();
-        Collections.addAll(declsDisabledState, 
-            new Declaration("-fx-fill", new ParsedValueImpl<Color,Color>(Color.GRAY, null), false),
-            new Declaration("-fx-stroke", new ParsedValueImpl<Color,Color>(Color.DARKGRAY, null), false)
-        );
-        
-        final List<Selector> selsDisabledState = new ArrayList<Selector>();
-        Collections.addAll(selsDisabledState, 
-            Selector.createSelector(".rect:disabled")
-        );
-        
-        rule = new Rule(selsDisabledState, declsDisabledState);        
-        stylesheet.getRules().add(rule);
-        
-        final List<CascadingStyle> stylesNoState = createStyleList(declsNoState);
-        final List<CascadingStyle> stylesDisabledState = createStyleList(declsDisabledState);
-        
-        // add to this list on wasAdded, check bean on wasRemoved.
-        final List<StyleableProperty<?>> beans = new ArrayList<StyleableProperty<?>>();
-        
-        Rectangle rect = new Rectangle(50,50);
-        rect.getStyleClass().add("rect");
-        rect.impl_setStyleMap(FXCollections.observableMap(new HashMap<StyleableProperty<?>, List<Style>>()));
-        rect.impl_getStyleMap().addListener(new MapChangeListener<StyleableProperty, List<Style>>() {
-
-            public void onChanged(MapChangeListener.Change<? extends StyleableProperty, ? extends List<Style>> change) {
-
-                if (change.wasAdded()) {
-                    
-                    List<Style> styles = change.getValueAdded();
-                    for (Style style : styles) {
-
-                        // stroke width comes from ".rect" even for disabled state.
-                        if (disabled == false || "-fx-stroke-width".equals(style.getDeclaration().getProperty())) {
-                            assertTrue(style.getDeclaration().toString(),declsNoState.contains(style.getDeclaration()));
-                            assertTrue(style.getSelector().toString(),selsNoState.contains(style.getSelector()));
-                        } else {
-                            assertTrue(style.getDeclaration().toString(),declsDisabledState.contains(style.getDeclaration()));
-                            assertTrue(style.getSelector().toString(),selsDisabledState.contains(style.getSelector()));                            
-                        }
-                        Object value = style.getDeclaration().parsedValue.convert(null);
-                        StyleableProperty styleableProperty = change.getKey();
-                        beans.add(styleableProperty);
-                        assertEquals(styleableProperty.getValue(), value);
-                        nadds += 1;                        
-                    }
-                    
-                } if (change.wasRemoved()) {
-                    StyleableProperty styleableProperty = change.getKey();
-                    assert(beans.contains(styleableProperty));
-                    nremoves += 1;
-                }
-            }
-        });
-
-        Group root = new Group();
-        root.getChildren().add(rect);
-        StyleManager.getInstance().setDefaultUserAgentStylesheet(stylesheet);        
-        Scene scene = new Scene(root);
-        Stage stage = new Stage();
-        stage.setScene(scene);
-        stage.show();
-
-        // The three no state styles should be applied
-        assertEquals(3, nadds);
-        assertEquals(0, nremoves);
-
-        rect.setDisable(true);
-        disabled = true;
-        nadds = 0;
-        nremoves = 0;
-        
-        Toolkit.getToolkit().firePulse();
-        
-        // The three no state styles should be removed and the 
-        // two disabled state styles plus the stroke width style 
-        // should be applied. 
-        assertEquals(3, nadds);
-        assertEquals(3, nremoves);
-        
-    }
-    
-    @Test @org.junit.Ignore
-    public void testRT_21212() {
-
-        final List<Declaration> rootDecls = new ArrayList<Declaration>();
-        Collections.addAll(rootDecls, 
-            new Declaration("-fx-font-size", new ParsedValueImpl<ParsedValue<?,Size>,Number>(
-                new ParsedValueImpl<Size,Size>(new Size(12, SizeUnits.PX), null), 
-                SizeConverter.getInstance()), false)
-        );
-        
-        final List<Selector> rootSels = new ArrayList<Selector>();
-        Collections.addAll(rootSels, 
-            Selector.createSelector(".root")
-        );
-        
-        Rule rootRule = new Rule(rootSels, rootDecls);        
-        
-        Stylesheet stylesheet = new Stylesheet();
-        stylesheet.setOrigin(StyleOrigin.USER_AGENT);
-        stylesheet.getRules().add(rootRule);
-
-        final List<CascadingStyle> rootStyles = createStyleList(rootDecls);
-        final Map<String,List<CascadingStyle>> rootStyleMap = createStyleMap(rootStyles);
-        final Map<StyleCache.Key, StyleCache> styleCache = 
-            new HashMap<StyleCache.Key, StyleCache>();
-        
-        group = new Group();
-        group.getStyleClass().add("root");
-        
-        
-        final ParsedValue[] fontValues = new ParsedValue[] {
-            new ParsedValueImpl<String,String>("system", null),
-            new ParsedValueImpl<ParsedValue<?,Size>,Number>(
-                new ParsedValueImpl<Size,Size>(new Size(1.5, SizeUnits.EM), null),
-                SizeConverter.getInstance()
-            ), 
-            null,
-            null
-        };
-        final List<Declaration> textDecls = new ArrayList<Declaration>();
-        Collections.addAll(textDecls, 
-            new Declaration("-fx-font", new ParsedValueImpl<ParsedValue[], Font>(
-                fontValues, FontConverter.getInstance()), false)
-        );
-        
-        final List<Selector> textSels = new ArrayList<Selector>();
-        Collections.addAll(textSels, 
-            Selector.createSelector(".text")
-        );
-        
-        Rule textRule = new Rule(textSels, textDecls);        
-        stylesheet.getRules().add(textRule);
-                
-        final List<CascadingStyle> styles = createStyleList(textDecls);
-        final Map<String,List<CascadingStyle>> styleMap = createStyleMap(styles);
-        final Map<String,List<CascadingStyle>> emptyMap = createStyleMap(null);
-
-        text = new Text("HelloWorld");
-        group.getChildren().add(text);
-
-        final List<Declaration> expecteds = new ArrayList<Declaration>();
-//        expecteds.addAll(rootDecls);
-        expecteds.addAll(textDecls);
-        text.getStyleClass().add("text");
-        text.impl_setStyleMap(FXCollections.observableMap(new HashMap<StyleableProperty<?>, List<Style>>()));
-        text.impl_getStyleMap().addListener(new MapChangeListener<StyleableProperty, List<Style>>() {
-
-            // a little different than the other tests since we should end up 
-            // with font and font-size in the map and nothing else. After all 
-            // the changes have been handled, the expecteds list should be empty.
-            public void onChanged(MapChangeListener.Change<? extends StyleableProperty, ? extends List<Style>> change) {
-                if (change.wasAdded()) {
-                    List<Style> styles = change.getValueAdded();
-                    for (Style style : styles) {
-                        assertTrue(expecteds.contains(style.getDeclaration()));
-                        expecteds.remove(style.getDeclaration());
-                    }
-                } 
-            }
-        });
-             
-        StyleManager.getInstance().setDefaultUserAgentStylesheet(stylesheet);        
-        Scene scene = new Scene(group);
-        Stage stage = new Stage();
-        stage.setScene(scene);
-        stage.show();
-        
-        assertEquals(18, text.getFont().getSize(),0);
-        assertTrue(Integer.toString(expecteds.size()), expecteds.isEmpty());
-
-        text.getStyleClass().clear();
-
-        Toolkit.getToolkit().firePulse();
-        
-        // PENDING RT-25002
-//        assertEquals(12, text.getFont().getSize(),0);
-//        assertTrue(text.impl_getStyleMap().toString(), text.impl_getStyleMap().isEmpty());
-        
-    } 
-    
-}
--- a/modules/graphics/src/stub/java/com/sun/javafx/css/PaintTypeTest.java	Mon Aug 12 14:27:11 2013 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,319 +0,0 @@
-/*
- * Copyright (c) 2010, 2013, Oracle and/or its affiliates. All rights reserved.
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * This code is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License version 2 only, as
- * published by the Free Software Foundation.  Oracle designates this
- * particular file as subject to the "Classpath" exception as provided
- * by Oracle in the LICENSE file that accompanied this code.
- *
- * This code is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
- * version 2 for more details (a copy is included in the LICENSE file that
- * accompanied this code).
- *
- * You should have received a copy of the GNU General Public License version
- * 2 along with this work; if not, write to the Free Software Foundation,
- * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
- *
- * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
- * or visit www.oracle.com if you need additional information or have any
- * questions.
- */
-
-package com.sun.javafx.css;
-
-import javafx.css.ParsedValue;
-import javafx.scene.paint.Color;
-import javafx.scene.paint.CycleMethod;
-import javafx.scene.paint.LinearGradient;
-import javafx.scene.paint.Paint;
-import javafx.scene.paint.RadialGradient;
-import javafx.scene.paint.Stop;
-import javafx.scene.text.Font;
-import com.sun.javafx.css.converters.PaintConverter;
-import com.sun.javafx.css.parser.CSSParser;
-import com.sun.javafx.css.parser.StopConverter;
-import org.junit.Test;
-import static org.junit.Assert.assertEquals;
-
-
-public class PaintTypeTest {
-
-    public PaintTypeTest() {
-    }
-
-    Stop[] stops = new Stop[] {
-        new Stop(0.0f, Color.WHITE),
-        new Stop(1.0f, Color.BLACK)
-    };
-
-    Paint[] paints = new Paint[] {
-        Color.rgb(0, 128, 255),
-        new LinearGradient(0.0f, 0.0f, 1.0f, 1.0f, true, CycleMethod.NO_CYCLE, stops),
-        new RadialGradient(225, 0.28, 1f, 1f, 5.0f, false, CycleMethod.NO_CYCLE, stops)
-    };
-
-    ParsedValue<?,Size> sizeVal(float value) {
-        return new ParsedValueImpl<Size,Size>(new Size(value*100, SizeUnits.PERCENT), null);
-    }
-
-    ParsedValue<ParsedValue[],Stop> stopValue(Stop stop) {
-        ParsedValue<?,Size> offset = sizeVal((float)stop.getOffset());
-        ParsedValue<Color,Color> color = new ParsedValueImpl<Color,Color>(stop.getColor(), null);
-        ParsedValue[] values = new ParsedValue[] { offset, color };
-        return new ParsedValueImpl<ParsedValue[],Stop>(values, StopConverter.getInstance());
-    };
-
-    ParsedValue<ParsedValue[],Paint> linearGradientValues(LinearGradient lg) {
-        ParsedValue[] values = new ParsedValue[7];
-        int v = 0;
-        values[v++] = sizeVal((float) lg.getStartX());
-        values[v++] = sizeVal((float) lg.getStartY());
-        values[v++] = sizeVal((float) lg.getEndX());
-        values[v++] = sizeVal((float) lg.getEndY());
-        values[v++] = new ParsedValueImpl<CycleMethod,CycleMethod>(lg.getCycleMethod(),null);
-        values[v++] = stopValue(stops[0]);
-        values[v++] = stopValue(stops[1]);
-        return new ParsedValueImpl<ParsedValue[],Paint>(values, PaintConverter.LinearGradientConverter.getInstance());
-    }
-
-    ParsedValue<ParsedValue[],Paint> radialGradientValues(RadialGradient rg) {
-        ParsedValue[] values = new ParsedValue[8];
-        int v = 0;
-        values[v++] = new ParsedValueImpl<Size,Size>(new Size(rg.getFocusAngle(), SizeUnits.PX), null);
-        values[v++] = new ParsedValueImpl<Size,Size>(new Size(rg.getFocusDistance(), SizeUnits.PX), null);
-        values[v++] = sizeVal((float) rg.getCenterX());
-        values[v++] = sizeVal((float) rg.getCenterY());
-        values[v++] = new ParsedValueImpl<Size,Size>(new Size(rg.getRadius(), SizeUnits.PX), null);
-        values[v++] = new ParsedValueImpl<CycleMethod,CycleMethod>(rg.getCycleMethod(),null);
-        values[v++] = stopValue(stops[0]);
-        values[v++] = stopValue(stops[1]);
-        return new ParsedValueImpl<ParsedValue[],Paint>(values, PaintConverter.RadialGradientConverter.getInstance());
-    }
-
-    ParsedValue[] paintValues = new ParsedValue[] {
-        new ParsedValueImpl<Paint,Paint>(paints[0], null),
-        linearGradientValues((LinearGradient)paints[1]),
-        radialGradientValues((RadialGradient)paints[2])
-    };
-
-    /**
-     * Paint is layered (one value per layer).  &lt;paint&gt; [, &lt;paint&gt;]*.
-     * In the convert function, the ParsedValue is a ParsedValue for each layer.
-     * That is, value.getValue() returns a ParsedValue[].
-     */
-    ParsedValue<ParsedValue<?,Paint>[],Paint[]> getValue(int nLayers) {
-        ParsedValue<Paint,Paint>[] layers = new ParsedValue[nLayers];
-        for (int l=0; l<nLayers; l++) {
-            layers[l] = paintValues[l % paintValues.length];
-        }
-        return new ParsedValueImpl<ParsedValue<?,Paint>[],Paint[]>(layers, PaintConverter.SequenceConverter.getInstance());
-    }
-    /**
-     * Test of convert method, of class PaintType.
-     */
-    @Test
-    public void testConvert() {
-        //System.out.println("convert");
-        int nValues = paints.length;
-        ParsedValue<ParsedValue<?,Paint>[],Paint[]> value = getValue(nValues);
-        Font font = null;
-        Paint[] result = value.convert(font);
-        assertEquals(nValues, result.length);
-        for(int r=0; r<result.length; r++) {
-            Paint expResult = paints[r % paints.length];
-            assertEquals(expResult, result[r]);
-        }
-    }
-
-    String[] css;
-
-    Paint[][] expResults;
-
-    // values for top, right, bottom, left
-    final String[][][] svals = new String[][][] {
-        { {"#ff0000"} },
-        { {"#ff0000"}, {"#00ff00"}, {"#0000ff"}, {"#ffffff"} }
-    };
-
-    public void setup() {
-        css = new String[svals.length];
-        expResults = new Paint[svals.length][];
-        for (int i=0; i<svals.length; i++) {
-            StringBuilder sbuf = new StringBuilder();
-            expResults[i] = new Paint[svals[i].length];
-            for (int j=0; j<svals[i].length; j++) {
-                for (int k=0; k<svals[i][j].length; k++) {
-                    expResults[i][j] = Color.web(svals[i][j][k]);
-                    sbuf.append(svals[i][j][k]);
-                    if (k+1 < svals[i][j].length) sbuf.append(' ');
-                }
-
-                if (j+1 < svals[i].length) sbuf.append(", ");
-            }
-            css[i] = sbuf.toString();
-        }
-    }
-
-    @Test
-    public void testPaintTypeWithCSS() {
-        setup();
-
-        for (int i=0; i<css.length; i++) {
-
-            Stylesheet stylesheet =
-                CSSParser.getInstance().parse("* { -fx-border-color: " + css[i] + "; }");
-
-            ParsedValue value = TypeTest.getValueFor(stylesheet, "-fx-border-color");
-
-            Paint[][] paints = (Paint[][])value.convert(Font.getDefault());
-
-            //assertEquals(expResults[i].length,paints.length);
-
-            for(int j=0; j<paints.length; j++) {
-                String msg = Integer.toString(i) + "." + Integer.toString(j);
-                assertEquals(msg, expResults[i][j], paints[j][0]);
-            }
-        }
-
-    }
-
-    @Test
-    public void testParseRadialGradient() {
-
-        // <radial-gradient> = radial-gradient(
-        //        [ focus-angle <angle>, ]?
-        //        [ focus-distance <percentage>, ]?
-        //        [ center <point>, ]?
-        //        radius <length>,
-        //        [ [ repeat | reflect ] ,]?
-        //        <color-stop>[, <color-stop>]+ )
-        ParsedValue value = CSSParser.getInstance().parseExpr("-fx-background-color",
-                "radial-gradient(focus-angle 90deg, focus-distance 50%, radius 50, red, green, blue)");
-        RadialGradient result = (RadialGradient)((Paint[])value.convert(null))[0];
-        RadialGradient expected = new RadialGradient(90, .5, 0, 0, 50,
-                false, CycleMethod.NO_CYCLE,
-                new Stop(0, Color.RED),
-                new Stop(.5, Color.GREEN),
-                new Stop(1.0,Color.BLUE));
-        assertEquals(expected,result);
-
-        value = CSSParser.getInstance().parseExpr("-fx-background-color",
-                "radial-gradient(focus-angle 1.5708rad, focus-distance 50%, radius 50, red, green, blue)");
-        result = (RadialGradient)((Paint[])value.convert(null))[0];
-        assertEquals(expected,result);
-
-        value = CSSParser.getInstance().parseExpr("-fx-background-color",
-                "radial-gradient(center 0% 10%, radius 50%, reflect, red, green, blue)");
-        result = (RadialGradient)((Paint[])value.convert(null))[0];
-        expected = new RadialGradient(0, 0, 0, .1, .5,
-                true, CycleMethod.REFLECT,
-                new Stop(0, Color.RED),
-                new Stop(.5, Color.GREEN),
-                new Stop(1.0,Color.BLUE));
-        assertEquals(expected,result);
-    }
-
-    @Test
-    public void testParseLinearGradient() {
-
-        // <linear-gradient> = linear-gradient(
-        //        [ [from <point> to <point>] | [ to <side-or-corner> ] ] ,]? [ [ repeat | reflect ] ,]?
-        //        <color-stop>[, <color-stop>]+
-        // )
-        //
-        ParsedValue value = CSSParser.getInstance().parseExpr("-fx-background-color",
-                "linear-gradient(to top, red, green, blue)");
-        LinearGradient result = (LinearGradient)((Paint[])value.convert(null))[0];
-        LinearGradient expected = new LinearGradient(0, 1, 0, 0,
-                true, CycleMethod.NO_CYCLE,
-                new Stop(0, Color.RED),
-                new Stop(.5, Color.GREEN),
-                new Stop(1.0, Color.BLUE));
-        assertEquals(expected,result);
-
-        value = CSSParser.getInstance().parseExpr("-fx-background-color",
-                "linear-gradient(to bottom, red, green, blue)");
-        result = (LinearGradient)((Paint[])value.convert(null))[0];
-        expected = new LinearGradient(0, 0, 0, 1,
-                true, CycleMethod.NO_CYCLE,
-                new Stop(0, Color.RED),
-                new Stop(.5, Color.GREEN),
-                new Stop(1.0, Color.BLUE));
-        assertEquals(expected,result);
-
-        value = CSSParser.getInstance().parseExpr("-fx-background-color",
-                "linear-gradient(to left, red, green, blue)");
-        result = (LinearGradient)((Paint[])value.convert(null))[0];
-        expected = new LinearGradient(1, 0, 0, 0,
-                true, CycleMethod.NO_CYCLE,
-                new Stop(0, Color.RED),
-                new Stop(.5, Color.GREEN),
-                new Stop(1.0, Color.BLUE));
-        assertEquals(expected,result);
-
-        value = CSSParser.getInstance().parseExpr("-fx-background-color",
-                "linear-gradient(to right, red, green, blue)");
-        result = (LinearGradient)((Paint[])value.convert(null))[0];
-        expected = new LinearGradient(0, 0, 1, 0,
-                true, CycleMethod.NO_CYCLE,
-                new Stop(0, Color.RED),
-                new Stop(.5, Color.GREEN),
-                new Stop(1.0, Color.BLUE));
-        assertEquals(expected,result);
-
-        value = CSSParser.getInstance().parseExpr("-fx-background-color",
-                "linear-gradient(to bottom left, red, green, blue)");
-        result = (LinearGradient)((Paint[])value.convert(null))[0];
-        expected = new LinearGradient(1, 0, 0, 1,
-                true, CycleMethod.NO_CYCLE,
-                new Stop(0, Color.RED),
-                new Stop(.5, Color.GREEN),
-                new Stop(1.0, Color.BLUE));
-        assertEquals(expected,result);
-
-        value = CSSParser.getInstance().parseExpr("-fx-background-color",
-                "linear-gradient(to bottom right, red, green, blue)");
-        result = (LinearGradient)((Paint[])value.convert(null))[0];
-        expected = new LinearGradient(0, 0, 1, 1,
-                true, CycleMethod.NO_CYCLE,
-                new Stop(0, Color.RED),
-                new Stop(.5, Color.GREEN),
-                new Stop(1.0, Color.BLUE));
-        assertEquals(expected,result);
-
-        value = CSSParser.getInstance().parseExpr("-fx-background-color",
-                "linear-gradient(to top left, red, green, blue)");
-        result = (LinearGradient)((Paint[])value.convert(null))[0];
-        expected = new LinearGradient(1, 1, 0, 0,
-                true, CycleMethod.NO_CYCLE,
-                new Stop(0, Color.RED),
-                new Stop(.5, Color.GREEN),
-                new Stop(1.0, Color.BLUE));
-        assertEquals(expected,result);
-
-        value = CSSParser.getInstance().parseExpr("-fx-background-color",
-                "linear-gradient(to top right, red, green, blue)");
-        result = (LinearGradient)((Paint[])value.convert(null))[0];
-        expected = new LinearGradient(0, 1, 1, 0,
-                true, CycleMethod.NO_CYCLE,
-                new Stop(0, Color.RED),
-                new Stop(.5, Color.GREEN),
-                new Stop(1.0, Color.BLUE));
-        assertEquals(expected,result);
-
-        value = CSSParser.getInstance().parseExpr("-fx-background-color",
-                "linear-gradient(from 10% 10% to 90% 90%, reflect, red, green, blue)");
-        result = (LinearGradient)((Paint[])value.convert(null))[0];
-        expected = new LinearGradient(.1, .1, .9, .9,
-                true, CycleMethod.REFLECT,
-                new Stop(0, Color.RED),
-                new Stop(.5, Color.GREEN),
-                new Stop(1.0, Color.BLUE));
-        assertEquals(expected,result);
-  }
-
-}
--- a/modules/graphics/src/stub/java/com/sun/javafx/css/ParsedValueTest.java	Mon Aug 12 14:27:11 2013 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,438 +0,0 @@
-/*
- * Copyright (c) 2010, 2013, Oracle and/or its affiliates. All rights reserved.
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * This code is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License version 2 only, as
- * published by the Free Software Foundation.  Oracle designates this
- * particular file as subject to the "Classpath" exception as provided
- * by Oracle in the LICENSE file that accompanied this code.
- *
- * This code is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
- * version 2 for more details (a copy is included in the LICENSE file that
- * accompanied this code).
- *
- * You should have received a copy of the GNU General Public License version
- * 2 along with this work; if not, write to the Free Software Foundation,
- * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
- *
- * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
- * or visit www.oracle.com if you need additional information or have any
- * questions.
- */
-
-package com.sun.javafx.css;
-
-import static org.junit.Assert.assertEquals;
-import static org.junit.Assert.assertFalse;
-import static org.junit.Assert.assertTrue;
-import javafx.scene.text.Font;
-
-import org.junit.Test;
-
-import com.sun.javafx.css.converters.SizeConverter;
-import java.io.ByteArrayInputStream;
-import java.io.ByteArrayOutputStream;
-import java.io.DataInputStream;
-import java.io.DataOutputStream;
-import java.io.IOException;
-import javafx.css.ParsedValue;
-
-public class ParsedValueTest {
-
-    public ParsedValueTest() {
-    }
-
-    /**
-     * Test of getValue method, of class ParsedValue.
-     */
-    @Test
-    public void testGetValue() {
-        //System.out.println("getValue");
-        ParsedValue<Size,Size> instance =
-                new ParsedValueImpl<Size,Size>(new Size(100.0f, SizeUnits.PERCENT), null);
-        Size expResult = new Size(100.0f, SizeUnits.PERCENT);;
-        Size result = instance.getValue();
-        assertEquals(expResult, result);
-    }
-
-    /**
-     * Test of convert method, of class ParsedValue.
-     */
-    @Test
-    public void testConvert() {
-        ///System.out.println("convert");
-        Font font = Font.getDefault();
-        Size size = new Size(1.0f, SizeUnits.EM);
-        ParsedValue<ParsedValue<?,Size>,Number> value =
-            new ParsedValueImpl<ParsedValue<?,Size>,Number>(
-                new ParsedValueImpl<Size,Size>(new Size(1.0f, SizeUnits.EM), null),
-                SizeConverter.getInstance());
-
-        double expResult = font.getSize();
-        double result = value.convert(font).doubleValue();
-        assertEquals(expResult, result, 0.01);
-    }
-
-    @Test
-    public void testEquals() {
-
-        Font font = Font.getDefault();
-        Size size = new Size(1.0f, SizeUnits.EM);
-        ParsedValue<ParsedValue<?,Size>,Number> value1 =
-            new ParsedValueImpl<ParsedValue<?,Size>,Number>(
-                new ParsedValueImpl<Size,Size>(new Size(1.0f, SizeUnits.EM), null),
-                SizeConverter.getInstance());
-
-        ParsedValue<ParsedValue<?,Size>,Number> value2 =
-            new ParsedValueImpl<ParsedValue<?,Size>,Number>(
-                new ParsedValueImpl<Size,Size>(new Size(1.0f, SizeUnits.EM), null),
-                null);
-
-        // ParsedValue.equals doesn't care about the converter
-        assertTrue(value1.equals(value2));
-
-        value1 =
-            new ParsedValueImpl<ParsedValue<?,Size>,Number>(
-                new ParsedValueImpl<Size,Size>(new Size(1.0f, SizeUnits.EM), null),
-                SizeConverter.getInstance());
-
-        value2 =
-            new ParsedValueImpl<ParsedValue<?,Size>,Number>(
-                new ParsedValueImpl<Size,Size>(new Size(2.0f, SizeUnits.EM), null),
-                SizeConverter.getInstance());
-
-        assertFalse(value1.equals(value2));
-
-        value2 =
-            new ParsedValueImpl<ParsedValue<?,Size>,Number>(
-                new ParsedValueImpl<Size,Size>(new Size(1.0f, SizeUnits.PX), null),
-                SizeConverter.getInstance());
-
-        assertFalse(value1.equals(value2));
-
-        value2 =
-            new ParsedValueImpl<ParsedValue<?,Size>,Number>(null, null);
-
-        assertFalse(value1.equals(value2));
-
-        ParsedValue<ParsedValue[],Number[]> value3 =
-                new ParsedValueImpl<ParsedValue[],Number[]>(
-                    new ParsedValueImpl[] {
-                        new ParsedValueImpl<Size,Size>(new Size(1.0f, SizeUnits.EM), null),
-                        new ParsedValueImpl<Size,Size>(new Size(2.0f, SizeUnits.EM), null)
-                    }, SizeConverter.SequenceConverter.getInstance()
-                );
-
-        assertFalse(value1.equals(value3));
-        assertFalse(value3.equals(value1));
-
-        ParsedValue<ParsedValue[],Number[]> value4 =
-                new ParsedValueImpl<ParsedValue[],Number[]>(
-                    new ParsedValueImpl[] {
-                        new ParsedValueImpl<Size,Size>(new Size(1.0f, SizeUnits.EM), null),
-                        new ParsedValueImpl<Size,Size>(new Size(2.0f, SizeUnits.EM), null)
-                    }, SizeConverter.SequenceConverter.getInstance()
-                );
-
-        assertTrue(value3.equals(value4));
-
-        value4 =
-                new ParsedValueImpl<ParsedValue[],Number[]>(
-                    new ParsedValueImpl[] {
-                        new ParsedValueImpl<Size,Size>(new Size(2.0f, SizeUnits.EM), null),
-                        null
-                    }, SizeConverter.SequenceConverter.getInstance()
-                );
-
-        assertFalse(value3.equals(value4));
-
-        value4 =
-                new ParsedValueImpl<ParsedValue[],Number[]>(
-                    new ParsedValueImpl[] {
-                        new ParsedValueImpl<Size,Size>(new Size(1.0f, SizeUnits.EM), null),
-                        new ParsedValueImpl<Size,Size>(new Size(2.0f, SizeUnits.EM), null),
-                        new ParsedValueImpl<Size,Size>(new Size(3.0f, SizeUnits.EM), null)
-                    }, SizeConverter.SequenceConverter.getInstance()
-                );
-
-        assertFalse(value3.equals(value4));
-
-        value4 =
-                new ParsedValueImpl<ParsedValue[],Number[]>(
-                    new ParsedValueImpl[] {
-                        null
-                    }, SizeConverter.SequenceConverter.getInstance()
-                );
-
-        assertFalse(value3.equals(value4));
-
-        value4 =
-                new ParsedValueImpl<ParsedValue[],Number[]>(
-                    null,
-                    SizeConverter.SequenceConverter.getInstance()
-                );
-
-        assertFalse(value3.equals(value4));
-
-        ParsedValue<ParsedValue[][],Number[][]> value5 =
-                new ParsedValueImpl<ParsedValue[][],Number[][]>(
-                    new ParsedValueImpl[][] {
-                        new ParsedValueImpl[] {
-                            new ParsedValueImpl<Size,Size>(new Size(1.0f, SizeUnits.EM), null),
-                            new ParsedValueImpl<Size,Size>(new Size(2.0f, SizeUnits.EM), null)
-                        },
-                        new ParsedValueImpl[] {
-                            new ParsedValueImpl<Size,Size>(new Size(3.0f, SizeUnits.EM), null),
-                            new ParsedValueImpl<Size,Size>(new Size(4.0f, SizeUnits.EM), null)
-                        }
-                    }, null
-                );
-
-        assertFalse(value1.equals(value5));
-        assertFalse(value3.equals(value5));
-        assertFalse(value5.equals(value1));
-        assertFalse(value5.equals(value3));
-
-        ParsedValue<ParsedValue[][],Number[][]> value6 =
-                new ParsedValueImpl<ParsedValue[][],Number[][]>(
-                    new ParsedValueImpl[][] {
-                        new ParsedValueImpl[] {
-                            new ParsedValueImpl<Size,Size>(new Size(1.0f, SizeUnits.EM), null),
-                            new ParsedValueImpl<Size,Size>(new Size(2.0f, SizeUnits.EM), null)
-                        },
-                        new ParsedValueImpl[] {
-                            new ParsedValueImpl<Size,Size>(new Size(3.0f, SizeUnits.EM), null),
-                            new ParsedValueImpl<Size,Size>(new Size(4.0f, SizeUnits.EM), null)
-                        }
-                    }, null
-                );
-
-        assertTrue(value5.equals(value6));
-
-        value6 =
-                new ParsedValueImpl<ParsedValue[][],Number[][]>(
-                    new ParsedValueImpl[][] {
-                        new ParsedValueImpl[] {
-                            new ParsedValueImpl<Size,Size>(new Size(1.0f, SizeUnits.EM), null),
-                            new ParsedValueImpl<Size,Size>(new Size(2.0f, SizeUnits.EM), null)
-                        },
-                        new ParsedValueImpl[] {
-                            new ParsedValueImpl<Size,Size>(new Size(3.0f, SizeUnits.EM), null),
-                            new ParsedValueImpl<Size,Size>(new Size(5.0f, SizeUnits.EM), null),
-                            new ParsedValueImpl<Size,Size>(new Size(4.0f, SizeUnits.EM), null)
-                        }
-                    }, null
-                );
-
-        assertFalse(value5.equals(value6));
-
-        value6 =
-                new ParsedValueImpl<ParsedValue[][],Number[][]>(
-                    new ParsedValueImpl[][] {
-                        new ParsedValueImpl[] {
-                            new ParsedValueImpl<Size,Size>(new Size(1.0f, SizeUnits.EM), null),
-                            new ParsedValueImpl<Size,Size>(new Size(2.0f, SizeUnits.EM), null)
-                        },
-                        new ParsedValueImpl[] {
-                            new ParsedValueImpl<Size,Size>(new Size(3.0f, SizeUnits.EM), null),
-                            null
-                        }
-                    }, null
-                );
-
-        assertFalse(value5.equals(value6));
-
-        value6 =
-                new ParsedValueImpl<ParsedValue[][],Number[][]>(
-                    new ParsedValueImpl[][] {
-                        new ParsedValueImpl[] {
-                            new ParsedValueImpl<Size,Size>(new Size(1.0f, SizeUnits.EM), null),
-                            new ParsedValueImpl<Size,Size>(new Size(2.0f, SizeUnits.EM), null)
-                        },
-                        null
-                    }, null
-                );
-
-        assertFalse(value5.equals(value6));
-
-
-    }
-    
-    private void writeBinary(ParsedValueImpl parsedValue) {
-
-        try {
-            StringStore stringStore = new StringStore();
-            ByteArrayOutputStream baos = new ByteArrayOutputStream();
-            DataOutputStream dos = new DataOutputStream(baos);
-            parsedValue.writeBinary(dos, stringStore);
-            dos.close();
-        } catch (IOException ioe) {
-            org.junit.Assert.fail(parsedValue.toString());
-        }
-        
-    }
-    
-    /**
-     * Test of writeBinary method, of class ParsedValueImpl.
-     */
-    @Test
-    public void testWriteReadBinary() throws Exception {
-        Font font = Font.getDefault();
-        Size size = new Size(1.0f, SizeUnits.EM);
-        
-        ParsedValueImpl parsedValue =
-            new ParsedValueImpl<ParsedValue<?,Size>,Number>(
-                new ParsedValueImpl<Size,Size>(new Size(1.0f, SizeUnits.EM), null),
-                SizeConverter.getInstance());
-
-        writeBinary(parsedValue);
-        
-        parsedValue =
-                new ParsedValueImpl<ParsedValue[],Number[]>(
-                    new ParsedValueImpl[] {
-                        new ParsedValueImpl<Size,Size>(new Size(1.0f, SizeUnits.EM), null),
-                        new ParsedValueImpl<Size,Size>(new Size(2.0f, SizeUnits.EM), null)
-                    }, SizeConverter.SequenceConverter.getInstance()
-                );
-
-        writeBinary(parsedValue);
-        
-        parsedValue =
-                new ParsedValueImpl<ParsedValue[][],Number[][]>(
-                    new ParsedValueImpl[][] {
-                        new ParsedValueImpl[] {
-                            new ParsedValueImpl<Size,Size>(new Size(1.0f, SizeUnits.EM), null),
-                            new ParsedValueImpl<Size,Size>(new Size(2.0f, SizeUnits.EM), null)
-                        },
-                        new ParsedValueImpl[] {
-                            new ParsedValueImpl<Size,Size>(new Size(3.0f, SizeUnits.EM), null),
-                            new ParsedValueImpl<Size,Size>(new Size(4.0f, SizeUnits.EM), null)
-                        }
-                    }, null
-                );
-
-        writeBinary(parsedValue);
-        
-        parsedValue =
-                new ParsedValueImpl<ParsedValue[][],Number[][]>(
-                    new ParsedValueImpl[][] {
-                        new ParsedValueImpl[] {
-                            new ParsedValueImpl<Size,Size>(new Size(1.0f, SizeUnits.EM), null),
-                            new ParsedValueImpl<Size,Size>(new Size(2.0f, SizeUnits.EM), null)
-                        },
-                        new ParsedValueImpl[] {
-                            new ParsedValueImpl<Size,Size>(new Size(3.0f, SizeUnits.EM), null),
-                            null
-                        }
-                    }, null
-                );
-
-        writeBinary(parsedValue);
-        
-        parsedValue =
-                new ParsedValueImpl<ParsedValue[][],Number[][]>(
-                    new ParsedValueImpl[][] {
-                        new ParsedValueImpl[] {
-                            new ParsedValueImpl<Size,Size>(new Size(1.0f, SizeUnits.EM), null),
-                            new ParsedValueImpl<Size,Size>(new Size(2.0f, SizeUnits.EM), null)
-                        },
-                        null
-                    }, null
-                );
-
-        writeBinary(parsedValue);
-        
-    }
-
-    private void writeAndReadBinary(ParsedValueImpl<?,?> parsedValue) {
-
-        try {
-            StringStore stringStore = new StringStore();
-            ByteArrayOutputStream baos = new ByteArrayOutputStream();
-            DataOutputStream dos = new DataOutputStream(baos);
-            parsedValue.writeBinary(dos, stringStore);
-            dos.close();
-            String[] strings = stringStore.strings.toArray(new String[]{});
-            ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray());
-            DataInputStream dis = new DataInputStream(bais);
-            ParsedValue<?,?> pv = ParsedValueImpl.readBinary(Stylesheet.BINARY_CSS_VERSION, dis, strings);
-            org.junit.Assert.assertEquals(parsedValue, pv);
-        } catch (IOException ioe) {
-            org.junit.Assert.fail(parsedValue.toString());
-        }
-        
-    }    
-    /**
-     * Test of readBinary method, of class ParsedValueImpl.
-     */
-    @Test
-    public void testReadBinary() throws Exception {
-        Font font = Font.getDefault();
-        Size size = new Size(1.0f, SizeUnits.EM);
-        
-        ParsedValueImpl parsedValue =
-            new ParsedValueImpl<ParsedValue<?,Size>,Number>(
-                new ParsedValueImpl<Size,Size>(new Size(1.0f, SizeUnits.EM), null),
-                SizeConverter.getInstance());
-
-        writeAndReadBinary(parsedValue);
-        
-        parsedValue =
-                new ParsedValueImpl<ParsedValue[],Number[]>(
-                    new ParsedValueImpl[] {
-                        new ParsedValueImpl<Size,Size>(new Size(1.0f, SizeUnits.EM), null),
-                        new ParsedValueImpl<Size,Size>(new Size(2.0f, SizeUnits.EM), null)
-                    }, SizeConverter.SequenceConverter.getInstance()
-                );
-
-        writeAndReadBinary(parsedValue);
-        
-        parsedValue =
-                new ParsedValueImpl<ParsedValue[][],Number[][]>(
-                    new ParsedValueImpl[][] {
-                        new ParsedValueImpl[] {
-                            new ParsedValueImpl<Size,Size>(new Size(1.0f, SizeUnits.EM), null),
-                            new ParsedValueImpl<Size,Size>(new Size(2.0f, SizeUnits.EM), null)
-                        },
-                        new ParsedValueImpl[] {
-                            new ParsedValueImpl<Size,Size>(new Size(3.0f, SizeUnits.EM), null),
-                            new ParsedValueImpl<Size,Size>(new Size(4.0f, SizeUnits.EM), null)
-                        }
-                    }, null
-                );
-
-        writeAndReadBinary(parsedValue);
-        
-        parsedValue =
-                new ParsedValueImpl<ParsedValue[][],Number[][]>(
-                    new ParsedValueImpl[][] {
-                        new ParsedValueImpl[] {
-                            new ParsedValueImpl<Size,Size>(new Size(1.0f, SizeUnits.EM), null),
-                            new ParsedValueImpl<Size,Size>(new Size(2.0f, SizeUnits.EM), null)
-                        },
-                        new ParsedValueImpl[] {
-                            new ParsedValueImpl<Size,Size>(new Size(3.0f, SizeUnits.EM), null),
-                            null
-                        }
-                    }, null
-                );
-
-        writeAndReadBinary(parsedValue);
-        
-        parsedValue =
-                new ParsedValueImpl<ParsedValue[][],Number[][]>(
-                    new ParsedValueImpl[][] {
-                        new ParsedValueImpl[] {
-                            new ParsedValueImpl<Size,Size>(new Size(1.0f, SizeUnits.EM), null),
-                            new ParsedValueImpl<Size,Size>(new Size(2.0f, SizeUnits.EM), null)
-                        },
-                        null
-                    }, null
-                );
-
-        writeAndReadBinary(parsedValue);
-    }
-}
--- a/modules/graphics/src/stub/java/com/sun/javafx/css/PseudoClassTest.java	Mon Aug 12 14:27:11 2013 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1178 +0,0 @@
-/*
- * Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved.
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * This code is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License version 2 only, as
- * published by the Free Software Foundation.  Oracle designates this
- * particular file as subject to the "Classpath" exception as provided
- * by Oracle in the LICENSE file that accompanied this code.
- *
- * This code is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
- * version 2 for more details (a copy is included in the LICENSE file that
- * accompanied this code).
- *
- * You should have received a copy of the GNU General Public License version
- * 2 along with this work; if not, write to the Free Software Foundation,
- * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
- *
- * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
- * or visit www.oracle.com if you need additional information or have any
- * questions.
- */
-
-package com.sun.javafx.css;
-
-import java.util.ArrayList;
-import java.util.Iterator;
-import java.util.List;
-import java.util.Set;
-
-import javafx.beans.value.ChangeListener;
-import javafx.collections.ObservableSet;
-import javafx.collections.SetChangeListener;
-import javafx.css.PseudoClass;
-import static org.junit.Assert.*;
-import org.junit.Before;
-import org.junit.Test;
-
-/**
- *
- * @author dgrieve
- */
-public class PseudoClassTest {
-    
-    public PseudoClassTest() {
-    }
-
-    @Before
-    public void before() {
-        PseudoClassState.pseudoClassMap.clear();        
-        PseudoClassState.pseudoClasses.clear();       
-    }
-    
-    @Test
-    public void testGetState() {
-        String pseudoClass = "xyzzy";
-        PseudoClass result = PseudoClass.getPseudoClass(pseudoClass);
-        assertEquals(pseudoClass, result.getPseudoClassName());
-    }
-
-    @Test
-    public void testCreateStatesInstance() {
-        PseudoClassState result = new PseudoClassState();
-        assertNotNull(result);
-    }
-
-    @Test
-    public void testGetStateThrowsIllegalArgumentExceptionWithNullArg() {
-        try {
-            PseudoClass state = PseudoClass.getPseudoClass(null);
-            fail();
-        } catch (IllegalArgumentException exception) {
-        }
-    }
-    
-    @Test
-    public void testGetStateThrowsIllegalArgumentExceptionWithEmptyArg() {
-        try {
-            PseudoClass state = PseudoClass.getPseudoClass(" ");
-            fail();
-        } catch (IllegalArgumentException exception) {
-        }
-    }
-    
-    @Test
-    public void testState_getPseudoClass() {
-        // no different than testing the getPseudoClassName method!
-        String pseudoClass = "xyzzy";
-        PseudoClass result = PseudoClass.getPseudoClass(pseudoClass);
-        assertEquals(pseudoClass, result.getPseudoClassName());        
-    }
-
-    @Test
-    public void testState_toString() {
-        String pseudoClass = "xyzzy";
-        PseudoClass result = PseudoClass.getPseudoClass(pseudoClass);
-        assertEquals(pseudoClass, result.toString());        
-    }
-
-    @Test
-    public void testPseudoClassState_add() {
-        String pseudoClass = "xyzzy";
-        PseudoClass state = PseudoClass.getPseudoClass(pseudoClass);
-        PseudoClassState states = new PseudoClassState();
-        states.add(state);
-        
-        List<PseudoClass> stateList = new ArrayList<PseudoClass>();
-        Iterator<PseudoClass> iter = states.iterator();
-        while (iter.hasNext()) {
-            stateList.add(iter.next());
-        }
-        
-        assertTrue(stateList.contains(state));
-    }
-
-    @Test
-    public void testPseudoClassState_add_multipleStates() {
-        String[] pseudoClasses = new String[] {
-            "one", "two", "three", "four", "five"
-        };
-        
-        PseudoClassState states = new PseudoClassState();
-        
-        for (int n=0; n<pseudoClasses.length; n++) {
-            PseudoClass state = PseudoClass.getPseudoClass(pseudoClasses[n]);
-            states.add(state);
-        }
-        
-        List<PseudoClass> stateList = new ArrayList<PseudoClass>();
-        Iterator<PseudoClass> iter = states.iterator();
-        while (iter.hasNext()) {
-            stateList.add(iter.next());
-        }
-
-        for (int n=0; n<pseudoClasses.length; n++) {
-            PseudoClass state = PseudoClass.getPseudoClass(pseudoClasses[n]);
-            assertTrue(stateList.contains(state));
-        }
-        
-    }
-    
-    @Test
-    public void testPseudoClassState_contains() {
-        String[] pseudoClasses = new String[] {
-            "one", "two", "three", "four", "five"
-        };
-        
-        PseudoClassState states = new PseudoClassState();
-        
-        for (int n=0; n<pseudoClasses.length; n++) {
-            PseudoClass state = PseudoClass.getPseudoClass(pseudoClasses[n]);
-            states.add(state);
-        }
-        
-        for (int n=0; n<pseudoClasses.length; n++) {
-            PseudoClass state = PseudoClass.getPseudoClass(pseudoClasses[n]);
-            assertTrue(states.contains(state));
-        }
-        
-    }
-    
-    @Test
-    public void testPseudoClassState_contains_negativeTest() {
-        String[] pseudoClasses = new String[] {
-            "one", "two", "three", "four", "five"
-        };
-        
-        String[] notExpected = new String[] {
-            "six", "seven", "eight"
-        };
-        
-        PseudoClassState states = new PseudoClassState();
-        
-        for (int n=0; n<pseudoClasses.length; n++) {
-            PseudoClass state = PseudoClass.getPseudoClass(pseudoClasses[n]);
-            states.add(state);
-        }
-        
-        for (int n=0; n<notExpected.length; n++) {
-            PseudoClass state = PseudoClass.getPseudoClass(notExpected[n]);
-            assertTrue(states.contains(state) == false);
-        }
-        
-    }
-
-    @Test
-    public void testPseudoClassState_contains_null() {
-        String[] pseudoClasses = new String[] {
-            "one", "two", "three", "four", "five"
-        };
-        
-        PseudoClassState states = new PseudoClassState();
-        
-        for (int n=0; n<pseudoClasses.length; n++) {
-            PseudoClass state = PseudoClass.getPseudoClass(pseudoClasses[n]);
-            states.add(state);
-        }
-        
-        assertTrue(states.contains(null) == false);
-        
-    }
-    
-    @Test
-    public void testPseudoClassState_removeState() {
-        String[] pseudoClasses = new String[] {
-            "one", "two", "three", "four", "five"
-        };
-
-        String[] expected = new String[] {
-            "one", "two", "four", "five"
-        };
-        
-        PseudoClassState states = new PseudoClassState();
-        
-        for (int n=0; n<pseudoClasses.length; n++) {
-            PseudoClass state = PseudoClass.getPseudoClass(pseudoClasses[n]);
-            states.add(state);
-        }
-        
-        states.remove(PseudoClass.getPseudoClass("three"));
-        
-        assertTrue(states.contains(PseudoClass.getPseudoClass("three"))==false);
-        
-        // should still have the others.
-        for (int n=1; n<expected.length; n++) {
-            PseudoClass state = PseudoClass.getPseudoClass(expected[n]);
-            assertTrue(states.contains(state));
-        }
-        
-    }
-
-    @Test
-    public void testPseudoClassState_containsAll() {
-        
-        String[] setA = new String[] {
-            "zero", "one"
-        };
-        
-        PseudoClassState aStates = new PseudoClassState();
-        for(int n=0; n<setA.length; n++) {
-            aStates.add(PseudoClass.getPseudoClass(setA[n]));
-        }
-        
-        String[] setB = new String[] {
-            "zero", "one", "two", "three"            
-        };
-        PseudoClassState bStates = new PseudoClassState();
-        for(int n=0; n<setB.length; n++) {
-            bStates.add(PseudoClass.getPseudoClass(setB[n]));
-        }
-                        
-        assertTrue(bStates.containsAll(aStates));
-    }    
-
-    @Test
-    public void testPseudoClassState_containsAll_negativeTest() {
-        
-        String[] setA = new String[] {
-            "zero", "one", "two", "three" 
-        };
-        
-        PseudoClassState aStates = new PseudoClassState();
-        for(int n=0; n<setA.length; n++) {
-            aStates.add(PseudoClass.getPseudoClass(setA[n]));
-        }
-        
-        String[] setB = new String[] {
-            "zero", "one"            
-        };
-        PseudoClassState bStates = new PseudoClassState();
-        for(int n=0; n<setB.length; n++) {
-            bStates.add(PseudoClass.getPseudoClass(setB[n]));
-        }
-                        
-        assertTrue(bStates.containsAll(aStates) == false);
-    }    
-
-    @Test
-    public void testPseudoClassState_containsAll_whenSetsAreEqual() {
-        
-        String[] setA = new String[] {
-            "zero", "one", "two", "three" 
-        };
-        
-        PseudoClassState aStates = new PseudoClassState();
-        for(int n=0; n<setA.length; n++) {
-            aStates.add(PseudoClass.getPseudoClass(setA[n]));
-        }
-        
-        String[] setB = new String[] {
-            "zero", "one", "two", "three"            
-        };
-        PseudoClassState bStates = new PseudoClassState();
-        for(int n=0; n<setB.length; n++) {
-            bStates.add(PseudoClass.getPseudoClass(setB[n]));
-        }
-                        
-        assertTrue(bStates.containsAll(aStates));
-    }    
-
-    @Test
-    public void testPseudoClassState_containsAll_whenSetsDisjoint() {
-        
-        String[] setA = new String[] {
-            "zero", "one", "two", "three" 
-        };
-        
-        PseudoClassState aStates = new PseudoClassState();
-        for(int n=0; n<setA.length; n++) {
-            aStates.add(PseudoClass.getPseudoClass(setA[n]));
-        }
-        
-        String[] setB = new String[] {
-            "four", "five", "six", "seven"            
-        };
-        PseudoClassState bStates = new PseudoClassState();
-        for(int n=0; n<setB.length; n++) {
-            bStates.add(PseudoClass.getPseudoClass(setB[n]));
-        }
-                        
-        assertTrue(bStates.containsAll(aStates) == false);
-    }
-
-    @Test
-    public void testPseudoClassState_containsAll_whenOneSetEmpty() {
-
-        String[] setA = new String[] {
-                "zero", "one", "two", "three"
-        };
-
-        PseudoClassState aStates = new PseudoClassState();
-        for(int n=0; n<setA.length; n++) {
-            aStates.add(PseudoClass.getPseudoClass(setA[n]));
-        }
-
-        PseudoClassState bStates = new PseudoClassState();
-
-        assertTrue(bStates.containsAll(aStates) == false);
-        assertTrue(aStates.containsAll(bStates));
-
-    }
-
-    @Test
-    public void testPseudoClassState_containsAll_whenBothSetsEmpty() {
-
-        PseudoClassState aStates = new PseudoClassState();
-        PseudoClassState bStates = new PseudoClassState();
-
-        assertTrue(bStates.containsAll(aStates));
-        assertTrue(aStates.containsAll(bStates));
-
-    }
-
-    @Test
-    public void testPseudoClassState_size() {
-        
-        String[] pseudoClasses = new String[] {
-            "one", "two", "three", "four", "five"
-        };
-
-        int expected = 5;
-        
-        PseudoClassState states = new PseudoClassState();
-        
-        for (int n=0; n<pseudoClasses.length; n++) {
-            PseudoClass state = PseudoClass.getPseudoClass(pseudoClasses[n]);
-            states.add(state);
-        }
-        
-        assertEquals(expected, states.size());
-    }
-    
-    @Test
-    public void testPseudoClassState_size_afterRemove() {
-        
-        String[] pseudoClasses = new String[] {
-            "one", "two", "three", "four", "five"
-        };
-
-        int expected = 4;
-        
-        PseudoClassState states = new PseudoClassState();
-        
-        for (int n=0; n<pseudoClasses.length; n++) {
-            PseudoClass state = PseudoClass.getPseudoClass(pseudoClasses[n]);
-            states.add(state);
-        }
-        
-        states.remove(PseudoClass.getPseudoClass("three"));
-        
-        assertEquals(expected, states.size());
-    }
-
-    @Test
-    public void testPseudoClassState_size_afterRemoveOnEmpty() {
-        
-        String[] pseudoClasses = new String[] {
-            "one", "two", "three", "four", "five"
-        };
-
-        int expected = 0;
-        
-        PseudoClassState states = new PseudoClassState();
-        
-        for (int n=0; n<pseudoClasses.length; n++) {
-            PseudoClass state = PseudoClass.getPseudoClass(pseudoClasses[n]);
-            states.add(state);
-        }
-        
-        for (int n=0; n<pseudoClasses.length; n++) {
-            PseudoClass state = PseudoClass.getPseudoClass(pseudoClasses[n]);
-            states.remove(state);
-        }
-        
-        assertEquals(expected, states.size());
-    }
-
-    @Test
-    public void testPseudoClassState_size_afterAddWhenAlreadyContains() {
-        
-        String[] pseudoClasses = new String[] {
-            "one", "two", "three", "four", "five"
-        };
-
-        int expected = 5;
-        
-        PseudoClassState states = new PseudoClassState();
-        
-        for (int n=0; n<pseudoClasses.length; n++) {
-            PseudoClass state = PseudoClass.getPseudoClass(pseudoClasses[n]);
-            states.add(state);
-        }
-        
-        PseudoClass state = PseudoClass.getPseudoClass("three");
-        states.add(state);
-       
-        assertEquals(expected, states.size());
-    }
-
-    @Test
-    public void testPseudoClassState_isEmpty() {
-        PseudoClassState states = new PseudoClassState();
-        assertTrue(states.isEmpty());
-    }
-
-    @Test
-    public void testPseudoClassState_isEmpty_negativeTest() {
-        PseudoClassState states = new PseudoClassState();
-        states.add(PseudoClass.getPseudoClass("pseudo-class"));
-        assertTrue(states.isEmpty() == false);
-    }
-    
-    @Test
-    public void testPseudoClassState_isEmpty_whenBitMaskLengthGreaterThanOne() {
-        PseudoClassState states = new PseudoClassState();
-        PseudoClass state = null;
-        try {
-            for(int n=0; n<512; n++) {
-                state = PseudoClass.getPseudoClass("pseudoClass-"+Integer.valueOf(n));
-            }
-        } catch (IndexOutOfBoundsException exception) {
-            fail();
-        }
-        
-        states.add(state);
-        assertTrue(states.isEmpty() == false);
-    }
-    
-    @Test
-    public void testPseudoClassState_equals() {
-        
-        String[] setA = new String[] {
-            "zero", "one", "two", "three"
-        };
-        
-        PseudoClassState aStates = new PseudoClassState();
-        for(int n=0; n<setA.length; n++) {
-            aStates.add(PseudoClass.getPseudoClass(setA[n]));
-        }
-        
-        String[] setB = new String[] {
-            "zero", "one", "two", "three"            
-        };
-        PseudoClassState bStates = new PseudoClassState();
-        for(int n=0; n<setB.length; n++) {
-            bStates.add(PseudoClass.getPseudoClass(setB[n]));
-        }
-                        
-        assertTrue(aStates.equals(bStates));
-    }    
-    
-    @Test
-    public void testPseudoClassState_equals_negativeTest() {
-        
-        String[] setA = new String[] {
-            "zero", "one", "two", "three"
-        };
-        
-        PseudoClassState aStates = new PseudoClassState();
-        for(int n=0; n<setA.length; n++) {
-            aStates.add(PseudoClass.getPseudoClass(setA[n]));
-        }
-        
-        String[] setB = new String[] {
-            "zero", "one", "two", "four"            
-        };
-        PseudoClassState bStates = new PseudoClassState();
-        for(int n=0; n<setB.length; n++) {
-            bStates.add(PseudoClass.getPseudoClass(setB[n]));
-        }
-                        
-        assertFalse(aStates.equals(bStates));
-    }    
-
-    @Test
-    public void testPseudoClassState_retainAll() {
-        
-        String[] setA = new String[] {
-            "zero", "one", "two", "three"
-        };
-        
-        PseudoClassState aStates = new PseudoClassState();
-        for(int n=0; n<setA.length; n++) {
-            aStates.add(PseudoClass.getPseudoClass(setA[n]));
-        }
-        
-        String[] setB = new String[] {
-            "four", "five", "one", "two", "three"
-        };
-        PseudoClassState bStates = new PseudoClassState();
-        for(int n=0; n<setB.length; n++) {
-            bStates.add(PseudoClass.getPseudoClass(setB[n]));
-        }
-                
-        String[] expected = new String[] {
-            "one", "two", "three"
-        };
-        
-        aStates.retainAll(bStates);
-        List<PseudoClass> states = new ArrayList<PseudoClass>();
-        Iterator<PseudoClass> iter = aStates.iterator();
-        while (iter.hasNext()) {
-            states.add(iter.next());
-        }
-        
-        assertEquals(expected.length, states.size(), 0.000001);
-        
-        for (int n=0; n<expected.length; n++) {
-            PseudoClass state = PseudoClass.getPseudoClass(expected[n]);
-            assertTrue(aStates.contains(state));
-        }
-    }
-    
-    @Test
-    public void testPseudoClassState_retainAll_withEmptyStates() {
-        
-        PseudoClassState bStates = new PseudoClassState();
-        PseudoClassState aStates = new PseudoClassState();        
-        aStates.retainAll(bStates);
-        List<PseudoClass> states = new ArrayList<PseudoClass>();
-        Iterator<PseudoClass> iter = aStates.iterator();
-        while (iter.hasNext()) {
-            states.add(iter.next());
-        }
-        assertEquals(0, states.size(), 0.000001);
-    }
-    
-    @Test
-    public void testPseudoClassState_retainAll_withNullArg() {
-        
-        PseudoClassState aStates = new PseudoClassState();
-        PseudoClassState bStates = null;
-        aStates.retainAll(bStates);
-        List<PseudoClass> states = new ArrayList<PseudoClass>();
-        Iterator<PseudoClass> iter = aStates.iterator();
-        while (iter.hasNext()) {
-            states.add(iter.next());
-        }
-        assertEquals(0, states.size(), 0.000001);
-        
-    }
-    
-    @Test
-    public void testPseudoClassState_retainAll_disjointYieldsEmpty() {
-        
-        String[] setA = new String[] {
-            "zero", "one", "two", "three"
-        };
-        
-        PseudoClassState aStates = new PseudoClassState();
-        for(int n=0; n<setA.length; n++) {
-            aStates.add(PseudoClass.getPseudoClass(setA[n]));
-        }
-        
-        String[] setB = new String[] {
-            "four", "five"
-        };
-        PseudoClassState bStates = new PseudoClassState();
-        for(int n=0; n<setB.length; n++) {
-            bStates.add(PseudoClass.getPseudoClass(setB[n]));
-        }
-                
-        String[] expected = new String[0];
-        
-        aStates.retainAll(bStates);
-        List<PseudoClass> states = new ArrayList<PseudoClass>();
-        Iterator<PseudoClass> iter = aStates.iterator();
-        while (iter.hasNext()) {
-            states.add(iter.next());
-        }
-        
-        assertEquals(expected.length, states.size(), 0.000001);
-        
-        for (int n=0; n<expected.length; n++) {
-            PseudoClass state = PseudoClass.getPseudoClass(expected[n]);
-            assertTrue(aStates.contains(state));
-        }
-    }
-    
-    @Test
-    public void testPseudoClassState_addAll() {
-        
-        String[] setA = new String[] {
-            "zero", "one", "two", "three"
-        };
-        
-        PseudoClassState aStates = new PseudoClassState();
-        for(int n=0; n<setA.length; n++) {
-            aStates.add(PseudoClass.getPseudoClass(setA[n]));
-        }
-        
-        String[] setB = new String[] {
-            "four", "five"
-        };
-        PseudoClassState bStates = new PseudoClassState();
-        for(int n=0; n<setB.length; n++) {
-            bStates.add(PseudoClass.getPseudoClass(setB[n]));
-        }
-                
-        String[] expected = new String[] {
-            "zero", "one", "two", "three",
-            "four", "five"            
-        };
-        
-        aStates.addAll(bStates);
-        List<PseudoClass> states = new ArrayList<PseudoClass>();
-        Iterator<PseudoClass> iter = aStates.iterator();
-        while (iter.hasNext()) {
-            states.add(iter.next());
-        }
-        
-        assertEquals(expected.length, states.size(), 0.000001);
-        
-        for (int n=0; n<expected.length; n++) {
-            PseudoClass state = PseudoClass.getPseudoClass(expected[n]);
-            assertTrue(aStates.contains(state));
-        }
-    }
-    
-    @Test
-    public void testPseudoClassState_addAll_withEmptyStates() {
-        
-        PseudoClassState bStates = new PseudoClassState();
-        PseudoClassState aStates = new PseudoClassState();        
-        aStates.addAll(bStates);
-        List<PseudoClass> states = new ArrayList<PseudoClass>();
-        Iterator<PseudoClass> iter = aStates.iterator();
-        while (iter.hasNext()) {
-            states.add(iter.next());
-        }
-        assertEquals(0, states.size(), 0.000001);
-    }
-    
-    @Test
-    public void testPseudoClassState_addAll_withNullArgs() {
-        
-        PseudoClassState aStates = new PseudoClassState();
-        PseudoClassState bStates = null;
-        aStates.addAll(bStates);
-        List<PseudoClass> states = new ArrayList<PseudoClass>();
-        Iterator<PseudoClass> iter = aStates.iterator();
-        while (iter.hasNext()) {
-            states.add(iter.next());
-        }
-        assertEquals(0, states.size(), 0.000001);
-        
-    }
-    
-    @Test
-    public void testPseudoClassState_getPseudoClasses() {
-        
-        String[] pseudoClasses = new String[] {
-            "zero", "one", "two", "three"
-        };
-        List<PseudoClass> expected = new ArrayList<PseudoClass>();
-        PseudoClassState states = new PseudoClassState();
-        for(int n=0; n<pseudoClasses.length; n++) {
-            PseudoClass state = PseudoClass.getPseudoClass(pseudoClasses[n]);
-            states.add(state);
-            expected.add(state);            
-        }
-        
-        List<PseudoClass> stateList = new ArrayList<PseudoClass>();
-        Iterator<PseudoClass> iter = states.iterator();
-        while (iter.hasNext()) {
-            stateList.add(iter.next());
-        }
-        
-        assertTrue(expected.containsAll(stateList));
-    }
-        
-    @Test
-    public void testPseudoClassState_toString() {
-        
-        String[] pseudoClasses = new String[] {
-            "zero", "one", "two", "three"
-        };
-        
-        PseudoClassState states = new PseudoClassState();
-        for(int n=0; n<pseudoClasses.length; n++) {
-            states.add(PseudoClass.getPseudoClass(pseudoClasses[n]));
-        }
-        
-        List<PseudoClass> stateList = new ArrayList<PseudoClass>();
-        Iterator<PseudoClass> iter = states.iterator();
-        while (iter.hasNext()) {
-            stateList.add(iter.next());
-        }
-        String expected = stateList.toString();
-        
-        String result = states.toString();
-        
-        assertEquals(expected, result);
-    }
-
-    @Test public void testPseudoClassState_iterator() {
-        
-        PseudoClass[] pseudoClasses = new PseudoClass[4];
-        PseudoClassState states = new PseudoClassState();
-        
-        for (int n=0; n<pseudoClasses.length; n++) {
-            pseudoClasses[n] = PseudoClass.getPseudoClass(Integer.toString(n));
-            states.add(pseudoClasses[n]);
-        };
-        
-        int iterations = 0;
-        Iterator<PseudoClass> iter = states.iterator();
-        while(iter.hasNext()) {
-            
-            iterations += 1;
-            assertTrue (iterations+">"+pseudoClasses.length, iterations <= pseudoClasses.length);
-            
-            PseudoClass pseudoClass = iter.next();
-            assertEquals (pseudoClass, pseudoClasses[iterations-1]);
-        }
-        
-        assertTrue (pseudoClasses.length+"!="+iterations, pseudoClasses.length == iterations);
-        
-    }
-
-    @Test public void testPseudoClassState_iterator_withLargeNumberOfPsuedoClasses() {
-        
-        PseudoClass[] pseudoClasses = new PseudoClass[Long.SIZE*3];
-        PseudoClassState states = new PseudoClassState();
-        
-        for (int n=0; n<pseudoClasses.length; n++) {
-            pseudoClasses[n] = PseudoClass.getPseudoClass(Integer.toString(n));
-            states.add(pseudoClasses[n]);
-        };
-        
-        int iterations = 0;
-        Iterator<PseudoClass> iter = states.iterator();
-        while(iter.hasNext()) {
-            
-            iterations += 1;
-            assertTrue (iterations+">"+pseudoClasses.length, iterations <= pseudoClasses.length);
-            
-            PseudoClass pseudoClass = iter.next();
-            assertEquals (pseudoClass, pseudoClasses[iterations-1]);
-        }
-        
-        assertTrue (pseudoClasses.length+"!="+iterations, pseudoClasses.length == iterations);
-        
-    }
-
-    @Test public void testPseudoClassState_iterator_remove() {
-        
-        PseudoClass[] pseudoClasses = new PseudoClass[4];
-        PseudoClassState states = new PseudoClassState();
-        
-        for (int n=0; n<pseudoClasses.length; n++) {
-            pseudoClasses[n] = PseudoClass.getPseudoClass(Integer.toString(n));
-            states.add(pseudoClasses[n]);
-        };
-        
-        int iterations = 0;
-        int nPseudoClasses = pseudoClasses.length;
-        Iterator<PseudoClass> iter = states.iterator();
-        while(iter.hasNext()) {
-                     
-            ++iterations; 
-            
-            if ((iterations % 2) == 0) {
-                iter.remove();
-                --nPseudoClasses;
-                assertFalse(states.contains(pseudoClasses[iterations-1]));
-            }
-        }
-        
-        assertTrue (nPseudoClasses+"!="+states.size(), nPseudoClasses == states.size());
-        
-    }
-
-    @Test public void testPseudoClassState_iterator_remove_withLargeNumberOfPseudoClasses() {
-        
-        PseudoClass[] pseudoClasses = new PseudoClass[Long.SIZE*3];
-        PseudoClassState states = new PseudoClassState();
-        
-        for (int n=0; n<pseudoClasses.length; n++) {
-            pseudoClasses[n] = PseudoClass.getPseudoClass(Integer.toString(n));
-            states.add(pseudoClasses[n]);
-        };
-        
-        int iterations = 0;
-        int nPseudoClasses = pseudoClasses.length;
-        Iterator<PseudoClass> iter = states.iterator();
-        while(iter.hasNext()) {
-                        
-            ++iterations;
-            
-            if ((iterations % 2) == 0) {
-                iter.remove();
-                --nPseudoClasses;
-                assertFalse(states.contains(pseudoClasses[iterations-1]));
-            }
-        }
-        
-        assertTrue (nPseudoClasses+"!="+states.size(), nPseudoClasses == states.size());
-        
-    }
-
-    int nObservations = 0;
-
-    @Test public void testObservablePseudoClass_listener_add() {
-
-
-        final PseudoClass[] expectedObservations = new PseudoClass[] {
-                PseudoClass.getPseudoClass("ONE"),
-                PseudoClass.getPseudoClass("TWO"),
-                PseudoClass.getPseudoClass("THREE")
-
-        };
-        final int nObservationsExpected = expectedObservations.length;
-        nObservations = 0;
-
-        ObservableSet<PseudoClass> pseudoClasses = new PseudoClassState();
-        pseudoClasses.addListener(new SetChangeListener<PseudoClass>() {
-
-            @Override
-            public void onChanged(SetChangeListener.Change<? extends PseudoClass> change) {
-                if (change.wasAdded()) {
-                    assert (nObservations < nObservationsExpected);
-                    PseudoClass observed = change.getElementAdded();
-                    assertSame(expectedObservations[nObservations], observed);
-                    nObservations += 1;
-                } else {
-                    fail();
-                }
-            }
-        });
-
-        for (int n=0; n<expectedObservations.length; n++) {
-            pseudoClasses.add(expectedObservations[n]);
-        };
-
-        assertEquals(nObservationsExpected, nObservations);
-
-    }
-
-    @Test public void testObservablePseudoClass_listener_remove() {
-
-
-        final PseudoClass[] expectedObservations = new PseudoClass[] {
-                PseudoClass.getPseudoClass("ONE"),
-                PseudoClass.getPseudoClass("TWO"),
-                PseudoClass.getPseudoClass("THREE")
-
-        };
-        final int nObservationsExpected = expectedObservations.length;
-        nObservations = 0;
-
-        ObservableSet<PseudoClass> pseudoClasses = new PseudoClassState();
-        for (int n=0; n<expectedObservations.length; n++) {
-            pseudoClasses.add(expectedObservations[n]);
-        };
-
-        pseudoClasses.addListener(new SetChangeListener<PseudoClass>() {
-
-            @Override
-            public void onChanged(SetChangeListener.Change<? extends PseudoClass> change) {
-                if (change.wasRemoved()) {
-                    assert (nObservations < nObservationsExpected);
-                    PseudoClass observed = change.getElementRemoved();
-                    assertSame(expectedObservations[nObservations], observed);
-                    nObservations += 1;
-                } else {
-                    fail();
-                }
-            }
-        });
-
-        for (int n=0; n<expectedObservations.length; n++) {
-            pseudoClasses.remove(expectedObservations[n]);
-        };
-
-        assertEquals(nObservationsExpected, nObservations);
-
-    }
-
-    @Test public void testObservablePseudoClass_listener_iter_remove() {
-
-
-        final PseudoClass[] expectedObservations = new PseudoClass[] {
-                PseudoClass.getPseudoClass("ONE"),
-                PseudoClass.getPseudoClass("TWO"),
-                PseudoClass.getPseudoClass("THREE")
-
-        };
-        final int nObservationsExpected = expectedObservations.length;
-        nObservations = 0;
-
-        ObservableSet<PseudoClass> pseudoClasses = new PseudoClassState();
-        for (int n=0; n<expectedObservations.length; n++) {
-            pseudoClasses.add(expectedObservations[n]);
-        };
-
-        pseudoClasses.addListener(new SetChangeListener<PseudoClass>() {
-
-            @Override
-            public void onChanged(SetChangeListener.Change<? extends PseudoClass> change) {
-                if (change.wasRemoved()) {
-                    assert (nObservations < nObservationsExpected);
-                    PseudoClass observed = change.getElementRemoved();
-                    assertSame(expectedObservations[nObservations], observed);
-                    nObservations += 1;
-                } else {
-                    fail();
-                }
-            }
-        });
-
-        for (Iterator<PseudoClass> iter = pseudoClasses.iterator(); iter.hasNext();) {
-            iter.remove();
-        };
-
-        assertEquals(nObservationsExpected, nObservations);
-
-    }
-
-    @Test public void testObservablePseudoClass_listener_addAll() {
-
-
-        final PseudoClass[] expectedObservations = new PseudoClass[] {
-                PseudoClass.getPseudoClass("ONE"),
-                PseudoClass.getPseudoClass("TWO"),
-                PseudoClass.getPseudoClass("THREE")
-
-        };
-        final int nObservationsExpected = expectedObservations.length;
-        nObservations = 0;
-
-        Set<PseudoClass> pseudoClassesToAdd = new PseudoClassState();
-        for (int n=0; n<expectedObservations.length; n++) {
-            pseudoClassesToAdd.add(expectedObservations[n]);
-        };
-
-        ObservableSet<PseudoClass> pseudoClasses = new PseudoClassState();
-        pseudoClasses.addListener(new SetChangeListener<PseudoClass>() {
-
-            @Override
-            public void onChanged(SetChangeListener.Change<? extends PseudoClass> change) {
-                if (change.wasAdded()) {
-                    assert (nObservations < nObservationsExpected);
-                    PseudoClass observed = change.getElementAdded();
-                    assertSame(expectedObservations[nObservations], observed);
-                    nObservations += 1;
-                } else {
-                    fail();
-                }
-            }
-        });
-
-        pseudoClasses.addAll(pseudoClassesToAdd);
-
-        assertEquals(nObservationsExpected, nObservations);
-
-    }
-
-    @Test public void testObservablePseudoClass_listener_removeAll() {
-
-
-        final PseudoClass[] pseudoClassesToRemove = new PseudoClass[] {
-                PseudoClass.getPseudoClass("TWO"),
-                PseudoClass.getPseudoClass("THREE")
-
-        };
-
-        final PseudoClass[] pseudoClasses = new PseudoClass[] {
-                PseudoClass.getPseudoClass("ONE"),
-                PseudoClass.getPseudoClass("TWO"),
-                PseudoClass.getPseudoClass("THREE"),
-                PseudoClass.getPseudoClass("FOUR")
-
-        };
-
-        final int nObservationsExpected = pseudoClassesToRemove.length;
-        nObservations = 0;
-
-        Set<PseudoClass> other = new PseudoClassState();
-        for (int n=0; n<pseudoClassesToRemove.length; n++) {
-            other.add(pseudoClassesToRemove[n]);
-        };
-
-        ObservableSet<PseudoClass> master = new PseudoClassState();
-        for (int n=0; n<pseudoClasses.length; n++) {
-            master.add(pseudoClasses[n]);
-        };
-
-        master.addListener(new SetChangeListener<PseudoClass>() {
-
-            @Override
-            public void onChanged(SetChangeListener.Change<? extends PseudoClass> change) {
-                if (change.wasRemoved()) {
-                    assert (nObservations < nObservationsExpected);
-                    PseudoClass observed = change.getElementRemoved();
-                    assertSame(pseudoClassesToRemove[nObservations], observed);
-                    nObservations += 1;
-                } else {
-                    fail();
-                }
-            }
-        });
-
-        master.removeAll(other);
-
-        assertEquals(nObservationsExpected, nObservations);
-        assertEquals(pseudoClasses.length-pseudoClassesToRemove.length, master.size());
-
-    }
-
-    @Test public void testObservablePseudoClass_listener_retainAll() {
-
-
-        final PseudoClass[] pseudoClassesToRetain = new PseudoClass[] {
-                PseudoClass.getPseudoClass("TWO"),
-                PseudoClass.getPseudoClass("THREE")
-
-        };
-
-        final PseudoClass[] removedPseudoClasses = new PseudoClass[] {
-                PseudoClass.getPseudoClass("ONE"),
-                PseudoClass.getPseudoClass("FOUR")
-
-        };
-
-        final PseudoClass[] pseudoClasses = new PseudoClass[] {
-                PseudoClass.getPseudoClass("ONE"),
-                PseudoClass.getPseudoClass("TWO"),
-                PseudoClass.getPseudoClass("THREE"),
-                PseudoClass.getPseudoClass("FOUR")
-
-        };
-
-        final int nObservationsExpected = pseudoClassesToRetain.length;
-        nObservations = 0;
-
-        Set<PseudoClass> other = new PseudoClassState();
-        for (int n=0; n<pseudoClassesToRetain.length; n++) {
-            other.add(pseudoClassesToRetain[n]);
-        };
-
-        ObservableSet<PseudoClass> master = new PseudoClassState();
-        for (int n=0; n<pseudoClasses.length; n++) {
-            master.add(pseudoClasses[n]);
-        };
-
-        master.addListener(new SetChangeListener<PseudoClass>() {
-
-            @Override
-            public void onChanged(SetChangeListener.Change<? extends PseudoClass> change) {
-                if (change.wasRemoved()) {
-                    assert (nObservations < nObservationsExpected);
-                    PseudoClass observed = change.getElementRemoved();
-                    assertSame(removedPseudoClasses[nObservations], observed);
-                    nObservations += 1;
-                } else {
-                    fail();
-                }
-            }
-        });
-
-        master.retainAll(other);
-
-        assertEquals(nObservationsExpected, nObservations);
-        assertEquals(pseudoClassesToRetain.length, master.size());
-
-    }
-
-    @Test public void testObservablePseudoClass_listener_clear() {
-
-
-        final PseudoClass[] pseudoClasses = new PseudoClass[] {
-                PseudoClass.getPseudoClass("ONE"),
-                PseudoClass.getPseudoClass("TWO"),
-                PseudoClass.getPseudoClass("THREE"),
-                PseudoClass.getPseudoClass("FOUR")
-
-        };
-
-        final int nObservationsExpected = pseudoClasses.length;
-        nObservations = 0;
-
-        ObservableSet<PseudoClass> master = new PseudoClassState();
-        for (int n=0; n<pseudoClasses.length; n++) {
-            master.add(pseudoClasses[n]);
-        };
-
-        master.addListener(new SetChangeListener<PseudoClass>() {
-
-            @Override
-            public void onChanged(SetChangeListener.Change<? extends PseudoClass> change) {
-                if (change.wasRemoved()) {
-                    assert (nObservations < nObservationsExpected);
-                    PseudoClass observed = change.getElementRemoved();
-                    assertSame(pseudoClasses[nObservations], observed);
-                    nObservations += 1;
-                } else {
-                    fail();
-                }
-            }
-        });
-
-        master.clear();
-
-        assertEquals(nObservationsExpected, nObservations);
-        assertTrue(master.isEmpty());
-
-    }
-
-    @Test public void testObservablePseudoClass_listener_getSet_unmodifiable() {
-
-        final ObservableSet<PseudoClass> master = new PseudoClassState();
-
-        master.addListener(new SetChangeListener<PseudoClass>() {
-
-            @Override
-            public void onChanged(SetChangeListener.Change<? extends PseudoClass> change) {
-                master.removeListener(this);
-                try {
-                    ObservableSet set = change.getSet();
-                    set.add(PseudoClass.getPseudoClass("TWO"));
-                    fail();
-                } catch (UnsupportedOperationException e) {
-                    // This is the exception we expect from an unmodifiable set
-                } catch (Exception other) {
-                    fail(other.getMessage());
-                }
-            }
-        });
-
-        master.add(PseudoClass.getPseudoClass("ONE"));
-
-    }
-
-
-}
--- a/modules/graphics/src/stub/java/com/sun/javafx/css/RuleTest.java	Mon Aug 12 14:27:11 2013 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,187 +0,0 @@
-/*
- * Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved.
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * This code is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License version 2 only, as
- * published by the Free Software Foundation.  Oracle designates this
- * particular file as subject to the "Classpath" exception as provided
- * by Oracle in the LICENSE file that accompanied this code.
- *
- * This code is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
- * version 2 for more details (a copy is included in the LICENSE file that
- * accompanied this code).
- *
- * You should have received a copy of the GNU General Public License version
- * 2 along with this work; if not, write to the Free Software Foundation,
- * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
- *
- * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
- * or visit www.oracle.com if you need additional information or have any
- * questions.
- */
-
-package com.sun.javafx.css;
-
-import javafx.css.StyleOrigin;
-import java.io.DataInputStream;
-import java.io.DataOutputStream;
-import java.util.ArrayList;
-import java.util.Collections;
-import java.util.List;
-import javafx.scene.Node;
-import org.junit.AfterClass;
-import org.junit.Test;
-import static org.junit.Assert.*;
-import org.junit.BeforeClass;
-import org.junit.Ignore;
-
-
-public class RuleTest {
-    
-    public RuleTest() {
-    }
-
-    @BeforeClass
-    public static void setUpClass() throws Exception {
-    }
-
-    @AfterClass
-    public static void tearDownClass() throws Exception {
-    }
-
-    @Test
-    public void testGetUnobservedSelectorList() {
-        List<Selector> expResult = new ArrayList<Selector>();
-        expResult.add(Selector.createSelector("One.two#three"));
-        expResult.add(Selector.createSelector("Four.five#six"));
-        Rule instance = new Rule(expResult, Collections.EMPTY_LIST);
-        List result = instance.getUnobservedSelectorList();
-        assertEquals(expResult, result);
-    }
-
-    @Test
-    public void testGetUnobservedDeclarationList() {
-        List<Declaration> expResult = new ArrayList<Declaration>();
-        expResult.add(new Declaration("one", new ParsedValueImpl<String,String>("one", null), false));
-        expResult.add(new Declaration("two", new ParsedValueImpl<String,String>("two", null), false));
-        expResult.add(new Declaration("three", new ParsedValueImpl<String,String>("three", null), false));
-        Rule instance = new Rule(Collections.EMPTY_LIST, expResult);
-        List result = instance.getUnobservedDeclarationList();
-        assertEquals(expResult, result);
-    }
-
-    @Test
-    public void testGetSelectors() {
-        List<Selector> expResult = new ArrayList<Selector>();
-        expResult.add(Selector.createSelector("One.two#three"));
-        expResult.add(Selector.createSelector("Four.five#six"));
-        Rule instance = new Rule(expResult, Collections.EMPTY_LIST);
-        List result = instance.getSelectors();
-        assertEquals(expResult, result);
-    }
-
-    @Test
-    public void testGetDeclarations() {
-        List<Declaration> expResult = new ArrayList<Declaration>();
-        expResult.add(new Declaration("one", new ParsedValueImpl<String,String>("one", null), false));
-        expResult.add(new Declaration("two", new ParsedValueImpl<String,String>("two", null), false));
-        expResult.add(new Declaration("three", new ParsedValueImpl<String,String>("three", null), false));
-        Rule instance = new Rule(Collections.EMPTY_LIST, expResult);
-        List result = instance.getDeclarations();
-        assertEquals(expResult, result);
-    }
-
-    @Test
-    public void testGetStylesheet() {
-        Rule instance = new Rule(Collections.EMPTY_LIST, Collections.EMPTY_LIST);
-        Stylesheet expResult = new Stylesheet();
-        expResult.getRules().add(instance);
-        Stylesheet result = instance.getStylesheet();
-        assertEquals(expResult, result);
-    }
-
-    @Test
-    public void testGetOriginAfterSettingOriginAfterAddingRuleToStylesheet() {
-        Rule instance = new Rule(Collections.EMPTY_LIST, Collections.EMPTY_LIST);
-        Stylesheet stylesheet = new Stylesheet();
-        stylesheet.getRules().add(instance);
-        stylesheet.setOrigin(StyleOrigin.INLINE);
-        StyleOrigin expResult = StyleOrigin.INLINE;
-        StyleOrigin result = instance.getOrigin();
-        assertEquals(expResult, result);
-    }
-
-    @Test
-    public void testGetOriginAfterSettingOriginBeforeAddingRuleToStylesheet() {
-        Rule instance = new Rule(Collections.EMPTY_LIST, Collections.EMPTY_LIST);
-        Stylesheet stylesheet = new Stylesheet();
-        stylesheet.setOrigin(StyleOrigin.INLINE);
-        stylesheet.getRules().add(instance);
-        StyleOrigin expResult = StyleOrigin.INLINE;
-        StyleOrigin result = instance.getOrigin();
-        assertEquals(expResult, result);
-    }
-    
-    @Test
-    public void testGetOriginWithoutAddingRuleToStylesheet() {
-        Rule instance = new Rule(Collections.EMPTY_LIST, Collections.EMPTY_LIST);
-        StyleOrigin result = instance.getOrigin();
-        assertNull(result);
-    }
-
-    @Test
-    public void testGetOriginAfterRemovingRuleFromStylesheet() {
-        Rule instance = new Rule(Collections.EMPTY_LIST, Collections.EMPTY_LIST);
-        Stylesheet stylesheet = new Stylesheet();
-        stylesheet.getRules().add(instance);
-        stylesheet.setOrigin(StyleOrigin.INLINE);
-        stylesheet.getRules().remove(instance);        
-        StyleOrigin result = instance.getOrigin();
-        assertNull(result);
-    }
-
-    @Ignore @Test
-    public void testApplies() {
-        System.out.println("applies");
-        Node node = null;
-        Rule instance = null;
-        long expResult = 0l;
-        long result = instance.applies(node, null);
-        assertEquals(expResult, result);
-        fail("The test case is a prototype.");
-    }
-
-    @Ignore @Test
-    public void testToString() {
-        System.out.println("toString");
-        Rule instance = null;
-        String expResult = "";
-        String result = instance.toString();
-        assertEquals(expResult, result);
-        fail("The test case is a prototype.");
-    }
-
-    @Ignore @Test
-    public void testWriteBinary() throws Exception {
-        System.out.println("writeBinary");
-        DataOutputStream os = null;
-        StringStore stringStore = null;
-        Rule instance = null;
-        instance.writeBinary(os, stringStore);
-        fail("The test case is a prototype.");
-    }
-
-    @Ignore @Test
-    public void testReadBinary() throws Exception {
-        System.out.println("readBinary");
-        DataInputStream is = null;
-        String[] strings = null;
-        Rule expResult = null;
-        Rule result = Rule.readBinary(Stylesheet.BINARY_CSS_VERSION, is, strings);
-        assertEquals(expResult, result);
-        fail("The test case is a prototype.");
-    }
-}
--- a/modules/graphics/src/stub/java/com/sun/javafx/css/SelectorPartitioningTest.java	Mon Aug 12 14:27:11 2013 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,243 +0,0 @@
-/*
- * Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * This code is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License version 2 only, as
- * published by the Free Software Foundation.  Oracle designates this
- * particular file as subject to the "Classpath" exception as provided
- * by Oracle in the LICENSE file that accompanied this code.
- *
- * This code is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
- * version 2 for more details (a copy is included in the LICENSE file that
- * accompanied this code).
- *
- * You should have received a copy of the GNU General Public License version
- * 2 along with this work; if not, write to the Free Software Foundation,
- * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
- *
- * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
- * or visit www.oracle.com if you need additional information or have any
- * questions.
- */
-
-package com.sun.javafx.css;
-
-import com.sun.javafx.css.parser.CSSParser;
-import java.util.Arrays;
-import java.util.Collection;
-import java.util.List;
-import javafx.scene.paint.Color;
-import org.junit.Test;
-import static org.junit.Assert.*;
-
-import org.junit.runner.RunWith;
-import org.junit.runners.Parameterized;
-import org.junit.runners.Parameterized.Parameters;
-
-@RunWith(Parameterized.class)
-public class SelectorPartitioningTest {
-    
-    public SelectorPartitioningTest(final Data data) {
-        this.data = data;
-        this.instance = new SelectorPartitioning();
-    }
-    private final Data data;
-    private final SelectorPartitioning instance;
-
-    private static class Data {
-        final Color  color;
-        final String stylesheetText;
-        
-        Data(Color color, String stylesheetText) {
-            this.color = color;
-            this.stylesheetText = stylesheetText;
-        }
-        
-    }
-    
-    private static class SimpleData extends Data {
-        
-        final SimpleSelector selector;
-        final boolean matches;
-        
-        SimpleData(String type, String styleClass, String id, Color color) {
-            this(type, styleClass, id, color, true);
-        }
-        SimpleData(String type, String styleClass, String id, Color color, boolean matches) {
-            super(color, (new StringBuilder()
-                    .append((type != null ? type : "*"))
-                    .append((styleClass != null ? ".".concat(styleClass) : ""))
-                    .append((id != null ? "#".concat(id) : ""))
-                    .append("{-fx-fill: rgb(")
-                    .append(Double.valueOf(color.getRed()*255).intValue()).append(",")
-                    .append(Double.valueOf(color.getGreen()*255).intValue()).append(",")
-                    .append(Double.valueOf(color.getBlue()*255).intValue()).append(");}")
-                ).toString());
-            List<String> styleClasses = 
-                styleClass != null ? Arrays.asList(styleClass.split("\\.")) : null;
-            this.selector = 
-                new SimpleSelector(type, styleClasses, null, id);            
-            this.matches = matches;
-        }
-    }
-    
-    private static class ComplexData extends Data {
-
-        final SimpleData[] data;
-        final SimpleSelector selector;
-        final int matches;
-        
-        ComplexData(SimpleSelector selector, SimpleData... data) {
-            super(Color.TRANSPARENT, combineStylesheets(data));
-            this.data = data;
-            this.selector = selector;
-            int n = 0;
-            for (SimpleData datum : data) {
-                if (datum.matches) n += 1;
-            }
-            this.matches = n;
-        }
-        
-        static String combineStylesheets(Data... data) {
-            StringBuilder buf = new StringBuilder();
-            for (Data datum : data) {
-                buf.append(datum.stylesheetText).append('\n');
-            }
-            return buf.toString();
-        }
-    }
-    
-    
-    @Parameters
-    public static Collection data() {
-
-        int red = 0;
-        int green = 0;
-        int blue = 0;
-        return Arrays.asList(new Object[] {
-            /* selector = * */
-            new Object[] {new SimpleData("*", null, null, Color.rgb(red += 10, 0, 0))},
-            /* selector = A */
-            new Object[] {new SimpleData("A", null, null, Color.rgb(red += 10, 0, 0))},
-            /* selector = * A.b */
-            new Object[] {new SimpleData("A", "b", null, Color.rgb(red += 10, 0, 0))},
-            /* selector = A#c */
-            new Object[] {new SimpleData("A", null, "c", Color.rgb(red += 10, 0, 0))},
-            /* selector = A.b#c */
-            new Object[] {new SimpleData("A", "b", "c", Color.rgb(red += 10, 0, 0))},
-            /* selector = *.b */
-            new Object[] {new SimpleData("*", "b", null, Color.rgb(red += 10, 0, 0))},
-            /* selector = *#c */
-            new Object[] {new SimpleData("*", null, "c", Color.rgb(red += 10, 0, 0))},
-            /* selector = *.b#c */
-            new Object[] {new SimpleData("*", "b", "c", Color.rgb(red += 10, 0, 0))},
-            
-            new Object[] {
-                new ComplexData(
-                    (SimpleSelector)Selector.createSelector("*.b"),
-                    new SimpleData("*", "b", null, Color.rgb(0, green += 10, 0), true),
-                    new SimpleData("*", "c", null, Color.rgb(0, green += 10, 0), false),
-                    new SimpleData("*", "b.c", null, Color.rgb(0, green += 10, 0), false)
-                )},
-            new Object[] {
-                new ComplexData(
-                    (SimpleSelector)Selector.createSelector("*.b.c"),
-                    new SimpleData("*", "b", null, Color.rgb(0, green += 10, 0), true),
-                    new SimpleData("*", "c", null, Color.rgb(0, green += 10, 0), true),
-                    new SimpleData("*", "b.c", null, Color.rgb(0, green += 10, 0), true)
-                )},
-            new Object[] {
-                new ComplexData(
-                    (SimpleSelector)Selector.createSelector("A.b"),
-                    new SimpleData("*", "b", null, Color.rgb(0, green += 10, 0), true),
-                    new SimpleData("A", "b", null, Color.rgb(0, green += 10, 0), true),
-                    new SimpleData("*", null, null, Color.rgb(0, green += 10, 0), true),
-                    new SimpleData("*", "c", null, Color.rgb(0, green += 10, 0), false),
-                    new SimpleData("*", "b.c", null, Color.rgb(0, green += 10, 0), false)
-                )},
-            new Object[] {
-                new ComplexData(
-                    (SimpleSelector)Selector.createSelector("A.c"),
-                    new SimpleData("*", "b", null, Color.rgb(0, green += 10, 0), false),
-                    new SimpleData("A", "b", null, Color.rgb(0, green += 10, 0), false),
-                    new SimpleData("*", null, null, Color.rgb(0, green += 10, 0), true),
-                    new SimpleData("*", "c", null, Color.rgb(0, green += 10, 0), true),
-                    new SimpleData("*", "b.c", null, Color.rgb(0, green += 10, 0), false)
-                )},
-            new Object[] {
-                new ComplexData(
-                    (SimpleSelector)Selector.createSelector("A.b.c"),
-                    new SimpleData("*", "b", null, Color.rgb(0, green += 10, 0), true),
-                    new SimpleData("A", "b", null, Color.rgb(0, green += 10, 0), true),
-                    new SimpleData("*", null, null, Color.rgb(0, green += 10, 0), true),
-                    new SimpleData("*", "c", null, Color.rgb(0, green += 10, 0), true),
-                    new SimpleData("*", "b.c", null, Color.rgb(0, green += 10, 0), true)
-                )}
-        });
-    }    
-
-    @Test
-    public void testSelectorPartitionAndMatch() {
-
-        Stylesheet stylesheet = 
-                CSSParser.getInstance().parse(data.stylesheetText);
-                
-        for (Rule rule : stylesheet.getRules()) {
-            for (Selector selector : rule.getUnobservedSelectorList()) {
-                instance.partition(selector);
-            }
-        }
-        
-        if (data instanceof SimpleData) {
-            testWithSimpleData((SimpleData)data, stylesheet);            
-        } else {
-            testWithComplexData((ComplexData)data, stylesheet);
-        }
-    }
-    
-    private void testWithSimpleData(SimpleData simpleData, Stylesheet stylesheet) {
-                
-        SimpleSelector simple = simpleData.selector;
-        
-        List<Selector> matched = instance.match(simple.getId(), simple.getName(), simple.getStyleClassSet());
-        
-        assertEquals(1,matched.size());
-        Selector selector = matched.get(0);
-
-        Rule rule = selector.getRule();
-
-        assertEquals(1,rule.getUnobservedDeclarationList().size());
-        Declaration decl = rule.getUnobservedDeclarationList().get(0);
-        
-        assertEquals("-fx-fill", decl.property);
-        
-        Color color = (Color)decl.parsedValue.convert(null);
-        
-        assertEquals(simpleData.selector.toString(), data.color.getRed(), color.getRed(), 0.00001);
-        assertEquals(simpleData.selector.toString(), data.color.getGreen(), color.getGreen(), 0.00001);
-        assertEquals(simpleData.selector.toString(), data.color.getBlue(), color.getBlue(), 0.00001);
-                
-    }
-    
-    private void testWithComplexData(ComplexData complexData, Stylesheet stylesheet) {
-                
-        SimpleSelector simple = complexData.selector;
-        
-        List<Selector> matched = instance.match(simple.getId(), simple.getName(), simple.getStyleClassSet());
-        assertEquals(complexData.matches, matched.size());
-        
-        for(Selector s1 : matched) {
-            for (SimpleData datum : complexData.data) {
-                Selector s2 = (SimpleSelector)datum.selector;
<