Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Unit Tests #5

Open
russplaysguitar opened this issue Sep 1, 2011 · 4 comments
Open

Fix Unit Tests #5

russplaysguitar opened this issue Sep 1, 2011 · 4 comments
Labels

Comments

@russplaysguitar
Copy link
Member

Failing unit tests....

/lime/tests/dirty.htm
/lime/tests/schedulemanager.htm
/lime/tests/style.htm

Tested in Chromium

Results:

5 of 5 tests executed.
2 passed, 3 failed.
Duration: 8s.
Lime Unit Tests - lime.director [FAILED]
/home/russ/gits/limejs/lime/tests/schedulemanager.htm
3 of 3 tests run in 7ms.
0 passed, 3 failed.
2 ms/test. 39 files loaded.
ERROR in testCallAfter
One call after 125ms
Expected <1> (Number) but was <0> (Number)

assertEquals("One call after 125ms",1,0) at file:///home/russ/gits/limejs/closure/closure/goog/testing/asserts.js:298
testCallAfter() at file:///home/russ/gits/limejs/lime/tests/schedulemanager.htm:90

ERROR in testScheduleWithDelay
2 calls on 1200ms
Expected <2> (Number) but was <0> (Number)

assertEquals("2 calls on 1200ms",2,0) at file:///home/russ/gits/limejs/closure/closure/goog/testing/asserts.js:298
testScheduleWithDelay() at file:///home/russ/gits/limejs/lime/tests/schedulemanager.htm:112

ERROR in testScheduler
Calls after 1000ms.
Expected <30> (Number) but was <0> (Number)

assertEquals("Calls after 1000ms.",30,0) at file:///home/russ/gits/limejs/closure/closure/goog/testing/asserts.js:298
testScheduler() at file:///home/russ/gits/limejs/lime/tests/schedulemanager.htm:54

Lime Unit Tests - lime.style [FAILED]
/home/russ/gits/limejs/lime/tests/style.htm
6 of 6 tests run in 11ms.
5 passed, 1 failed.
2 ms/test. 54 files loaded.
ERROR in testTransitions
Single transition:
Expected <left 1.5s cubic-bezier(0.21, 0.2, 0.51, 0.58)> (String) but was <left 1.5s cubic-bezier(0, 0, 1, 1) 0s> (String)

assertEquals("Single transition: ","left 1.5s cubic-bezier(0.21, 0.2, 0.51, 0.58)","left 1.5s cubic-bezier(0, 0, 1, 1) 0s") at file:///home/russ/gits/limejs/closure/closure/goog/testing/asserts.js:298
testTransitions() at file:///home/russ/gits/limejs/lime/tests/style.htm:150

Lime Unit Tests - lime.dirty [FAILED]
/home/russ/gits/limejs/lime/tests/dirty.htm
1 of 1 tests run in 8ms.
0 passed, 1 failed.
8 ms/test. 82 files loaded.
ERROR in testDirtyQueue
Update run once:
Expected <1> (Number) but was <0> (Number)

assertEquals("Update run once:",1,0) at file:///home/russ/gits/limejs/closure/closure/goog/testing/asserts.js:298
testDirtyQueue() at file:///home/russ/gits/limejs/lime/tests/dirty.htm:59

@russplaysguitar
Copy link
Member Author

Also tested in Firefox 6

@cqcallaw
Copy link

cqcallaw commented Sep 1, 2011

I'd be interested in working on this one.

@ghost ghost assigned cqcallaw Sep 1, 2011
@russplaysguitar
Copy link
Member Author

Cool, it's yours. If you see any other issues you're interested in, feel free to assign yourself to it (assuming no one else is assigned)

@cqcallaw
Copy link

Interestingly, all tests pass if run through the web browser component of Eclipse (Galileo).

@cqcallaw cqcallaw removed their assignment May 17, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants