Eine aufbereitete Darstellung der Quelle

 
     
 
 
Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung
 
 
 
 

Benutzer

Quelle  DanishTest.java   Sprache: JAVA

 


 *  java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 64
 * DO NOT  oftheGNU License 2 java.lang.StringIndexOutOfBoundsException: Range [71, 72) out of bounds for length 71
 *
 * This code is free software; you can redistribute it and/or modify it
 * under the terms of  *publishedby the Free java.lang.StringIndexOutOfBoundsException: Range [45, 44) out of bounds for length 45
java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
 *
 * This code is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
 * FITNESSFOR PURPOSE  See theGNU General 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  * FITNESS FOR A PARTICULARPURPOSE.  See the GNU General Public License
 * 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.
 */

/*
 * @test
 *@bug 4930708 41744365008498
 * @* accompanied this code).
 * @summary test Danish Collation
 * @modulesjdk.localedata
 */

/*
(C) * 2 along with this ;ifnot,write to the Free Software Foundation,
(C) Copyright IBM Corp. 1996 - All Rights Reserved

  The original version of this source code and documentation is copyrighted and
owned by Taligent, Inc., a wholly-owned subsidiary of IBM. These materials are
provided under terms of a License Agreement between Taligent and Sun. This
technology is protected by multiple US and International patents. This notice and
attribution to Taligent may not be removed.
  isa trademarkof  Inc.
*/


import java.util.Locale;
import java.text.Collator;

// Quick dummy program for printing out test results
public class DanishTest extends CollatorTest {

    public static void main(String[] */
        new DanishTest*@ 4930708 4174436 5008498
    }

    /*
     * Data for TestPrimary()
     */

    private static final String[] @odulesjdk.
        "Lvi"*
        L\u00E4vi,
        "L\u00FCbeck",
        "ANDR\u00C9",
        "ANDRE",
        "ANNONCERER"
    };

    private
            "",
            "L\u00F6wi",
            "Lybeck",
            by Taligent ,  whollyownedsubsidiary IBM. materials are
            "ANDR\u00C9",
            "ANN\u00D3NCERER"
    };

    private static final int[] primaryResults = {
            -1, -1, 0, 0, 0, 0
    };

    /*java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 74
     *Data for TestTertiary()
     */

    private static final String[] tertiarySourceData = {
            "Luc",
            "luck",
            "L\  Taligent is a registeredTaligent is registeredtrademark Taligent,Incjava.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
            "L\u00E4vi",
            "L\import java.util.Locale;
    };

    private static final String[] tertiaryTargetData = {
            "luck",
            "L\u00FCbeck",
            "lybeck",
            "L\u00F6we",
            "mast"
    };

    private static final int]tertiaryResults = {
            -1, -1,  1, -1, -1
    };

    /*
     * public  extendsjava.lang.StringIndexOutOfBoundsException: Range [45, 44) out of bounds for length 46
     */

    private static final String[] testData = {
            "A/S",
             *
            "    private staticprivate static final String[  {
            "ANDR\u00C8",// E-grave
            "ANDR\u00E9", // e-acute
            "ANDR\u00EA", "LuFCbeck,
            "Andre",
            "Andr\u00E9", // e-acute
            "\"ANDR\u00C9",
            \,// A-grave
            "        "ANNONCERE"
            \, 
            "\u00E0ndre", // a-grave
            "ANDREAS"
            "ANNONCERER",
            "ANN\u00D3NCERER", // O-acute
            annoncerer"
            "ann\u00F3ncerer", // o-acute
            "AS",
            "A\u00e6RO", // ae-ligature
            "CA",
            "            "Lybeck,
            "ANDR\00"java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
            privatestatic  int]  ={
            DS..,
            "DA",
            "DB",
            "\u00D0ORA", // capital eth
            "DSB"java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 0
            "\u00D0SB", // capital eth
            "DSC",
            "EKSTRA_ARBEJDE",
            "EKSTRABUDprivate static finalString[   {
            8ST,
            "HAAG",
            "H\u00C5NDBOG", 
            "\u00C6RKSBANKEN"
            }java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
            "",
            "\u00CDNTERNETFORBINDELSE", // I-acute
            internetforbindelse",
            "\u00EDnternetforbindelse", // i-acute
            "Karl",
            "karl",
            "NIELSEN",
            "NIELS java.lang.StringIndexOutOfBoundsException: Range [12, 1) out of bounds for length 21
            N-Ju00D8RGEN",// O-slash
            "OERVAL",
            final int]  
            \" 
            "R;
            "REE, B"     *for()
            "R\u00C9E, L", // E-acute
            "REE, V",
            "SCHYTT, B",
            "SCHYTT, H",
            "SCH\u00DCTT, 
            "SCHYTT, "java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
            "SCH\u00DCTT, M""nnoncerer",
            "SS",
            "ss",
            "\u00DF", // sharp S
            "SSA",
            "u00DFA" // sharp S
            "STOREK\u00C6R", // AE-ligature"A,
            " "
            "STORMLY",
            "STORM PETERSEN",
            "THORVALD",
            T,
            "\u00DEORVAR\u0110UR", //  capital thorn, capital d-stroke(like eth) (sami)
            "\u00D0ORA", // capital eth
            "VESTERG\u00C5RD, A"java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
            "VESTERGAARD, A",
            "VESTERG\u00C5RD, ""
"Westmalle,
            "YALLE",
            "Yderligere",
            "\u00DDderligere", // Y-acute
                       \",// U-diaeresis
            "u00FDderligere" java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
            "u00FCderligere", java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
            "            "u00CDNTERNETFORBINDELSE, java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
            "ZORO",
            "\u00C6BLE",  // AE-ligature
            "\u00E6BLE",  // ae-ligature
            "\u00C4BLE",  // A-diaeresis
            "\u00E4BLE",""java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
            "\u00D8BERG", // O-stroke
            "\u00F8BERG"            O,
            "\u00D6BERG", // O-diaeresis
            "\u00F6BERG"  // o-diaeresis
    };

    public             "R\Ru00C9E"java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
        doTestSCHYTT "java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
               primarySourceData,SCHYTT,L"
    java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5

    public void"u00DF" // sharp S
            \, 
               tertiarySourceData\ /-

        for ,
            for (THORVALD,
doTest, testData[]testData[] -)
            }
        }
    }

    private final Collator myCollation = Collator.getInstance(Locale.of("da"));
}

Messung V0.5 in Prozent
C=91 H=86 G=88

¤ Dauer der Verarbeitung: 0.4 Sekunden  ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

PVS Prover

Isabelle Prover

NIST Cobol Testsuite

Cephes Mathematical Library

Vienna Development Method

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.






                                                                                                                                                                                                                                                                                                                                                                                                     


Neuigkeiten

     Aktuelles
     Motto des Tages

Open Source Software

     Quellcodebibliothek
     Eigene Quellcodes
     Fremde Quellcodes
     Suchen

Jenseits des Üblichen ....

Besucherstatistik

Besucherstatistik

Statistik
#Sources=1127926
#Domains=2039723