Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: java comparing fails

  1. #1
    Junior Member
    Join Date
    Jan 2023
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Exclamation java comparing fails

    I'm new in java programming, I faced this problem and I don't know how to dela with it, is there any one give me an idea about the cause of my problem

    ava.lang.AssertionError:

    Expecting:

    <[prompt[audio:hostname/..../in1040_HomeBusQues.wav,timeout:,bargein:,bargeinTy pe:,tts:thanksi. Before you transfer, let me know if you are using this product for "a business" or for "home" ],

    prompt[audio:hostname/..../in8400_Transfer.wav,timeout:,bargein:,bargeinType: ,tts:
    I will transfer your call. Be prepared to provide your product number and serial number to the representative who will answer you. ]]>

    to end with:

    <[prompt[audio:in1040_HomeBusQues.wav,timeout:,bargein:,bar geinType:,tts:thanksi. Before you transfer, let me know if you are using this product for "a business" or for "home" ],

    prompt[audio:in8400_Transfer.wav,timeout:,bargein:,bargei nType:,tts: I will transfer your call. Be prepared to provide your product number and serial number to the representative who will get back to you. ]]>

    when comparing values using 'InterpreterAssert$$Lambda$18/257641638'

    at interpreter.InterpreterAssert.exactlyLastPlayedPro mpts([InterpreterAssert.java:136](https://InterpreterAssert.java:136))
    at controller.FrenchPbrControllerTest.transferForHome WhenHomeAndBusinessIsNecessary([FrenchPbrControllerTest.java:35](https://FrenchPbrControllerTest.java:35))

  2. #2
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,140
    Thanks
    65
    Thanked 2,720 Times in 2,670 Posts

    Default Re: java comparing fails

    Can you give some more information?
    What program (java class) are you executing?
    What is that program supposed to do?
    Where does what you have posted come from?
    Who wrote the code for the class file that you are trying to execute?
    Have you asked the program's author for help?
    If you don't understand my answer, don't ignore it, ask a question.

Similar Threads

  1. Java v121 and above fails via site exception list
    By ludikris in forum Exceptions
    Replies: 0
    Last Post: May 13th, 2020, 01:06 PM
  2. Java hangman help with comparing array to String
    By tonynsx in forum What's Wrong With My Code?
    Replies: 24
    Last Post: October 2nd, 2013, 04:50 PM
  3. Trying to compile Fails
    By d_davis90 in forum What's Wrong With My Code?
    Replies: 9
    Last Post: June 14th, 2012, 09:32 AM
  4. Test Fails but I don't know why, please help
    By cutekill0 in forum What's Wrong With My Code?
    Replies: 8
    Last Post: September 22nd, 2011, 12:31 PM
  5. java applet program question (on getting path fails)
    By hellocheese in forum What's Wrong With My Code?
    Replies: 6
    Last Post: March 30th, 2011, 04:34 PM

Tags for this Thread