aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/unit/gfx/mod.rs9
-rw-r--r--tests/unit/gfx/text_util.rs9
-rw-r--r--tests/unit/lib.rs9
-rw-r--r--tests/unit/net/cookie.rs9
-rw-r--r--tests/unit/net/data_loader.rs9
-rw-r--r--tests/unit/net/image_cache_task.rs9
-rw-r--r--tests/unit/net/mod.rs9
-rw-r--r--tests/unit/net/resource_task.rs9
-rw-r--r--tests/unit/script/mod.rs9
-rw-r--r--tests/unit/script/textinput.rs9
-rw-r--r--tests/unit/style/media_queries.rs9
-rw-r--r--tests/unit/style/mod.rs9
-rw-r--r--tests/unit/style/stylesheets.rs9
-rw-r--r--tests/unit/util/cache.rs9
-rw-r--r--tests/unit/util/logical_geometry.rs9
-rw-r--r--tests/unit/util/mod.rs9
-rw-r--r--tests/unit/util/task.rs9
-rw-r--r--tests/unit/util/vec.rs9
18 files changed, 162 insertions, 0 deletions
diff --git a/tests/unit/gfx/mod.rs b/tests/unit/gfx/mod.rs
index 7c87bd17b39..7f1f08371e6 100644
--- a/tests/unit/gfx/mod.rs
+++ b/tests/unit/gfx/mod.rs
@@ -1 +1,10 @@
+// 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 <LICENSE-APACHE or
+// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
+// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
+// option. This file may not be copied, modified, or distributed
+// except according to those terms.
+
mod text_util;
diff --git a/tests/unit/gfx/text_util.rs b/tests/unit/gfx/text_util.rs
index 83e90b6a064..a4152bedc6b 100644
--- a/tests/unit/gfx/text_util.rs
+++ b/tests/unit/gfx/text_util.rs
@@ -1,3 +1,12 @@
+// 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 <LICENSE-APACHE or
+// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
+// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
+// option. This file may not be copied, modified, or distributed
+// except according to those terms.
+
use gfx::text::util::{CompressionMode, transform_text};
#[test]
diff --git a/tests/unit/lib.rs b/tests/unit/lib.rs
index cf55e0050c4..1af1df205a7 100644
--- a/tests/unit/lib.rs
+++ b/tests/unit/lib.rs
@@ -1,3 +1,12 @@
+// 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 <LICENSE-APACHE or
+// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
+// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
+// option. This file may not be copied, modified, or distributed
+// except according to those terms.
+
#![feature(plugin)]
#![cfg_attr(test, feature(net, alloc))]
diff --git a/tests/unit/net/cookie.rs b/tests/unit/net/cookie.rs
index 6b4ee8fb565..98ec00a3fd6 100644
--- a/tests/unit/net/cookie.rs
+++ b/tests/unit/net/cookie.rs
@@ -1,3 +1,12 @@
+// 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 <LICENSE-APACHE or
+// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
+// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
+// option. This file may not be copied, modified, or distributed
+// except according to those terms.
+
extern crate "cookie" as cookie_rs;
use net::cookie::Cookie;
diff --git a/tests/unit/net/data_loader.rs b/tests/unit/net/data_loader.rs
index ef793f2982a..485cdc4c1a8 100644
--- a/tests/unit/net/data_loader.rs
+++ b/tests/unit/net/data_loader.rs
@@ -1,3 +1,12 @@
+// 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 <LICENSE-APACHE or
+// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
+// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
+// option. This file may not be copied, modified, or distributed
+// except according to those terms.
+
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 22b0920e8ae..75395059653 100644
--- a/tests/unit/net/image_cache_task.rs
+++ b/tests/unit/net/image_cache_task.rs
@@ -1,3 +1,12 @@
+// 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 <LICENSE-APACHE or
+// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
+// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
+// option. This file may not be copied, modified, or distributed
+// except according to those terms.
+
use net::image_cache_task::*;
use net_traits::image_cache_task::ImageResponseMsg::*;
use net_traits::image_cache_task::Msg::*;
diff --git a/tests/unit/net/mod.rs b/tests/unit/net/mod.rs
index 148b81b8add..f002b943959 100644
--- a/tests/unit/net/mod.rs
+++ b/tests/unit/net/mod.rs
@@ -1,3 +1,12 @@
+// 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 <LICENSE-APACHE or
+// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
+// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
+// option. This file may not be copied, modified, or distributed
+// except according to those terms.
+
mod cookie;
mod data_loader;
mod image_cache_task;
diff --git a/tests/unit/net/resource_task.rs b/tests/unit/net/resource_task.rs
index 28b7cb97c8a..0357c1096b1 100644
--- a/tests/unit/net/resource_task.rs
+++ b/tests/unit/net/resource_task.rs
@@ -1,3 +1,12 @@
+// 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 <LICENSE-APACHE or
+// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
+// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
+// option. This file may not be copied, modified, or distributed
+// except according to those terms.
+
use net::resource_task::{new_resource_task, parse_hostsfile, replace_hosts};
use net_traits::{ControlMsg, LoadData};
use net_traits::ProgressMsg;
diff --git a/tests/unit/script/mod.rs b/tests/unit/script/mod.rs
index 22bc57d12df..4f32ce2d652 100644
--- a/tests/unit/script/mod.rs
+++ b/tests/unit/script/mod.rs
@@ -1,2 +1,11 @@
+// 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 <LICENSE-APACHE or
+// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
+// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
+// option. This file may not be copied, modified, or distributed
+// except according to those terms.
+
#[cfg(target_pointer_width = "64")] mod size_of;
mod textinput;
diff --git a/tests/unit/script/textinput.rs b/tests/unit/script/textinput.rs
index a07886dce9d..322ee63c1c5 100644
--- a/tests/unit/script/textinput.rs
+++ b/tests/unit/script/textinput.rs
@@ -1,3 +1,12 @@
+// 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 <LICENSE-APACHE or
+// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
+// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
+// option. This file may not be copied, modified, or distributed
+// except according to those terms.
+
use script::textinput::{TextInput, Selection, Lines, DeleteDir};
use std::borrow::ToOwned;
diff --git a/tests/unit/style/media_queries.rs b/tests/unit/style/media_queries.rs
index 15266719d6f..17dff626522 100644
--- a/tests/unit/style/media_queries.rs
+++ b/tests/unit/style/media_queries.rs
@@ -1,3 +1,12 @@
+// 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 <LICENSE-APACHE or
+// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
+// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
+// option. This file may not be copied, modified, or distributed
+// except according to those terms.
+
use geom::size::TypedSize2D;
use style::stylesheets::{iter_stylesheet_media_rules, iter_stylesheet_style_rules, Stylesheet};
use style::stylesheets::Origin;
diff --git a/tests/unit/style/mod.rs b/tests/unit/style/mod.rs
index 3d180b52d1a..9422a1f146c 100644
--- a/tests/unit/style/mod.rs
+++ b/tests/unit/style/mod.rs
@@ -1,3 +1,12 @@
+// 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 <LICENSE-APACHE or
+// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
+// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
+// option. This file may not be copied, modified, or distributed
+// except according to those terms.
+
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 9d40adde60e..f8bf319bde5 100644
--- a/tests/unit/style/stylesheets.rs
+++ b/tests/unit/style/stylesheets.rs
@@ -1,3 +1,12 @@
+// 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 <LICENSE-APACHE or
+// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
+// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
+// option. This file may not be copied, modified, or distributed
+// except according to those terms.
+
use std::borrow::ToOwned;
use std::sync::Arc;
use cssparser;
diff --git a/tests/unit/util/cache.rs b/tests/unit/util/cache.rs
index 27345cf421a..dd24876dd80 100644
--- a/tests/unit/util/cache.rs
+++ b/tests/unit/util/cache.rs
@@ -1,3 +1,12 @@
+// 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 <LICENSE-APACHE or
+// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
+// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
+// option. This file may not be copied, modified, or distributed
+// except according to those terms.
+
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 c872d050788..8dfb045f886 100644
--- a/tests/unit/util/logical_geometry.rs
+++ b/tests/unit/util/logical_geometry.rs
@@ -1,3 +1,12 @@
+// 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 <LICENSE-APACHE or
+// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
+// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
+// option. This file may not be copied, modified, or distributed
+// except according to those terms.
+
use geom::{Size2D, Point2D, SideOffsets2D, Rect};
use util::logical_geometry::{WritingMode, LogicalSize, LogicalPoint, LogicalMargin, LogicalRect,
FLAG_RTL, FLAG_VERTICAL, FLAG_VERTICAL_LR, FLAG_SIDEWAYS_LEFT};
diff --git a/tests/unit/util/mod.rs b/tests/unit/util/mod.rs
index a208f13c3db..760ead55609 100644
--- a/tests/unit/util/mod.rs
+++ b/tests/unit/util/mod.rs
@@ -1,3 +1,12 @@
+// 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 <LICENSE-APACHE or
+// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
+// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
+// option. This file may not be copied, modified, or distributed
+// except according to those terms.
+
mod cache;
mod logical_geometry;
mod task;
diff --git a/tests/unit/util/task.rs b/tests/unit/util/task.rs
index d139d5eed37..b20383580b3 100644
--- a/tests/unit/util/task.rs
+++ b/tests/unit/util/task.rs
@@ -1,3 +1,12 @@
+// 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 <LICENSE-APACHE or
+// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
+// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
+// option. This file may not be copied, modified, or distributed
+// except according to those terms.
+
use std::borrow::ToOwned;
use util::task::spawn_named;
diff --git a/tests/unit/util/vec.rs b/tests/unit/util/vec.rs
index ff727224517..f6478872cb6 100644
--- a/tests/unit/util/vec.rs
+++ b/tests/unit/util/vec.rs
@@ -1,3 +1,12 @@
+// 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 <LICENSE-APACHE or
+// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
+// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
+// option. This file may not be copied, modified, or distributed
+// except according to those terms.
+
use std::fmt::Debug;
use util::vec::BinarySearchMethods;