Opened 10 years ago

Closed 10 years ago

#8752 closed defect (fixed)

dojox.date.tests.HebrewDate failures

Reported by: Adam Peller Owned by: Adam Peller
Priority: high Milestone: 1.3
Component: Dojox Version: 1.3.0b1
Keywords: Cc: HHELENA@…
Blocked By: Blocking:

Description (last modified by Adam Peller)

Tested on FF3/Mac and Chrome/Win?

 GROUP "dojox.date.tests.HebrewDate" has 5 tests to run
 PASSED test: toGregorian 1 ms
 PASSED test: fromGregorian 2 ms
 PASSED test: compare 1 ms
     _AssertFailure: http://archive.dojotoolkit.org/nightly/dojotoolkit/dojo/dojo.js:131 doh._AssertFailure: assertEqual() failed:
  expected 0 but got -1
 doh._AssertFailure
     ERROR IN:
  (function (t) {var dateHebrew = new (dojox.date.HebrewDate);var dateHebrewAdd = dojox.date.HebrewDate.add(dateHebrew, "month", 18);t.is(0, 18 - dojox.date.HebrewDate.difference(dateHebrewAdd, dateHebrew, "month"));var dateHebrewAdd1 = dojox.date.HebrewDate.add(dateHebrew, "year", 2);t.is(0, 2 - dojox.date.HebrewDate.difference(dateHebrewAdd1, dateHebrew, "year"));var dateHebrewAdd2 = dojox.date.HebrewDate.add(dateHebrew, "week", 12);t.is(0, 12 - dojox.date.HebrewDate.difference(dateHebrewAdd2, dateHebrew, "week"));var dateHebrewAdd3 = dojox.date.HebrewDate.add(dateHebrew, "weekday", 20);t.is(0, 20 - dojox.date.HebrewDate.difference(dateHebrewAdd3, dateHebrew, "weekday"));var dateHebrewAdd4 = dojox.date.HebrewDate.add(dateHebrew, "day", -50);t.is(0, -50 - dojox.date.HebrewDate.difference(dateHebrewAdd4, dateHebrew, "day"));var dateHebrewAdd5 = dojox.date.HebrewDate.add(dateHebrew, "hour", 200);t.is(0, 200 - dojox.date.HebrewDate.difference(dateHebrewAdd5, dateHebrew, "hour"));var dateHebrewAdd6 = dojox.date.HebrewDate.add(dateHebrew, "minute", -200);t.is(0, -200 - dojox.date.HebrewDate.difference(dateHebrewAdd6, dateHebrew, "minute"));t.is(0, dojox.date.HebrewDate.difference(dateHebrew));})
 FAILED test: add_and_difference 2 ms
 PASSED test: parse_and_format 6 ms

Change History (4)

comment:1 Changed 10 years ago by Adam Peller

Description: modified (diff)

comment:2 Changed 10 years ago by bill

Milestone: tbd1.4

1.3rc1 has been release; bumping remaining tickets to 1.4 (except for documentation/testing tickets)

comment:3 Changed 10 years ago by Adam Peller

Milestone: 1.41.3

comment:4 Changed 10 years ago by Adam Peller

Resolution: fixed
Status: newclosed

Finally fixed in [17042]. Thanks, Helena!

Note: See TracTickets for help on using tickets.