http://codereview.appspot.com/5373109/diff/1/test/org/plovr/InputFileHandlerTest.java File test/org/plovr/InputFileHandlerTest.java (right): http://codereview.appspot.com/5373109/diff/1/test/org/plovr/InputFileHandlerTest.java#newcode30 test/org/plovr/InputFileHandlerTest.java:30: "foo.js"); I meant to put a comment in the ...
12 years, 5 months ago
(2011-11-16 03:13:22 UTC)
#2
Hi John, first, I'm sorry that it has taken me so long to get back ...
12 years, 5 months ago
(2011-11-19 03:13:47 UTC)
#4
Hi John, first, I'm sorry that it has taken me so long to get back to you here.
I'm on a Chromebook right now, which is the only reason I haven't tested the
file separator thing myself, but I'm hoping we can figure something out such
that the resulting change is not so big.
Also, if we can figure out a way for me to test both the Windows and Linux
behavior from my Linux machine so that I don't break you in the future, that
would be a double win!
http://codereview.appspot.com/5373109/diff/1/.hgignore
File .hgignore (right):
http://codereview.appspot.com/5373109/diff/1/.hgignore#newcode4
.hgignore:4: syntax: glob
could you skip a line before syntax:glob so it's clear where the sections
change?
http://codereview.appspot.com/5373109/diff/1/.hgignore#newcode5
.hgignore:5: *.iml
Could you add comments for *.iml and junit*.properties to explain if/when these
files should show up?
http://codereview.appspot.com/5373109/diff/1/build.xml
File build.xml (right):
http://codereview.appspot.com/5373109/diff/1/build.xml#newcode26
build.xml:26: <javac includeantruntime="true" />
nit: 2 space indents
http://codereview.appspot.com/5373109/diff/1/test/org/plovr/InputFileHandlerT...
File test/org/plovr/InputFileHandlerTest.java (right):
http://codereview.appspot.com/5373109/diff/1/test/org/plovr/InputFileHandlerT...
test/org/plovr/InputFileHandlerTest.java:30: "foo.js");
On 2011/11/16 03:13:22, jwfearn wrote:
> I meant to put a comment in the code here. The point is to create a dummy
path
> name using the native system separator to better simulate a local file.
Hmm, so I think the real question is: how often is the native file path
separator actually needed? For example, when used in a URL, it will always be a
forward slash. Also, I believe that Java can tolerate things like:
new File("../../..\\bar\\foo.js");
If it turns out like this type of conversion is common, then there should be a
utility method in the application code that this test uses.
Though if I'm right about Java tolerating mixed file separators, then maybe this
does not need to be such a big change?
http://codereview.appspot.com/5373109/diff/1/test/org/plovr/InputFileHandlerTest.java File test/org/plovr/InputFileHandlerTest.java (right): http://codereview.appspot.com/5373109/diff/1/test/org/plovr/InputFileHandlerTest.java#newcode30 test/org/plovr/InputFileHandlerTest.java:30: "foo.js"); With this change alone, this test now fails ...
12 years, 5 months ago
(2011-11-21 18:12:49 UTC)
#6
Issue 5373109: Issue 51 test case
Created 12 years, 5 months ago by jwfearn
Modified 12 years, 5 months ago
Reviewers: bolinfest
Base URL:
Comments: 10