diff --git a/tests/unit/gfx/mod.rs b/tests/unit/gfx/mod.rs index 7f1f08371e6..4d160f2a8dc 100644 --- a/tests/unit/gfx/mod.rs +++ b/tests/unit/gfx/mod.rs @@ -1,10 +1,5 @@ -// Copyright 2013 The Servo Project Developers. See the COPYRIGHT -// file at the top-level directory of this distribution. -// -// Licensed under the Apache License, Version 2.0 or the MIT license -// , at your -// option. This file may not be copied, modified, or distributed -// except according to those terms. +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ mod text_util; diff --git a/tests/unit/gfx/text_util.rs b/tests/unit/gfx/text_util.rs index a4152bedc6b..6f63d18316f 100644 --- a/tests/unit/gfx/text_util.rs +++ b/tests/unit/gfx/text_util.rs @@ -1,11 +1,6 @@ -// Copyright 2013 The Servo Project Developers. See the COPYRIGHT -// file at the top-level directory of this distribution. -// -// Licensed under the Apache License, Version 2.0 or the MIT license -// , at your -// option. This file may not be copied, modified, or distributed -// except according to those terms. +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ use gfx::text::util::{CompressionMode, transform_text}; diff --git a/tests/unit/lib.rs b/tests/unit/lib.rs index 1af1df205a7..f040b2e9513 100644 --- a/tests/unit/lib.rs +++ b/tests/unit/lib.rs @@ -1,11 +1,6 @@ -// Copyright 2013 The Servo Project Developers. See the COPYRIGHT -// file at the top-level directory of this distribution. -// -// Licensed under the Apache License, Version 2.0 or the MIT license -// , at your -// option. This file may not be copied, modified, or distributed -// except according to those terms. +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #![feature(plugin)] #![cfg_attr(test, feature(net, alloc))] diff --git a/tests/unit/net/cookie.rs b/tests/unit/net/cookie.rs index 98ec00a3fd6..afdbd05334b 100644 --- a/tests/unit/net/cookie.rs +++ b/tests/unit/net/cookie.rs @@ -1,11 +1,6 @@ -// Copyright 2013 The Servo Project Developers. See the COPYRIGHT -// file at the top-level directory of this distribution. -// -// Licensed under the Apache License, Version 2.0 or the MIT license -// , at your -// option. This file may not be copied, modified, or distributed -// except according to those terms. +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ extern crate "cookie" as cookie_rs; diff --git a/tests/unit/net/data_loader.rs b/tests/unit/net/data_loader.rs index 485cdc4c1a8..370fa1bd28e 100644 --- a/tests/unit/net/data_loader.rs +++ b/tests/unit/net/data_loader.rs @@ -1,11 +1,6 @@ -// Copyright 2013 The Servo Project Developers. See the COPYRIGHT -// file at the top-level directory of this distribution. -// -// Licensed under the Apache License, Version 2.0 or the MIT license -// , at your -// option. This file may not be copied, modified, or distributed -// except according to those terms. +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ use net_traits::LoadData; use net_traits::ProgressMsg::{Payload, Done}; diff --git a/tests/unit/net/image_cache_task.rs b/tests/unit/net/image_cache_task.rs index 75395059653..a57b0361e6c 100644 --- a/tests/unit/net/image_cache_task.rs +++ b/tests/unit/net/image_cache_task.rs @@ -1,11 +1,6 @@ -// Copyright 2013 The Servo Project Developers. See the COPYRIGHT -// file at the top-level directory of this distribution. -// -// Licensed under the Apache License, Version 2.0 or the MIT license -// , at your -// option. This file may not be copied, modified, or distributed -// except according to those terms. +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ use net::image_cache_task::*; use net_traits::image_cache_task::ImageResponseMsg::*; diff --git a/tests/unit/net/mod.rs b/tests/unit/net/mod.rs index f002b943959..e4137759590 100644 --- a/tests/unit/net/mod.rs +++ b/tests/unit/net/mod.rs @@ -1,11 +1,6 @@ -// Copyright 2013 The Servo Project Developers. See the COPYRIGHT -// file at the top-level directory of this distribution. -// -// Licensed under the Apache License, Version 2.0 or the MIT license -// , at your -// option. This file may not be copied, modified, or distributed -// except according to those terms. +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ mod cookie; mod data_loader; diff --git a/tests/unit/net/resource_task.rs b/tests/unit/net/resource_task.rs index 0357c1096b1..da79322a2ff 100644 --- a/tests/unit/net/resource_task.rs +++ b/tests/unit/net/resource_task.rs @@ -1,11 +1,6 @@ -// Copyright 2013 The Servo Project Developers. See the COPYRIGHT -// file at the top-level directory of this distribution. -// -// Licensed under the Apache License, Version 2.0 or the MIT license -// , at your -// option. This file may not be copied, modified, or distributed -// except according to those terms. +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ use net::resource_task::{new_resource_task, parse_hostsfile, replace_hosts}; use net_traits::{ControlMsg, LoadData}; diff --git a/tests/unit/script/mod.rs b/tests/unit/script/mod.rs index 4f32ce2d652..1631a9adc8c 100644 --- a/tests/unit/script/mod.rs +++ b/tests/unit/script/mod.rs @@ -1,11 +1,6 @@ -// Copyright 2013 The Servo Project Developers. See the COPYRIGHT -// file at the top-level directory of this distribution. -// -// Licensed under the Apache License, Version 2.0 or the MIT license -// , at your -// option. This file may not be copied, modified, or distributed -// except according to those terms. +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #[cfg(target_pointer_width = "64")] mod size_of; mod textinput; diff --git a/tests/unit/style/media_queries.rs b/tests/unit/style/media_queries.rs index 17dff626522..7f4dbc8f5e6 100644 --- a/tests/unit/style/media_queries.rs +++ b/tests/unit/style/media_queries.rs @@ -1,11 +1,6 @@ -// Copyright 2013 The Servo Project Developers. See the COPYRIGHT -// file at the top-level directory of this distribution. -// -// Licensed under the Apache License, Version 2.0 or the MIT license -// , at your -// option. This file may not be copied, modified, or distributed -// except according to those terms. +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ use geom::size::TypedSize2D; use style::stylesheets::{iter_stylesheet_media_rules, iter_stylesheet_style_rules, Stylesheet}; diff --git a/tests/unit/style/mod.rs b/tests/unit/style/mod.rs index 9422a1f146c..a2af201f7c3 100644 --- a/tests/unit/style/mod.rs +++ b/tests/unit/style/mod.rs @@ -1,11 +1,6 @@ -// Copyright 2013 The Servo Project Developers. See the COPYRIGHT -// file at the top-level directory of this distribution. -// -// Licensed under the Apache License, Version 2.0 or the MIT license -// , at your -// option. This file may not be copied, modified, or distributed -// except according to those terms. +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ use util::logical_geometry::WritingMode; use style::properties::{INITIAL_VALUES, get_writing_mode}; diff --git a/tests/unit/style/stylesheets.rs b/tests/unit/style/stylesheets.rs index f8bf319bde5..6d7a3814394 100644 --- a/tests/unit/style/stylesheets.rs +++ b/tests/unit/style/stylesheets.rs @@ -1,11 +1,6 @@ -// Copyright 2013 The Servo Project Developers. See the COPYRIGHT -// file at the top-level directory of this distribution. -// -// Licensed under the Apache License, Version 2.0 or the MIT license -// , at your -// option. This file may not be copied, modified, or distributed -// except according to those terms. +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ use std::borrow::ToOwned; use std::sync::Arc; diff --git a/tests/unit/util/cache.rs b/tests/unit/util/cache.rs index dd24876dd80..f6e93222208 100644 --- a/tests/unit/util/cache.rs +++ b/tests/unit/util/cache.rs @@ -1,11 +1,6 @@ -// Copyright 2013 The Servo Project Developers. See the COPYRIGHT -// file at the top-level directory of this distribution. -// -// Licensed under the Apache License, Version 2.0 or the MIT license -// , at your -// option. This file may not be copied, modified, or distributed -// except according to those terms. +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ use std::cell::Cell; use util::cache::{HashCache, LRUCache}; diff --git a/tests/unit/util/logical_geometry.rs b/tests/unit/util/logical_geometry.rs index 8dfb045f886..d336d441734 100644 --- a/tests/unit/util/logical_geometry.rs +++ b/tests/unit/util/logical_geometry.rs @@ -1,11 +1,6 @@ -// Copyright 2013 The Servo Project Developers. See the COPYRIGHT -// file at the top-level directory of this distribution. -// -// Licensed under the Apache License, Version 2.0 or the MIT license -// , at your -// option. This file may not be copied, modified, or distributed -// except according to those terms. +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ use geom::{Size2D, Point2D, SideOffsets2D, Rect}; use util::logical_geometry::{WritingMode, LogicalSize, LogicalPoint, LogicalMargin, LogicalRect, diff --git a/tests/unit/util/mod.rs b/tests/unit/util/mod.rs index 760ead55609..756af732b67 100644 --- a/tests/unit/util/mod.rs +++ b/tests/unit/util/mod.rs @@ -1,11 +1,6 @@ -// Copyright 2013 The Servo Project Developers. See the COPYRIGHT -// file at the top-level directory of this distribution. -// -// Licensed under the Apache License, Version 2.0 or the MIT license -// , at your -// option. This file may not be copied, modified, or distributed -// except according to those terms. +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ mod cache; mod logical_geometry; diff --git a/tests/unit/util/task.rs b/tests/unit/util/task.rs index b20383580b3..48edf0c7177 100644 --- a/tests/unit/util/task.rs +++ b/tests/unit/util/task.rs @@ -1,11 +1,6 @@ -// Copyright 2013 The Servo Project Developers. See the COPYRIGHT -// file at the top-level directory of this distribution. -// -// Licensed under the Apache License, Version 2.0 or the MIT license -// , at your -// option. This file may not be copied, modified, or distributed -// except according to those terms. +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ use std::borrow::ToOwned; use util::task::spawn_named; diff --git a/tests/unit/util/vec.rs b/tests/unit/util/vec.rs index f6478872cb6..815e0500918 100644 --- a/tests/unit/util/vec.rs +++ b/tests/unit/util/vec.rs @@ -1,11 +1,6 @@ -// Copyright 2013 The Servo Project Developers. See the COPYRIGHT -// file at the top-level directory of this distribution. -// -// Licensed under the Apache License, Version 2.0 or the MIT license -// , at your -// option. This file may not be copied, modified, or distributed -// except according to those terms. +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ use std::fmt::Debug; use util::vec::BinarySearchMethods;