FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
krypt-core-java/spec/java/parser_factory_spec.rb at master · emboss/krypt-core-java · GitHub
emboss
/
krypt-core-java
Public
Notifications
You must be signed in to change notification settings
Fork
6
Star
5
Code
Issues
6
Pull requests
1
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
krypt-core-java
/
spec
/
java
/
parser_factory_spec.rb
Copy path
More file actions
More file actions
Latest commit
History
History
History
20 lines (17 loc) · 523 Bytes
Breadcrumbs
krypt-core-java
/
spec
/
java
/
parser_factory_spec.rb
Copy path
File metadata and controls
20 lines (17 loc) · 523 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
require
'java'
$CLASSPATH <<
File
.
expand_path
(
'../../lib/kryptcore.jar'
,
File
.
dirname
(
__FILE__
)
)
java_import
'impl.krypt.asn1.ParserFactory'
java_import
'impl.krypt.asn1.parser.PullHeaderParser'
describe
"ParserFactory"
do
it
"can be instanciated"
do
ParserFactory
.
new
.
should
be_an_instance_of
ParserFactory
end
describe
"instance"
do
subject
{
ParserFactory
.
new
}
it
"creates PullHeaderParser"
do
subject
.
newHeaderParser
.
should
be_an_instance_of
PullHeaderParser
end
end
end
Back
|
FazBrowse Home
|
New Git URL