test_kaferi_cloud 2.0.3 → 2.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.swagger-codegen-ignore +1 -1
- data/README.md +33 -19
- data/lib/test_kaferi_cloud/version.rb +1 -1
- data/test/pdf_tests.rb +1268 -0
- data/test_data/33539.jpg +0 -0
- data/test_data/44781.jpg +0 -0
- data/test_data/4pages.pdf +0 -0
- data/test_data/BlankWithSignature.pdf +0 -0
- data/test_data/Hello_world.pdf +0 -0
- data/test_data/HtmlExample1.html +27 -0
- data/test_data/Koala.jpg +0 -0
- data/test_data/PdfWithAcroForm.pdf +321 -0
- data/test_data/PdfWithAnnotations.pdf +720 -1
- data/test_data/PdfWithBookmarks.pdf +0 -0
- data/test_data/PdfWithEmbeddedFiles.pdf +0 -0
- data/test_data/PdfWithImages2.pdf +0 -0
- data/test_data/PdfWithLinks.pdf +0 -0
- data/test_data/Penguins.jpg +0 -0
- data/test_data/butterfly.jpg +0 -0
- data/test_data/marketing.pdf +0 -0
- data/test_data/rusdoc.pdf +0 -0
- data/test_data/test1234.pfx +0 -0
- metadata +22 -88
- data/.swagger-codegen/VERSION +0 -1
- data/spec/api/pdf_api_spec.rb +0 -956
- data/spec/api_client_spec.rb +0 -235
- data/spec/configuration_spec.rb +0 -51
- data/spec/models/annotation_response_spec.rb +0 -63
- data/spec/models/annotation_spec.rb +0 -87
- data/spec/models/annotations_response_spec.rb +0 -63
- data/spec/models/annotations_spec.rb +0 -57
- data/spec/models/append_document_spec.rb +0 -63
- data/spec/models/attachment_response_spec.rb +0 -63
- data/spec/models/attachment_spec.rb +0 -93
- data/spec/models/attachments_response_spec.rb +0 -63
- data/spec/models/attachments_spec.rb +0 -57
- data/spec/models/bookmarks_response_spec.rb +0 -63
- data/spec/models/bookmarks_spec.rb +0 -57
- data/spec/models/color_spec.rb +0 -69
- data/spec/models/document_pages_response_spec.rb +0 -63
- data/spec/models/document_properties_response_spec.rb +0 -63
- data/spec/models/document_properties_spec.rb +0 -57
- data/spec/models/document_property_response_spec.rb +0 -63
- data/spec/models/document_property_spec.rb +0 -69
- data/spec/models/document_response_spec.rb +0 -69
- data/spec/models/document_spec.rb +0 -63
- data/spec/models/document_text_replace_response_spec.rb +0 -69
- data/spec/models/field_response_spec.rb +0 -63
- data/spec/models/field_spec.rb +0 -81
- data/spec/models/field_type_spec.rb +0 -45
- data/spec/models/fields_response_spec.rb +0 -63
- data/spec/models/fields_spec.rb +0 -57
- data/spec/models/font_styles_spec.rb +0 -45
- data/spec/models/horizontal_alignment_spec.rb +0 -45
- data/spec/models/http_status_code_spec.rb +0 -45
- data/spec/models/image_response_spec.rb +0 -63
- data/spec/models/image_spec.rb +0 -63
- data/spec/models/images_list_request_spec.rb +0 -51
- data/spec/models/images_response_spec.rb +0 -63
- data/spec/models/images_spec.rb +0 -57
- data/spec/models/line_spacing_spec.rb +0 -45
- data/spec/models/link_action_type_spec.rb +0 -45
- data/spec/models/link_annotation_response_spec.rb +0 -63
- data/spec/models/link_annotation_spec.rb +0 -75
- data/spec/models/link_annotations_response_spec.rb +0 -63
- data/spec/models/link_annotations_spec.rb +0 -57
- data/spec/models/link_element_spec.rb +0 -51
- data/spec/models/link_highlighting_mode_spec.rb +0 -45
- data/spec/models/link_spec.rb +0 -69
- data/spec/models/merge_documents_spec.rb +0 -51
- data/spec/models/optimize_options_spec.rb +0 -87
- data/spec/models/page_spec.rb +0 -69
- data/spec/models/page_text_replace_response_spec.rb +0 -69
- data/spec/models/page_word_count_spec.rb +0 -57
- data/spec/models/pages_spec.rb +0 -57
- data/spec/models/paragraph_spec.rb +0 -117
- data/spec/models/rectangle_spec.rb +0 -69
- data/spec/models/rotation_spec.rb +0 -45
- data/spec/models/saa_spose_response_spec.rb +0 -57
- data/spec/models/segment_spec.rb +0 -57
- data/spec/models/signature_spec.rb +0 -123
- data/spec/models/signature_type_spec.rb +0 -45
- data/spec/models/split_result_document_spec.rb +0 -75
- data/spec/models/split_result_response_spec.rb +0 -63
- data/spec/models/split_result_spec.rb +0 -51
- data/spec/models/stamp_spec.rb +0 -177
- data/spec/models/stamp_type_spec.rb +0 -45
- data/spec/models/text_format_response_spec.rb +0 -63
- data/spec/models/text_format_spec.rb +0 -69
- data/spec/models/text_horizontal_alignment_spec.rb +0 -45
- data/spec/models/text_item_response_spec.rb +0 -63
- data/spec/models/text_item_spec.rb +0 -63
- data/spec/models/text_items_response_spec.rb +0 -63
- data/spec/models/text_items_spec.rb +0 -57
- data/spec/models/text_line_spec.rb +0 -57
- data/spec/models/text_rect_spec.rb +0 -63
- data/spec/models/text_rects_response_spec.rb +0 -63
- data/spec/models/text_rects_spec.rb +0 -51
- data/spec/models/text_replace_list_request_spec.rb +0 -69
- data/spec/models/text_replace_request_spec.rb +0 -81
- data/spec/models/text_replace_response_spec.rb +0 -63
- data/spec/models/text_replace_spec.rb +0 -75
- data/spec/models/text_state_spec.rb +0 -75
- data/spec/models/tiff_export_options_spec.rb +0 -141
- data/spec/models/vertical_alignment_spec.rb +0 -45
- data/spec/models/word_count_response_spec.rb +0 -63
- data/spec/models/word_count_spec.rb +0 -51
- data/spec/models/wrap_mode_spec.rb +0 -45
- data/spec/spec_helper.rb +0 -120
data/spec/models/link_spec.rb
DELETED
@@ -1,69 +0,0 @@
|
|
1
|
-
=begin
|
2
|
-
--------------------------------------------------------------------------------------------------------------------
|
3
|
-
Copyright (c) 2018 Aspose.Pdf for Cloud
|
4
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
5
|
-
of this software and associated documentation files (the "Software"), to deal
|
6
|
-
in the Software without restriction, including without limitation the rights
|
7
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
8
|
-
copies of the Software, and to permit persons to whom the Software is
|
9
|
-
furnished to do so, subject to the following conditions:
|
10
|
-
The above copyright notice and this permission notice shall be included in all
|
11
|
-
copies or substantial portions of the Software.
|
12
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
13
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
14
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
15
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
16
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
17
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
18
|
-
SOFTWARE.
|
19
|
-
--------------------------------------------------------------------------------------------------------------------
|
20
|
-
=end
|
21
|
-
|
22
|
-
require 'spec_helper'
|
23
|
-
require 'json'
|
24
|
-
require 'date'
|
25
|
-
|
26
|
-
# Unit tests for TestKaferiCloud::Link
|
27
|
-
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
28
|
-
# Please update as you see appropriate
|
29
|
-
describe 'Link' do
|
30
|
-
before do
|
31
|
-
# run before each test
|
32
|
-
@instance = TestKaferiCloud::Link.new
|
33
|
-
end
|
34
|
-
|
35
|
-
after do
|
36
|
-
# run after each test
|
37
|
-
end
|
38
|
-
|
39
|
-
describe 'test an instance of Link' do
|
40
|
-
it 'should create an instance of Link' do
|
41
|
-
expect(@instance).to be_instance_of(TestKaferiCloud::Link)
|
42
|
-
end
|
43
|
-
end
|
44
|
-
describe 'test attribute "href"' do
|
45
|
-
it 'should work' do
|
46
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
47
|
-
end
|
48
|
-
end
|
49
|
-
|
50
|
-
describe 'test attribute "rel"' do
|
51
|
-
it 'should work' do
|
52
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
53
|
-
end
|
54
|
-
end
|
55
|
-
|
56
|
-
describe 'test attribute "type"' do
|
57
|
-
it 'should work' do
|
58
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
59
|
-
end
|
60
|
-
end
|
61
|
-
|
62
|
-
describe 'test attribute "title"' do
|
63
|
-
it 'should work' do
|
64
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
65
|
-
end
|
66
|
-
end
|
67
|
-
|
68
|
-
end
|
69
|
-
|
@@ -1,51 +0,0 @@
|
|
1
|
-
=begin
|
2
|
-
--------------------------------------------------------------------------------------------------------------------
|
3
|
-
Copyright (c) 2018 Aspose.Pdf for Cloud
|
4
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
5
|
-
of this software and associated documentation files (the "Software"), to deal
|
6
|
-
in the Software without restriction, including without limitation the rights
|
7
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
8
|
-
copies of the Software, and to permit persons to whom the Software is
|
9
|
-
furnished to do so, subject to the following conditions:
|
10
|
-
The above copyright notice and this permission notice shall be included in all
|
11
|
-
copies or substantial portions of the Software.
|
12
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
13
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
14
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
15
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
16
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
17
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
18
|
-
SOFTWARE.
|
19
|
-
--------------------------------------------------------------------------------------------------------------------
|
20
|
-
=end
|
21
|
-
|
22
|
-
require 'spec_helper'
|
23
|
-
require 'json'
|
24
|
-
require 'date'
|
25
|
-
|
26
|
-
# Unit tests for TestKaferiCloud::MergeDocuments
|
27
|
-
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
28
|
-
# Please update as you see appropriate
|
29
|
-
describe 'MergeDocuments' do
|
30
|
-
before do
|
31
|
-
# run before each test
|
32
|
-
@instance = TestKaferiCloud::MergeDocuments.new
|
33
|
-
end
|
34
|
-
|
35
|
-
after do
|
36
|
-
# run after each test
|
37
|
-
end
|
38
|
-
|
39
|
-
describe 'test an instance of MergeDocuments' do
|
40
|
-
it 'should create an instance of MergeDocuments' do
|
41
|
-
expect(@instance).to be_instance_of(TestKaferiCloud::MergeDocuments)
|
42
|
-
end
|
43
|
-
end
|
44
|
-
describe 'test attribute "list"' do
|
45
|
-
it 'should work' do
|
46
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
47
|
-
end
|
48
|
-
end
|
49
|
-
|
50
|
-
end
|
51
|
-
|
@@ -1,87 +0,0 @@
|
|
1
|
-
=begin
|
2
|
-
--------------------------------------------------------------------------------------------------------------------
|
3
|
-
Copyright (c) 2018 Aspose.Pdf for Cloud
|
4
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
5
|
-
of this software and associated documentation files (the "Software"), to deal
|
6
|
-
in the Software without restriction, including without limitation the rights
|
7
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
8
|
-
copies of the Software, and to permit persons to whom the Software is
|
9
|
-
furnished to do so, subject to the following conditions:
|
10
|
-
The above copyright notice and this permission notice shall be included in all
|
11
|
-
copies or substantial portions of the Software.
|
12
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
13
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
14
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
15
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
16
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
17
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
18
|
-
SOFTWARE.
|
19
|
-
--------------------------------------------------------------------------------------------------------------------
|
20
|
-
=end
|
21
|
-
|
22
|
-
require 'spec_helper'
|
23
|
-
require 'json'
|
24
|
-
require 'date'
|
25
|
-
|
26
|
-
# Unit tests for TestKaferiCloud::OptimizeOptions
|
27
|
-
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
28
|
-
# Please update as you see appropriate
|
29
|
-
describe 'OptimizeOptions' do
|
30
|
-
before do
|
31
|
-
# run before each test
|
32
|
-
@instance = TestKaferiCloud::OptimizeOptions.new
|
33
|
-
end
|
34
|
-
|
35
|
-
after do
|
36
|
-
# run after each test
|
37
|
-
end
|
38
|
-
|
39
|
-
describe 'test an instance of OptimizeOptions' do
|
40
|
-
it 'should create an instance of OptimizeOptions' do
|
41
|
-
expect(@instance).to be_instance_of(TestKaferiCloud::OptimizeOptions)
|
42
|
-
end
|
43
|
-
end
|
44
|
-
describe 'test attribute "allow_reuse_page_content"' do
|
45
|
-
it 'should work' do
|
46
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
47
|
-
end
|
48
|
-
end
|
49
|
-
|
50
|
-
describe 'test attribute "compress_images"' do
|
51
|
-
it 'should work' do
|
52
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
53
|
-
end
|
54
|
-
end
|
55
|
-
|
56
|
-
describe 'test attribute "image_quality"' do
|
57
|
-
it 'should work' do
|
58
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
59
|
-
end
|
60
|
-
end
|
61
|
-
|
62
|
-
describe 'test attribute "link_duplcate_streams"' do
|
63
|
-
it 'should work' do
|
64
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
65
|
-
end
|
66
|
-
end
|
67
|
-
|
68
|
-
describe 'test attribute "remove_unused_objects"' do
|
69
|
-
it 'should work' do
|
70
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
71
|
-
end
|
72
|
-
end
|
73
|
-
|
74
|
-
describe 'test attribute "remove_unused_streams"' do
|
75
|
-
it 'should work' do
|
76
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
77
|
-
end
|
78
|
-
end
|
79
|
-
|
80
|
-
describe 'test attribute "unembed_fonts"' do
|
81
|
-
it 'should work' do
|
82
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
83
|
-
end
|
84
|
-
end
|
85
|
-
|
86
|
-
end
|
87
|
-
|
data/spec/models/page_spec.rb
DELETED
@@ -1,69 +0,0 @@
|
|
1
|
-
=begin
|
2
|
-
--------------------------------------------------------------------------------------------------------------------
|
3
|
-
Copyright (c) 2018 Aspose.Pdf for Cloud
|
4
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
5
|
-
of this software and associated documentation files (the "Software"), to deal
|
6
|
-
in the Software without restriction, including without limitation the rights
|
7
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
8
|
-
copies of the Software, and to permit persons to whom the Software is
|
9
|
-
furnished to do so, subject to the following conditions:
|
10
|
-
The above copyright notice and this permission notice shall be included in all
|
11
|
-
copies or substantial portions of the Software.
|
12
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
13
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
14
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
15
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
16
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
17
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
18
|
-
SOFTWARE.
|
19
|
-
--------------------------------------------------------------------------------------------------------------------
|
20
|
-
=end
|
21
|
-
|
22
|
-
require 'spec_helper'
|
23
|
-
require 'json'
|
24
|
-
require 'date'
|
25
|
-
|
26
|
-
# Unit tests for TestKaferiCloud::Page
|
27
|
-
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
28
|
-
# Please update as you see appropriate
|
29
|
-
describe 'Page' do
|
30
|
-
before do
|
31
|
-
# run before each test
|
32
|
-
@instance = TestKaferiCloud::Page.new
|
33
|
-
end
|
34
|
-
|
35
|
-
after do
|
36
|
-
# run after each test
|
37
|
-
end
|
38
|
-
|
39
|
-
describe 'test an instance of Page' do
|
40
|
-
it 'should create an instance of Page' do
|
41
|
-
expect(@instance).to be_instance_of(TestKaferiCloud::Page)
|
42
|
-
end
|
43
|
-
end
|
44
|
-
describe 'test attribute "links"' do
|
45
|
-
it 'should work' do
|
46
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
47
|
-
end
|
48
|
-
end
|
49
|
-
|
50
|
-
describe 'test attribute "id"' do
|
51
|
-
it 'should work' do
|
52
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
53
|
-
end
|
54
|
-
end
|
55
|
-
|
56
|
-
describe 'test attribute "images"' do
|
57
|
-
it 'should work' do
|
58
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
59
|
-
end
|
60
|
-
end
|
61
|
-
|
62
|
-
describe 'test attribute "rectangle"' do
|
63
|
-
it 'should work' do
|
64
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
65
|
-
end
|
66
|
-
end
|
67
|
-
|
68
|
-
end
|
69
|
-
|
@@ -1,69 +0,0 @@
|
|
1
|
-
=begin
|
2
|
-
--------------------------------------------------------------------------------------------------------------------
|
3
|
-
Copyright (c) 2018 Aspose.Pdf for Cloud
|
4
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
5
|
-
of this software and associated documentation files (the "Software"), to deal
|
6
|
-
in the Software without restriction, including without limitation the rights
|
7
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
8
|
-
copies of the Software, and to permit persons to whom the Software is
|
9
|
-
furnished to do so, subject to the following conditions:
|
10
|
-
The above copyright notice and this permission notice shall be included in all
|
11
|
-
copies or substantial portions of the Software.
|
12
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
13
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
14
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
15
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
16
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
17
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
18
|
-
SOFTWARE.
|
19
|
-
--------------------------------------------------------------------------------------------------------------------
|
20
|
-
=end
|
21
|
-
|
22
|
-
require 'spec_helper'
|
23
|
-
require 'json'
|
24
|
-
require 'date'
|
25
|
-
|
26
|
-
# Unit tests for TestKaferiCloud::PageTextReplaceResponse
|
27
|
-
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
28
|
-
# Please update as you see appropriate
|
29
|
-
describe 'PageTextReplaceResponse' do
|
30
|
-
before do
|
31
|
-
# run before each test
|
32
|
-
@instance = TestKaferiCloud::PageTextReplaceResponse.new
|
33
|
-
end
|
34
|
-
|
35
|
-
after do
|
36
|
-
# run after each test
|
37
|
-
end
|
38
|
-
|
39
|
-
describe 'test an instance of PageTextReplaceResponse' do
|
40
|
-
it 'should create an instance of PageTextReplaceResponse' do
|
41
|
-
expect(@instance).to be_instance_of(TestKaferiCloud::PageTextReplaceResponse)
|
42
|
-
end
|
43
|
-
end
|
44
|
-
describe 'test attribute "code"' do
|
45
|
-
it 'should work' do
|
46
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
47
|
-
end
|
48
|
-
end
|
49
|
-
|
50
|
-
describe 'test attribute "status"' do
|
51
|
-
it 'should work' do
|
52
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
53
|
-
end
|
54
|
-
end
|
55
|
-
|
56
|
-
describe 'test attribute "matches"' do
|
57
|
-
it 'should work' do
|
58
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
59
|
-
end
|
60
|
-
end
|
61
|
-
|
62
|
-
describe 'test attribute "page"' do
|
63
|
-
it 'should work' do
|
64
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
65
|
-
end
|
66
|
-
end
|
67
|
-
|
68
|
-
end
|
69
|
-
|
@@ -1,57 +0,0 @@
|
|
1
|
-
=begin
|
2
|
-
--------------------------------------------------------------------------------------------------------------------
|
3
|
-
Copyright (c) 2018 Aspose.Pdf for Cloud
|
4
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
5
|
-
of this software and associated documentation files (the "Software"), to deal
|
6
|
-
in the Software without restriction, including without limitation the rights
|
7
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
8
|
-
copies of the Software, and to permit persons to whom the Software is
|
9
|
-
furnished to do so, subject to the following conditions:
|
10
|
-
The above copyright notice and this permission notice shall be included in all
|
11
|
-
copies or substantial portions of the Software.
|
12
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
13
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
14
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
15
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
16
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
17
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
18
|
-
SOFTWARE.
|
19
|
-
--------------------------------------------------------------------------------------------------------------------
|
20
|
-
=end
|
21
|
-
|
22
|
-
require 'spec_helper'
|
23
|
-
require 'json'
|
24
|
-
require 'date'
|
25
|
-
|
26
|
-
# Unit tests for TestKaferiCloud::PageWordCount
|
27
|
-
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
28
|
-
# Please update as you see appropriate
|
29
|
-
describe 'PageWordCount' do
|
30
|
-
before do
|
31
|
-
# run before each test
|
32
|
-
@instance = TestKaferiCloud::PageWordCount.new
|
33
|
-
end
|
34
|
-
|
35
|
-
after do
|
36
|
-
# run after each test
|
37
|
-
end
|
38
|
-
|
39
|
-
describe 'test an instance of PageWordCount' do
|
40
|
-
it 'should create an instance of PageWordCount' do
|
41
|
-
expect(@instance).to be_instance_of(TestKaferiCloud::PageWordCount)
|
42
|
-
end
|
43
|
-
end
|
44
|
-
describe 'test attribute "page_number"' do
|
45
|
-
it 'should work' do
|
46
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
47
|
-
end
|
48
|
-
end
|
49
|
-
|
50
|
-
describe 'test attribute "count"' do
|
51
|
-
it 'should work' do
|
52
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
53
|
-
end
|
54
|
-
end
|
55
|
-
|
56
|
-
end
|
57
|
-
|
data/spec/models/pages_spec.rb
DELETED
@@ -1,57 +0,0 @@
|
|
1
|
-
=begin
|
2
|
-
--------------------------------------------------------------------------------------------------------------------
|
3
|
-
Copyright (c) 2018 Aspose.Pdf for Cloud
|
4
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
5
|
-
of this software and associated documentation files (the "Software"), to deal
|
6
|
-
in the Software without restriction, including without limitation the rights
|
7
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
8
|
-
copies of the Software, and to permit persons to whom the Software is
|
9
|
-
furnished to do so, subject to the following conditions:
|
10
|
-
The above copyright notice and this permission notice shall be included in all
|
11
|
-
copies or substantial portions of the Software.
|
12
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
13
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
14
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
15
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
16
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
17
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
18
|
-
SOFTWARE.
|
19
|
-
--------------------------------------------------------------------------------------------------------------------
|
20
|
-
=end
|
21
|
-
|
22
|
-
require 'spec_helper'
|
23
|
-
require 'json'
|
24
|
-
require 'date'
|
25
|
-
|
26
|
-
# Unit tests for TestKaferiCloud::Pages
|
27
|
-
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
28
|
-
# Please update as you see appropriate
|
29
|
-
describe 'Pages' do
|
30
|
-
before do
|
31
|
-
# run before each test
|
32
|
-
@instance = TestKaferiCloud::Pages.new
|
33
|
-
end
|
34
|
-
|
35
|
-
after do
|
36
|
-
# run after each test
|
37
|
-
end
|
38
|
-
|
39
|
-
describe 'test an instance of Pages' do
|
40
|
-
it 'should create an instance of Pages' do
|
41
|
-
expect(@instance).to be_instance_of(TestKaferiCloud::Pages)
|
42
|
-
end
|
43
|
-
end
|
44
|
-
describe 'test attribute "links"' do
|
45
|
-
it 'should work' do
|
46
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
47
|
-
end
|
48
|
-
end
|
49
|
-
|
50
|
-
describe 'test attribute "list"' do
|
51
|
-
it 'should work' do
|
52
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
53
|
-
end
|
54
|
-
end
|
55
|
-
|
56
|
-
end
|
57
|
-
|