yuntaozhu / closure-library

Automatically exported from code.google.com/p/closure-library
0 stars 0 forks source link

goog.ui.style.app.* tests fail due to missing dependencies #22

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Closure Unit Tests - goog.ui.style.app.ButtonRenderer [FAILED]
/F:/webdev/WebFaction/media/closure-
library/closure/goog/ui/style/app/buttonrenderer_test.html
6 of 6 tests run in 25ms.
0 passed, 6 failed.
4 ms/test. 48 files loaded.
ERROR in testButtonStates
Permission denied for <file://> to get property Window.document from <moz-
safe-about:neterror?
e=fileNotFound&u=file%3A///F%3A/webdev/WebFaction/media/closure-
library/webutil/css/fastui/app/button_spec.html&c=ISO-8859-
1&d=Firefox%20can%27t%20find%20the%20file%20at%20/F%3A/webdev/WebFaction/me
dia/closure-library/webutil/css/fastui/app/button_spec.html.>.
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/testing/ui/style.js:51
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/testing/ui/style.js:96
> testButtonStates : /F:/webdev/WebFaction/media/closure-
library/closure/goog/ui/style/app/buttonrenderer_test.html:67

ERROR in testDecoratedButton
Permission denied for <file://> to get property Window.document from <moz-
safe-about:neterror?
e=fileNotFound&u=file%3A///F%3A/webdev/WebFaction/media/closure-
library/webutil/css/fastui/app/button_spec.html&c=ISO-8859-
1&d=Firefox%20can%27t%20find%20the%20file%20at%20/F%3A/webdev/WebFaction/me
dia/closure-library/webutil/css/fastui/app/button_spec.html.>.
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/testing/ui/style.js:51
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/testing/ui/style.js:96
> testDecoratedButton : /F:/webdev/WebFaction/media/closure-
library/closure/goog/ui/style/app/buttonrenderer_test.html:88

ERROR in testDecoratedButtonBox
Permission denied for <file://> to get property Window.document from <moz-
safe-about:neterror?
e=fileNotFound&u=file%3A///F%3A/webdev/WebFaction/media/closure-
library/webutil/css/fastui/app/button_spec.html&c=ISO-8859-
1&d=Firefox%20can%27t%20find%20the%20file%20at%20/F%3A/webdev/WebFaction/me
dia/closure-library/webutil/css/fastui/app/button_spec.html.>.
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/testing/ui/style.js:51
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/testing/ui/style.js:96
> testDecoratedButtonBox : /F:/webdev/WebFaction/media/closure-
library/closure/goog/ui/style/app/buttonrenderer_test.html:97

ERROR in testDecoratedButtonBoxWithSpaceInContent
Permission denied for <file://> to get property Window.document from <moz-
safe-about:neterror?
e=fileNotFound&u=file%3A///F%3A/webdev/WebFaction/media/closure-
library/webutil/css/fastui/app/button_spec.html&c=ISO-8859-
1&d=Firefox%20can%27t%20find%20the%20file%20at%20/F%3A/webdev/WebFaction/me
dia/closure-library/webutil/css/fastui/app/button_spec.html.>.
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/testing/ui/style.js:51
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/testing/ui/style.js:96
> testDecoratedButtonBoxWithSpaceInContent : 
/F:/webdev/WebFaction/media/closure-
library/closure/goog/ui/style/app/buttonrenderer_test.html:113

ERROR in testExistingContentIsUsed
Permission denied for <file://> to get property Window.document from <moz-
safe-about:neterror?
e=fileNotFound&u=file%3A///F%3A/webdev/WebFaction/media/closure-
library/webutil/css/fastui/app/button_spec.html&c=ISO-8859-
1&d=Firefox%20can%27t%20find%20the%20file%20at%20/F%3A/webdev/WebFaction/me
dia/closure-library/webutil/css/fastui/app/button_spec.html.>.
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/testing/ui/style.js:51
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/testing/ui/style.js:96
> testExistingContentIsUsed : /F:/webdev/WebFaction/media/closure-
library/closure/goog/ui/style/app/buttonrenderer_test.html:126

ERROR in testGeneratedButton
Permission denied for <file://> to get property Window.document from <moz-
safe-about:neterror?
e=fileNotFound&u=file%3A///F%3A/webdev/WebFaction/media/closure-
library/webutil/css/fastui/app/button_spec.html&c=ISO-8859-
1&d=Firefox%20can%27t%20find%20the%20file%20at%20/F%3A/webdev/WebFaction/me
dia/closure-library/webutil/css/fastui/app/button_spec.html.>.
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/testing/ui/style.js:51
> anonymous : /F:/webdev/WebFaction/media/closure-
library/closure/goog/testing/ui/style.js:96
> testGeneratedButton : /F:/webdev/WebFaction/media/closure-
library/closure/goog/ui/style/app/buttonrenderer_test.html:58

The library seems to be missing the file 
"webutil/css/fastui/app/button_spec.html"

Original issue reported on code.google.com by digitalx...@gmail.com on 6 Nov 2009 at 3:53

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Confirmed this using http as well (just in case; see below). Unless it's meant 
to be 
dynamically generated and it isn't being, there's no `webutil` directory at all.
* * * *
Closure Unit Tests - goog.ui.style.app.ButtonRenderer [FAILED]
localhost:8080/closure-library/closure/goog/ui/style/app/buttonrenderer_test.htm
l
6 of 6 tests run in 116ms.
0 passed, 6 failed.
19 ms/test. 49 files loaded.
ERROR in testButtonStates
Cannot read property 'firstChild' of null
> (unknown)
> Object.getFirstElementChild at http://localhost:8080/closure-
library/closure/goog/dom/dom.js:931:42
> Object.getReferenceNode at http://localhost:8080/closure-
library/closure/goog/testing/ui/style.js:50:18
> Object.assertStructureMatchesReference at http://localhost:8080/closure-
library/closure/goog/testing/ui/style.js:96:28
> testButtonStates at http://localhost:8080/closure-
library/closure/goog/ui/style/app/buttonrenderer_test.html:66:28

ERROR in testDecoratedButton
Cannot read property 'firstChild' of null
> (unknown)
> Object.getFirstElementChild at http://localhost:8080/closure-
library/closure/goog/dom/dom.js:931:42
> Object.getReferenceNode at http://localhost:8080/closure-
library/closure/goog/testing/ui/style.js:50:18
> Object.assertStructureMatchesReference at http://localhost:8080/closure-
library/closure/goog/testing/ui/style.js:96:28
> testDecoratedButton at http://localhost:8080/closure-
library/closure/goog/ui/style/app/buttonrenderer_test.html:87:28

ERROR in testDecoratedButtonBox
Cannot read property 'firstChild' of null
> (unknown)
> Object.getFirstElementChild at http://localhost:8080/closure-
library/closure/goog/dom/dom.js:931:42
> Object.getReferenceNode at http://localhost:8080/closure-
library/closure/goog/testing/ui/style.js:50:18
> Object.assertStructureMatchesReference at http://localhost:8080/closure-
library/closure/goog/testing/ui/style.js:96:28
> testDecoratedButtonBox at http://localhost:8080/closure-
library/closure/goog/ui/style/app/buttonrenderer_test.html:96:28

ERROR in testDecoratedButtonBoxWithSpaceInContent
Cannot read property 'firstChild' of null
> (unknown)
> Object.getFirstElementChild at http://localhost:8080/closure-
library/closure/goog/dom/dom.js:931:42
> Object.getReferenceNode at http://localhost:8080/closure-
library/closure/goog/testing/ui/style.js:50:18
> Object.assertStructureMatchesReference at http://localhost:8080/closure-
library/closure/goog/testing/ui/style.js:96:28
> testDecoratedButtonBoxWithSpaceInContent at http://localhost:8080/closure-
library/closure/goog/ui/style/app/buttonrenderer_test.html:112:28

ERROR in testExistingContentIsUsed
Cannot read property 'firstChild' of null
> (unknown)
> Object.getFirstElementChild at http://localhost:8080/closure-
library/closure/goog/dom/dom.js:931:42
> Object.getReferenceNode at http://localhost:8080/closure-
library/closure/goog/testing/ui/style.js:50:18
> Object.assertStructureMatchesReference at http://localhost:8080/closure-
library/closure/goog/testing/ui/style.js:96:28
> testExistingContentIsUsed at http://localhost:8080/closure-
library/closure/goog/ui/style/app/buttonrenderer_test.html:125:28

ERROR in testGeneratedButton
Cannot read property 'firstChild' of null
> (unknown)
> Object.getFirstElementChild at http://localhost:8080/closure-
library/closure/goog/dom/dom.js:931:42
> Object.getReferenceNode at http://localhost:8080/closure-
library/closure/goog/testing/ui/style.js:50:18
> Object.assertStructureMatchesReference at http://localhost:8080/closure-
library/closure/goog/testing/ui/style.js:96:28
> testGeneratedButton at http://localhost:8080/closure-
library/closure/goog/ui/style/app/buttonrenderer_test.html:57:28

Original comment by tj%crowd...@gtempaccount.com on 9 Dec 2009 at 3:13

GoogleCodeExporter commented 8 years ago

Original comment by pall...@google.com on 20 Apr 2010 at 4:45

GoogleCodeExporter commented 8 years ago
Issue 23 has been merged into this issue.

Original comment by pall...@google.com on 20 Apr 2010 at 4:45

GoogleCodeExporter commented 8 years ago
Issue 24 has been merged into this issue.

Original comment by pall...@google.com on 20 Apr 2010 at 4:46

GoogleCodeExporter commented 8 years ago

Original comment by nn...@google.com on 19 Apr 2011 at 3:09