org.scalatest.exceptions.TestFailedException: {"count":3,"pagination":{"offset":0,"limit":100},"content":{"uri":"http://locahost.com/catalogue/content?order=Query&id=18,20,19"},"list":[{"id":"18","position":27},{"id":"20","position":341},{"id":"19","position":33}]} was not equal to {"count":3,"pagination":{"offset":0,"limit":100},"content":{"uri":"http://locahost.com/catalogue/content?order=Query&id=18,20,19"},"list":[{"id":"18","timestamp":"2015-01-28T11:55:44.494Z","content":"Episode","position":27},{"id":"20","timestamp":"2015-01-19T11:55:44.494Z","content":"Program","position":341},{"id":"19","timestamp":"2015-01-17T11:55:44.494Z","content":"Episode","position":33}]} at org.scalatest.MatchersHelper$.newTestFailedException(MatchersHelper.scala:160)

Stack Overflow | Bruce Lowe | 2 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    How to get intellij to offer a text diff comparison on failed tests

    Stack Overflow | 2 years ago | Bruce Lowe
    org.scalatest.exceptions.TestFailedException: {"count":3,"pagination":{"offset":0,"limit":100},"content":{"uri":"http://locahost.com/catalogue/content?order=Query&id=18,20,19"},"list":[{"id":"18","position":27},{"id":"20","position":341},{"id":"19","position":33}]} was not equal to {"count":3,"pagination":{"offset":0,"limit":100},"content":{"uri":"http://locahost.com/catalogue/content?order=Query&id=18,20,19"},"list":[{"id":"18","timestamp":"2015-01-28T11:55:44.494Z","content":"Episode","position":27},{"id":"20","timestamp":"2015-01-19T11:55:44.494Z","content":"Program","position":341},{"id":"19","timestamp":"2015-01-17T11:55:44.494Z","content":"Episode","position":33}]} at org.scalatest.MatchersHelper$.newTestFailedException(MatchersHelper.scala:160)
  2. 0

    Build failure (org.neo4j.cypher.internal.compiler.v2_2.ast.rewriters.InlineProjectionsTest)

    GitHub | 2 years ago | antonio-castellon
    org.scalatest.exceptions.TestFailedException: Query(None,SingleQuery(List(Match(false,Pattern(List(EveryPath(NodePattern(Some(Identifier(n)),List(),None,true)))),List(),Some(Where(In(FunctionInvocation(FunctionName(id),false,Vector(Identifier(n))),Collection(List(SignedDecimalIntegerLiteral(0), SignedDecimalIntegerLiteral(1), SignedDecimalIntegerLiteral(2), SignedDecimalIntegerLiteral(3))))))), With(false,ReturnItems(false,Vector(AliasedReturnItem(Property(Identifier(n),PropertyKeyName(division)),Identifier(n.division)), AliasedReturnItem(FunctionInvocation(FunctionName(max),false,Vector(Property(Identifier(n),PropertyKeyName(age)))),Identifier(max(n.age))))),None,None,None,None), With(false,ReturnItems(false,Vector(AliasedReturnItem(Identifier(n.division),Identifier(n.division)), AliasedReturnItem(Identifier(max(n.age)),Identifier(max(n.age))))),None,None,None,None), With(false,ReturnItems(false,Vector(AliasedReturnItem(Identifier(n.division),Identifier(n.division)), AliasedReturnItem(Identifier(max(n.age)),Identifier( FRESHID197)))),Some(OrderBy(List(AscSortItem(Identifier( FRESHID197))))),None,None,None), Return(false,ReturnItems(false,List(AliasedReturnItem(Identifier(n.division),Identifier(n.division)), AliasedReturnItem(Identifier( FRESHID197),Identifier(max(n.age))))),None,None,None)))) did not equal Query(None,SingleQuery(List(Match(false,Pattern(List(EveryPath(NodePattern(Some(Identifier(n)),List(),None,true)))),List(),Some(Where(In(FunctionInvocation(FunctionName(id),false,Vector(Identifier(n))),Collection(List(SignedDecimalIntegerLiteral(0), SignedDecimalIntegerLiteral(1), SignedDecimalIntegerLiteral(2), SignedDecimalIntegerLiteral(3))))))), With(false,ReturnItems(false,Vector(AliasedReturnItem(Property(Identifier(n),PropertyKeyName(division)),Identifier(n.division)), AliasedReturnItem(FunctionInvocation(FunctionName(max),false,Vector(Property(Identifier(n),PropertyKeyName(age)))),Identifier(max(n.age))))),None,None,None,None), With(false,ReturnItems(false,Vector(AliasedReturnItem(Identifier(n.division),Identifier(n.division)), AliasedReturnItem(Identifier(max(n.age)),Identifier(max(n.age))))),None,None,None,None), With(false,ReturnItems(false,Vector(AliasedReturnItem(Identifier(n.division),Identifier(n.division)), AliasedReturnItem(Identifier(max(n.age)),Identifier( FRESHID194)))),Some(OrderBy(List(AscSortItem(Identifier( FRESHID194))))),None,None,None), Return(false,ReturnItems(false,List(AliasedReturnItem(Identifier(n.division),Identifier(n.division)), AliasedReturnItem(Identifier( FRESHID194),Identifier(max(n.age))))),None,None,None))))
  3. 0

    Re: [scalatest-users] Custom matcher for Set types

    Google Groups | 4 years ago | Bill Venners
    org.scalatest.exceptions.TestFailedException: Set(1, 2, 3) did not equal Set(1, 2, 4) left &~ right = Set(3) right &~ left = Set(4)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 6715#224804255

    GitHub | 11 months ago | sinherle
    org.scalatest.exceptions.TestFailedException: 12 was not less than 12
  6. 0

    GitHub comment 332#248473457

    GitHub | 7 months ago | jonas
    org.scalatest.exceptions.TestFailedException: (HTTP/1.0 200 OK Server: akka-http/1.0.0 Date: Thu, 25 Aug 2011 09:10:29 GMT Content-Type: text/plain; charset=UTF-8 ENTITY,Some(false)) did not equal (HTTP/1.0 200 OK Server: akka-http/1.0.0 Date: Thu, 25 Aug 2011 09:10:29 GMT Content-Type: text/plain; charset=UTF-8 ENTITY,Some(true))

  1. Handemelindo 3 times, last 1 week ago
  2. rp 4 times, last 3 weeks ago
  3. Mark 1 times, last 4 weeks ago
  4. harshg 4 times, last 1 month ago
  5. jstrayer 4 times, last 2 months ago
2 more registered users
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. org.scalatest.exceptions.TestFailedException

    {"count":3,"pagination":{"offset":0,"limit":100},"content":{"uri":"http://locahost.com/catalogue/content?order=Query&id=18,20,19"},"list":[{"id":"18","position":27},{"id":"20","position":341},{"id":"19","position":33}]} was not equal to {"count":3,"pagination":{"offset":0,"limit":100},"content":{"uri":"http://locahost.com/catalogue/content?order=Query&id=18,20,19"},"list":[{"id":"18","timestamp":"2015-01-28T11:55:44.494Z","content":"Episode","position":27},{"id":"20","timestamp":"2015-01-19T11:55:44.494Z","content":"Program","position":341},{"id":"19","timestamp":"2015-01-17T11:55:44.494Z","content":"Episode","position":33}]} at org.scalatest.MatchersHelper$.newTestFailedException(MatchersHelper.scala:160)

    at org.scalatest.Matchers$ShouldMethodHelper$.shouldMatcher()
  2. scalatest
    Matchers$AnyShouldWrapper.should
    1. org.scalatest.Matchers$ShouldMethodHelper$.shouldMatcher(Matchers.scala:6231)
    2. org.scalatest.Matchers$AnyShouldWrapper.should(Matchers.scala:6265)
    2 frames