Any JUnit fans here

Just started dabbling with it here now and it seems to be the Biz, any opinion?

When I find bugs I write a JUnit test to mimic the
behavior right away. Then I fix the bug and make the
test pass. This brings up a good but often overlooked point: As a general rule, it's good to write the tests before you implement the code you're testing, but write them as if the code being tested were already complete. You'll get failures at first, but when you see the failures switch to successes, you can be more confident that it's because your code works, and not just because your test missed something. No guarantees of course, just a somewhat higher confidence level. Plus, as was pointed out, it forces thinking like a client of your code, which in turn can illuminate design shortcomings.
On the flipside, if the tests start succeeding too soon, then you know you've got a problem with your test code. So this technique has the benefit of providing some level of sanity checking on the tests themselves.
Fowler and the whole JUnit and XP camp are pretty vocal about writing the tests first, IIRC. I don't follow that guideline rigidly myself, but I do generally write the tests quite early--usually after the code being tested has some skeletal structure, but before it's complete.

Similar Messages

  • Any obvious errors here?

    // From JAVA PROGRAMMING: FROM THE BEGINNING, by K. N. King /
    // Copyright (c) 2000 W. W. Norton & Company, Inc. //
    import jpb.*;
    import java.io.*;
    import java.lang.Thread;
    public class bjack{
         public static int playerCount=0;
    public static int dealerCount=0;
    public static int computerCount=0;
    // public static int cCard1 = 0;
    //public static int cCard2 = 0;
    public static int newCard = 0;
    int ep, pl;
    BJStates bjstates;
         public bjack (BJStates parent, int episodes, int plays)
              bjstates = new BJStates(this, 1000, 100);
              //int ep, pl;
    public static void main(String[] args) {
         int playerWins = 0;
         int dealerWins = 0;
         int computerWins = 0;
         SimpleIO.prompt("Learn or Play?");
    String userInput1 = SimpleIO.readLine();
    if (userInput1.equalsIgnoreCase("P"))
         while (true) {
         // Choose two cards for both player and dealer
    Card playerCard1 = Card.pickRandom();
    Card playerCard2 = Card.pickRandom();
    Card dealerCard1 = Card.pickRandom();
    Card dealerCard2 = Card.pickRandom();
    Card computerCard1 = Card.pickRandom();
    Card computerCard2 = Card.pickRandom();
    Card nCard = Card.pickRandom();
    // Display player's cards
    System.out.println("Your cards: " + playerCard1 +
    " " + playerCard2);
    System.out.println("Computer cards: " + computerCard1 +
    " " + computerCard2);
    System.out.println("Dealer cards: " + dealerCard1 +
    " " + dealerCard2);
    // Compute initial counts for player and dealer and computer
    int playerCount = getCount(playerCard1) +
    getCount(playerCard2);
    int dealerCount = getCount(dealerCard1) +
    getCount(dealerCard2);
    int computerCount = getCount(computerCard1)+
                             getCount(computerCard2);
    //int cCard1 = getCount(computerCard1);
    //int cCard2 = getCount(computerCard2);
    int newCard = getCount(nCard);
    // Check whether player's count is 21. If so, dealer
    // must have 21 or lose automatically.
    if (playerCount == 21) {
    if (dealerCount != 21 && computerCount != 21)
    dealerCount = 0;
    computerCount = 0;
    } else {
    // Player's count was not 21. Ask player to draw
    // additional cards and determine new value of
    // player's hand.
    playerCount = getPlayerCards(playerCard1,
    playerCard2);
    // Player loses if new count exceeds 21
    if (playerCount > 21)
    playerCount = 0;
    else {
    // Player's count does not exceed 21. Show dealer's
    // cards.
    //System.out.println("Dealer's cards: " +
    // dealerCard1 + " " + dealerCard2);
    // Draw additional cards for dealer and determine
    // new value of dealer's hand
    dealerCount = getDealerCards(dealerCard1,
    dealerCard2);
    // Dealer loses if new count exceeds 21
    if (dealerCount > 21)
    dealerCount = 0;
    // Compare player's count with dealer's count to
    // determine the winner; display the outcome and
    // update the win counts
    if (playerCount > dealerCount && playerCount > computerCount) {
    System.out.println("You win!");
    playerWins++;
    } else if (playerCount < dealerCount && computerCount < dealerCount) {
    System.out.println("Dealer wins");
    dealerWins++;
    } else if (playerCount < computerCount && dealerCount < computerCount){
         System.out.println("Computer wins");
    computerWins++;
    else
         System.out.println("Tie");
    // Display the win counts
    System.out.println("Dealer: " + dealerWins +
    " Player: " + playerWins + " Computer:" + computerWins);
    // See if user wants to play again; exit from loop if
    // answer is no
    SimpleIO.prompt("Play again (Y/N)? ");
    String userInput = SimpleIO.readLine();
    if (!userInput.equalsIgnoreCase("Y"))
         break;
    System.out.println();
    else if (userInput1.equalsIgnoreCase("L"))
         while(true)
              ///BJStates.
              /*Buffer sharedLocation = new UnsychronizedBuffer();
              bjothers Bjothers = new bjothers( sharedLocation );
              Bjothers.start();*/
              /*public void run()
              /*X whatever = new X();
              class X implements Runnable {
                   X() {
    Thread t = new Thread(this);
    t.start();
    public void run() {
    //bjothers(); //some code that executes the functionality of the thread
         bjothers Bjothers = new bjothers();
         //     public void run() {
    /// BJStates();
    /*public void Work() {
    while(true)
    System.out.println("+|+");
                   //parent.initbjothersVariables();
                        //BJStates.curEpisode = 0;
                        //B//JStates.curPlay = 0;
                        //running = true;
                        //thisThread.start();
                        //Q.setName("Current");
                        //BPlayers.player[0].setCurrentStrategy(Q);
                        //BPlayers.player[1].setCurrentStrategy(Q);
              bjstates = new BJStates(this, ep, pl);
              bjstates.setEpisodes(ep);
              bjstates.setPlays(pl);
              bjstates.start();
         //startLearning();
              SimpleIO.prompt("Stop ");
    String userInput2 = SimpleIO.readLine();
    if (userInput2.equalsIgnoreCase("S"))
         break;
    // NAME: getDealerCards
    // BEHAVIOR: Adds cards to the dealer's hand until the
    // value reaches 17 or more
    // PARAMETERS: card1 - One of dealer's original two cards
    // card2 - The other original card
    // RETURNS: Value of the dealer's hand, including
    // original cards and new cards
    private static int getDealerCards(Card card1, Card card2) {
    int dealerCount = getCount(card1) + getCount(card2);
    int aceCount = 0;
    // Determine number of aces among original pair of cards
    if (card1.getRank() == Card.ACE)
    aceCount++;
    if (card2.getRank() == Card.ACE)
    aceCount++;
    while (true) {
    // If the dealer's count exceeds 21 and the hand
    // contains aces still valued at 11, then reduce the
    // number of aces by 1 and reduce the count by 10
    if (aceCount > 0 && dealerCount > 21) {
    aceCount--;
    dealerCount -= 10;
    // Return if dealer's count is at least 17
    if (dealerCount >= 17)
    return dealerCount;
    // Pick a new card and update the dealer's count
    Card newCard = Card.pickRandom();
    System.out.println("Dealer drew: " + newCard);
    dealerCount += getCount(newCard);
    // Check whether the new card is an ace
    if (newCard.getRank() == Card.ACE)
    aceCount++;
    // NAME: getPlayerCards
    // BEHAVIOR: Adds cards to the player's hand until the
    // value exceeds 21 or the player decides to
    // stand
    // PARAMETERS: card1 - One of player's original two cards
    // card2 - The other original card
    // RETURNS: Value of the player's hand, including
    // original cards and new cards
    private static int getPlayerCards(Card card1, Card card2) {
    int playerCount = getCount(card1) + getCount(card2);
    int aceCount = 0;
    // Determine number of aces among original pair of cards
    if (card1.getRank() == Card.ACE)
    aceCount++;
    if (card2.getRank() == Card.ACE)
    aceCount++;
    while (true) {
    // If the player's count exceeds 21 and the hand
    // contains aces still valued at 11, then reduce the
    // number of aces by 1 and reduce the count by 10
    if (aceCount > 0 && playerCount > 21) {
    aceCount--;
    playerCount -= 10;
    // Return if player's count exceeds 21
    if (playerCount > 21)
    return playerCount;
    // Ask user whether to stand or hit
    SimpleIO.prompt("(S)tand or (H)it? ");
    String userInput = SimpleIO.readLine();
    if (!userInput.equalsIgnoreCase("H"))
    return playerCount;
    // Pick a new card and update the player's count
    Card newCard = Card.pickRandom();
    System.out.println("You drew: " + newCard);
    playerCount += getCount(newCard);
    // Check whether the new card is an ace
    if (newCard.getRank() == Card.ACE)
    aceCount++;
    //Computer Cards
    //public void run() {
         /*     int s;
              while (true) {
              try {
                        Thread.currentThread().sleep(10);
              } catch (Exception e)
                        System.out.println("Exception on sleep");
                        // Sarsa Strategy
                             s = bjothers.calcState(card);
                   // select the best action associated with s
                   curAction = strat[strategy].selectAction(s);
                   //take choosed action
                   switch(curAction) {
                             case BStrategy.HIT : {
                                  addCard(Cards.next());
                             drawCards();
                             points = calcPoints();
                             if (points<=21) {
                                       setCanPlay(true);
                             else
                                       setCanPlay(false);
                             break;
                             case BStrategy.STAND : {
                             setCanPlay(false);
                             break;
                             default : {setCanPlay(false);}
    // NAME: getCount
    // BEHAVIOR: Returns the Blackjack value of a particular
    // card
    // PARAMETERS: c - a Card object
    // RETURNS: The Blackjack value of the card c. The value
    // of a card is the same as its rank, except
    // that face cards have a value of 10 and aces
    // have a value of 11.
    private static int getCount(Card c) {
    switch (c.getRank()) {
    case Card.TWO: return 2;
    case Card.THREE: return 3;
    case Card.FOUR: return 4;
    case Card.FIVE: return 5;
    case Card.SIX: return 6;
    case Card.SEVEN: return 7;
    case Card.EIGHT: return 8;
    case Card.NINE: return 9;
    case Card.ACE: return 11;
    default: return 10; // TEN, JACK, QUEEN, KING
    public void startLearning(int ep, int pl) {
         bjstates = new BJStates(this, ep, pl);
         bjstates.setEpisodes(ep);
         bjstates.setPlays(pl);
         bjstates.start();
    }

    any obvious errors here?Yup:
    No code tags
    No indentation
    Too long to read
    All cluttered up

  • My wife uploaded new fonts to her macbook and now can not see any writing on her screen, can I fix this?

    Hi, my wife uploaded new fonts to her macbook and now can not see any writing on her screen, can I fix this?
    System fonts deleted accidentally. Does anyone know how I can fix this please?

    Thanks Mike,
    Absolutely right. I restarted in Safe Mode. This enabled me to see the actual text on the screen. Then I backed up. Then reinstalled. All fixed.
    Thanks again,
    Chris

  • Hi I need Apple Hardware test 2.5.2 Apple does'nt have it. Any one on here have a copy or know how I could get access to?Thaks

    hi I need Apple Hardware test 2.5.2 Apple does'nt have it, I orderit it and they no longer carry it so they say. Any one on here have a copy that I could get access to?Thanks

    What model PowerMac do you have? The AHT is on the Install/Restore disc that came with your Mac.
     Cheers, Tom

  • My iPhone 4 is stuck on connect to iTunes  mode!!!!!! Plzzzzz sm help me. What should i do??  I am from albania and i have gone to any apple service here but no help

    my iphone is stuck on connect to itunes mode!!!!! Plzz smb help me!!! What should i do? I am from albania and i have gone to any apple service here but no help!!!!

    Hi enkifromtirane,
    If you had an issue with your iPhone and are now seeing an icon screen instructing you to connect to iTunes, you may find the following article helpful:
    Apple Support: If you can't update or restore your iOS device
    http://support.apple.com/kb/ht1808
    Regards,
    - Brenden

  • I am trying to help a friend who`s imac is giving her trouble. when the user logon is typed the machine begins to load, then in about a minute, kicks back out into the logon screen. ANY insight to her problem will be greatly appreicated?

    I am trying to help a friend who`s imac is giving her trouble. when the user logon is typed the machine begins to load, then in about a minute, kicks back out into the logon screen. ANY insight to her problem will be greatly appreicated?

    Start up in Safe Mode.
    http://support.apple.com/kb/PH11212?viewlocale=en_US
    Repair Disk
    Steps 2 through 8
    http://support.apple.com/kb/PH5836
    http://support.apple.com/kb/ts1417

  • HT201328 I have an iPhone4 from softbank in Japan, I want to use any carrier sim here in Philippines, what if Softbank in Japan is not offering unlocking iPhone. What can I do?

    I have an iPhone4 from softbank in Japan, I want to use any carrier sim here in Philippines, what if Softbank in Japan is not offering unlocking iPhone. What can I do?

    All you can do is sell your iPhone to someone in Japan and buy another iPhone. Only the carrier can authorize unlocking, and Softbank does not unlock iPhones.
    Regards.

  • I have an iPhone4 from au KDDI in Japan, I want to use any carrier sim here in Philippines, what if au KDDI in Japan is not offering unlocking iPhone. What can I do?

    I have an iPhone4 from au KDDI in Japan, I want to use any carrier sim here in Philippines, what if au KDDI in Japan is not offering unlocking iPhone. What can I do?

    If you are a gaijin (I'm a gaijin too) never take a iphone in Japan. Your phone will turn to be nothing more than a paper weight once you are out of Japan. I recently moved to UK and my iPhone 4s which bought from AU is now completely useless. AU does not unlock the phone, there is no option in the net to get the same unlocked too. So I decided to advise those gaijins in Japan to never waste your money spending on iPhones in Japan and if possible never get trapped into the services of AU.

  • Any case-fan experts here?

    This is it!!!!! I have 3 80x80 Coolmaster (DAF-B81)-(28-32dB)(they have these thermal sensors which control the RPM), two at the back blowing in, one on the left side(next to the VGA card) blowing out, and now recently I got two 90x90 Coolmaster fans (TF9-25IM-7)-(37dB!!!!! )-both on the right side next to the drive, the lower one blowing in and the upper one blowing out.
    I still have one free fan-hole( ) on the left side (upper one), and two in the front cover....
    Heres some pictures of the case: http://www.chieftec.com/products/Workcolor/NewBX.htm
    So I ask you, this is not a good setup is it?, but im new to the overcloking buisness.
    I can always buy more fans if you know a better setup...
    Im trying to find a Aquarius III water cooling set for the LGA775, but its almost impossible to find one where im living.....  
    Because the 90x90 fans are so damn loud I really need a fan controller for 4 fans,
    So all I wanted to know is Which controller is the best one? and can I use the thermal sensor fans (80x80) with a controler????
    Thanks.....

    Ok, I just rotated my fans at the back so they are blowing out, And I bought powerful fans (loud but with a controller pin) at the right side blowing straight at the CPU-fan and the VGA.... And one fan blowing in at the harddrive.....
    And I was able to lower CPU temp from 59°C IDLE to 55°C which I think is pretty good for a couple of fans....  
    But now the Hardrive is at 30°C but was at 23°C but thats ok... as long the temp doesnt go to 55°C...
    But what do you think about having a equal amount of air going into the case and going out???? Is that very important???? (ps. no I dont got any filters on my fans....)
    And maybe any comments on the type of fans you like the most????
    (I know this post does NOT fit into this motherboard forum, but its to late.....)

  • New A03 video driver posted for Venue 11 Pro 7130 - please report any remaining issues here!

    We have posted the updated A03 version of the video driver.   If you are having video problems on your 713x, please update to this latest driver ASAP.
    http://www.dell.com/support/home/us/en/19/Drivers/DriversDetails?driverId=3DTCD&fileId=3390560770&osCode=WB64A&productCode=dell-venue-11i-pro&languageCode=EN&categoryId=VI
    This driver fixes most known issues.   Note that there are still several monitors with known persistence issues (e.g. what the monitor does after a sleep/resume cycle).   The plan is to address these in the next driver release.
    If you see issues with the A03 driver, please provide information here.   Please see this thread for general troubleshooting steps before reporting issues -> http://en.community.dell.com/support-forums/mobile-devices/f/4586/t/19580384.aspx?pi239031352=1#20664209
    Thanks!

    i updated the video drive and was really excited when i hooked up my DP to DP and the monitor worked.  Soon after though,  a bunch of issues arised:
    1) When the monitor went to sleep it shut of the tablet as well.
    2) My CPU is now running high (50%-60%) and my cursor has a constant blue circle spinning around
    3) The fan is constantly running,  not high but on.  It did not do this prior to the driver update
    The Venue is working in the sense that i am running an HDMI to HDMI monitor off the dock and my application seem to run at the same speed.
    Tech support downgraded me back to A02 but the problem still persists.  We are now going to reimage.
    I am not super technical, but i almost feel like the A03 driver changed a setting or two in the system which is causing the issues.

  • Why is my daughter asked to enter my AppleID password to open *any* app on her iPhone?

    Preamble:
    When iOS 8 dropped and my family of 5 had all upgraded, I set up Family Sharing. As it turns out, it's an incomplete solution and is therefore completely useless for isolating the spendy account (home sharing, iTunes share, etc.), but setting all that aside, I figured we might give it a shot.
    It's OK - it's annoying that my kids need permission to download free apps, but OK. However, there is this strange bug I can't explain of figure out how to fix.
    Problem description:
    My daughter is logged into the iTunes store with her own AppleID and all looks well. However, any time she attempts to open any app at all other than the builtin apps, she gets a popup asking for the password for my AppleID! ***? Why is my AppleID even a thing on her phone?
    Post-description rant:
    Perhaps I was foolish to switch this on so soon - or indeed at all; I still have inexplicable inabilities to play a huge number of tracks in iTunes Share, across all devices (though it is not the same set of tracks on each device). But on the other hand, I don't see this issue described when I google around, so perhaps this is an anomaly, maybe some inconsistent/corrupt data, and there's a standard set of "switch it off and on again" steps that people might be able to suggest to take care of it.

    j0ni wrote:
    Preamble:
    When iOS 8 dropped and my family of 5 had all upgraded, I set up Family Sharing. As it turns out, it's an incomplete solution and is therefore completely useless for isolating the spendy account (home sharing, iTunes share, etc.), but setting all that aside, I figured we might give it a shot.
    It's OK - it's annoying that my kids need permission to download free apps, but OK. However, there is this strange bug I can't explain of figure out how to fix.
    Problem description:
    My daughter is logged into the iTunes store with her own AppleID and all looks well. However, any time she attempts to open any app at all other than the builtin apps, she gets a popup asking for the password for my AppleID! ***? Why is my AppleID even a thing on her phone?
    Post-description rant:
    Perhaps I was foolish to switch this on so soon - or indeed at all; I still have inexplicable inabilities to play a huge number of tracks in iTunes Share, across all devices (though it is not the same set of tracks on each device). But on the other hand, I don't see this issue described when I google around, so perhaps this is an anomaly, maybe some inconsistent/corrupt data, and there's a standard set of "switch it off and on again" steps that people might be able to suggest to take care of it.
    Wherever I said "iTunes share" I really meant iTunes Match. Sigh.

  • Has any Coldplay fan lost purchased content within iTunes, I have recently noticed my Coldplay Live 2012 purchased on iTunes is gone from my iCloud library and no longer available for purchase ! A bit strange considering there new album just went on sale

    Recently I have noticed my iTune purchased concert movies after being put back in the cloud are currently missing.
    I have never had purchased content from iTunes vanish from my iCloud library and also not be available for purchase on iTunes.
    When I had Apple personnel attempt to push the content back to me, they could not find Coldplay's Live 2012.
    Even more strange considering their new album just went on sale and renewed interest must be prompting fans to review their collections.
    A beautifully shot concert film is missing, a sad situation to be sure!
    Thanks for any iCloud wisdom and other fans noticing the same thing.

    Hi kevs place,
    If you have issues with missing content in iTunes you may want to follow the steps in this article to try to recover it -
    iTunes: Finding lost media and downloads
    http://support.apple.com/kb/TS1408
    Thanks for using Apple Support Communities.
    Best,
    Brett L

  • Any Adobe techs here?  Please Help!!!

    HELP! Captivate 4 won't start when disconnected from my network.
    Captivate 4 is installed onto my C: drive.  All Captivate files are on this drive.  In fact, I've tried installing it while connected to my network AND installing it while disconnected from my network... the same problem exists.  As long as I am connected to my network, Captivate will open.  However, if I am not connected to my network, Captivate will not open.
    I sometimes, not always, get a message stating   Runtime error 217 at 004D5C7B
    Other times a window opens stating:
    Adobe Captivate has stopped working.  Windows can check online for a solution to the problem the next time you go online.
    Windows never seems to do that, though.  In the same window, under Problem Details, it says:
    Problem Signature:
      Problem Event Name:               APPCRASH
      Application Name:                    AdobeCaptivate.exe
      Application Version:                  4.0.1.1658
    After spending over an hour with Adobe Tech Support, we found a folder in the Registry, that, when deleted, solved the problem.  I was told that the file in the folder (there was only one) was a Captivate preferences file.  I wasn’t completely sold on that, though, and I don’t, unfortunately, have the name of the file.  The folder was labeled “Adobe”.
    Still off the network, I tried to launch Captivate and it worked!  Later, I connected to the network.  I, then, disconnected from the network and tried to launch Captivate.  Once again, it failed to launch (just like before).  Believing that the offending file was rewritten, I opened the Registry and navigated to where the Adobe folder was with the file in it.  However, no such folder was recreated.  So, the fix that I used successfully the first time, no longer applies.  I’m back to square one where I can’t launch Captivate unless I’m connected to the company network.   This is the only program that does this and I have a host of other Adobe products on the same computer.
    Does anyone have any ideas as to why this happens?  Any ideas on how to fix my problem so that I can launch Captivate without being connected to the company network?
    Thanks in advance for any help.

    Hi there,
    Do you have the latest version of flash player ? Can you try the following steps
    1. Close captivate if already opened.
    2. Uninstall the flash player from the system. Instructions are here : http://kb2.adobe.com/cps/141/tn_14157.html
    3. After successful uninstallation try to install the latest flash player from http://get.adobe.com/flashplayer/
    4. After installing the latest flash player. Delete the preferences
    Preferences for Windows 7 are located in : C:\Users\<UserName>\AppData\Roaming\Adobe, In this location delete the folder named "Adobe Captivate"
    5. Unplug your network cable
    6. Now launch captivate. <Let me know if captivate launched fine here>
    7. If captivate launched in step 6, then close it and plug in the data cable.
    8. Launch Captivate.
    Let me know if this worked.
    Thanks,
    Ashwin Bharghav B
    Adobe Captivate Team.

  • Any servlet 'guru' here?

    Is it possible to do the ff in one servlet?
    Create a form (ie FORM METHOD=POST) with elements types such as radio and submit. When the form is submitted the servlet should pull out another form also with a few element types including submit. When this second form is submitted post a confirmation message and a link back to the first form.
    I have tried different combinations without success. Here are a few
    I tried to use doGet to create the first form and also included in this doGet a conditional statement to handle the submit action and create the second form. doPost submits the last page, ie the confirmation message and a link to the 1st form. THis did not work; after hitting the submit button on the 1st form, it went straight to the last page. Obviously all statements after </form> are ignored.
    Second thing, I tried to call doGet with the above method in doPost. However everything shows on one page, ie the two forms and the confirmation message.
    Thirdly I implemented the 1st form in doGet, and the 2nd in doPost. I also include a conditional statement to handle (post the confirmation message) the submit action of the second form in doPost. When I run the servlet, the 1st form shows up, the 2nd too but not the confirmation message when I hit the submit button on the 2nd form.
    Any help will be much appreciated. Thanks

    In answer to the title of your post, the servlet "gurus" answer questions in a forum confusingly named "Java Servlet Technology".

  • Any quants in here

    Just curious, are there any quants in this forum.

    well the question is "if you have considerable
    experience in financial industry" on tradingapps(a
    few years with a software development experienceof
    10 or so years). You have some understanding ofthe
    models, e.g. Monte Carlo, and you want to pursue a
    career to be a quant, what would be the best way?
    Do a masters degree in Financial Engineering.
    Get some certifications, if yes which ones?
    Simply start applying for a position?Seems to work for a lot of Java wannabes that come
    here.
    Or just go to bed and dream you are a quant.....I seem to have settled on that last one...
    %I mean all the quants I have come across, not that I have come across many, have a PhD degree in maths or something. So is it kind of a [re requisite now or not?                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

Maybe you are looking for

  • Image size difference making PDF's in Bridge

    Making PDF's in Bridge on a Mac.  The image size I am using is 199 x 300 pixels (5.3 x 8 cm) and when I add a horizontal image to the output preview box, the images retain that size, however, when I add the vertical images to the preview box, althoug

  • Trigger Mail on Assigned JOB in Workflow

    Hi, I have to send mail to specified JOB (option in drop down of Recipient Type) in Workflow, but its not working though WF is not showing any error (showing success)  but user is not getting mail. I have changed it to Hard-Code user Name then user i

  • CL_WD_RUNTIME_SERVICES= ATTACH_FILE_TO_RESPONSE( ) works in one system but does not in other

    Hi folks, We are facing an issue here with a custom web dynpro application that export an excel. The following piece of code has been written in this application to export an excel: cl_wd_runtime_services=>attach_file_to_response(        EXPORTING   

  • Flash 9 wierd problem

    import flash.display.*; import flash.geom.*; import flash.events.*; var B:BitmapData = new BitmapData(550, 400, false, 0x000000); var B2:Bitmap = new Bitmap(B); this.addChild(B2); function OEN(event:Event):void{ B.colorTransform(new Rectangle(0,0,550

  • Interface Trip Stop Completed with Warning

    Hi All, For a sales order the line has been shipped where as the line status is showning as Picked and the delivery status is closed with the next step is showing as "Run Interface". While I have submitted the Interface Trip Stop, it completed with w