You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pivot.apache.org by sm...@apache.org on 2013/03/06 12:19:27 UTC

svn commit: r1453293 [1/2] - in /pivot/branches/2.0.x/tests/src/org/apache/pivot/tests: image_view_svg_test.bxml logo.svg

Author: smartini
Date: Wed Mar  6 11:19:27 2013
New Revision: 1453293

URL: http://svn.apache.org/r1453293
Log:
add a minimal test for svg images even under tests

Added:
    pivot/branches/2.0.x/tests/src/org/apache/pivot/tests/image_view_svg_test.bxml
    pivot/branches/2.0.x/tests/src/org/apache/pivot/tests/logo.svg

Added: pivot/branches/2.0.x/tests/src/org/apache/pivot/tests/image_view_svg_test.bxml
URL: http://svn.apache.org/viewvc/pivot/branches/2.0.x/tests/src/org/apache/pivot/tests/image_view_svg_test.bxml?rev=1453293&view=auto
==============================================================================
--- pivot/branches/2.0.x/tests/src/org/apache/pivot/tests/image_view_svg_test.bxml (added)
+++ pivot/branches/2.0.x/tests/src/org/apache/pivot/tests/image_view_svg_test.bxml Wed Mar  6 11:19:27 2013
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to you under the Apache License,
+Version 2.0 (the "License"); you may not use this file except in
+compliance with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
+
+<Window title="ImageView Test" maximized="true"
+    xmlns:bxml="http://pivot.apache.org/bxml"
+    xmlns="org.apache.pivot.wtk">
+    <ImageView image="@logo.svg"
+        styles="{fill:false, preserveAspectRatio:false,
+            horizontalAlignment:'left', verticalAlignment:'bottom'}"/>
+</Window>