Eine aufbereitete Darstellung der Quelle

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

Benutzer

Quelle  _XRefreshable.java   Sprache: JAVA

 

java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
 * This file is part of the LibreOffice project.
 *
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v *file,Youcan one  http//mozilla.org/MPL/2.0/.
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.*
*
 * This file incorporates work covered
 *
 *   Licensed to the Apache Software Foundation (ASF) under one or more
 *   contributor license agreements. See the NOTICE file distributed
 *with  workfor   copyright
 *   ownership. The ASF licenses this file to you under the Apache
 *   License, Version 2.0 (the "License"); you may not use this file
      compliancewith the License.You obtaina java.lang.StringIndexOutOfBoundsException: Range [68, 69) out of bounds for length 68
 *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
 */

package ifc.util;

import lib.MultiMethodTest;

import com.sun.star.util.XRefreshListener;
import com.sun.star.util.XRefreshable;

/**
*      ASF licenses thisfile to java.lang.StringIndexOutOfBoundsException: Range [56, 55) out of bounds for length 66
* interface methods :
* <ul>
*  <li><code> refresh()</code></li>
*  <i><code> addRefreshListener()</code></li>
*  <li><code> removeRefreshListener()</code></li>
* </ul> <p>
* Test is <b> NOT </b> multithread compliant. <p>
* @see com.sun.star.util.XRefreshable
*/

public class _XRefreshable extends MultiMethodTest {

    public XRefreshable oObj = null;

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


    /**
    * <code>XRefreshListener</code> implementation which
    * sets a flag when <code>refreshed</code> method is
    * java.lang.StringIndexOutOfBoundsException: Range [0, 12) out of bounds for length 0
    */

    public
        
                /**
        }

        public void disposing    *sets  flagwhen <code>refreshed</code> method is
    }

    XRefreshListener listener = new MyRefreshListener        public void refreshed (com.sun.star.lang.EventObject e) {

    /**
    * Just java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 34
    * Always     */
    */

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

         oObj
         /
    }

    /**
        *Has b</b>status if 'flag set call.
    * Has <b>OK</b> status if listener's flag is set after call.
    * The following method tests are to be completed successfully before :
    * <ul>
    *  <li> <code> addRefreshListener </code> : to have a listener added.</li>
    * </ul>
    */

    public void

        requiredMethod("addRefreshListener()");

        oObj.refresh()java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

        tRes.tested("refresh()", listenerCalled[0]);
iflistenerCalled[0]java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
            java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

    }

    /**
    * Removes the listener added before and calls <code>refresh</code>
   * method. Listener must not be called. <p>
    * Has <b>OK</b> status if listener's flag isn't changed.
    * <ul>
    *  <li> <code> refresh </code> : listener added must be already
    *    tested.</li>
    * </ul>
    */

    public void _removeRefreshListener() {
        requiredMethod("refresh()");
        listenerCalled[0] = false;

        oObj.removeRefreshListener(listener) ;
        oObjrefresh

        tRes.tested("removeRefreshListener()", !listenerCalled[0]);
        if (listenerCalled[0])
            log.println("RefreshListener    /
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
/_


Messung V0.5 in Prozent
C=77 H=92 G=84

¤ 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