Expected/Actual values in test runner

Hey,
I've added public test functions to my classes like:
     [Test]
     public function basicTest():void
         Assert.assertEquals("Test is 5 == 5", 5, 5);
and a test suite takes this class as a variable.
[Suite]
    [RunWith("org.flexunit.runners.Suite")]   
    public class ModulesTestSuite {
        public var t1:MyClass;
I use this mxml to run the tests:
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
    creationComplete="runMe()" xmlns:flexUnitUIRunner="http://www.adobe.com/2009/flexUnitUIRunner"
    styleName="flexUnitApplication" >
    <mx:Script>
        <![CDATA[
            import org.flexunit.runner.notification.async.XMLListener;
            import org.flexunit.listeners.UIListener;
            import org.flexunit.runner.Request;
            import org.flexunit.runner.FlexUnitCore;
            private var core:FlexUnitCore;
            public function runMe():void {
                core = new FlexUnitCore();
                core.addListener( new UIListener( uiListener ));
                core.run(ModulesTestSuite);
But, when the test runner runs the tests, it categorized them as empty tests and shows blank for expected and actual values. Whereas clearly i've entered '5' for both. The tests complete successfully though.
Could you please elaborate on what are empty tests and how to pass expected value/ actual value data that will display in the test runner UI.
Thanks,
Prannay

This is mostly UI confusion right now. We are using the FlexUnit1 test runner during the alpha and beta and have not yet customized it well for our needs.
FlexUnit1 did assertion counting, meaning it knew how many times you made assertions in each method. Right now FlexUnit 4 does not do this, so it believes this test is empty because it doesn't know that you made an assertion.
This will be fixed in the next release bits, but for now, just look at failed tests or tests that succeeded and try to ignore the empty ones.
If you change your test to assert that 5 is equal to 6 ( and all is working right) I am guessing you will see a failure, which is just a way to prove all is running fine.
Mike

Similar Messages

  • Cannot display the actual value of ClobDomain variable in jspx

    I have a custom table and three of its fields/columns are of type Clob and they contain xml data. To populate this table I used ADF Business Component and in my application these fields are defined as ClobDomain. Inserting records to this table works fine. When testing my application module or business component, actual data is displaying. However, when retrieving these data in my page, it is being displayed as wrapped object like weblogic.jdbc.wrapper.Clob_oracle_sql_CLOB instead on the actual value.
    I tried to use the converter in my jspx and created ClobConverter class which implements Converter with the following code;
    public String getAsString(FacesContext context, UIComponent component, Object value) throws ConverterException {
    Reader clobReader = newClob.getCharacterStream();
    char[] buffer = new char[1000];
    StringBuffer sb = new StringBuffer();
    int nchars = 0;
    try {
    while( (nchars = clobReader.read(buffer)) != -1 )
    // Read characters from Clob into buffer
    sb.append(buffer, 0, nchars);
    // Transfer character to StringBuffer from buffer
    System.out.println("sb.toString(): "+sb.toString());
    clobReader.close();
    strClob = sb.toString();
    } catch (Exception e) {               
    System.out.println("Error Encountered."+e);
    return strClob;
    But even this doesn't help resolve the issue.
    Below are the details of my system:
    - Oracle DB Version = 10.2.0.4
    - Weblogic Server Version = 10.3.0.0
    - OSB Version = 10.3.1.0
    Please advise how to fix these problem.

    The output that I saw in the converter during runtime is a wrapped object which is weblogic.jdbc.wrapper.Clob_oracle_sql_CLOB.
    In UI its data type is of ClobDomain since that is how it was defined in my ADF Business component entity and view object. But in the actual db table its data type is only clob. See below sample code taken from my jspx
    <af:inputText value="#{bindings.ErroreventView1Failedmessage.inputValue}"
    required="#{bindings.ErroreventView1Failedmessage.mandatory}"
    columns="120"
    binding="#{backing_edit.failedMess}"
    id="failedMess" readOnly="true" disabled="true"
    rendered = "false"
    wrap="hard" rows="10" converter="#{backing_edit.myClob}">
    <af:validator binding="#{bindings.ErroreventView1Failedmessage.validator}"/>
    </af:inputText>

  • Blanket PO - Actual Value Calculation

    Hi All,
    Can anybody tell me how the actual value is calculated for each line item in Blanket PO.(In Limit tab you can able to find Overall Limit, Expected Value and Actual Value.)
    Thanks and regards,
    Senthil.B

    Hi Friends,
    I am comparing 4.7 and ECC 6.0 EHP 4 functionalities in MM.
    I found some change has been made to Purchase requisition to save as template.
    Here is the detail in ERP browser.
    "Creation of purchase requisitions for materials.
    - Purchase requisitions can be saved as templates and templates can be used for faster creation of extensive purchase requisitions without the need of manual data entry.
    - Fast maintenance of account assignment with template functionality.
    - Personalization of user interface based on Web Dynpro"
    I could not find the option to save Purchase requisition as template in ECC 6.0.
    Kindly let me know how to activate this menu option or functionality.
    BR,
    SB.

  • Actual value in Service PO differs from GR value

    Hello,
    In the Service PO, in item details Limit tab, actual value is incorrect, service entry/ GR value is diffrent and actual value in the limit tab is diffrent, in fact it is showing the same value as overall limt and expected value,
    please suggest.
    thanks for replying,
    -Bala

    Hi,
    Is the value of EKBE-REFWR = RSEG-WRBTR for your PO and invoice? If yes, then what you are seeing is not an error. The values are correct.
    The 'Actual value' in the PO displays the sum of the invoiced amount referred to the PO/item (EKBE-REFWR / EKBE-REFWR).
    But the displayed 'Value in local curr' in the PO's history for each invoice's item (EKBE-WRBTR) is not the invoice item's amount, it includes the following 4 parts:
    1. Invoice item's amount
    2. Non-Deductible Input Tax(NVV)
    3. unplanned Delivery costs
    4. Cash discount amount
    So the 'actual value' in the PO cannot be the same as the totoal invoiced value.
    Regards,
    Purnima.

  • [svn:fx-trunk] 9127: Fixes bug in Slider animation where we would set the actual value during the animation , ignoring any snapInterval setting.

    Revision: 9127
    Author:   [email protected]
    Date:     2009-08-05 17:25:39 -0700 (Wed, 05 Aug 2009)
    Log Message:
    Fixes bug in Slider animation where we would set the actual value during the animation, ignoring any snapInterval setting. The fix uses the pendingValue property to hold the animated value, which makes the slider look correct, but no actual value update is sent until the animation completes.
    QE notes: None
    Doc notes: None
    Bugs: SDK-21776
    Reviewer: Hans
    Tests run: checkintests, Mustella (gumbo/components/Slider)
    Is noteworthy for integration: No
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-21776
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/Slider.as

    Revision: 9127
    Author:   [email protected]
    Date:     2009-08-05 17:25:39 -0700 (Wed, 05 Aug 2009)
    Log Message:
    Fixes bug in Slider animation where we would set the actual value during the animation, ignoring any snapInterval setting. The fix uses the pendingValue property to hold the animated value, which makes the slider look correct, but no actual value update is sent until the animation completes.
    QE notes: None
    Doc notes: None
    Bugs: SDK-21776
    Reviewer: Hans
    Tests run: checkintests, Mustella (gumbo/components/Slider)
    Is noteworthy for integration: No
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-21776
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/Slider.as

  • In report painter GRR3 1VK  Actual Value picked up from previous year

    Dear Experts,
    In report painter GRR3 > 1VK
    1. Column of Actual Quantity to take in Basic Key Figure from Statistical Quantity
    2. The value is 4 (Actual) and Version is 0
    I found that the Actual value appeared are actually taken from the previous fiscal year. I have checked the line items and their document posting date it shown as last fiscal year.
    In this case, where should I amend to have the report pick up only actual value of this fiscal year? or Is there any value to maintain for GRR3 to pickup the current fiscal year actual posting?
    Thank you very much and Best Regards,
    Anne

    hi..
      Goto GRR3 > click on Lib 1VK it will show you all the report in 1VK library > select your report & double click on it
      It will display the report format. Then go to Edit at the top. you will find General data selection.click on it you will find available characteristics. Then goto GRR2 for making any change/selection for Fiscal year char
      If your report is a standard one you can not change. then copy the report from GRR1 and make the changes.
      You can also see the char in GR23 by selecting 1VK lib.
    kkumar
    Edited by: kkbdsp on Mar 11, 2011 9:21 AM

  • How to get actual value from LOV list

    Like Subject says: How to get actual value from LOV list. Any help will be appreciated.
    Thanks.

    Thanks Shay, I did it with bind variable because I'm not using JSF. Is there any chance to post solution using standard JSTL or HTML expression. I have something like this: LOV displays some Companies names:
    <html:select property="UserJobCompanyId"
                             disabled="${!bindings[\'UserJobCompanyId\'].updateable}"
                             onchange="submitform();">
                  <html:optionsCollection label="prompt" value="index" property="UserJobCompanyId.displayData"/>                                                     
                </html:select>and I want to get CompanyID of selected Company.
    Thanks, again.

  • Difference in S_ALR_87013557 Report and CJI3 Report for Actual Values

    Hi,
    I have created a Project & booked some cost on against WBS Elements. Now when see CJI3 report it shows correct values but in S_ALR_87013557 it shows different value for Actual-Overall. This value is slightly greater than the actual value.
    Please tell me how to resolve this issue?
    Thanks,
    Sandeep.

    Hi,
       CJI3 is a cost element report and S_alr......... is a Heirarchial report which will work on Value categories.
    This may be due inconsistencies in cost either by value categories or by some other way.
    Run CJEN and CJBN then check the report. still the problem persists.
    check the value categories in the IMG whether you have maintained all the cost elements that are used while posting to wbs and check whether there is any diplucation of cost elements by the transaction 'Check Consistency of Value Category' which is available in IMG.
    Navigation IMG>Project System>Costs-->Value Categories.
    Rgds
    Sudhir reddy

  • Creating a view on two ODS using the most actual value of Timestamp

    Hi All,
    I am creating a view on two ODS. I have made an internal join of the field timestamp from both the tables. But the timestamp in bot ODS do not match, which is why there is no data visible in the view.
    There is a requirement that the value of timestamp to be used has to be the most actual value of timestamp from the two ODS.
    I would be grateful if some pointers regarding the same could be provided.
    Thanks and regards,
    Shruti Kulkarni

    Hi Shruti,
    ODS should not be linked on Timestamp basis, there must be some other alternatives like document number, date etc etc...
    In other case if its possible to include addtional key figure in to ODS then
    create a dummy key figure , in the aggregation tab page Select Exception aggregate as "Last Value" and in the "agg.ref char" Select time stamp as info object. This setting will make sure that in the ODS you have only last updated data.
    Hope that helps.
    Regards
    Mr Kapadia
    Assigning points is the way to say thanks in SDN.

  • Problem in Commitment and actual value..

    Dear Experts,
    I am facing a problem in 533 report. i created many purchase orders for a project X.   In me2j report all po's are showing but in 533 report for X project commitment values are not coming.
    i also created GRN for some PO's but actual values are also not coming....
    in our business scenario we are creating PR's thru network. upper problem is coming when we are taking item category L in PR's...
    please give me solution step by step..
    ***its urgent******
    regards

    dear Jaun,
    we are creating PR thru n/w with item category L.we take 3rd party PR. we are not using MRP and BOM procedure. PR's value comes in commitment column in 533 report. but when we are converting these prs in PO in 533 report commitment column values are not coming. this is my problem.
    when we take item category N all things are ok.
    but  users already created many Prs and POs with item category L so i want to know that is there any possibility to come po value in commitment that created thru reference of PR with item category L? (in these PO accnt assg. cat. is Q.)
    help me.

  • COPA Report Sales Actual value is not getting picked up

    HI,
    I have creted a COPA REPORT that is Plan vs Actual
    all values are getting picked up in report except sales actual value .
    could you give us some informatin regarding the same ?
    In column actual sales i have selection characteristics 0 only
    And my general data selection is Record Type is From A To I
    Thanks
    Nilesh R

    HI,
    I have creted a COPA REPORT that is Plan vs Actual
    all values are getting picked up in report except sales actual value .
    could you give us some informatin regarding the same ?
    In column actual sales i have selection characteristics 0 only
    And my general data selection is Record Type is From A To I
    Thanks
    Nilesh R

  • Actual Value displayed in GRR3 report painter Library 1VK

    Dear Experts,
    In report painter GRR3 > 1VK
    I have summarized the Consumption according to Cost Centre of each activity types, I have set;
    1. Column of Actual Quantity to take in Basic Key Figure from Statistical Quantity
    2. The value is 4 (Actual) and Version is 0
    Once I run the GRR3 report, there is some figure in that particular column and does not know where to trace the origin of those value. This actual figure appears on current period onwards where actual data does not been distributed on the system yet.
    Kindly advice.
    Best Regards,
    Anne

    Dear Ajay,
    Im so happy right now I found that the Actual value appeared are actually taken from the previous fiscal year. I have checked the line items and their document posting date it shown as last fiscal year.
    In this case, where should I amend to have the report pick up only actual value of this fiscal year?
    Thank you very much Ajay
    Best Regards,
    Anne

  • How to get Production Order wise Actual Values

    Dear CO Experts,
    How to get Actual Values (Raw Material Issue, Activity Confirmations & OH Calculations & Goods Receipts from Production) each Production Order wise ?
    My Scenario is Product Cost Collectors (PCC)  with Production Orders.
    If we select above scenario Production Order is Statistical and PCC is real cost object.
    For PCC is Period wise we can track the cost Periodically in individual Material.
    But my client is asking how to see the each Production Order wise Actual values. Is there any T.Code ??
    In Production Order I am able to see only Plan values (CO03).
    Waiting for your favorable reply.
    Regards,
    KBR.

    Hi Bhaskar
    You are in Alaska and you wanna eat vegetarian food
    You cant get values at Prod order level if you have chosen PCC as cost object.... You will only get Qty at Prod order level
    To get a bird's eye view of costs incurred in PCC, execute report MCRY with PCC as the input...  MCRX shows only Qty info for components
    br, Ajay M

  • Service order/confitimation - plannedvalues/actual values  or not flowing

    Hi All,
    When I am creating a Service contract in SAP CRM an internal order is created with planned values but when I am creating a service order/service confirmations and assigning it to a contract t the planned values/actual values are not flowing on to the internal order
    Can you please let me if any specific configuration is missed or required for the above scenario?
    Thanks
    SK

    closed

  • How to print actual value on Yaxis

    hi
    I need help on Graphs,
    I want to display value on Yaxis line such that it should not be any increment between value 1-250 like 0,50,100,150,200....
    but the actual values are 2, 45, 77, 88,145
    So I want to print actual values than max &min having increment
    thanks
    V E N K A T

    Syed,
    Chack this link hope helps u.
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PAXX/PYINT_FORMS.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PYXXFORM/PYINT_FORMBUILDER.pdf

Maybe you are looking for