drive-by: is the goal to completely eliminate {content,chrome}/test/data/media/?
6 years, 6 months ago
(2014-06-24 00:47:52 UTC)
#3
drive-by: is the goal to completely eliminate {content,chrome}/test/data/media/?
shadi
scherkus: only for videostack (there are still data files there used by webrtc browser tests ...
6 years, 6 months ago
(2014-06-24 00:53:33 UTC)
#4
scherkus: only for videostack (there are still data files there used by
webrtc browser tests in there). For videostack (i.e. EME, MSE, and
video/audio), we will only use media/test/data moving forward.
On Mon, Jun 23, 2014 at 5:47 PM, <scherkus@chromium.org> wrote:
> drive-by: is the goal to completely eliminate {content,chrome}/test/data/
> media/?
>
> https://codereview.chromium.org/338863007/
>
To unsubscribe from this group and stop receiving emails from it, send an email
to chromium-reviews+unsubscribe@chromium.org.
shadi
(In case my comment didn't go through in email) scherkus: only for videostack (there are ...
6 years, 6 months ago
(2014-06-24 00:57:39 UTC)
#5
(In case my comment didn't go through in email)
scherkus: only for videostack (there are still data files there used by webrtc
browser tests in there). For videostack (i.e. EME, MSE, and video/audio), we
will only use media/test/data moving forward.
https://codereview.chromium.org/338863007/diff/40001/media/test/data/README
File media/test/data/README (right):
https://codereview.chromium.org/338863007/diff/40001/media/test/data/README#n...
media/test/data/README:61: frame_size_change-av_enc-v.webm -
third_party/WebKit/LayoutTests/media/resources/frame_size_change.webm encrypted
using key ID [1] and key [2].
On 2014/06/24 00:45:17, jrummell wrote:
> Seems like there are a lot more files being added than are documented in this
> file. Is this due to the other files not documented in their current location?
Correct. I tried to focus on encrypted files which need some documentation
(which I also know what they are used for :).
scherkus (not reviewing)
On 2014/06/24 00:53:33, shadi wrote: > scherkus: only for videostack (there are still data files ...
6 years, 6 months ago
(2014-06-24 00:59:16 UTC)
#6
On 2014/06/24 00:53:33, shadi wrote:
> scherkus: only for videostack (there are still data files there used by
> webrtc browser tests in there). For videostack (i.e. EME, MSE, and
> video/audio), we will only use media/test/data moving forward.
hrmm ... does that make sense for things that aren't shared / have corresponding
.html with them?
in particular I'm thinking of the blackwhite / color format tests.
shadi
On 2014/06/24 00:59:16, scherkus wrote: > On 2014/06/24 00:53:33, shadi wrote: > > scherkus: only ...
6 years, 6 months ago
(2014-06-24 16:40:00 UTC)
#7
On 2014/06/24 00:59:16, scherkus wrote:
> On 2014/06/24 00:53:33, shadi wrote:
> > scherkus: only for videostack (there are still data files there used by
> > webrtc browser tests in there). For videostack (i.e. EME, MSE, and
> > video/audio), we will only use media/test/data moving forward.
>
> hrmm ... does that make sense for things that aren't shared / have
corresponding
> .html with them?
>
> in particular I'm thinking of the blackwhite / color format tests.
I'm not sure what you mean...what is the problem having the blackwhite.html file
and all color format files in media/test/data?
Whouldn't that also help sharing those files with unittests maybe?
scherkus (not reviewing)
On 2014/06/24 16:40:00, shadi wrote: > On 2014/06/24 00:59:16, scherkus wrote: > > On 2014/06/24 ...
6 years, 6 months ago
(2014-06-24 17:49:03 UTC)
#8
On 2014/06/24 16:40:00, shadi wrote:
> On 2014/06/24 00:59:16, scherkus wrote:
> > On 2014/06/24 00:53:33, shadi wrote:
> > > scherkus: only for videostack (there are still data files there used by
> > > webrtc browser tests in there). For videostack (i.e. EME, MSE, and
> > > video/audio), we will only use media/test/data moving forward.
> >
> > hrmm ... does that make sense for things that aren't shared / have
> corresponding
> > .html with them?
> >
> > in particular I'm thinking of the blackwhite / color format tests.
>
> I'm not sure what you mean...what is the problem having the blackwhite.html
file
> and all color format files in media/test/data?
> Whouldn't that also help sharing those files with unittests maybe?
in general, we shouldn't move things just for the sake of moving things
typically we only move things into lower-level folders when it must be shared by
multiple higher-level folders
shadi
On 2014/06/24 17:49:03, scherkus wrote: > On 2014/06/24 16:40:00, shadi wrote: > > On 2014/06/24 ...
6 years, 6 months ago
(2014-06-24 19:42:30 UTC)
#9
On 2014/06/24 17:49:03, scherkus wrote:
> On 2014/06/24 16:40:00, shadi wrote:
> > On 2014/06/24 00:59:16, scherkus wrote:
> > > On 2014/06/24 00:53:33, shadi wrote:
> > > > scherkus: only for videostack (there are still data files there used by
> > > > webrtc browser tests in there). For videostack (i.e. EME, MSE, and
> > > > video/audio), we will only use media/test/data moving forward.
> > >
> > > hrmm ... does that make sense for things that aren't shared / have
> > corresponding
> > > .html with them?
> > >
> > > in particular I'm thinking of the blackwhite / color format tests.
> >
> > I'm not sure what you mean...what is the problem having the blackwhite.html
> file
> > and all color format files in media/test/data?
> > Whouldn't that also help sharing those files with unittests maybe?
>
> in general, we shouldn't move things just for the sake of moving things
>
> typically we only move things into lower-level folders when it must be shared
by
> multiple higher-level folders
The reason is to avoid duplication and making things easier to maintain. Even
though blackwhite.html is not duplicated, it seems better to use one data dir
for media_browsertests. Otherwise it becomes confusing where each test is
loading data from.
shadi
On 2014/06/24 19:42:30, shadi wrote: > On 2014/06/24 17:49:03, scherkus wrote: > > On 2014/06/24 ...
6 years, 6 months ago
(2014-06-25 20:36:50 UTC)
#10
On 2014/06/24 19:42:30, shadi wrote:
> On 2014/06/24 17:49:03, scherkus wrote:
> > On 2014/06/24 16:40:00, shadi wrote:
> > > On 2014/06/24 00:59:16, scherkus wrote:
> > > > On 2014/06/24 00:53:33, shadi wrote:
> > > > > scherkus: only for videostack (there are still data files there used
by
> > > > > webrtc browser tests in there). For videostack (i.e. EME, MSE, and
> > > > > video/audio), we will only use media/test/data moving forward.
> > > >
> > > > hrmm ... does that make sense for things that aren't shared / have
> > > corresponding
> > > > .html with them?
> > > >
> > > > in particular I'm thinking of the blackwhite / color format tests.
> > >
> > > I'm not sure what you mean...what is the problem having the
blackwhite.html
> > file
> > > and all color format files in media/test/data?
> > > Whouldn't that also help sharing those files with unittests maybe?
> >
> > in general, we shouldn't move things just for the sake of moving things
> >
> > typically we only move things into lower-level folders when it must be
shared
> by
> > multiple higher-level folders
>
> The reason is to avoid duplication and making things easier to maintain. Even
> though blackwhite.html is not duplicated, it seems better to use one data dir
> for media_browsertests. Otherwise it becomes confusing where each test is
> loading data from.
scherkus: any comments on this? Again, I think any test using/extending
MediaBrowserTest() should load data from one place. Splitting tests within
content_browsertests to load from media/ and others from content/ will be
confusing. The duplication, to begin with, started because some media files were
used in media/ tests only, then content_browsertests used it, then (chrome)
browsertests needed it, etc. The content used by blackwhite tests can be shared
if needed this way.
scherkus (not reviewing)
On 2014/06/25 20:36:50, shadi wrote: > On 2014/06/24 19:42:30, shadi wrote: > > On 2014/06/24 ...
6 years, 6 months ago
(2014-06-25 23:29:06 UTC)
#11
On 2014/06/25 20:36:50, shadi wrote:
> On 2014/06/24 19:42:30, shadi wrote:
> > On 2014/06/24 17:49:03, scherkus wrote:
> > > On 2014/06/24 16:40:00, shadi wrote:
> > > > On 2014/06/24 00:59:16, scherkus wrote:
> > > > > On 2014/06/24 00:53:33, shadi wrote:
> > > > > > scherkus: only for videostack (there are still data files there used
> by
> > > > > > webrtc browser tests in there). For videostack (i.e. EME, MSE, and
> > > > > > video/audio), we will only use media/test/data moving forward.
> > > > >
> > > > > hrmm ... does that make sense for things that aren't shared / have
> > > > corresponding
> > > > > .html with them?
> > > > >
> > > > > in particular I'm thinking of the blackwhite / color format tests.
> > > >
> > > > I'm not sure what you mean...what is the problem having the
> blackwhite.html
> > > file
> > > > and all color format files in media/test/data?
> > > > Whouldn't that also help sharing those files with unittests maybe?
> > >
> > > in general, we shouldn't move things just for the sake of moving things
> > >
> > > typically we only move things into lower-level folders when it must be
> shared
> > by
> > > multiple higher-level folders
> >
> > The reason is to avoid duplication and making things easier to maintain.
Even
> > though blackwhite.html is not duplicated, it seems better to use one data
dir
> > for media_browsertests. Otherwise it becomes confusing where each test is
> > loading data from.
>
> scherkus: any comments on this? Again, I think any test using/extending
> MediaBrowserTest() should load data from one place. Splitting tests within
> content_browsertests to load from media/ and others from content/ will be
> confusing. The duplication, to begin with, started because some media files
were
> used in media/ tests only, then content_browsertests used it, then (chrome)
> browsertests needed it, etc. The content used by blackwhite tests can be
shared
> if needed this way.
thanks for explaining your rationale -- lgtm from me
shadi
Committed patchset #1 manually as r280628 (presubmit successful).
6 years, 5 months ago
(2014-06-30 18:18:20 UTC)
#12
Message was sent while issue was closed.
Committed patchset #1 manually as r280628 (presubmit successful).
Issue 338863007: Copy media files from chrome/test/data/media and content/test/data/media
(Closed)
Created 6 years, 6 months ago by shadi
Modified 6 years, 5 months ago
Reviewers: jrummell, ddorwin
Base URL: svn://svn.chromium.org/chrome/trunk/src
Comments: 2