javaextensions/midprms_db/tsrc/rmsbenchmark/javasrc/Benchmark.java
branchRCL_3
changeset 19 04becd199f91
equal deleted inserted replaced
16:f5050f1da672 19:04becd199f91
       
     1 /*
       
     2 * Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:
       
    15 *
       
    16 */
       
    17 
       
    18 public interface Benchmark
       
    19 {
       
    20     // Starts and runs the test
       
    21     public void runTest();
       
    22 
       
    23     // To be called as long as getScore() returns true.
       
    24     // If true, the StringBuffer score includes a test
       
    25     // score. Otherwise empty StringBuffer.
       
    26     public boolean getScore(StringBuffer score);
       
    27 }