diff options
Diffstat (limited to 'test/rb')
-rw-r--r-- | test/rb/Makefile.am | 19 | ||||
-rw-r--r-- | test/rb/benchmarks/protocol_benchmark.rb | 19 | ||||
-rw-r--r-- | test/rb/core/test_backwards_compatability.rb | 19 | ||||
-rw-r--r-- | test/rb/core/test_exceptions.rb | 19 | ||||
-rw-r--r-- | test/rb/core/transport/test_transport.rb | 19 | ||||
-rw-r--r-- | test/rb/fixtures/structs.rb | 19 | ||||
-rw-r--r-- | test/rb/generation/test_enum.rb | 19 | ||||
-rw-r--r-- | test/rb/generation/test_struct.rb | 19 | ||||
-rw-r--r-- | test/rb/integration/accelerated_buffered_client.rb | 19 | ||||
-rw-r--r-- | test/rb/integration/accelerated_buffered_server.rb | 19 | ||||
-rw-r--r-- | test/rb/integration/buffered_client.rb | 19 | ||||
-rw-r--r-- | test/rb/integration/simple_client.rb | 19 | ||||
-rw-r--r-- | test/rb/integration/simple_server.rb | 19 | ||||
-rw-r--r-- | test/rb/integration/test_simple_handler.rb | 19 | ||||
-rw-r--r-- | test/rb/test_helper.rb | 19 | ||||
-rw-r--r-- | test/rb/test_suite.rb | 19 |
16 files changed, 304 insertions, 0 deletions
diff --git a/test/rb/Makefile.am b/test/rb/Makefile.am index b19fcde95..a6f431c8e 100644 --- a/test/rb/Makefile.am +++ b/test/rb/Makefile.am @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + THRIFT = $(top_srcdir)/compiler/cpp/thrift stubs: ../ThriftTest.thrift ../SmallTest.thrift diff --git a/test/rb/benchmarks/protocol_benchmark.rb b/test/rb/benchmarks/protocol_benchmark.rb index 99f07601c..b9fde17a6 100644 --- a/test/rb/benchmarks/protocol_benchmark.rb +++ b/test/rb/benchmarks/protocol_benchmark.rb @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + $LOAD_PATH.unshift File.join(File.dirname(__FILE__), *%w[.. .. .. lib rb lib]) $LOAD_PATH.unshift File.join(File.dirname(__FILE__), *%w[.. .. .. lib rb ext]) diff --git a/test/rb/core/test_backwards_compatability.rb b/test/rb/core/test_backwards_compatability.rb index eda1ec4b8..692aaf11b 100644 --- a/test/rb/core/test_backwards_compatability.rb +++ b/test/rb/core/test_backwards_compatability.rb @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + require File.join(File.dirname(__FILE__), '../test_helper') require 'thrift' diff --git a/test/rb/core/test_exceptions.rb b/test/rb/core/test_exceptions.rb index 8488baa4b..f41587a7b 100644 --- a/test/rb/core/test_exceptions.rb +++ b/test/rb/core/test_exceptions.rb @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + require File.join(File.dirname(__FILE__), '../test_helper') require 'thrift' diff --git a/test/rb/core/transport/test_transport.rb b/test/rb/core/transport/test_transport.rb index 1cf001ff7..eb6e03dde 100644 --- a/test/rb/core/transport/test_transport.rb +++ b/test/rb/core/transport/test_transport.rb @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + require File.join(File.dirname(__FILE__), '../../test_helper') require 'thrift/transport' diff --git a/test/rb/fixtures/structs.rb b/test/rb/fixtures/structs.rb index 0f0cfa82e..ebbeb0a7d 100644 --- a/test/rb/fixtures/structs.rb +++ b/test/rb/fixtures/structs.rb @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + require 'thrift' module Fixtures diff --git a/test/rb/generation/test_enum.rb b/test/rb/generation/test_enum.rb index 75ed42bc0..cd9c3baaf 100644 --- a/test/rb/generation/test_enum.rb +++ b/test/rb/generation/test_enum.rb @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + require File.join(File.dirname(__FILE__), '../test_helper') require 'ThriftTest' diff --git a/test/rb/generation/test_struct.rb b/test/rb/generation/test_struct.rb index b4526ab22..fbb4776ba 100644 --- a/test/rb/generation/test_struct.rb +++ b/test/rb/generation/test_struct.rb @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + require File.join(File.dirname(__FILE__), '../test_helper') require 'SmallService' diff --git a/test/rb/integration/accelerated_buffered_client.rb b/test/rb/integration/accelerated_buffered_client.rb index a27787cef..5a66cb8ef 100644 --- a/test/rb/integration/accelerated_buffered_client.rb +++ b/test/rb/integration/accelerated_buffered_client.rb @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + require File.join(File.dirname(__FILE__), '../test_helper') require 'thrift' diff --git a/test/rb/integration/accelerated_buffered_server.rb b/test/rb/integration/accelerated_buffered_server.rb index d505e9f01..11e09df41 100644 --- a/test/rb/integration/accelerated_buffered_server.rb +++ b/test/rb/integration/accelerated_buffered_server.rb @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + $:.push File.dirname(__FILE__) + '/../gen-rb' $:.push File.join(File.dirname(__FILE__), '../../../lib/rb/lib') $:.push File.join(File.dirname(__FILE__), '../../../lib/rb/ext') diff --git a/test/rb/integration/buffered_client.rb b/test/rb/integration/buffered_client.rb index 3548b18e4..50dac3051 100644 --- a/test/rb/integration/buffered_client.rb +++ b/test/rb/integration/buffered_client.rb @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + require File.join(File.dirname(__FILE__), '../test_helper') require 'thrift' diff --git a/test/rb/integration/simple_client.rb b/test/rb/integration/simple_client.rb index fe2ed8219..591cd45dd 100644 --- a/test/rb/integration/simple_client.rb +++ b/test/rb/integration/simple_client.rb @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + require File.join(File.dirname(__FILE__), '../test_helper') require 'thrift' diff --git a/test/rb/integration/simple_server.rb b/test/rb/integration/simple_server.rb index 6b029ba3e..450704b29 100644 --- a/test/rb/integration/simple_server.rb +++ b/test/rb/integration/simple_server.rb @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + $:.push File.dirname(__FILE__) + '/../gen-rb' $:.push File.join(File.dirname(__FILE__), '../../../lib/rb/lib') diff --git a/test/rb/integration/test_simple_handler.rb b/test/rb/integration/test_simple_handler.rb index 230dd08b4..389457664 100644 --- a/test/rb/integration/test_simple_handler.rb +++ b/test/rb/integration/test_simple_handler.rb @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + require File.join(File.dirname(__FILE__), '../test_helper') require 'thrift' diff --git a/test/rb/test_helper.rb b/test/rb/test_helper.rb index 51f72b162..c1ed779ef 100644 --- a/test/rb/test_helper.rb +++ b/test/rb/test_helper.rb @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + $:.unshift File.dirname(__FILE__) + '/gen-rb' $:.unshift File.join(File.dirname(__FILE__), '../../lib/rb/lib') $:.unshift File.join(File.dirname(__FILE__), '../../lib/rb/ext') diff --git a/test/rb/test_suite.rb b/test/rb/test_suite.rb index 361196337..b157c2c50 100644 --- a/test/rb/test_suite.rb +++ b/test/rb/test_suite.rb @@ -1 +1,20 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + Dir["{core,generation}/**/*.rb"].each {|f| require f }
\ No newline at end of file |