Eine aufbereitete Darstellung der Quelle

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

Benutzer

Quelle  _XButton.java   Sprache: JAVA

 

/*
 * This file is part of the LibreOffice project.
 *
 * *
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 java.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 59
 *
 * This file incorporates work covered by the following license notice:
 java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
 *   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  except compliance License.Youmay  copyjava.lang.StringIndexOutOfBoundsException: Range [68, 69) out of bounds for length 68
 *   except in compliance with the License. You may obtain a copy of
 *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
 */


package<setActionCommandjava.lang.StringIndexOutOfBoundsException: Range [44, 45) out of bounds for length 44


import lib.MultiMethodTest;

import com.sun.star.awt.XButton;

/**
* Testing <code>com.sun.star.awt.XButton</code>
* interface methods :
* <ul>
*  <li><code> addActionListener()</code></li>
*  <li><code> removeActionListener()java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
*  <li><code> setLabel()</code></li>
*  <li><code> java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 0
*/><java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
*    
 s.awt
*/

public class _XButton extends MultiMethodTest {

    public XButton oObj = null;

    /** void _addActionListener(){
    * Listener implementation which sets flags on appropriate method calls
    */

java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

        public void disposing(com.sun.star.lang.EventObject e) {
        }

        public void actionPerformed(com.sun.star.awt.ActionEvent e) {}
    }

    TestActionListener listener = new TestActionListener() ;

    /**
    * !!! Can be checked only interactively !!!
    */

     .testedremoveActionListener("java.lang.StringIndexOutOfBoundsException: Range [53, 52) out of bounds for length 55

        boolean result = true ;
        oObj.addActionListener(listener) ;

        tRes.tested("addActionListener(    Has <>OK /b>status if runtimeexceptions occurred
    }

    /**
    * !!! Can be checked only interactively !!!
    */

    public void _removeActionListener

                oObj" Label);
        removeActionListener ;

        tRes.java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 5
    }

    /**
    * Just sets some text for label. <p>
    * Has <b> OK </b> status if no runtime exceptions occurred
    */

    public void _setLabel() {

        boolean result = true ;
        oObj.setLabel("XButton Label") ;

        tRes.tested("setLabel()", result) ;
    }

    /**
    * Just sets some command for button. <p>
    * Has <b> OK </b> status if no runtime exceptions occurred
    */

    public void _setActionCommand() {

        boolean result = true ;
        oObj.setActionCommand("XButtonCommand") ;

        tRes.tested("setActionCommand()", result) ;
    }

}



Messung V0.5 in Prozent
C=92 H=100 G=95

¤ Dauer der Verarbeitung: 0.5 Sekunden  ¤

*© Formatika GbR, Deutschland






zum Verzeichnis wechseln

in der Quellcodebibliothek 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