Skip to content

Commit df92c5a

Browse files
committed
Merge pull request #8 from timorzadir/2.14
Updated HtmlUnit to 2.14 and regenerated NHtmlUnit
2 parents b31245e + 8637706 commit df92c5a

892 files changed

Lines changed: 7998 additions & 5171 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

NHtmlUnit.nuspec

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,16 @@
22
<package xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
33
<metadata>
44
<id>NHtmlUnit</id>
5-
<version>2.13.0.4</version>
5+
<version>2.14.0.0</version>
66
<title>NHtmlUnit</title>
77
<authors>OKB AS</authors>
88
<owners>OKB AS</owners>
99
<licenseUrl>http://www.apache.org/licenses/LICENSE-2.0</licenseUrl>
1010
<projectUrl>https://github.com/HtmlUnit/NHtmlUnit</projectUrl>
11-
<!-- <iconUrl>http://ICON_URL_HERE_OR_DELETE_THIS_LINE</iconUrl> -->
1211
<requireLicenseAcceptance>false</requireLicenseAcceptance>
1312
<description>NHtmlUnit is a .NET wrapper of HtmlUnit; a "GUI-less browser for Java programs". It allows you to write code to test web applications with a headless, automated browser.</description>
14-
<releaseNotes>Updated to version 2.13.0.0 of HtmlUnit. Added missing properties from WebClientOptions. </releaseNotes>
15-
<copyright>Copyright © OKB AS 2013</copyright>
13+
<releaseNotes>Updated to version 2.14.0.0 of HtmlUnit.</releaseNotes>
14+
<copyright>Copyright © OKB AS 2014</copyright>
1615
<tags>testing htmlunit nhtmlunit headless browser</tags>
1716
<dependencies>
1817
<dependency id="IKVM" version="7.3.4830.0" />

app/GlobalAssemblyInfo.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#region License
22

33
// --------------------------------------------------
4-
// Copyright © 2003-2013 OKB. All Rights Reserved.
4+
// Copyright © 2003-2014 OKB. All Rights Reserved.
55
//
66
// This software is proprietary information of OKB.
77
// USE IS SUBJECT TO LICENSE TERMS.
@@ -14,8 +14,8 @@
1414

1515
[assembly : AssemblyCompany("OKB AS")]
1616
[assembly : AssemblyProduct("NHtmlUnit")]
17-
[assembly : AssemblyCopyright("Copyright © OKB AS 2013")]
18-
[assembly : AssemblyTrademark("OKB AS 2013")]
17+
[assembly : AssemblyCopyright("Copyright © OKB AS 2014")]
18+
[assembly : AssemblyTrademark("OKB AS 2014")]
1919
[assembly : ComVisible(false)]
20-
[assembly : AssemblyVersion("2.13.0.4")]
21-
[assembly : AssemblyFileVersion("2.13.0.4")]
20+
[assembly : AssemblyVersion("2.14.0.0")]
21+
[assembly : AssemblyFileVersion("2.14.0.0")]
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
// Generated class v2.14.0.0, don't modify
2+
3+
using System;
4+
using System.Collections.Generic;
5+
using System.Collections.Specialized;
6+
using System.Linq;
7+
using System.Text;
8+
9+
namespace NHtmlUnit.Activex.Javascript.Msxml
10+
{
11+
public partial class MSXMLActiveXObjectFactory : ObjectWrapper
12+
{
13+
static MSXMLActiveXObjectFactory()
14+
{
15+
ObjectWrapper.RegisterWrapperCreator((com.gargoylesoftware.htmlunit.activex.javascript.msxml.MSXMLActiveXObjectFactory o) =>
16+
new MSXMLActiveXObjectFactory(o));
17+
}
18+
19+
public MSXMLActiveXObjectFactory(com.gargoylesoftware.htmlunit.activex.javascript.msxml.MSXMLActiveXObjectFactory wrappedObject) : base(wrappedObject) {}
20+
21+
public com.gargoylesoftware.htmlunit.activex.javascript.msxml.MSXMLActiveXObjectFactory WObj
22+
{
23+
get { return (com.gargoylesoftware.htmlunit.activex.javascript.msxml.MSXMLActiveXObjectFactory)WrappedObject; }
24+
}
25+
26+
public MSXMLActiveXObjectFactory()
27+
: this(new com.gargoylesoftware.htmlunit.activex.javascript.msxml.MSXMLActiveXObjectFactory()) {}
28+
29+
// Generating method code for init
30+
public virtual void Init(NHtmlUnit.BrowserVersion browserVersion)
31+
{
32+
WObj.init((com.gargoylesoftware.htmlunit.BrowserVersion)browserVersion.WrappedObject);
33+
}
34+
35+
// Generating method code for supports
36+
public virtual bool Supports(string activeXName)
37+
{
38+
return WObj.supports(activeXName);
39+
}
40+
41+
// Generating method code for create
42+
public virtual net.sourceforge.htmlunit.corejs.javascript.Scriptable Create(string activeXName, NHtmlUnit.IWebWindow enclosingWindow)
43+
{
44+
return WObj.create(activeXName, (com.gargoylesoftware.htmlunit.WebWindow)enclosingWindow.WrappedObject);
45+
}
46+
47+
}
48+
49+
50+
}
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
// Generated class v2.14.0.0, don't modify
2+
3+
using System;
4+
using System.Collections.Generic;
5+
using System.Collections.Specialized;
6+
using System.Linq;
7+
using System.Text;
8+
9+
namespace NHtmlUnit.Activex.Javascript.Msxml
10+
{
11+
public partial class MSXMLConfiguration : NHtmlUnit.Javascript.Configuration.AbstractJavaScriptConfiguration
12+
{
13+
static MSXMLConfiguration()
14+
{
15+
ObjectWrapper.RegisterWrapperCreator((com.gargoylesoftware.htmlunit.activex.javascript.msxml.MSXMLConfiguration o) =>
16+
new MSXMLConfiguration(o));
17+
}
18+
19+
public MSXMLConfiguration(com.gargoylesoftware.htmlunit.activex.javascript.msxml.MSXMLConfiguration wrappedObject) : base(wrappedObject) {}
20+
21+
public new com.gargoylesoftware.htmlunit.activex.javascript.msxml.MSXMLConfiguration WObj
22+
{
23+
get { return (com.gargoylesoftware.htmlunit.activex.javascript.msxml.MSXMLConfiguration)WrappedObject; }
24+
}
25+
26+
}
27+
28+
29+
}
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
// Generated class v2.14.0.0, don't modify
2+
3+
using System;
4+
using System.Collections.Generic;
5+
using System.Collections.Specialized;
6+
using System.Linq;
7+
using System.Text;
8+
9+
namespace NHtmlUnit.Activex.Javascript.Msxml
10+
{
11+
public partial class MSXMLJavaScriptEnvironment : ObjectWrapper
12+
{
13+
static MSXMLJavaScriptEnvironment()
14+
{
15+
ObjectWrapper.RegisterWrapperCreator((com.gargoylesoftware.htmlunit.activex.javascript.msxml.MSXMLJavaScriptEnvironment o) =>
16+
new MSXMLJavaScriptEnvironment(o));
17+
}
18+
19+
public MSXMLJavaScriptEnvironment(com.gargoylesoftware.htmlunit.activex.javascript.msxml.MSXMLJavaScriptEnvironment wrappedObject) : base(wrappedObject) {}
20+
21+
public com.gargoylesoftware.htmlunit.activex.javascript.msxml.MSXMLJavaScriptEnvironment WObj
22+
{
23+
get { return (com.gargoylesoftware.htmlunit.activex.javascript.msxml.MSXMLJavaScriptEnvironment)WrappedObject; }
24+
}
25+
26+
public MSXMLJavaScriptEnvironment(NHtmlUnit.BrowserVersion browserVersion)
27+
: this(new com.gargoylesoftware.htmlunit.activex.javascript.msxml.MSXMLJavaScriptEnvironment((com.gargoylesoftware.htmlunit.BrowserVersion)browserVersion.WrappedObject)) {}
28+
29+
// Generating method code for getPrototype
30+
public virtual net.sourceforge.htmlunit.corejs.javascript.Scriptable GetPrototype(java.lang.Class jsClass)
31+
{
32+
return WObj.getPrototype(jsClass);
33+
}
34+
35+
// Generating method code for getJavaScriptClass
36+
public virtual java.lang.Class GetJavaScriptClass(java.lang.Class c)
37+
{
38+
return WObj.getJavaScriptClass(c);
39+
}
40+
41+
}
42+
43+
44+
}
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
// Generated class v2.14.0.0, don't modify
2+
3+
using System;
4+
using System.Collections.Generic;
5+
using System.Collections.Specialized;
6+
using System.Linq;
7+
using System.Text;
8+
9+
namespace NHtmlUnit.Activex.Javascript.Msxml
10+
{
11+
public partial class MSXMLScriptable : NHtmlUnit.Javascript.SimpleScriptable
12+
{
13+
static MSXMLScriptable()
14+
{
15+
ObjectWrapper.RegisterWrapperCreator((com.gargoylesoftware.htmlunit.activex.javascript.msxml.MSXMLScriptable o) =>
16+
new MSXMLScriptable(o));
17+
}
18+
19+
public MSXMLScriptable(com.gargoylesoftware.htmlunit.activex.javascript.msxml.MSXMLScriptable wrappedObject) : base(wrappedObject) {}
20+
21+
public new com.gargoylesoftware.htmlunit.activex.javascript.msxml.MSXMLScriptable WObj
22+
{
23+
get { return (com.gargoylesoftware.htmlunit.activex.javascript.msxml.MSXMLScriptable)WrappedObject; }
24+
}
25+
26+
public MSXMLScriptable()
27+
: this(new com.gargoylesoftware.htmlunit.activex.javascript.msxml.MSXMLScriptable()) {}
28+
29+
30+
public NHtmlUnit.Activex.Javascript.Msxml.MSXMLJavaScriptEnvironment Environment
31+
{
32+
get
33+
{
34+
return ObjectWrapper.CreateWrapper<NHtmlUnit.Activex.Javascript.Msxml.MSXMLJavaScriptEnvironment>(
35+
WObj.getEnvironment());
36+
}
37+
set
38+
{
39+
WObj.setEnvironment((com.gargoylesoftware.htmlunit.activex.javascript.msxml.MSXMLJavaScriptEnvironment)value.WrappedObject);
40+
}
41+
42+
}
43+
44+
}
45+
46+
47+
}
Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
// Generated class v2.14.0.0, don't modify
2+
3+
using System;
4+
using System.Collections.Generic;
5+
using System.Collections.Specialized;
6+
using System.Linq;
7+
using System.Text;
8+
9+
namespace NHtmlUnit.Activex.Javascript.Msxml
10+
{
11+
public partial class XMLDOMAttribute : NHtmlUnit.Activex.Javascript.Msxml.XMLDOMNode
12+
{
13+
static XMLDOMAttribute()
14+
{
15+
ObjectWrapper.RegisterWrapperCreator((com.gargoylesoftware.htmlunit.activex.javascript.msxml.XMLDOMAttribute o) =>
16+
new XMLDOMAttribute(o));
17+
}
18+
19+
public XMLDOMAttribute(com.gargoylesoftware.htmlunit.activex.javascript.msxml.XMLDOMAttribute wrappedObject) : base(wrappedObject) {}
20+
21+
public new com.gargoylesoftware.htmlunit.activex.javascript.msxml.XMLDOMAttribute WObj
22+
{
23+
get { return (com.gargoylesoftware.htmlunit.activex.javascript.msxml.XMLDOMAttribute)WrappedObject; }
24+
}
25+
26+
public XMLDOMAttribute()
27+
: this(new com.gargoylesoftware.htmlunit.activex.javascript.msxml.XMLDOMAttribute()) {}
28+
29+
30+
public System.String Value
31+
{
32+
get
33+
{
34+
return WObj.getValue();
35+
}
36+
set
37+
{
38+
WObj.setValue(value);
39+
}
40+
41+
}
42+
43+
public System.String Name
44+
{
45+
get
46+
{
47+
return WObj.getName();
48+
}
49+
}
50+
51+
public System.Boolean Specified
52+
{
53+
get
54+
{
55+
return WObj.getSpecified();
56+
}
57+
}
58+
// Generating method code for detachFromParent
59+
public virtual void DetachFromParent()
60+
{
61+
WObj.detachFromParent();
62+
}
63+
64+
}
65+
66+
67+
}
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
// Generated class v2.14.0.0, don't modify
2+
3+
using System;
4+
using System.Collections.Generic;
5+
using System.Collections.Specialized;
6+
using System.Linq;
7+
using System.Text;
8+
9+
namespace NHtmlUnit.Activex.Javascript.Msxml
10+
{
11+
public partial class XMLDOMCDATASection : NHtmlUnit.Activex.Javascript.Msxml.XMLDOMText
12+
{
13+
static XMLDOMCDATASection()
14+
{
15+
ObjectWrapper.RegisterWrapperCreator((com.gargoylesoftware.htmlunit.activex.javascript.msxml.XMLDOMCDATASection o) =>
16+
new XMLDOMCDATASection(o));
17+
}
18+
19+
public XMLDOMCDATASection(com.gargoylesoftware.htmlunit.activex.javascript.msxml.XMLDOMCDATASection wrappedObject) : base(wrappedObject) {}
20+
21+
public new com.gargoylesoftware.htmlunit.activex.javascript.msxml.XMLDOMCDATASection WObj
22+
{
23+
get { return (com.gargoylesoftware.htmlunit.activex.javascript.msxml.XMLDOMCDATASection)WrappedObject; }
24+
}
25+
26+
public XMLDOMCDATASection()
27+
: this(new com.gargoylesoftware.htmlunit.activex.javascript.msxml.XMLDOMCDATASection()) {}
28+
29+
}
30+
31+
32+
}

0 commit comments

Comments
 (0)