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 2012/05/16 00:48:47 UTC

svn commit: r1338930 [1/2] - in /pivot/trunk: core/src/org/apache/pivot/util/ core/test/org/apache/pivot/serialization/test/ tests/src/org/apache/pivot/tests/ tests/src/org/apache/pivot/tests/issues/ tutorials/src/org/apache/pivot/tutorials/ wtk/src/or...

Author: smartini
Date: Tue May 15 22:48:46 2012
New Revision: 1338930

URL: http://svn.apache.org/viewvc?rev=1338930&view=rev
Log:
Set svn props

Modified:
    pivot/trunk/core/src/org/apache/pivot/util/Console.java   (contents, props changed)
    pivot/trunk/core/test/org/apache/pivot/serialization/test/PropertiesSerializerTest.java   (contents, props changed)
    pivot/trunk/tests/src/org/apache/pivot/tests/issues/Pivot738.java   (contents, props changed)
    pivot/trunk/tests/src/org/apache/pivot/tests/issues/Pivot751WithoutGUI.java   (contents, props changed)
    pivot/trunk/tests/src/org/apache/pivot/tests/issues/Pivot811.java   (contents, props changed)
    pivot/trunk/tests/src/org/apache/pivot/tests/issues/pivot_508.bxml   (contents, props changed)
    pivot/trunk/tests/src/org/apache/pivot/tests/issues/pivot_738.bxml   (contents, props changed)
    pivot/trunk/tests/src/org/apache/pivot/tests/issues/pivot_751.bxml   (contents, props changed)
    pivot/trunk/tests/src/org/apache/pivot/tests/issues/pivot_771.bxml   (contents, props changed)
    pivot/trunk/tests/src/org/apache/pivot/tests/scripts_diagnostic_messages.bxml   (contents, props changed)
    pivot/trunk/tests/src/org/apache/pivot/tests/scripts_diagnostic_messages.js   (contents, props changed)
    pivot/trunk/tutorials/src/org/apache/pivot/tutorials/info.bxml   (contents, props changed)
    pivot/trunk/wtk/src/org/apache/pivot/wtk/validation/NotEmptyTextValidator.java   (contents, props changed)

Modified: pivot/trunk/core/src/org/apache/pivot/util/Console.java
URL: http://svn.apache.org/viewvc/pivot/trunk/core/src/org/apache/pivot/util/Console.java?rev=1338930&r1=1338929&r2=1338930&view=diff
==============================================================================
--- pivot/trunk/core/src/org/apache/pivot/util/Console.java (original)
+++ pivot/trunk/core/src/org/apache/pivot/util/Console.java Tue May 15 22:48:46 2012
@@ -1,49 +1,49 @@
-/*
- * 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.
- */
-package org.apache.pivot.util;
-
-/**
- * Utility class for a simple log to the console, for example from scripts.
- */
-public class Console  {
-
-    private Console() {
-    }
-
-    public static final void log(String message) {
-        logOutput(message);
-    }
-
-    public static final void log(Throwable t) {
-        if (t != null) {
-            t.printStackTrace();
-        }
-    }
-
-    public static final void logExceptionMessage(Throwable t) {
-        logOutput(t.getMessage());
-    }
-
-    public static final void logOutput(String message) {
-        System.out.println(message != null ? message : "");
-    }
-
-    public static final void logError(String message) {
-        System.err.println(message != null ? message : "");
-    }
-
-}
+/*
+ * 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.
+ */
+package org.apache.pivot.util;
+
+/**
+ * Utility class for a simple log to the console, for example from scripts.
+ */
+public class Console  {
+
+    private Console() {
+    }
+
+    public static final void log(String message) {
+        logOutput(message);
+    }
+
+    public static final void log(Throwable t) {
+        if (t != null) {
+            t.printStackTrace();
+        }
+    }
+
+    public static final void logExceptionMessage(Throwable t) {
+        logOutput(t.getMessage());
+    }
+
+    public static final void logOutput(String message) {
+        System.out.println(message != null ? message : "");
+    }
+
+    public static final void logError(String message) {
+        System.err.println(message != null ? message : "");
+    }
+
+}

Propchange: pivot/trunk/core/src/org/apache/pivot/util/Console.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: pivot/trunk/core/test/org/apache/pivot/serialization/test/PropertiesSerializerTest.java
URL: http://svn.apache.org/viewvc/pivot/trunk/core/test/org/apache/pivot/serialization/test/PropertiesSerializerTest.java?rev=1338930&r1=1338929&r2=1338930&view=diff
==============================================================================
--- pivot/trunk/core/test/org/apache/pivot/serialization/test/PropertiesSerializerTest.java (original)
+++ pivot/trunk/core/test/org/apache/pivot/serialization/test/PropertiesSerializerTest.java Tue May 15 22:48:46 2012
@@ -1,115 +1,115 @@
-/*
- * 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.
- */
-package org.apache.pivot.serialization.test;
-
-import static org.junit.Assert.assertNotNull;
-import static org.junit.Assert.assertTrue;
-
-import java.io.ByteArrayInputStream;
-import java.io.ByteArrayOutputStream;
-import java.io.IOException;
-
-import org.apache.pivot.collections.HashMap;
-import org.apache.pivot.collections.Map;
-import org.apache.pivot.serialization.PropertiesSerializer;
-import org.apache.pivot.serialization.SerializationException;
-import org.apache.pivot.serialization.Serializer;
-import org.junit.Test;
-
-public class PropertiesSerializerTest
-{
-    public static Map<String, Object> testMap = null;
-
-    static {
-        testMap = new HashMap<String, Object>();
-        testMap.put("hello",   "Hello World");
-        testMap.put("number",  123.456);
-        testMap.put("boolean", true);
-        testMap.put("date",    new java.util.Date());
-        testMap.put("object",  new Object());
-    }
-
-    public void log(String msg) {
-        System.out.println(msg);
-    }
-
-    // utility method to transform the given Map to Properties,
-    // and then to byte array
-    protected byte[] mapToPropertiesToBytes(Map<String, Object> testMap2)
-            throws IOException, SerializationException {
-        Serializer<Map<?, ?>> serializer = new PropertiesSerializer();
-
-        ByteArrayOutputStream outputStream = new ByteArrayOutputStream();
-        serializer.writeObject(testMap2, outputStream);
-        outputStream.flush();
-        outputStream.close();
-
-        String result = outputStream.toString();
-
-        return result.getBytes();
-    }
-
-    @Test
-    public void writeValues() throws IOException, SerializationException {
-        log("writeValues()");
-
-        assertNotNull(testMap);
-
-        Serializer<Map<?, ?>> serializer = new PropertiesSerializer();
-        log("serializer instance created: " + serializer);
-
-        byte[] testBytes = mapToPropertiesToBytes(testMap);
-        assertNotNull(testBytes);
-
-        // dump content, but useful only for text resources ...
-        int dumpLength = testBytes.length;
-        log("Result: " + dumpLength + " bytes"
-            + ", dump written content now (could have different ordering of rows, and without comment lines):\n"
-            + new String(testBytes));
-
-        assertTrue(dumpLength > 0);
-    }
-
-    @Test
-    // run writeValues before readValues, important
-    public void readValues() throws IOException, SerializationException {
-        log("readValues()");
-
-        assertNotNull(testMap);
-
-        // prepare test data, but without using a static variable
-        byte[] testBytes = mapToPropertiesToBytes(testMap);
-        assertNotNull(testBytes);
-
-
-        Serializer<Map<?, ?>> serializer = new PropertiesSerializer();
-        log("serializer instance created: " + serializer);
-
-        ByteArrayInputStream inputStream = new ByteArrayInputStream(testBytes);
-        @SuppressWarnings("unchecked")
-        Map<String, Object> readData = (Map<String, Object>) serializer.readObject(inputStream);
-        assertNotNull(readData);
-
-        log("Succesfully Read");
-        for (String key : readData) {
-            log(key + "=" + readData.get(key));
-        }
-
-        inputStream.close();
-    }
-
-}
+/*
+ * 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.
+ */
+package org.apache.pivot.serialization.test;
+
+import static org.junit.Assert.assertNotNull;
+import static org.junit.Assert.assertTrue;
+
+import java.io.ByteArrayInputStream;
+import java.io.ByteArrayOutputStream;
+import java.io.IOException;
+
+import org.apache.pivot.collections.HashMap;
+import org.apache.pivot.collections.Map;
+import org.apache.pivot.serialization.PropertiesSerializer;
+import org.apache.pivot.serialization.SerializationException;
+import org.apache.pivot.serialization.Serializer;
+import org.junit.Test;
+
+public class PropertiesSerializerTest
+{
+    public static Map<String, Object> testMap = null;
+
+    static {
+        testMap = new HashMap<String, Object>();
+        testMap.put("hello",   "Hello World");
+        testMap.put("number",  123.456);
+        testMap.put("boolean", true);
+        testMap.put("date",    new java.util.Date());
+        testMap.put("object",  new Object());
+    }
+
+    public void log(String msg) {
+        System.out.println(msg);
+    }
+
+    // utility method to transform the given Map to Properties,
+    // and then to byte array
+    protected byte[] mapToPropertiesToBytes(Map<String, Object> testMap2)
+            throws IOException, SerializationException {
+        Serializer<Map<?, ?>> serializer = new PropertiesSerializer();
+
+        ByteArrayOutputStream outputStream = new ByteArrayOutputStream();
+        serializer.writeObject(testMap2, outputStream);
+        outputStream.flush();
+        outputStream.close();
+
+        String result = outputStream.toString();
+
+        return result.getBytes();
+    }
+
+    @Test
+    public void writeValues() throws IOException, SerializationException {
+        log("writeValues()");
+
+        assertNotNull(testMap);
+
+        Serializer<Map<?, ?>> serializer = new PropertiesSerializer();
+        log("serializer instance created: " + serializer);
+
+        byte[] testBytes = mapToPropertiesToBytes(testMap);
+        assertNotNull(testBytes);
+
+        // dump content, but useful only for text resources ...
+        int dumpLength = testBytes.length;
+        log("Result: " + dumpLength + " bytes"
+            + ", dump written content now (could have different ordering of rows, and without comment lines):\n"
+            + new String(testBytes));
+
+        assertTrue(dumpLength > 0);
+    }
+
+    @Test
+    // run writeValues before readValues, important
+    public void readValues() throws IOException, SerializationException {
+        log("readValues()");
+
+        assertNotNull(testMap);
+
+        // prepare test data, but without using a static variable
+        byte[] testBytes = mapToPropertiesToBytes(testMap);
+        assertNotNull(testBytes);
+
+
+        Serializer<Map<?, ?>> serializer = new PropertiesSerializer();
+        log("serializer instance created: " + serializer);
+
+        ByteArrayInputStream inputStream = new ByteArrayInputStream(testBytes);
+        @SuppressWarnings("unchecked")
+        Map<String, Object> readData = (Map<String, Object>) serializer.readObject(inputStream);
+        assertNotNull(readData);
+
+        log("Succesfully Read");
+        for (String key : readData) {
+            log(key + "=" + readData.get(key));
+        }
+
+        inputStream.close();
+    }
+
+}

Propchange: pivot/trunk/core/test/org/apache/pivot/serialization/test/PropertiesSerializerTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: pivot/trunk/tests/src/org/apache/pivot/tests/issues/Pivot738.java
URL: http://svn.apache.org/viewvc/pivot/trunk/tests/src/org/apache/pivot/tests/issues/Pivot738.java?rev=1338930&r1=1338929&r2=1338930&view=diff
==============================================================================
--- pivot/trunk/tests/src/org/apache/pivot/tests/issues/Pivot738.java (original)
+++ pivot/trunk/tests/src/org/apache/pivot/tests/issues/Pivot738.java Tue May 15 22:48:46 2012
@@ -1,56 +1,56 @@
-/*
- * 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.
- */
-package org.apache.pivot.tests.issues;
-
-import org.apache.pivot.beans.BXMLSerializer;
-import org.apache.pivot.collections.Map;
-import org.apache.pivot.wtk.Application;
-import org.apache.pivot.wtk.DesktopApplicationContext;
-import org.apache.pivot.wtk.Display;
-import org.apache.pivot.wtk.Window;
-
-public class Pivot738 extends Application.Adapter {
-    private Window window = null;
-
-    @Override
-    public void startup(Display display, Map<String, String> properties) throws Exception {
-        BXMLSerializer bxmlSerializer = new BXMLSerializer();
-        window = (Window) bxmlSerializer.readObject(Pivot734.class, "pivot_738.bxml");
-        window.setMaximized(true);
-        window.setWidth(400);
-        window.setHeight(250);
-        window.open(display);
-    }
-
-    @Override
-    public boolean shutdown(boolean optional) {
-        if (window != null) {
-            window.close();
-        }
-
-        return false;
-    }
-
-    public static void main(String[] args) {
-        // turn on debug drawing, to better see painting problems
-        // System.setProperty("org.apache.pivot.wtk.debugfocus", "true");  // debug focus
-        System.setProperty("org.apache.pivot.wtk.debugpaint", "true");  // debug paint
-
-        DesktopApplicationContext.main(new String[] { Pivot738.class.getName() });
-    }
-
-}
+/*
+ * 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.
+ */
+package org.apache.pivot.tests.issues;
+
+import org.apache.pivot.beans.BXMLSerializer;
+import org.apache.pivot.collections.Map;
+import org.apache.pivot.wtk.Application;
+import org.apache.pivot.wtk.DesktopApplicationContext;
+import org.apache.pivot.wtk.Display;
+import org.apache.pivot.wtk.Window;
+
+public class Pivot738 extends Application.Adapter {
+    private Window window = null;
+
+    @Override
+    public void startup(Display display, Map<String, String> properties) throws Exception {
+        BXMLSerializer bxmlSerializer = new BXMLSerializer();
+        window = (Window) bxmlSerializer.readObject(Pivot734.class, "pivot_738.bxml");
+        window.setMaximized(true);
+        window.setWidth(400);
+        window.setHeight(250);
+        window.open(display);
+    }
+
+    @Override
+    public boolean shutdown(boolean optional) {
+        if (window != null) {
+            window.close();
+        }
+
+        return false;
+    }
+
+    public static void main(String[] args) {
+        // turn on debug drawing, to better see painting problems
+        // System.setProperty("org.apache.pivot.wtk.debugfocus", "true");  // debug focus
+        System.setProperty("org.apache.pivot.wtk.debugpaint", "true");  // debug paint
+
+        DesktopApplicationContext.main(new String[] { Pivot738.class.getName() });
+    }
+
+}

Propchange: pivot/trunk/tests/src/org/apache/pivot/tests/issues/Pivot738.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: pivot/trunk/tests/src/org/apache/pivot/tests/issues/Pivot751WithoutGUI.java
URL: http://svn.apache.org/viewvc/pivot/trunk/tests/src/org/apache/pivot/tests/issues/Pivot751WithoutGUI.java?rev=1338930&r1=1338929&r2=1338930&view=diff
==============================================================================
--- pivot/trunk/tests/src/org/apache/pivot/tests/issues/Pivot751WithoutGUI.java (original)
+++ pivot/trunk/tests/src/org/apache/pivot/tests/issues/Pivot751WithoutGUI.java Tue May 15 22:48:46 2012
@@ -1,65 +1,65 @@
-/*
- * 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.
- */
-package org.apache.pivot.tests.issues;
-
-import org.apache.pivot.wtk.Application;
-import org.apache.pivot.wtk.Label;
-import org.apache.pivot.wtk.TabPane;
-import org.apache.pivot.wtk.TabPaneSelectionListener;
-
-public class Pivot751WithoutGUI extends Application.Adapter {
-
-    public static void main(String[] args) {
-        final TabPane tabPane = new TabPane();
-
-        tabPane.getTabPaneSelectionListeners().add(new TabPaneSelectionListener.Adapter() {
-            @Override
-            public void selectedIndexChanged(TabPane tabPaneArgument, int previousSelectedIndex) {
-                System.out.println(String.format("tabs     : %-16d actual selectedIndex    : %d",
-                        tabPaneArgument.getTabs().getLength(), tabPaneArgument.getSelectedIndex()));
-                System.out.println(String.format("indirect : %-16s 'previousSelectedIndex' : %d",
-                        (previousSelectedIndex == tabPaneArgument.getSelectedIndex()), previousSelectedIndex));
-            }
-        });
-
-        System.out.println("Empty TabPane sequence");
-        System.out.println(String.format("tabs     : %-16d actual selectedIndex    : %d",
-                tabPane.getTabs().getLength(), tabPane.getSelectedIndex()));
-
-        System.out.println("\nAdding first Label to the sequence");
-        tabPane.getTabs().add(new Label("1"));
-
-        System.out.println("\nAdding second Label at the end of the sequence");
-        tabPane.getTabs().add(new Label("2"));
-
-        System.out.println("\nInserting third Label at the start of the sequence");
-        tabPane.getTabs().insert(new Label("3"), 0);
-
-        System.out.println("\nAdding a fourth Label at the end of the sequence");
-        tabPane.getTabs().add(new Label("4"));
-
-        System.out.println("\nExplicitly select the last tab");
-        tabPane.setSelectedIndex(3);
-
-        System.out.println("\nRemoving the first 2 Labels from the start of the sequence");
-        tabPane.getTabs().remove(0, 2);
-
-        System.out.println("\nRemoving the tab at the end of the sequence");
-        tabPane.getTabs().remove(1, 1);
-    }
-
-}
+/*
+ * 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.
+ */
+package org.apache.pivot.tests.issues;
+
+import org.apache.pivot.wtk.Application;
+import org.apache.pivot.wtk.Label;
+import org.apache.pivot.wtk.TabPane;
+import org.apache.pivot.wtk.TabPaneSelectionListener;
+
+public class Pivot751WithoutGUI extends Application.Adapter {
+
+    public static void main(String[] args) {
+        final TabPane tabPane = new TabPane();
+
+        tabPane.getTabPaneSelectionListeners().add(new TabPaneSelectionListener.Adapter() {
+            @Override
+            public void selectedIndexChanged(TabPane tabPaneArgument, int previousSelectedIndex) {
+                System.out.println(String.format("tabs     : %-16d actual selectedIndex    : %d",
+                        tabPaneArgument.getTabs().getLength(), tabPaneArgument.getSelectedIndex()));
+                System.out.println(String.format("indirect : %-16s 'previousSelectedIndex' : %d",
+                        (previousSelectedIndex == tabPaneArgument.getSelectedIndex()), previousSelectedIndex));
+            }
+        });
+
+        System.out.println("Empty TabPane sequence");
+        System.out.println(String.format("tabs     : %-16d actual selectedIndex    : %d",
+                tabPane.getTabs().getLength(), tabPane.getSelectedIndex()));
+
+        System.out.println("\nAdding first Label to the sequence");
+        tabPane.getTabs().add(new Label("1"));
+
+        System.out.println("\nAdding second Label at the end of the sequence");
+        tabPane.getTabs().add(new Label("2"));
+
+        System.out.println("\nInserting third Label at the start of the sequence");
+        tabPane.getTabs().insert(new Label("3"), 0);
+
+        System.out.println("\nAdding a fourth Label at the end of the sequence");
+        tabPane.getTabs().add(new Label("4"));
+
+        System.out.println("\nExplicitly select the last tab");
+        tabPane.setSelectedIndex(3);
+
+        System.out.println("\nRemoving the first 2 Labels from the start of the sequence");
+        tabPane.getTabs().remove(0, 2);
+
+        System.out.println("\nRemoving the tab at the end of the sequence");
+        tabPane.getTabs().remove(1, 1);
+    }
+
+}

Propchange: pivot/trunk/tests/src/org/apache/pivot/tests/issues/Pivot751WithoutGUI.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: pivot/trunk/tests/src/org/apache/pivot/tests/issues/Pivot811.java
URL: http://svn.apache.org/viewvc/pivot/trunk/tests/src/org/apache/pivot/tests/issues/Pivot811.java?rev=1338930&r1=1338929&r2=1338930&view=diff
==============================================================================
--- pivot/trunk/tests/src/org/apache/pivot/tests/issues/Pivot811.java (original)
+++ pivot/trunk/tests/src/org/apache/pivot/tests/issues/Pivot811.java Tue May 15 22:48:46 2012
@@ -1,146 +1,146 @@
-/*
- * 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.
- */
-package org.apache.pivot.tests.issues;
-
-import org.apache.pivot.collections.ArrayList;
-import org.apache.pivot.collections.List;
-import org.apache.pivot.collections.Map;
-import org.apache.pivot.wtk.Application;
-import org.apache.pivot.wtk.BoxPane;
-import org.apache.pivot.wtk.Component;
-import org.apache.pivot.wtk.ComponentMouseButtonListener;
-import org.apache.pivot.wtk.DesktopApplicationContext;
-import org.apache.pivot.wtk.Display;
-import org.apache.pivot.wtk.Frame;
-import org.apache.pivot.wtk.Insets;
-import org.apache.pivot.wtk.Label;
-import org.apache.pivot.wtk.ListView;
-import org.apache.pivot.wtk.ListViewSelectionListener;
-import org.apache.pivot.wtk.Mouse;
-import org.apache.pivot.wtk.Orientation;
-import org.apache.pivot.wtk.ScrollPane;
-import org.apache.pivot.wtk.ScrollPane.ScrollBarPolicy;
-import org.apache.pivot.wtk.TextInput;
-import org.apache.pivot.wtk.Window;
-
-public class Pivot811 extends Application.Adapter {
-    private Display display = null;
-
-    @Override
-    public void startup(final Display displayArgument, Map<String, String> properties) throws Exception {
-        this.display = displayArgument;
-
-        Frame listFrame = new Frame();
-        listFrame.setTitle("List Frame");
-        listFrame.setPreferredSize(400, 300);
-        listFrame.setLocation(20, 20);
-        listFrame.getStyles().put("padding", new Insets(0, 0, 0, 0));
-
-        BoxPane boxPane = new BoxPane();
-        boxPane.getStyles().put("fill", true);
-        boxPane.setOrientation(Orientation.VERTICAL);
-        listFrame.setContent(boxPane);
-
-        Label infoLabel = new Label("Double click on a list item to open a detail frame");
-        boxPane.add(infoLabel);
-
-        ScrollPane scrollPane = new ScrollPane();
-        scrollPane.setHorizontalScrollBarPolicy(ScrollBarPolicy.FILL);
-        scrollPane.setVerticalScrollBarPolicy(ScrollBarPolicy.FILL_TO_CAPACITY);
-        scrollPane.setRepaintAllViewport(true);  // workaround for pivot-738, needed only in in some cases
-        boxPane.add(scrollPane);
-
-        final ListView listView = new ListView();
-        List<String> listData = new ArrayList<String>();
-        for (int i = 0; i < 50; ++i) {
-            listData.add("List Item " + i);
-        }
-        listView.setListData(listData);
-        scrollPane.setView(listView);
-
-        listView.getListViewSelectionListeners().add(new ListViewSelectionListener.Adapter() {
-            @Override
-            public void selectedItemChanged(ListView listViewArgument, Object previousSelectedItem) {
-                System.out.println("selectedItemChanged : " + listViewArgument.getSelectedItem());
-            }
-        });
-
-        listView.getComponentMouseButtonListeners().add(new ComponentMouseButtonListener.Adapter() {
-            @Override
-            public boolean mouseClick(Component component, Mouse.Button button, int x, int y, int count) {
-                System.out.println("mouseClick : " + count);
-
-                if (count == 2) {
-                    System.out.println("double click, now open a detail frame");
-
-                    Frame detailFrame = new Frame();
-                    detailFrame.setTitle("Detail Frame");
-                    detailFrame.setPreferredSize(400, 300);
-                    int selectedIndex = listView.getSelectedIndex();
-                    detailFrame.setLocation(80 + (selectedIndex * 10), 80 + (selectedIndex * 10));
-                    detailFrame.getStyles().put("padding", new Insets(0, 0, 0, 0));
-
-                    BoxPane boxPaneLocal = new BoxPane();
-                    boxPaneLocal.getStyles().put("fill", true);
-                    boxPaneLocal.setOrientation(Orientation.VERTICAL);
-                    detailFrame.setContent(boxPaneLocal);
-
-                    String selectedItem = listView.getSelectedItem().toString();
-                    Label label = new Label("Selected Item is \"" + selectedItem + "\"");
-                    boxPaneLocal.add(label);
-                    boxPaneLocal.add(new Label(""));  // spacer
-
-                    boxPaneLocal.add(new Label("Click inside the text input to focus it"));
-                    TextInput textInput = new TextInput();
-                    textInput.setText("Focusable component");
-                    boxPaneLocal.add(textInput);  // workaround for pivot-811: add a focusable element inside the frame
-
-                    detailFrame.open(displayArgument);
-
-                    // workaround for pivot-811: force the focus on the first focusable element inside the frame
-                    detailFrame.requestFocus();
-                    // textInput.requestFocus();  // or use this ...
-                }
-
-                return true;
-            }
-        });
-
-        listFrame.open(displayArgument);
-
-        listView.setSelectedIndex(0);
-        listView.requestFocus();
-    }
-
-    @Override
-    public boolean shutdown(boolean optional) {
-        for (int i = 0; i < display.getLength(); i++) {
-            ((Window) display.get(i)).close();
-        }
-
-        return false;
-    }
-
-    public static void main(String[] args) {
-        // turn on debug drawing, to better see painting problems
-        System.setProperty("org.apache.pivot.wtk.debugfocus", "true");  // debug focus
-        // System.setProperty("org.apache.pivot.wtk.debugpaint", "true");  // debug paint
-
-        DesktopApplicationContext.main(new String[] { Pivot811.class.getName() });
-    }
-
-}
+/*
+ * 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.
+ */
+package org.apache.pivot.tests.issues;
+
+import org.apache.pivot.collections.ArrayList;
+import org.apache.pivot.collections.List;
+import org.apache.pivot.collections.Map;
+import org.apache.pivot.wtk.Application;
+import org.apache.pivot.wtk.BoxPane;
+import org.apache.pivot.wtk.Component;
+import org.apache.pivot.wtk.ComponentMouseButtonListener;
+import org.apache.pivot.wtk.DesktopApplicationContext;
+import org.apache.pivot.wtk.Display;
+import org.apache.pivot.wtk.Frame;
+import org.apache.pivot.wtk.Insets;
+import org.apache.pivot.wtk.Label;
+import org.apache.pivot.wtk.ListView;
+import org.apache.pivot.wtk.ListViewSelectionListener;
+import org.apache.pivot.wtk.Mouse;
+import org.apache.pivot.wtk.Orientation;
+import org.apache.pivot.wtk.ScrollPane;
+import org.apache.pivot.wtk.ScrollPane.ScrollBarPolicy;
+import org.apache.pivot.wtk.TextInput;
+import org.apache.pivot.wtk.Window;
+
+public class Pivot811 extends Application.Adapter {
+    private Display display = null;
+
+    @Override
+    public void startup(final Display displayArgument, Map<String, String> properties) throws Exception {
+        this.display = displayArgument;
+
+        Frame listFrame = new Frame();
+        listFrame.setTitle("List Frame");
+        listFrame.setPreferredSize(400, 300);
+        listFrame.setLocation(20, 20);
+        listFrame.getStyles().put("padding", new Insets(0, 0, 0, 0));
+
+        BoxPane boxPane = new BoxPane();
+        boxPane.getStyles().put("fill", true);
+        boxPane.setOrientation(Orientation.VERTICAL);
+        listFrame.setContent(boxPane);
+
+        Label infoLabel = new Label("Double click on a list item to open a detail frame");
+        boxPane.add(infoLabel);
+
+        ScrollPane scrollPane = new ScrollPane();
+        scrollPane.setHorizontalScrollBarPolicy(ScrollBarPolicy.FILL);
+        scrollPane.setVerticalScrollBarPolicy(ScrollBarPolicy.FILL_TO_CAPACITY);
+        scrollPane.setRepaintAllViewport(true);  // workaround for pivot-738, needed only in in some cases
+        boxPane.add(scrollPane);
+
+        final ListView listView = new ListView();
+        List<String> listData = new ArrayList<String>();
+        for (int i = 0; i < 50; ++i) {
+            listData.add("List Item " + i);
+        }
+        listView.setListData(listData);
+        scrollPane.setView(listView);
+
+        listView.getListViewSelectionListeners().add(new ListViewSelectionListener.Adapter() {
+            @Override
+            public void selectedItemChanged(ListView listViewArgument, Object previousSelectedItem) {
+                System.out.println("selectedItemChanged : " + listViewArgument.getSelectedItem());
+            }
+        });
+
+        listView.getComponentMouseButtonListeners().add(new ComponentMouseButtonListener.Adapter() {
+            @Override
+            public boolean mouseClick(Component component, Mouse.Button button, int x, int y, int count) {
+                System.out.println("mouseClick : " + count);
+
+                if (count == 2) {
+                    System.out.println("double click, now open a detail frame");
+
+                    Frame detailFrame = new Frame();
+                    detailFrame.setTitle("Detail Frame");
+                    detailFrame.setPreferredSize(400, 300);
+                    int selectedIndex = listView.getSelectedIndex();
+                    detailFrame.setLocation(80 + (selectedIndex * 10), 80 + (selectedIndex * 10));
+                    detailFrame.getStyles().put("padding", new Insets(0, 0, 0, 0));
+
+                    BoxPane boxPaneLocal = new BoxPane();
+                    boxPaneLocal.getStyles().put("fill", true);
+                    boxPaneLocal.setOrientation(Orientation.VERTICAL);
+                    detailFrame.setContent(boxPaneLocal);
+
+                    String selectedItem = listView.getSelectedItem().toString();
+                    Label label = new Label("Selected Item is \"" + selectedItem + "\"");
+                    boxPaneLocal.add(label);
+                    boxPaneLocal.add(new Label(""));  // spacer
+
+                    boxPaneLocal.add(new Label("Click inside the text input to focus it"));
+                    TextInput textInput = new TextInput();
+                    textInput.setText("Focusable component");
+                    boxPaneLocal.add(textInput);  // workaround for pivot-811: add a focusable element inside the frame
+
+                    detailFrame.open(displayArgument);
+
+                    // workaround for pivot-811: force the focus on the first focusable element inside the frame
+                    detailFrame.requestFocus();
+                    // textInput.requestFocus();  // or use this ...
+                }
+
+                return true;
+            }
+        });
+
+        listFrame.open(displayArgument);
+
+        listView.setSelectedIndex(0);
+        listView.requestFocus();
+    }
+
+    @Override
+    public boolean shutdown(boolean optional) {
+        for (int i = 0; i < display.getLength(); i++) {
+            ((Window) display.get(i)).close();
+        }
+
+        return false;
+    }
+
+    public static void main(String[] args) {
+        // turn on debug drawing, to better see painting problems
+        System.setProperty("org.apache.pivot.wtk.debugfocus", "true");  // debug focus
+        // System.setProperty("org.apache.pivot.wtk.debugpaint", "true");  // debug paint
+
+        DesktopApplicationContext.main(new String[] { Pivot811.class.getName() });
+    }
+
+}

Propchange: pivot/trunk/tests/src/org/apache/pivot/tests/issues/Pivot811.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: pivot/trunk/tests/src/org/apache/pivot/tests/issues/pivot_508.bxml
URL: http://svn.apache.org/viewvc/pivot/trunk/tests/src/org/apache/pivot/tests/issues/pivot_508.bxml?rev=1338930&r1=1338929&r2=1338930&view=diff
==============================================================================
--- pivot/trunk/tests/src/org/apache/pivot/tests/issues/pivot_508.bxml (original)
+++ pivot/trunk/tests/src/org/apache/pivot/tests/issues/pivot_508.bxml Tue May 15 22:48:46 2012
@@ -1,49 +1,49 @@
-<?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="Text Area Test" maximized="true"
-    xmlns:bxml="http://pivot.apache.org/bxml"
-    xmlns="org.apache.pivot.wtk"
->
-
-    <TablePane styles="{horizontalSpacing:8}">
-        <columns>
-            <TablePane.Column width="1*"/>
-            <TablePane.Column width="1*"/>
-        </columns>
-
-        <TablePane.Row height="1*">
-            <BoxPane orientation="vertical" styles="{fill:true, spacing:10}">
-                <Label text="Text Area - Editable"/>
-                <Label text="  "/> <!-- spacer -->
-                <TextArea bxml:id="textAreaEditable" text="ABC&#x000A;DEF&#x000A;GHI&#x000A;JKL&#x000A;MNO&#x000A;PQ" preferredWidth="320"
-                    styles="{margin:8, wrapText:true}"
-                />
-            </BoxPane>
-            <BoxPane orientation="vertical" styles="{fill:true, spacing:10}">
-                <Label text="Text Area - Read-Only"/>
-                <Label text="  "/> <!-- spacer -->
-                <TextArea bxml:id="textAreaReadOnly" text="ABC&#x000A;DEF&#x000A;GHI&#x000A;JKL&#x000A;MNO&#x000A;PQ" preferredWidth="320"
-                    styles="{margin:8, wrapText:true}"
-                    editable="false"
-                />
-            </BoxPane>
-        </TablePane.Row>
-    </TablePane>
-
-</Window>
+<?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="Text Area Test" maximized="true"
+    xmlns:bxml="http://pivot.apache.org/bxml"
+    xmlns="org.apache.pivot.wtk"
+>
+
+    <TablePane styles="{horizontalSpacing:8}">
+        <columns>
+            <TablePane.Column width="1*"/>
+            <TablePane.Column width="1*"/>
+        </columns>
+
+        <TablePane.Row height="1*">
+            <BoxPane orientation="vertical" styles="{fill:true, spacing:10}">
+                <Label text="Text Area - Editable"/>
+                <Label text="  "/> <!-- spacer -->
+                <TextArea bxml:id="textAreaEditable" text="ABC&#x000A;DEF&#x000A;GHI&#x000A;JKL&#x000A;MNO&#x000A;PQ" preferredWidth="320"
+                    styles="{margin:8, wrapText:true}"
+                />
+            </BoxPane>
+            <BoxPane orientation="vertical" styles="{fill:true, spacing:10}">
+                <Label text="Text Area - Read-Only"/>
+                <Label text="  "/> <!-- spacer -->
+                <TextArea bxml:id="textAreaReadOnly" text="ABC&#x000A;DEF&#x000A;GHI&#x000A;JKL&#x000A;MNO&#x000A;PQ" preferredWidth="320"
+                    styles="{margin:8, wrapText:true}"
+                    editable="false"
+                />
+            </BoxPane>
+        </TablePane.Row>
+    </TablePane>
+
+</Window>

Propchange: pivot/trunk/tests/src/org/apache/pivot/tests/issues/pivot_508.bxml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: pivot/trunk/tests/src/org/apache/pivot/tests/issues/pivot_508.bxml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Modified: pivot/trunk/tests/src/org/apache/pivot/tests/issues/pivot_738.bxml
URL: http://svn.apache.org/viewvc/pivot/trunk/tests/src/org/apache/pivot/tests/issues/pivot_738.bxml?rev=1338930&r1=1338929&r2=1338930&view=diff
==============================================================================
--- pivot/trunk/tests/src/org/apache/pivot/tests/issues/pivot_738.bxml (original)
+++ pivot/trunk/tests/src/org/apache/pivot/tests/issues/pivot_738.bxml Tue May 15 22:48:46 2012
@@ -1,78 +1,78 @@
-<?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="Pivot-738" maximized="true"
-    xmlns:bxml="http://pivot.apache.org/bxml"
-    xmlns:content="org.apache.pivot.wtk.content"
-    xmlns="org.apache.pivot.wtk"
-    minimumHeight="200"
-    minimumWidth="300"
-    maximumHeight="250"
-    maximumWidth="400"
->
-
-    <bxml:script>
-    <![CDATA[
-    importPackage(java.lang);  // required to use System.out and System.err
-
-    System.out.println("BXML Scripts successfully initialized");
-    ]]>
-    </bxml:script>
-
-    <ScrollPane horizontalScrollBarPolicy="fill_to_capacity" verticalScrollBarPolicy="fill_to_capacity">
-        <Border preferredHeight="220">
-            <ScrollPane verticalScrollBarPolicy="always" repaintAllViewport="true">
-                <TableView bxml:id="listTable">
-                    <columns>
-                        <TableView.Column name="i" width="80"/>
-                        <TableView.Column name="a" width="-1"/>
-                    </columns>
-
-                    <componentListeners>
-                        <![CDATA[
-                        importClass(org.apache.pivot.collections.ArrayList);
-                        importClass(org.apache.pivot.collections.HashMap);
-
-                        var numRows = 100;
-
-                        function parentChanged(component, previousParent) {
-                            if (component.getParent() != null) {
-                                var tableData = new ArrayList();
-
-                                for (var i = 0; i < numRows; i++) {
-                                    var row = new HashMap();
-                                    row.put("i", new String(i));
-                                    row.put("a", new String(Math.floor(Math.random() * numRows)));
-                                    tableData.add(row);
-                                }
-
-                                component.setTableData(tableData);
-                            }
-                        }
-                        ]]>
-                    </componentListeners>
-
-                </TableView>
-                <columnHeader>
-                    <TableViewHeader bxml:id="listHeader" tableView="$listTable"/>
-                </columnHeader>
-            </ScrollPane>
-        </Border>
-    </ScrollPane>
-
-</Window>
+<?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="Pivot-738" maximized="true"
+    xmlns:bxml="http://pivot.apache.org/bxml"
+    xmlns:content="org.apache.pivot.wtk.content"
+    xmlns="org.apache.pivot.wtk"
+    minimumHeight="200"
+    minimumWidth="300"
+    maximumHeight="250"
+    maximumWidth="400"
+>
+
+    <bxml:script>
+    <![CDATA[
+    importPackage(java.lang);  // required to use System.out and System.err
+
+    System.out.println("BXML Scripts successfully initialized");
+    ]]>
+    </bxml:script>
+
+    <ScrollPane horizontalScrollBarPolicy="fill_to_capacity" verticalScrollBarPolicy="fill_to_capacity">
+        <Border preferredHeight="220">
+            <ScrollPane verticalScrollBarPolicy="always" repaintAllViewport="true">
+                <TableView bxml:id="listTable">
+                    <columns>
+                        <TableView.Column name="i" width="80"/>
+                        <TableView.Column name="a" width="-1"/>
+                    </columns>
+
+                    <componentListeners>
+                        <![CDATA[
+                        importClass(org.apache.pivot.collections.ArrayList);
+                        importClass(org.apache.pivot.collections.HashMap);
+
+                        var numRows = 100;
+
+                        function parentChanged(component, previousParent) {
+                            if (component.getParent() != null) {
+                                var tableData = new ArrayList();
+
+                                for (var i = 0; i < numRows; i++) {
+                                    var row = new HashMap();
+                                    row.put("i", new String(i));
+                                    row.put("a", new String(Math.floor(Math.random() * numRows)));
+                                    tableData.add(row);
+                                }
+
+                                component.setTableData(tableData);
+                            }
+                        }
+                        ]]>
+                    </componentListeners>
+
+                </TableView>
+                <columnHeader>
+                    <TableViewHeader bxml:id="listHeader" tableView="$listTable"/>
+                </columnHeader>
+            </ScrollPane>
+        </Border>
+    </ScrollPane>
+
+</Window>

Propchange: pivot/trunk/tests/src/org/apache/pivot/tests/issues/pivot_738.bxml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: pivot/trunk/tests/src/org/apache/pivot/tests/issues/pivot_738.bxml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Modified: pivot/trunk/tests/src/org/apache/pivot/tests/issues/pivot_751.bxml
URL: http://svn.apache.org/viewvc/pivot/trunk/tests/src/org/apache/pivot/tests/issues/pivot_751.bxml?rev=1338930&r1=1338929&r2=1338930&view=diff
==============================================================================
--- pivot/trunk/tests/src/org/apache/pivot/tests/issues/pivot_751.bxml (original)
+++ pivot/trunk/tests/src/org/apache/pivot/tests/issues/pivot_751.bxml Tue May 15 22:48:46 2012
@@ -1,95 +1,95 @@
-<?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="Pivot-837" maximized="true"
-    xmlns:bxml="http://pivot.apache.org/bxml"
-    xmlns:content="org.apache.pivot.wtk.content"
-    xmlns="org.apache.pivot.wtk"
->
-
-    <bxml:script>
-    <![CDATA[
-    importPackage(java.lang);  // required to use System.out and System.err
-    importPackage(org.apache.pivot.util);  // required to use Pivot Utility class Console
-    importPackage(org.apache.pivot.wtk);   // required to use Pivot WTK classes
-
-    function removeTab_js() {
-        System.out.println("removeTab_js");
-        var numTabs = tabPane.getTabs().getLength()
-        System.out.println("there was " + numTabs + " tabs before the remove");
-        var selectedTab = tabPane.getSelectedIndex();
-        System.out.println("selected index was " + selectedTab);
-
-        // remove the selected tab (if any)
-        if (selectedTab > -1)
-            tabPane.getTabs().remove(selectedTab, 1);
-
-        var numTabs = tabPane.getTabs().getLength()
-        System.out.println("now there are " + numTabs + " tabs");
-    }
-
-    function addTab_js() {
-        System.out.println("addTab_js");
-        var numTabs = tabPane.getTabs().getLength()
-        System.out.println("there was " + numTabs + " tabs before the add");
-        var selectedTab = tabPane.getSelectedIndex();
-        System.out.println("selected index was " + selectedTab);
-
-        // add a tab at the end of the sequence
-        // var insertIndex = 0  // at the beginning
-        // var insertIndex = selectedTab + 1  // after the selected
-        var insertIndex = numTabs  // at the end
-           tabPane.getTabs().insert(new Label("Tab current index is " + insertIndex), insertIndex);
-
-           // var insertedTab = tabPane.getTabs().get(insertIndex);
-           // insertedTab.setName("tab " + numTabs);
-
-        var numTabs = tabPane.getTabs().getLength()
-        System.out.println("now there are " + numTabs + " tabs");
-    }
-
-    System.out.println("BXML Scripts successfully initialized");
-    ]]>
-    </bxml:script>
-
-
-    <TabPane bxml:id="tabPane" styles="{tabOrientation:'vertical'}">
-        <corner>
-            <BoxPane styles="{horizontalAlignment:'center', verticalAlignment:'top'}">
-                <PushButton buttonData="-"
-                    ButtonPressListener.buttonPressed="removeTab_js()"
-                />
-                <PushButton buttonData="+"
-                    ButtonPressListener.buttonPressed="addTab_js()"
-                />
-            </BoxPane>
-        </corner>
-
-        <BoxPane>
-            <TabPane.tabData>
-                <content:ButtonData text="Tab 1"/>
-            </TabPane.tabData>
-        </BoxPane>
-        <BoxPane>
-            <TabPane.tabData>
-                <content:ButtonData text="Tab 2"/>
-            </TabPane.tabData>
-        </BoxPane>
-    </TabPane>
-
-</Window>
+<?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="Pivot-837" maximized="true"
+    xmlns:bxml="http://pivot.apache.org/bxml"
+    xmlns:content="org.apache.pivot.wtk.content"
+    xmlns="org.apache.pivot.wtk"
+>
+
+    <bxml:script>
+    <![CDATA[
+    importPackage(java.lang);  // required to use System.out and System.err
+    importPackage(org.apache.pivot.util);  // required to use Pivot Utility class Console
+    importPackage(org.apache.pivot.wtk);   // required to use Pivot WTK classes
+
+    function removeTab_js() {
+        System.out.println("removeTab_js");
+        var numTabs = tabPane.getTabs().getLength()
+        System.out.println("there was " + numTabs + " tabs before the remove");
+        var selectedTab = tabPane.getSelectedIndex();
+        System.out.println("selected index was " + selectedTab);
+
+        // remove the selected tab (if any)
+        if (selectedTab > -1)
+            tabPane.getTabs().remove(selectedTab, 1);
+
+        var numTabs = tabPane.getTabs().getLength()
+        System.out.println("now there are " + numTabs + " tabs");
+    }
+
+    function addTab_js() {
+        System.out.println("addTab_js");
+        var numTabs = tabPane.getTabs().getLength()
+        System.out.println("there was " + numTabs + " tabs before the add");
+        var selectedTab = tabPane.getSelectedIndex();
+        System.out.println("selected index was " + selectedTab);
+
+        // add a tab at the end of the sequence
+        // var insertIndex = 0  // at the beginning
+        // var insertIndex = selectedTab + 1  // after the selected
+        var insertIndex = numTabs  // at the end
+           tabPane.getTabs().insert(new Label("Tab current index is " + insertIndex), insertIndex);
+
+           // var insertedTab = tabPane.getTabs().get(insertIndex);
+           // insertedTab.setName("tab " + numTabs);
+
+        var numTabs = tabPane.getTabs().getLength()
+        System.out.println("now there are " + numTabs + " tabs");
+    }
+
+    System.out.println("BXML Scripts successfully initialized");
+    ]]>
+    </bxml:script>
+
+
+    <TabPane bxml:id="tabPane" styles="{tabOrientation:'vertical'}">
+        <corner>
+            <BoxPane styles="{horizontalAlignment:'center', verticalAlignment:'top'}">
+                <PushButton buttonData="-"
+                    ButtonPressListener.buttonPressed="removeTab_js()"
+                />
+                <PushButton buttonData="+"
+                    ButtonPressListener.buttonPressed="addTab_js()"
+                />
+            </BoxPane>
+        </corner>
+
+        <BoxPane>
+            <TabPane.tabData>
+                <content:ButtonData text="Tab 1"/>
+            </TabPane.tabData>
+        </BoxPane>
+        <BoxPane>
+            <TabPane.tabData>
+                <content:ButtonData text="Tab 2"/>
+            </TabPane.tabData>
+        </BoxPane>
+    </TabPane>
+
+</Window>

Propchange: pivot/trunk/tests/src/org/apache/pivot/tests/issues/pivot_751.bxml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: pivot/trunk/tests/src/org/apache/pivot/tests/issues/pivot_751.bxml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Modified: pivot/trunk/tests/src/org/apache/pivot/tests/issues/pivot_771.bxml
URL: http://svn.apache.org/viewvc/pivot/trunk/tests/src/org/apache/pivot/tests/issues/pivot_771.bxml?rev=1338930&r1=1338929&r2=1338930&view=diff
==============================================================================
--- pivot/trunk/tests/src/org/apache/pivot/tests/issues/pivot_771.bxml (original)
+++ pivot/trunk/tests/src/org/apache/pivot/tests/issues/pivot_771.bxml Tue May 15 22:48:46 2012
@@ -1,169 +1,169 @@
-<?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="Multiple Selection on Lists, Tables, Trees" maximized="true"
-    xmlns:bxml="http://pivot.apache.org/bxml"
-    xmlns:collections="org.apache.pivot.collections"
-    xmlns:content="org.apache.pivot.wtk.content"
-    xmlns="org.apache.pivot.wtk"
->
-
-    <bxml:script>
-    <![CDATA[
-    importPackage(java.lang);  // required to use System.out and System.err
-    importPackage(org.apache.pivot.util);  // required to use Pivot Utility class Console
-    importPackage(org.apache.pivot.wtk);   // required to use Pivot WTK classes
-
-    function readSelectedElementsOnListView_js() {
-        System.out.println("readSelectedElementsOnListView_js");
-        var firstSelectedIndex = listView.getSelectedIndex();
-        System.out.println("firstSelectedIndex is " + firstSelectedIndex);
-    }
-
-    function readSelectedElementsOnTableView_js() {
-        System.out.println("readSelectedElementsOnTableView_js");
-        var firstSelectedIndex = tableView.getSelectedIndex();
-        System.out.println("firstSelectedIndex is " + firstSelectedIndex);
-    }
-
-    function readSelectedElementsOnTreeView_js() {
-        System.out.println("readSelectedElementsOnTreeView_js");
-        var firstSelectedIndex = treeView.getSelectedPath();
-        System.out.println("firstSelectedIndex is " + firstSelectedIndex);
-    }
-
-    System.out.println("BXML Scripts successfully initialized");
-    ]]>
-    </bxml:script>
-
-
-    <TablePane styles="{horizontalSpacing:8}">
-        <columns>
-            <TablePane.Column width="1*"/>
-            <TablePane.Column width="1*"/>
-        </columns>
-
-        <TablePane.Row height="1*">
-            <BoxPane orientation="vertical" styles="{fill:true, spacing:10}">
-                <Label text="List Sample"/>
-                <Label text="  "/> <!-- spacer -->
-                <PushButton bxml:id="readSelectedElementsOnListView" buttonData="Get Selected element"
-                     ButtonPressListener.buttonPressed="readSelectedElementsOnListView_js()"
-                />
-            </BoxPane>
-            <ScrollPane horizontalScrollBarPolicy="fill_to_capacity">
-                <ListView bxml:id="listView" selectMode="multi"
-                    listData="['One', 'Two', 'Three', 'Four', 'Five', 'Six', 'Seven', 'Eight', 'Nine', 'Ten']"
-                />
-            </ScrollPane>
-        </TablePane.Row>
-
-        <TablePane.Row height="1*">
-            <BoxPane orientation="vertical" styles="{fill:true, spacing:10}">
-                <Label text="Table Sample"/>
-                <Label text="  "/> <!-- spacer -->
-                <PushButton bxml:id="readSelectedElementsOnTableView" buttonData="Get Selected element"
-                     ButtonPressListener.buttonPressed="readSelectedElementsOnTableView_js()"
-                />
-            </BoxPane>
-            <ScrollPane horizontalScrollBarPolicy="fill_to_capacity">
-                <TableView bxml:id="tableView"  selectMode="multi">
-                    <columns>
-                        <TableView.Column name="a" width="100"/>
-                        <TableView.Column name="b" width="100"/>
-                        <TableView.Column name="c" width="1*"/>
-                    </columns>
-
-                    <collections:HashMap a="0"/>
-                    <collections:HashMap b="1"/>
-                    <collections:HashMap c=""/>
-                    <collections:HashMap a="10"/>
-                    <collections:HashMap b="11"/>
-                    <collections:HashMap c=""/>
-                </TableView>
-            </ScrollPane>
-        </TablePane.Row>
-
-        <TablePane.Row height="1*">
-            <BoxPane orientation="vertical" styles="{fill:true, spacing:10}">
-                <Label text="Tree Sample"/>
-                <Label text="  "/> <!-- spacer -->
-                <PushButton bxml:id="readSelectedElementsOnTreeView" buttonData="Get Selected element"
-                     ButtonPressListener.buttonPressed="readSelectedElementsOnTreeView_js()"
-                />
-            </BoxPane>
-            <ScrollPane horizontalScrollBarPolicy="fill_to_capacity">
-                   <TreeView bxml:id="treeView" selectMode="multi">
-                        <nodeRenderer>
-                            <content:TreeViewNodeRenderer showIcon="true"/>
-                        </nodeRenderer>
-                        <treeData>
-                            <content:TreeBranch>
-                                <content:TreeBranch text="Activity">
-                                    <content:TreeBranch text="Games">
-                                        <content:TreeNode text="Foosball"/>
-                                        <content:TreeNode text="A very long game name that just serves to show how a wide tree node behaves"/>
-                                        <content:TreeNode text="Ping Pong"/>
-                                        <content:TreeNode text="Air Hockey"/>
-                                    </content:TreeBranch>
-                                    <content:TreeBranch text="Sports">
-                                        <content:TreeNode text="Baseball"/>
-                                        <content:TreeNode text="Basketball"/>
-                                        <content:TreeNode text="Football"/>
-                                        <content:TreeNode text="Ice Hockey"/>
-                                        <content:TreeNode text="Soccer"/>
-                                        <content:TreeNode text="Softball"/>
-                                    </content:TreeBranch>
-                                    <content:TreeNode text="Camping"/>
-                                    <content:TreeNode text="Skiing"/>
-                                </content:TreeBranch>
-                                <content:TreeBranch text="Occasion">
-                                    <content:TreeBranch text="Holidays">
-                                        <content:TreeNode text="Christmas"/>
-                                        <content:TreeNode text="Independence Day"/>
-                                        <content:TreeNode text="Labor Day"/>
-                                        <content:TreeNode text="New Year's Day"/>
-                                        <content:TreeNode text="President's Day"/>
-                                        <content:TreeNode text="Thanksgiving"/>
-                                        <content:TreeNode text="Valentine's Day"/>
-                                        <content:TreeNode text="Veteran's Day"/>
-                                    </content:TreeBranch>
-                                    <content:TreeNode text="Anniversary"/>
-                                    <content:TreeNode text="Birthday"/>
-                                    <content:TreeNode text="Wedding"/>
-                                </content:TreeBranch>
-                                <content:TreeBranch text="Location">
-                                    <content:TreeNode text="Africa"/>
-                                    <content:TreeNode text="Antarctica"/>
-                                    <content:TreeNode text="Asia"/>
-                                    <content:TreeNode text="Australia"/>
-                                    <content:TreeNode text="Europe"/>
-                                    <content:TreeNode text="North America"/>
-                                    <content:TreeBranch text="South America">
-                                        <content:TreeNode text="Peru"/>
-                                    </content:TreeBranch>
-                                </content:TreeBranch>
-                            </content:TreeBranch>
-                        </treeData>
-                    </TreeView>
-                </ScrollPane>
-        </TablePane.Row>
-
-    </TablePane>
-
-</Window>
+<?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="Multiple Selection on Lists, Tables, Trees" maximized="true"
+    xmlns:bxml="http://pivot.apache.org/bxml"
+    xmlns:collections="org.apache.pivot.collections"
+    xmlns:content="org.apache.pivot.wtk.content"
+    xmlns="org.apache.pivot.wtk"
+>
+
+    <bxml:script>
+    <![CDATA[
+    importPackage(java.lang);  // required to use System.out and System.err
+    importPackage(org.apache.pivot.util);  // required to use Pivot Utility class Console
+    importPackage(org.apache.pivot.wtk);   // required to use Pivot WTK classes
+
+    function readSelectedElementsOnListView_js() {
+        System.out.println("readSelectedElementsOnListView_js");
+        var firstSelectedIndex = listView.getSelectedIndex();
+        System.out.println("firstSelectedIndex is " + firstSelectedIndex);
+    }
+
+    function readSelectedElementsOnTableView_js() {
+        System.out.println("readSelectedElementsOnTableView_js");
+        var firstSelectedIndex = tableView.getSelectedIndex();
+        System.out.println("firstSelectedIndex is " + firstSelectedIndex);
+    }
+
+    function readSelectedElementsOnTreeView_js() {
+        System.out.println("readSelectedElementsOnTreeView_js");
+        var firstSelectedIndex = treeView.getSelectedPath();
+        System.out.println("firstSelectedIndex is " + firstSelectedIndex);
+    }
+
+    System.out.println("BXML Scripts successfully initialized");
+    ]]>
+    </bxml:script>
+
+
+    <TablePane styles="{horizontalSpacing:8}">
+        <columns>
+            <TablePane.Column width="1*"/>
+            <TablePane.Column width="1*"/>
+        </columns>
+
+        <TablePane.Row height="1*">
+            <BoxPane orientation="vertical" styles="{fill:true, spacing:10}">
+                <Label text="List Sample"/>
+                <Label text="  "/> <!-- spacer -->
+                <PushButton bxml:id="readSelectedElementsOnListView" buttonData="Get Selected element"
+                     ButtonPressListener.buttonPressed="readSelectedElementsOnListView_js()"
+                />
+            </BoxPane>
+            <ScrollPane horizontalScrollBarPolicy="fill_to_capacity">
+                <ListView bxml:id="listView" selectMode="multi"
+                    listData="['One', 'Two', 'Three', 'Four', 'Five', 'Six', 'Seven', 'Eight', 'Nine', 'Ten']"
+                />
+            </ScrollPane>
+        </TablePane.Row>
+
+        <TablePane.Row height="1*">
+            <BoxPane orientation="vertical" styles="{fill:true, spacing:10}">
+                <Label text="Table Sample"/>
+                <Label text="  "/> <!-- spacer -->
+                <PushButton bxml:id="readSelectedElementsOnTableView" buttonData="Get Selected element"
+                     ButtonPressListener.buttonPressed="readSelectedElementsOnTableView_js()"
+                />
+            </BoxPane>
+            <ScrollPane horizontalScrollBarPolicy="fill_to_capacity">
+                <TableView bxml:id="tableView"  selectMode="multi">
+                    <columns>
+                        <TableView.Column name="a" width="100"/>
+                        <TableView.Column name="b" width="100"/>
+                        <TableView.Column name="c" width="1*"/>
+                    </columns>
+
+                    <collections:HashMap a="0"/>
+                    <collections:HashMap b="1"/>
+                    <collections:HashMap c=""/>
+                    <collections:HashMap a="10"/>
+                    <collections:HashMap b="11"/>
+                    <collections:HashMap c=""/>
+                </TableView>
+            </ScrollPane>
+        </TablePane.Row>
+
+        <TablePane.Row height="1*">
+            <BoxPane orientation="vertical" styles="{fill:true, spacing:10}">
+                <Label text="Tree Sample"/>
+                <Label text="  "/> <!-- spacer -->
+                <PushButton bxml:id="readSelectedElementsOnTreeView" buttonData="Get Selected element"
+                     ButtonPressListener.buttonPressed="readSelectedElementsOnTreeView_js()"
+                />
+            </BoxPane>
+            <ScrollPane horizontalScrollBarPolicy="fill_to_capacity">
+                   <TreeView bxml:id="treeView" selectMode="multi">
+                        <nodeRenderer>
+                            <content:TreeViewNodeRenderer showIcon="true"/>
+                        </nodeRenderer>
+                        <treeData>
+                            <content:TreeBranch>
+                                <content:TreeBranch text="Activity">
+                                    <content:TreeBranch text="Games">
+                                        <content:TreeNode text="Foosball"/>
+                                        <content:TreeNode text="A very long game name that just serves to show how a wide tree node behaves"/>
+                                        <content:TreeNode text="Ping Pong"/>
+                                        <content:TreeNode text="Air Hockey"/>
+                                    </content:TreeBranch>
+                                    <content:TreeBranch text="Sports">
+                                        <content:TreeNode text="Baseball"/>
+                                        <content:TreeNode text="Basketball"/>
+                                        <content:TreeNode text="Football"/>
+                                        <content:TreeNode text="Ice Hockey"/>
+                                        <content:TreeNode text="Soccer"/>
+                                        <content:TreeNode text="Softball"/>
+                                    </content:TreeBranch>
+                                    <content:TreeNode text="Camping"/>
+                                    <content:TreeNode text="Skiing"/>
+                                </content:TreeBranch>
+                                <content:TreeBranch text="Occasion">
+                                    <content:TreeBranch text="Holidays">
+                                        <content:TreeNode text="Christmas"/>
+                                        <content:TreeNode text="Independence Day"/>
+                                        <content:TreeNode text="Labor Day"/>
+                                        <content:TreeNode text="New Year's Day"/>
+                                        <content:TreeNode text="President's Day"/>
+                                        <content:TreeNode text="Thanksgiving"/>
+                                        <content:TreeNode text="Valentine's Day"/>
+                                        <content:TreeNode text="Veteran's Day"/>
+                                    </content:TreeBranch>
+                                    <content:TreeNode text="Anniversary"/>
+                                    <content:TreeNode text="Birthday"/>
+                                    <content:TreeNode text="Wedding"/>
+                                </content:TreeBranch>
+                                <content:TreeBranch text="Location">
+                                    <content:TreeNode text="Africa"/>
+                                    <content:TreeNode text="Antarctica"/>
+                                    <content:TreeNode text="Asia"/>
+                                    <content:TreeNode text="Australia"/>
+                                    <content:TreeNode text="Europe"/>
+                                    <content:TreeNode text="North America"/>
+                                    <content:TreeBranch text="South America">
+                                        <content:TreeNode text="Peru"/>
+                                    </content:TreeBranch>
+                                </content:TreeBranch>
+                            </content:TreeBranch>
+                        </treeData>
+                    </TreeView>
+                </ScrollPane>
+        </TablePane.Row>
+
+    </TablePane>
+
+</Window>

Propchange: pivot/trunk/tests/src/org/apache/pivot/tests/issues/pivot_771.bxml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: pivot/trunk/tests/src/org/apache/pivot/tests/issues/pivot_771.bxml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Modified: pivot/trunk/tests/src/org/apache/pivot/tests/scripts_diagnostic_messages.bxml
URL: http://svn.apache.org/viewvc/pivot/trunk/tests/src/org/apache/pivot/tests/scripts_diagnostic_messages.bxml?rev=1338930&r1=1338929&r2=1338930&view=diff
==============================================================================
--- pivot/trunk/tests/src/org/apache/pivot/tests/scripts_diagnostic_messages.bxml (original)
+++ pivot/trunk/tests/src/org/apache/pivot/tests/scripts_diagnostic_messages.bxml Tue May 15 22:48:46 2012
@@ -1,59 +1,59 @@
-<?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="Scripts diagnostic messages" maximized="true"
-    bxml:id="window"
-    xmlns:bxml="http://pivot.apache.org/bxml"
-    xmlns="org.apache.pivot.wtk"
->
-    <bxml:script src="scripts_diagnostic_messages.js"/>
-
-    <TablePane styles="{horizontalSpacing:4, verticalSpacing:4}">
-        <columns>
-            <TablePane.Column width="1*"/>
-            <TablePane.Column width="1*"/>
-            <TablePane.Column width="1*"/>
-        </columns>
-
-        <TablePane.Row height="-1">
-            <BoxPane orientation="vertical" styles="{fill:true}">
-                <BoxPane styles="{horizontalAlignment:'center'}">
-                    <Label text="Alerts: "/>
-                    <PushButton buttonData="Alert using .alert" ButtonPressListener.buttonPressed="alert1()"/>
-                    <PushButton buttonData="Alert using constructor" ButtonPressListener.buttonPressed="alert2()"/>
-                </BoxPane>
-            </BoxPane>
-
-            <BoxPane styles="{horizontalAlignment:'center', verticalAlignment:'center'}">
-                    <Label text="Prompts: "/>
-                    <PushButton buttonData="Prompt using .prompt" ButtonPressListener.buttonPressed="prompt1()"/>
-                    <PushButton buttonData="Prompt using constructor" ButtonPressListener.buttonPressed="prompt2()"/>
-            </BoxPane>
-
-            <BoxPane styles="{horizontalAlignment:'center', verticalAlignment:'center'}">
-                    <Label text="Log using System.out/err: "/>
-                    <PushButton buttonData="Log message" ButtonPressListener.buttonPressed="logDirectMessage()"/>
-                    <PushButton buttonData="Log error" ButtonPressListener.buttonPressed="logDirectError()"/>
-                    <Label text=" - "/>
-                    <Label text="Log using Console: "/>
-                    <PushButton buttonData="Log message" ButtonPressListener.buttonPressed="logConsoleMessage()"/>
-                    <PushButton buttonData="Log error" ButtonPressListener.buttonPressed="logConsoleError()"/>
-            </BoxPane>
-        </TablePane.Row>
-    </TablePane>
-</Window>
+<?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="Scripts diagnostic messages" maximized="true"
+    bxml:id="window"
+    xmlns:bxml="http://pivot.apache.org/bxml"
+    xmlns="org.apache.pivot.wtk"
+>
+    <bxml:script src="scripts_diagnostic_messages.js"/>
+
+    <TablePane styles="{horizontalSpacing:4, verticalSpacing:4}">
+        <columns>
+            <TablePane.Column width="1*"/>
+            <TablePane.Column width="1*"/>
+            <TablePane.Column width="1*"/>
+        </columns>
+
+        <TablePane.Row height="-1">
+            <BoxPane orientation="vertical" styles="{fill:true}">
+                <BoxPane styles="{horizontalAlignment:'center'}">
+                    <Label text="Alerts: "/>
+                    <PushButton buttonData="Alert using .alert" ButtonPressListener.buttonPressed="alert1()"/>
+                    <PushButton buttonData="Alert using constructor" ButtonPressListener.buttonPressed="alert2()"/>
+                </BoxPane>
+            </BoxPane>
+
+            <BoxPane styles="{horizontalAlignment:'center', verticalAlignment:'center'}">
+                    <Label text="Prompts: "/>
+                    <PushButton buttonData="Prompt using .prompt" ButtonPressListener.buttonPressed="prompt1()"/>
+                    <PushButton buttonData="Prompt using constructor" ButtonPressListener.buttonPressed="prompt2()"/>
+            </BoxPane>
+
+            <BoxPane styles="{horizontalAlignment:'center', verticalAlignment:'center'}">
+                    <Label text="Log using System.out/err: "/>
+                    <PushButton buttonData="Log message" ButtonPressListener.buttonPressed="logDirectMessage()"/>
+                    <PushButton buttonData="Log error" ButtonPressListener.buttonPressed="logDirectError()"/>
+                    <Label text=" - "/>
+                    <Label text="Log using Console: "/>
+                    <PushButton buttonData="Log message" ButtonPressListener.buttonPressed="logConsoleMessage()"/>
+                    <PushButton buttonData="Log error" ButtonPressListener.buttonPressed="logConsoleError()"/>
+            </BoxPane>
+        </TablePane.Row>
+    </TablePane>
+</Window>

Propchange: pivot/trunk/tests/src/org/apache/pivot/tests/scripts_diagnostic_messages.bxml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: pivot/trunk/tests/src/org/apache/pivot/tests/scripts_diagnostic_messages.bxml
------------------------------------------------------------------------------
    svn:mime-type = text/xml